/* ============================================
   BOHEMIAN BLOEMWERKEN - ASTRA THEME STYLING
   Inclusief: Hero Fix voor Mobiel
   ============================================ */

/* KLEUREN VARIABELEN (Aangepast naar jouw Groen) */
:root {
    --primary-color: #5c7c66; /* Jouw Bohemian Groen */
    --text-dark: #2c2c2c;     /* Donkergrijs voor leesbare tekst */
    --secondary-color: #8b8b8b;
    --accent-color: #d4c5b9;  /* Zand/Goud accent */
    --light-bg: #f8f6f4;
    --white: #ffffff;
}

/* HEADER STYLING */
.site-header,
#masthead {
    background-color: var(--white) !important;
    border-bottom: 1px solid #e8e8e8 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
    padding: 1.5rem 0 !important;
}

/* Logo grootte */
.site-logo-img,
.custom-logo {
    max-height: 70px !important;
    width: auto !important;
}

/* Menu styling */
.main-header-menu,
.main-navigation {
    font-family: Arial, sans-serif !important;
}

.main-header-menu a,
.main-navigation a {
    color: var(--text-dark) !important;
    font-size: 1rem !important;
    letter-spacing: 0.5px !important;
    font-weight: 400 !important;
    transition: color 0.3s ease !important;
    padding: 0.5rem 1.25rem !important;
}

.main-header-menu a:hover,
.main-navigation a:hover {
    color: var(--primary-color) !important;
}

.main-header-menu .current-menu-item > a,
.main-navigation .current-menu-item > a {
    color: var(--primary-color) !important;
    font-weight: 500 !important;
}

/* Submenu styling */
.main-header-menu .sub-menu,
.main-navigation .sub-menu {
    background-color: var(--white) !important;
    border: 1px solid #e8e8e8 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    padding: 1rem 0 !important;
}

.main-header-menu .sub-menu a,
.main-navigation .sub-menu a {
    padding: 0.75rem 1.5rem !important;
}

/* BODY & TYPOGRAPHY */
body {
    font-family: Georgia, serif !important;
    color: var(--text-dark) !important;
    line-height: 1.7 !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: Georgia, serif !important;
    font-weight: 300 !important;
    letter-spacing: 1px !important;
    color: var(--text-dark) !important;
}

h1 {
    font-size: 3rem !important;
    margin-bottom: 1.5rem !important;
}

h2 {
    font-size: 2.5rem !important;
    margin-bottom: 1.5rem !important;
}

h3 {
    font-size: 1.8rem !important;
    margin-bottom: 1rem !important;
}

/* Paragrafen */
p {
    margin-bottom: 1.5rem !important;
    font-size: 1.05rem !important;
}

/* BUTTONS STYLING (Standaard knoppen in het Groen) */
.wp-block-button__link,
.button,
.ast-button,
button:not(.menu-toggle) {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    padding: 1rem 2.5rem !important;
    border: 2px solid var(--primary-color) !important;
    letter-spacing: 1px !important;
    font-family: Arial, sans-serif !important;
    transition: all 0.3s ease !important;
    border-radius: 0 !important;
    font-weight: 400 !important;
}

.wp-block-button__link:hover,
.button:hover,
.ast-button:hover,
button:not(.menu-toggle):hover {
    background-color: transparent !important;
    color: var(--primary-color) !important;
}

/* Whatsapp Button */
a[href*="whatsapp"],
.whatsapp-button {
    background-color: #25D366 !important;
    color: white !important;
    border-color: #25D366 !important;
}

/* CONTENT AREAS */
.entry-content,
.ast-container {
    max-width: 1400px !important;
}

/* SECTIONS STYLING */
.wp-block-group,
section {
    padding: 4rem 0 !important;
}

.has-light-background,
.bg-light {
    background-color: var(--light-bg) !important;
}

/* IMAGES */
img {
    border-radius: 2px !important;
}

/* FOOTER */
.site-footer,
#colophon {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    padding: 3rem 0 !important;
    text-align: center !important;
}

.site-footer a,
#colophon a {
    color: var(--white) !important;
}

.site-footer a:hover,
#colophon a:hover {
    color: var(--accent-color) !important;
}

/* LINKS */
a {
    color: var(--primary-color) !important;
    transition: color 0.3s ease !important;
}

a:hover {
    color: var(--accent-color) !important;
}

/* Smooth transitions overal */
* {
    transition: color 0.3s ease, background-color 0.3s ease !important;
}


/* =========================================
   MOBIELE AANPASSINGEN (Max breedte 768px)
   ========================================= */
@media (max-width: 768px) {
    
    /* Standaard typografie op mobiel */
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.75rem !important; }
    h3 { font-size: 1.4rem !important; }
    
    .site-header, #masthead { padding: 1rem 0 !important; }
    .site-logo-img, .custom-logo { max-height: 60px !important; }

    /* --- HIER ZIT DE FIX VOOR JOUW HERO BLOK --- */
    
    /* 1. Zorgt dat de tekst zwart wordt in het Hero blok */
    .hero-mobiel-opacity h1,
    .hero-mobiel-opacity h2,
    .hero-mobiel-opacity p {
        color: #000000 !important;
        text-shadow: none !important; /* Geen schaduw, puur zwart */
    }
    
    /* 2. Zorgt dat de achtergrond (overlay) iets minder doorzichtig is */
    /* Hierdoor is de zwarte tekst beter leesbaar op de foto */
    .hero-mobiel-opacity .wp-block-cover__background {
        opacity: 0.6 !important; /* Verander dit getal (0.1 t/m 0.9) naar wens */
    }
    
    /* 3. Zorgt dat de gradient overlay op mobiel verdwijnt zodat de hele foto even helder is */
    .hero-mobiel-opacity .wp-block-cover__background {
        background: #ffffff !important; /* Of haal deze regel weg als je de kleur wilt behouden */
    }
}