/*
Theme Name: ACE Casino Entertainment
Author: Gemini AI
Description: Maatwerk thema voor casinoverhuur.info - Visuele & Technische Merged Versie
Version: 1.2
Text Domain: ace-casino
*/

/* --- 1. BASIS & ACHTERGROND --- */
body {
    background-image: url('https://casinoverhuur.info/wp-content/uploads/top-img-bg.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    background-attachment: fixed;
    background-size: cover;
    background-color: #2d144b;
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* De witte kaart waar de content in leeft */
.item-page {
    background: #ffffff !important; /* Massief wit om doorschijnen van rode tekst te voorkomen */
    color: #333333;
    padding: 40px;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
    z-index: 1; /* Houd de content op de basislaag */
}

h1, h2 {
    color: #ff0000;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Algemene afbeeldingen in content */
img {
    max-width: 100%;
    height: auto;
    border: 5px solid #f0f0f0;
    border-radius: 4px;
}

/* --- 2. HEADER & LOGO'S --- */
header {
    background-color: transparent !important;
    padding: 20px 0 10px 0;
    position: relative;
    z-index: 9999; /* Zorg dat de header altijd bovenop ligt */
}

.header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo-main img, .logo-dice img {
    height: 100px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.logo-dice img { height: 80px; }

/* --- 3. NAVIGATIE (DESKTOP GLOSS) --- */
.menu-toggle, .hamburger {
    display: none !important;
}

.ace-navigation {
    background: linear-gradient(to bottom, #333333 0%, #000000 100%);
    border-radius: 10px;
    padding: 0 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    border: 1px solid #444;
    position: relative;
    margin-top: 10px;
    overflow: visible; /* Nodig voor uitklappen op mobiel */
}

.ace-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.ace-nav-menu li {
    border-right: 1px solid #222;
}

.ace-nav-menu li a {
    display: block;
    padding: 15px 25px;
    color: #ffffff !important;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    transition: background 0.3s;
}

/* De glanzende hover-effecten */
.ace-nav-menu li a:hover,
.ace-nav-menu li.current-menu-item a {
    background: linear-gradient(to bottom, #555555 0%, #222222 100%);
    color: #ffffff !important;
}

.ace-nav-menu li:last-child { border-right: none; }

/* --- 4. MOBIEL MENU (THE FIX) --- */
@media screen and (max-width: 850px) {
    .ace-navigation {
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        width: 45px;
        height: 45px;
        cursor: pointer;
    }

    .hamburger span {
        display: block;
        width: 30px;
        height: 3px;
        background-color: #ffffff;
        margin: 4px 0;
        border-radius: 2px;
        transition: 0.3s;
    }

    .ace-nav-menu {
        display: none; 
        flex-direction: column;
        width: 100%;
        background-color: #111111 !important; /* Massief zwart om doorschijnen te stoppen */
        position: absolute;
        top: 60px; 
        left: 0;
        z-index: 10000 !important;
        border: 1px solid #444;
        border-top: none;
        padding: 0;
        margin: 0;
        box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    }

    .ace-nav-menu li {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #222;
    }

    .ace-nav-menu li a {
        padding: 20px;
        width: 100%;
        text-align: left;
    }

    .menu-toggle:checked ~ .ace-nav-menu {
        display: flex !important;
    }

    /* Animatie Hamburger naar X */
    .menu-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
    .menu-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
    .menu-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }
}

/* --- 5. VISUELE ELEMENTEN PER PAGINA --- */

/* --- Prijslijst Image Showcase --- */
.prijslijst-visuals {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.visual-item {
    flex: 1;
    min-width: 300px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    height: 250px; /* Vaste hoogte voor een strak geheel */
}

.visual-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Vult het vlak zonder te vervormen */
    border: none !important;
    transition: transform 0.5s ease;
}

.visual-item:hover img {
    transform: scale(1.05); /* Subtiel inzoomen bij hover */
}

.visual-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(45, 20, 75, 0.8); /* Paarse transparante balk */
    color: #fff;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

/* Mobiel: Foto's onder elkaar */
@media screen and (max-width: 600px) {
    .visual-item {
        height: 200px;
    }
}



/* --- Home Page Hero Banner --- */
.ace-hero-banner {
    position: relative;
    width: calc(100% + 80px); /* Vult de volledige breedte van de witte kaart (padding compenseren) */
    margin-left: -40px; /* Shift naar links om padding te compenseren */
    margin-top: -40px; /* Shift naar boven om padding te compenseren */
    height: 500px; /* Vaste hoogte voor een indrukwekkend effect */
    overflow: hidden;
    border-radius: 8px 8px 0 0; /* Alleen ronde hoeken aan de bovenkant */
    margin-bottom: 30px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zorgt dat de foto de banner vult zonder te vervormen */
    border: none !important; /* Verwijder de algemene img border */
}

.hero-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Donkere overlay voor leesbaarheid tekst */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content-overlay h1 {
    color: #ff0000 !important; /* Altijd rode hoofdtitel */
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8); /* Diepte voor de tekst */
}

.hero-content-overlay h2 {
    color: #ffffff !important; /* Witte sub-titel */
    font-size: 1.5em;
    font-weight: 300;
    margin-bottom: 30px;
    text-transform: none; /* Geen uppercase voor de sub-titel */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.hero-content-overlay .button {
    font-size: 1.2em;
    padding: 12px 35px;
}

/* Mobiele optimalisatie voor de banner */
@media screen and (max-width: 850px) {
    .ace-hero-banner {
        height: 300px; /* Iets minder hoog op mobiel */
        width: calc(100% + 40px); /* Mobiele padding compenseren */
        margin-left: -20px;
        margin-top: -20px;
    }
    .hero-content-overlay h1 {
        font-size: 1.8em;
    }
    .hero-content-overlay h2 {
        font-size: 1.1em;
    }
}












/* Spelen Grid & Cards */
.ace-spelen-container { padding: 20px 0; }
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.game-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    color: #333;
}
.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.game-card img { border: none !important; height: 572px; object-fit: cover; }

/* Prijslijst Tabel */
.ace-table { width: 100%; border-collapse: collapse; margin-top: 10px; color: #333; }
.ace-table thead tr { background-color: #f8f8f8; color: #2d144b; border-bottom: 2px solid #ff0000; }
.ace-table th, .ace-table td { padding: 12px; border-bottom: 1px solid #eee; }
.ace-table tbody tr:hover { background-color: #f5f5f5; }

/* Over ACE / Eileen Valk */
.ace-content-flex { display: flex; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.suit-icon { color: #ff0000; font-weight: bold; margin-right: 10px; }
.director-img img {
    border-radius: 50% !important; /* De ronde foto van Eileen */
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 3px solid #ff0000 !important;
}

/* Reviews / Testimonials */
.review-card {
    background: #ffffff;
    border-left: 5px solid #ff0000;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}
.review-content p::before {
    content: "\201C"; /* Het quote-teken */
    font-size: 50px;
    color: #f0f0f0;
    position: absolute;
    top: -25px;
    left: -15px;
    z-index: -1;
}

/* --- 6. OVERIG --- */
.button, .ace-button-small {
    background-color: #ff0000;
    color: #fff !important;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    transition: background 0.3s;
}
.button:hover { background-color: #cc0000; }

.entry-header { display: none; } /* Verbergt dubbele WP titels */

footer {
    background-color: #111;
    color: #777;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid #333;
}


/* --- Home Page Video Section --- */
.ace-video-section {
    margin: 40px 0;
    text-align: center;
    padding: 20px 0;
}

.ace-video-section h2 {
    color: #ff0000;
    margin-bottom: 10px;
}

.ace-video-section p {
    color: #333333;
    margin-bottom: 25px;
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    background-color: #000; /* Zwarte achtergrond tijdens het laden */
    line-height: 0; /* Voorkomt een wit randje onder de video */
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}
