/* ==========================================================================
   FLORALI - CREATIEVE UITSPATTINGEN • MASTER STYLESHEET (style.css)
   Organic Warm Luxury Palette: Pure White, Beige, Sand Terracotta & Sage Green
   ========================================================================== */

/* Google Fonts come from the <link> in header.php / admin_header.php (2026-10-03: the @import that used to be
   here loaded the same fonts a second time and blocked rendering until it finished). */

/* "Great Vibes" (the Florali script logotype, used for .preloader-title and other script
   headings via --font-script) is self-hosted instead of pulled from Google Fonts — the file
   already ships locally for the Dompdf invoice PDFs. font-display:block means the browser
   waits briefly for this file rather than rendering with a fallback font and swapping once
   it arrives, which is what caused the preloader's "Florali" title to visibly flash a
   different font for a moment on every page load. It's also preloaded in header.php so it's
   normally already available well before the preloader needs it. */
/* 2026-10-03: WOFF2 (43 KB latin, 66 KB latin-ext) instead of the 457 KB TTF; same typeface, the TTF stays as a
   fallback and for the Dompdf invoices. */
@font-face {
    font-family: 'Great Vibes';
    src: url('../fonts/GreatVibes-latin.woff2') format('woff2'), url('../fonts/GreatVibes-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Great Vibes';
    src: url('../fonts/GreatVibes-latin-ext.woff2') format('woff2'), url('../fonts/GreatVibes-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    /* Base Backgrounds — solid neutral brand background (D0C0B6) */
    --bg-primary: #D8CCC3;
    --bg-secondary: #CBBBAF;
    --bg-sand: #D0C0B6;
    --bg-sand-light: #E7DED7;
    --bg-card: #FBF8F5;
    --bg-card-hover: #FFFFFF;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --bg-dark: #6A4732;
    --bg-navy: #4A3324;

    /* Brand Mocha & Beige */
    --accent-brand: #917B6C;
    --accent-brand-dark: #6A4732;
    --accent-brand-light: #AE9A8C;
    --accent-sand: #917B6C;
    --accent-sand-soft: #D0C0B6;
    --accent-rose-gold: #917B6C;
    --accent-rose: #917B6C;
    --accent-lavender: #102308;

    /* Deep Forest Green Accent Tones */
    --accent-sage: #102308;
    --accent-sage-dark: #081402;
    --accent-sage-light: #2C4A22;
    --bg-sage-light: rgba(16, 35, 8, 0.10);
    --border-sage: rgba(16, 35, 8, 0.25);

    /* Text Tones (High Contrast & Readability) */
    --text-primary: #2A1F16;
    --text-main: #2A1F16;
    --text-secondary: #4A3323;
    --text-muted: #6A4732;
    --text-dim: #917B6C;
    --text-bright: #2A1F16;
    --text-white: #FFFFFF;

    /* Borders & Outlines */
    --border-sand: #B8A99C;
    --border-glass: rgba(106, 71, 50, 0.2);
    --border-highlight: rgba(145, 123, 108, 0.4);

    /* Shadows */
    --shadow-subtle: 0 4px 15px rgba(106, 71, 50, 0.08);
    --shadow-card: 0 10px 30px rgba(106, 71, 50, 0.1), 0 2px 8px rgba(16, 35, 8, 0.05);
    --shadow-glow: 0 15px 40px rgba(106, 71, 50, 0.18);
    --shadow-dropdown: 0 15px 35px rgba(42, 31, 22, 0.15);

    /* Typography */
    --font-script: 'Great Vibes', 'Alex Brush', cursive;
    --font-heading: 'Playfair Display', 'Cormorant Garamond', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Sizing & Radius */
    --header-height: 84px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Custom Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-brand-light) var(--bg-primary);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #FAF8F5;
    border-left: 1px solid var(--border-sand);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-sand) 0%, var(--accent-brand) 100%);
    border-radius: 20px;
    border: 2px solid #FAF8F5;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-brand) 0%, var(--accent-brand-dark) 100%);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

a {
    color: var(--accent-brand);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* GSAP PRELOADER SCREEN */
#gsap-preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 40%, var(--bg-sand-light) 0%, var(--bg-primary) 65%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: auto;
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.preloader-logo-wrapper {
    position: relative;
    width: clamp(180px, 45vw, 250px);
    height: clamp(170px, 42vw, 235px);
    margin: 0 auto 20px auto;
    top: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo-base {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    user-select: none;
    pointer-events: none;
}

/* SHINE EFFECT CLIPPED 100% STRICTLY TO LOGO TRANSPARENCY VIA MASK */
.preloader-logo-sheen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    -webkit-mask-image: url('../images/logo_new.webp');
    mask-image: url('../images/logo_new.webp');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center center;
    mask-position: center center;
    overflow: hidden;
}

.preloader-logo-sheen::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        115deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 25%,
        rgba(255, 255, 255, 1) 50%,
        rgba(255, 255, 255, 0.4) 75%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-33.3%) rotate(25deg);
    animation: preloaderMaskedShine 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* 2026-10-03: same sweep as before (left -120% -> 150% of the logo), but moved with transform instead of `left`
   so the browser animates it on the GPU without re-laying out the page (PageSpeed: non-composited animation).
   The shine is 60% of the logo wide and starts at left:-100%, so -120%/150% of the logo = -33.3%/416.7% of itself. */
@keyframes preloaderMaskedShine {
    0% {
        transform: translateX(-33.3%) rotate(25deg);
    }
    45% {
        transform: translateX(416.7%) rotate(25deg);
    }
    100% {
        transform: translateX(416.7%) rotate(25deg);
    }
}

.preloader-title {
    font-family: var(--font-script);
    font-size: clamp(2.6rem, 8vw, 3.5rem);
    color: var(--accent-brand);
    line-height: 1;
    margin: 0 auto 4px auto;
    text-align: center;
    width: 100%;
}

.preloader-sub {
    font-family: var(--font-body);
    font-size: clamp(0.92rem, 3vw, 1.1rem);
    color: var(--accent-sage);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    position: relative;
    left: 4px;
}

.preloader-bar-bg {
    width: min(180px, 60vw);
    height: 3px;
    background: rgba(158, 112, 96, 0.15);
    border-radius: 4px;
    margin: 20px auto 0 auto;
    overflow: hidden;
}

.preloader-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-sage), var(--accent-brand));
    border-radius: 4px;
}

/* CONTAINER */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* HEADER & NAVIGATION */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(250, 248, 245, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-sand);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(158, 112, 96, 0.05);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 10px 30px rgba(43, 37, 35, 0.08);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1400px;
    gap: 20px;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(158, 112, 96, 0.15));
    transition: transform 0.3s ease;
}

.logo-brand:hover .brand-logo-img {
    transform: scale(1.05) rotate(-2deg);
}

.brand-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-script-title {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--accent-brand);
    font-weight: normal;
    letter-spacing: 0.5px;
}

.brand-script-subtitle {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: var(--accent-sage);
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-weight: 700;
    white-space: nowrap;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.main-nav a {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-brand), var(--accent-sage));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.main-nav a:hover {
    color: var(--accent-brand);
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-sand-light);
    border: 1px solid var(--border-sand);
    color: var(--accent-brand);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-cart-btn:hover {
    background: var(--accent-brand);
    color: #fff;
    border-color: var(--accent-brand);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(158, 112, 96, 0.25);
}

/* BUTTONS WITH ORGANIC SHINE EFFECT */
.btn-primary,
.btn-gold,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: none;
}

/* Shimmer Light Beam Effect */
.btn-primary::after,
.btn-gold::after,
.hero-btns .btn-gold::after,
#floating-newsletter-form button::after,
#footer-newsletter-form button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -80%;
    width: 45%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    animation: btnShimmerGleam 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
}

@keyframes btnShimmerGleam {
    0% { left: -90%; opacity: 0; }
    15% { opacity: 1; }
    35% { left: 140%; opacity: 1; }
    36% { opacity: 0; }
    100% { left: 140%; opacity: 0; }
}

/* Botanical Sage Green Button */
.btn-primary {
    background: linear-gradient(135deg, #1B3A12 0%, #102308 55%, #081402 100%);
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(16, 35, 8, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #234A18 0%, #16300C 55%, #0C1E06 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 28px rgba(16, 35, 8, 0.5);
    color: #FFFFFF !important;
}

/* Warm Terracotta Sand Button */
.btn-gold {
    background: linear-gradient(135deg, #9E7060 0%, #B88572 50%, #875B4B 100%);
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(158, 112, 96, 0.35);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #AC7C6B 0%, #C4917D 50%, #946554 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 28px rgba(158, 112, 96, 0.45);
    color: #FFFFFF !important;
}

/* Neutral Clean Secondary Button */
.btn-secondary {
    background: #FFFFFF;
    border: 1px solid var(--border-sand);
    color: var(--accent-brand) !important;
    box-shadow: var(--shadow-subtle);
}

.btn-secondary:hover {
    background: var(--bg-sand-light);
    border-color: var(--accent-brand);
    color: var(--accent-brand-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(158, 112, 96, 0.15);
}

/* ============================================================
   FORM ELEMENTS — Florali Light Theme
   ============================================================ */

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 5px;
    letter-spacing: 0.3px;
}

.form-control {
    width: 100%;
    background: #FFFFFF;
    border: 1.5px solid var(--border-sand);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}

.form-control::placeholder {
    color: var(--text-dim);
    font-size: 0.88rem;
}

.form-control:focus {
    border-color: var(--accent-brand);
    box-shadow: 0 0 0 3px rgba(158, 112, 96, 0.12);
    background: #FFFBF9;
}

.form-control:hover:not(:focus) {
    border-color: var(--accent-brand-light);
}

textarea.form-control {
    resize: vertical;
    min-height: 90px;
    line-height: 1.55;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%239E7060' d='M8 11L3 5h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    padding-right: 36px;
}

/* Reusable 2-column row (form field pairs, info/summary cards) that stacks to
   a single column on phones — grid items default to min-width:auto, so a
   plain "1fr 1fr" with no override refuses to shrink below its content's
   natural width on a narrow screen and the columns crowd/overlap instead of
   ever actually wrapping. Used by checkout/product/track-order/privacy/
   footer's booking modal, wherever they don't already have their own
   responsive grid class (about-page-grid, about-cards-grid, workshops-grid). */
.grid-2col-mobile-stack,
.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
@media (max-width: 640px) {
    .grid-2col-mobile-stack,
    .contact-form-row {
        grid-template-columns: 1fr;
    }
    .track-order-search-grid {
        grid-template-columns: 1fr !important;
    }
}

/* FLOATING SIDEBAR (SOCIAL & NEWSLETTER) */

.floating-social-bar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.social-tab {
    background: #FFFFFF;
    color: var(--accent-brand);
    border: 1px solid var(--border-sand);
    border-right: none;
    padding: 10px 14px;
    border-radius: 20px 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: -2px 4px 15px rgba(158, 112, 96, 0.1);
    transform: translateX(calc(100% - 38px));
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s ease,
                color 0.3s ease;
}

.social-tab span {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.social-tab:hover {
    transform: translateX(0);
    background: var(--accent-brand);
    color: #FFFFFF;
}

.social-tab:hover span {
    opacity: 1;
    pointer-events: auto;
}

.social-tab i { font-size: 1.1rem; flex-shrink: 0; }

.tab-newsletter {
    background: var(--bg-sage-light);
    color: var(--accent-sage);
    border-color: var(--border-sage);
}

/* ============================================================
   FLOATING QUICK-ACCESS BUTTONS BETWEEN ADMIN PANEL & PUBLIC SITE
   .admin-floating-website-tab = the admin panel's own "back to the
     public website" pill (markup lives in admin_header.php; this file
     only supplies the base look since admin pages load this stylesheet
     too — it previously had no positioning at all and rendered as a
     plain inline link).
   .admin-floating-return-tab = the public site's "back to the admin
     panel" pill, shown only while an admin session is logged in (see
     the $_SESSION['admin_logged'] check in header.php).
   ============================================================ */
.admin-floating-website-tab,
.admin-floating-return-tab {
    position: fixed;
    z-index: 1050;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #917B6C, #6A4732);
    color: #FFFFFF;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.admin-floating-website-tab:hover,
.admin-floating-return-tab:hover {
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, #AE9A8C, #917B6C);
}

/* Admin side: top-right corner of the viewport — the sidebar lives on the
   far left, so nothing else competes for this corner on desktop. */
.admin-floating-website-tab {
    top: 18px;
    right: 24px;
}

/* Public side: just under the fixed site header, on the right — clear of
   the vertical social/newsletter bar (that one sits vertically centered). */
.admin-floating-return-tab {
    top: calc(var(--header-height) + 14px);
    right: 20px;
}

@media (max-width: 600px) {
    .admin-floating-return-tab span { display: none; }
    .admin-floating-return-tab { padding: 12px; }
}

.tab-newsletter:hover {
    background: var(--accent-sage);
    color: #FFFFFF;
}

.floating-newsletter-box {
    position: fixed;
    right: 55px;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    width: 320px;
    background: #FFFFFF;
    border: 1px solid var(--border-sand);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-dropdown);
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.floating-newsletter-box.active {
    display: block;
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.newsletter-flyout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.newsletter-flyout-header h4 {
    font-family: var(--font-heading);
    color: var(--accent-brand);
    font-size: 1.2rem;
    margin: 0;
}

.newsletter-flyout-header button {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-muted);
    cursor: pointer;
}

/* HERO BANNER (image/video banner confined to the very top of the page only) */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 70px;
    min-height: 58vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/bg.jpg');
    /* 2026-10-03: same photo as WebP (0.3 MB instead of 2.6 MB); browsers without image-set keep the JPG. */
    background-image: image-set(url('../images/bg.webp') type('image/webp'), url('../images/bg.jpg') type('image/jpeg'));
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    animation: heroBannerPan 22s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes heroBannerPan {
    0%   { transform: scale(1.04) translate(0, 0); }
    100% { transform: scale(1.12) translate(-1.5%, -1.5%); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* light at the top (for the black title), fading into a darker tone lower down (for the white description) */
    background: linear-gradient(180deg, rgba(216, 204, 195, 0.8) 0%, rgba(216, 204, 195, 0.5) 30%, rgba(42, 31, 22, 0.35) 65%, rgba(42, 31, 22, 0.6) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1050px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--accent-sage);
    border: 1.5px solid var(--border-sage);
    padding: 7px 22px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.2vw, 3.8rem);
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
    color: var(--text-primary);
}

.hero-section .hero-title {
    color: var(--text-primary);
}

.hero-section .hero-description {
    color: var(--text-white);
}

.hero-title span.script-highlight {
    font-family: var(--font-script);
    color: var(--accent-brand-light);
    font-weight: normal;
    font-size: 1.35em;
    display: inline-block;
    padding: 0 6px;
}

.hero-section .hero-title span.script-highlight {
    color: var(--text-primary);
}

/* Gentle floating animation for the Over Mij gallery photo card */
@keyframes aboutImageFloat {
    0%   { transform: translateY(0px) rotate(0deg); }
    50%  { transform: translateY(-16px) rotate(0.7deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.about-photo-stack {
    animation: aboutImageFloat 6.5s ease-in-out infinite;
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .about-photo-stack {
        animation: none;
    }
}

/* Decorative diagonal ribbon between the stacked Over Mij photos */
.about-photo-divider {
    height: 22px;
    margin: -11px 0;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    background: var(--bg-primary);
    transform: skewY(-3deg);
    box-shadow: 0 3px 10px rgba(0,0,0,0.28);
}

.about-photo-frame {
    transition: opacity 0.6s ease;
}

/* Mobile: show only one Over Mij photo at a time, auto-rotating (JS toggles .active) */
@media (max-width: 768px) {
    .about-photo-divider {
        display: none;
    }
    .about-photo-stack {
        display: block !important;
        position: relative;
    }
    .about-photo-frame {
        position: absolute;
        inset: 0;
        opacity: 0;
        z-index: 1;
    }
    .about-photo-frame.active {
        opacity: 1;
        z-index: 2;
    }
}

/* Whole hero title set in the script font (not just an accent word) */
.hero-title span.script-highlight.hero-title-full-script {
    font-size: 1.2em;
    font-weight: 400;
    padding: 0;
    display: inline;
    line-height: 1.35;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 34px;
    line-height: 1.8;
    max-width: 820px;
    text-align: center;
}

.hero-btns {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* SECTION COMMONS */
.section-padding {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 55px auto;
}

.section-tag {
    color: var(--accent-brand);
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.82rem;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.25;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* WORKSHOPS CATALOG & CARDS */
.workshops-grid {
    display: grid;
    /* auto-fill (not auto-fit): with auto-fit, a single card stretches to fill the entire row
       width, which looks stretched/ugly when only one workshop is available. auto-fill keeps
       the same number of column tracks the row would otherwise hold and just leaves the extra
       ones empty, so one card stays a normal card width instead of ballooning. */
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.workshop-card {
    background: var(--bg-card);
    border: 1px solid var(--border-sand);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    position: relative;
}

.workshop-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-brand);
    box-shadow: var(--shadow-glow);
}

/* WIDE HORIZONTAL CARDS ON DESKTOP: a grid of tall, narrow cards looks sparse when only one
   workshop is available — a single 340px card floating in an otherwise-empty wide row. On
   screens with room for it, workshops instead stack one-per-row as WIDE cards (photo on the
   left, details on the right), so even a single result fills the row nicely instead of looking
   empty. Mobile keeps the original photo-on-top stacked layout, which suits a narrow screen
   better than a cramped side-by-side would. */
@media (min-width: 900px) {
    .workshops-grid {
        grid-template-columns: 1fr;
    }

    .workshop-card {
        flex-direction: row;
    }

.workshop-image-box {
    /* Twój kwadrat (możesz wpisać dowolne wartości, oby były równe) */
    width: 550px;
    height: 700px !important;
    
    /* Wyłącza rozciąganie. Element "zaczepi" się o górę, a dół zacznie 
       wystawać poza kontener (i zostanie ucięty dzięki overflow: hidden) */
    align-self: flex-start;
    
    flex-shrink: 0;
}

/* Żeby samo zdjęcie wypełniło całą tę powiększaną przestrzeń: */
.workshop-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


    .workshop-body {
        flex: 1;
        min-width: 0;
    }
}

.workshop-image-box {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.workshop-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.workshop-card:hover .workshop-image-box img {
    transform: scale(1.08);
}

.workshop-badge-date {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-sand);
    border-radius: var(--radius-md);
    padding: 8px 14px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.badge-day {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-brand);
    line-height: 1;
}

.badge-month {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
}

.workshop-body {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.workshop-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--accent-sage);
    font-weight: 600;
    margin-bottom: 8px;
}

.workshop-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.workshop-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 18px;
    flex-grow: 1;
    line-height: 1.6;
}

/* FULL DESCRIPTION (WYSIWYG content) — never shown directly on the card, only
   inside the popup; this element just holds the already-rendered HTML so the
   "Lees meer" button's click handler has something to copy into the modal
   without a second request to the server. */
.workshop-full-desc {
    display: none;
}
.workshop-read-more-btn {
    background: var(--bg-sand-light);
    border: 1px solid var(--border-sand);
    color: var(--accent-brand);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    transition: all 0.2s ease;
    /* .workshop-body is a column flexbox, whose default align-items:stretch would
       otherwise stretch this button's width to match the full column width —
       this keeps it sized to its own "Lees meer" label instead. */
    align-self: flex-start;
}
.workshop-read-more-btn:hover {
    background: var(--accent-brand);
    border-color: var(--accent-brand);
    color: #FFFFFF;
}
.workshop-full-desc-modal-body {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-top: 14px;
}

.workshop-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px dashed var(--border-sand);
    margin-bottom: 18px;
}

.workshop-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent-brand);
}

.workshop-deposit-badge {
    font-size: 0.78rem;
    background: var(--bg-sage-light);
    color: var(--accent-sage);
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 700;
}

.workshop-seats {
    display: flex;
    align-items: center;
}

/* Seats-left badge — deliberately bigger and more decorated than plain text (a pill with an
   icon and an extra-bold, larger number) so availability is the thing the eye catches first
   in the price/seats row, not a small muted line easy to miss. */
.ws-seats-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--accent-brand-dark, var(--accent-brand));
    background: rgba(224, 169, 109, 0.15);
    border: 1px solid var(--border-sand);
    padding: 7px 15px;
    border-radius: 20px;
    white-space: nowrap;
}

.ws-seats-badge i {
    color: var(--accent-brand);
    font-size: 0.95rem;
}

.ws-seats-count {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-brand);
}

.ws-seats-badge.is-soldout {
    color: #c0392b;
    background: rgba(231, 76, 60, 0.1);
    border-color: rgba(231, 76, 60, 0.35);
}

.ws-seats-badge.is-closed {
    color: #b56417;
    background: rgba(230, 126, 34, 0.12);
    border-color: rgba(230, 126, 34, 0.35);
}

/* WEBSHOP PRODUCTS GRID & CARDS */
.shop-product-card {
    background: #FFFFFF;
    border: 1px solid var(--border-sand);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.shop-product-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-brand);
    box-shadow: var(--shadow-glow);
}

.product-img-box {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #F9F6F0;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.shop-product-card:hover .product-img-box img {
    transform: scale(1.06);
}

/* CREATIONS CARDS */
.creation-card {
    background: #FFFFFF;
    border: 1px solid var(--border-sand);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: var(--shadow-card);
}

.creation-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-brand);
    box-shadow: var(--shadow-glow);
}


/* ============================================================
   SEO ASSISTANT WIDGET (admin panel — see assets/js/seo-assistant.js)
   ============================================================ */
.seo-widget {
    background: var(--bg-sand-light, #F7F2EE);
    border: 1px solid var(--border-sand, #D0C0B6);
    border-radius: 12px;
    padding: 16px 18px;
    margin: 16px 0;
}

.seo-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.seo-widget-title {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-primary, #2A1F16);
    display: flex;
    align-items: center;
    gap: 7px;
}

.seo-help-btn {
    background: #FFFFFF;
    border: 1px solid var(--border-sand, #D0C0B6);
    color: var(--accent-brand, #917B6C);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.seo-help-btn:hover {
    background: var(--accent-brand, #917B6C);
    color: #FFFFFF;
}

.seo-score-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.seo-score-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 1.1rem;
    line-height: 1;
    flex-shrink: 0;
}

.seo-score-max {
    font-size: 0.7rem;
    font-weight: 700;
    opacity: 0.75;
}

.seo-score-band-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted, #8A7568);
}

.seo-score-red { background: rgba(231, 76, 60, 0.12); color: #c0392b; }
.seo-score-orange { background: rgba(230, 126, 34, 0.14); color: #b5651d; }
.seo-score-green { background: rgba(16, 35, 8, 0.12); color: #102308; }

.seo-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.82rem;
}

.seo-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    line-height: 1.4;
}

.seo-check-pass { color: #102308; }
.seo-check-partial { color: #b5651d; }
.seo-check-fail { color: #8A7568; }
.seo-check-neutral { color: var(--text-muted, #8A7568); }

.seo-check-pass i { color: #2e7d32; margin-top: 2px; }
.seo-check-partial i { color: #b5651d; margin-top: 2px; }
.seo-check-fail i { color: #c0392b; margin-top: 2px; }
.seo-check-neutral i { color: var(--text-muted, #8A7568); margin-top: 2px; }

/* MODALS */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(43, 37, 35, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
    overflow-x: hidden !important;
    overflow-y: auto;
}

.modal-overlay.active,
.modal-overlay[style*="display: flex"],
.modal-overlay[style*="display:flex"],
.modal-overlay[style*="display: block"],
.modal-overlay[style*="display:block"] {
    opacity: 1;
    pointer-events: all;
    display: flex !important;
}

.modal-card {
    background: #FFFFFF;
    border: 1px solid var(--border-sand);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 620px;
    padding: 34px 28px;
    box-shadow: 0 20px 60px rgba(43, 37, 35, 0.2);
    position: relative;
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    overflow-x: hidden !important;
    color: var(--text-primary);
    margin: auto;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-brand) transparent;
}

.modal-card::-webkit-scrollbar {
    width: 8px;
}

.modal-card::-webkit-scrollbar-track {
    background: transparent;
    margin: 12px 0;
}

.modal-card::-webkit-scrollbar-thumb {
    background-color: var(--accent-brand);
    border-radius: 10px;
}

@media (max-width: 600px) {
    .modal-overlay {
        padding: 10px;
    }
    .modal-card {
        padding: 22px 14px;
        border-radius: 18px;
    }
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--bg-sand-light);
    border: 1px solid var(--border-sand);
    color: var(--text-muted);
    font-size: 1.4rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--accent-brand);
    color: #FFFFFF;
    border-color: var(--accent-brand);
}

/* ============================================================
   BLOG SECTION — Home page "Laatste Artikelen op het Blog"
   ============================================================ */

/* Glassmorphic Section Card (Like Over Mij & Blog) */
.glass-section-card {
    background: rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: var(--radius-lg, 28px);
    padding: 45px;
    box-shadow: 0 20px 60px rgba(43, 37, 35, 0.08);
    margin-bottom: 70px;
}

.blog-posts-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 10px;
}

.blog-card {
    background: #FFFFFF;
    border: 1px solid rgba(224, 169, 109, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 10px 30px rgba(43, 37, 35, 0.06);
    display: flex;
    flex-direction: row;
    min-height: 300px;
}

/* Zigzag: odd cards show image on the left, even cards flip it to the right */
.blog-card:nth-child(even) {
    flex-direction: row-reverse;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-brand);
    box-shadow: 0 16px 40px rgba(158, 112, 96, 0.16);
}

.blog-card-img {
    position: relative;
    width: 42%;
    overflow: hidden;
    background: var(--bg-sand-light);
    flex-shrink: 0;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.06);
}

.blog-card-content {
    padding: 34px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.blog-card-date {
    font-size: 0.8rem;
    color: #6A4732;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #2A1F16;
    line-height: 1.35;
    margin-bottom: 12px;
    font-weight: 700;
}

.blog-card-excerpt {
    font-size: 0.96rem;
    color: #4A3323;
    line-height: 1.7;
    flex-grow: 0;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border-sand);
    margin-top: auto;
    gap: 10px;
    flex-wrap: wrap;
}

/* STABLE, SMOOTH BUTTON HOVER INSIDE BLOG CARDS (NO JUMPING) */
.blog-card-footer a.btn-secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 7px 18px !important;
    font-size: 0.86rem !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    background: #FFFFFF !important;
    border: 1px solid var(--border-sand) !important;
    color: var(--accent-brand) !important;
    transform: none !important; /* Prevents nested translateY jump */
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.blog-card-footer a.btn-secondary:hover {
    transform: none !important;
    background: var(--accent-brand) !important;
    color: #FFFFFF !important;
    border-color: var(--accent-brand) !important;
    box-shadow: 0 4px 14px rgba(158, 112, 96, 0.3) !important;
}

.blog-card-footer a.btn-secondary i {
    transition: transform 0.2s ease;
    display: inline-block;
}

.blog-card-footer a.btn-secondary:hover i {
    transform: translateX(4px);
}

/* ROSE RATING SYSTEM */
.blog-roses-rating {
    display: flex;
    align-items: center;
    gap: 3px;
}

.rose-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: var(--accent-brand);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C9 2 7 4 7 6c0 1 .4 2 1 2.6C5.6 9.2 4 11 4 13c0 3.3 3.6 5.4 7 6.9V21h2v-1.1c3.4-1.5 7-3.6 7-6.9 0-2-1.6-3.8-4-4.4C16.6 8 17 7 17 6c0-2-2-4-5-4z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C9 2 7 4 7 6c0 1 .4 2 1 2.6C5.6 9.2 4 11 4 13c0 3.3 3.6 5.4 7 6.9V21h2v-1.1c3.4-1.5 7-3.6 7-6.9 0-2-1.6-3.8-4-4.4C16.6 8 17 7 17 6c0-2-2-4-5-4z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    flex-shrink: 0;
}

.rose-icon.empty {
    background-color: var(--border-sand);
}

.blog-card-footer a {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--accent-brand);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    transition: color 0.2s ease, gap 0.2s ease;
}

.blog-card-footer a:hover {
    color: var(--accent-sage);
    gap: 8px;
}


/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1100px) {
    .blog-card-content { padding: 28px; }
}

@media (max-width: 992px) {
    .main-nav { display: none; }
    .hero-title { font-size: 2.4rem; }
}

@media (max-width: 768px) {
    .section-title { font-size: 2.1rem; }
    .workshops-grid { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; width: 100%; }
    .hero-btns .btn-gold, .hero-btns .btn-primary, .hero-btns .btn-secondary { width: 100%; }
}

/* ============================================================
   SHARE BUTTONS (Social Media Shares in Footer & Workshop Cards)
   ============================================================ */

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #E6DFD9;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.share-btn:hover {
    background: var(--accent-brand);
    border-color: var(--accent-brand);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Share btns inside workshop cards (light background context) */
.workshop-card .share-btn,
.social-share-box .share-btn {
    background: var(--bg-sand-light);
    border-color: var(--border-sand);
    color: var(--accent-brand);
    width: 28px;
    height: 28px;
    font-size: 0.72rem;
}

.workshop-card .share-btn:hover,
.social-share-box .share-btn:hover {
    background: var(--accent-brand);
    border-color: var(--accent-brand);
    color: #FFFFFF;
}

/* ============================================================
   WATERMARK TAG (Image Overlay)
   ============================================================ */

.image-watermark-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--accent-brand);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    pointer-events: none;
    white-space: nowrap;
}

/* ============================================================
   FOOTER STYLING (CENTERED CARD WITH ROUNDED CORNERS)
   ============================================================ */
.site-footer {
    background: rgba(30, 25, 23, 0.75) !important; /* 75% transparent brown */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #E6DFD9 !important;      /* Light warm beige text */
    padding: 60px 45px 30px 45px;
    position: relative;
    z-index: 10;
    max-width: 1200px;
    width: calc(100% - 40px);
    margin: 50px auto 40px auto;
    border-radius: var(--radius-lg, 24px);
    border: 1px solid var(--border-sand);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.site-footer .container {
    max-width: 100%;
    padding: 0;
}

@media (max-width: 900px) {
    .site-footer {
        width: calc(100% - 24px);
        margin: 35px auto 30px auto;
        padding: 45px 24px 25px 24px;
        border-radius: 18px;
    }
}

@media (max-width: 600px) {
    .site-footer {
        width: calc(100% - 16px);
        margin: 25px auto 90px auto;
        padding: 35px 16px 20px 16px;
        border-radius: 16px;
    }
}

.footer-logo-watermark {
    position: absolute;
    bottom: -95px;
    right: -120px; /* Overlaps from the right edge to the middle */
    width: 580px;
    height: 580px;
    opacity: 0.08; /* Very subtle watermark overlay */
    z-index: 1;
    pointer-events: none;
}

.footer-logo-watermark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(1) brightness(1.5); /* Neutral light blend with dark background */
}

.site-footer h4 {
    font-family: var(--font-heading);
    color: #FFFFFF !important;      /* Ensure headers are white and visible */
    font-size: 1.3rem;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.site-footer a {
    color: #C9BFB7;
    transition: color 0.25s ease;
}

.site-footer a:hover {
    color: var(--accent-brand-light);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.88rem;
    color: #9E928B;
}

/* Ensure any paragraphs or inline styled elements inside the footer remain readable */
.site-footer p {
    color: #D0C0B6 !important;
}

.site-footer .text-muted,
.site-footer [style*="color:var(--text-muted)"],
.site-footer [style*="color: var(--text-muted)"] {
    color: #B0A6A0 !important;
}

.site-footer [style*="color:var(--text-bright)"],
.site-footer [style*="color: var(--text-bright)"] {
    color: #FFFFFF !important;
}

/* ============================================================
   FOOTER GRID LAYOUT
   ============================================================ */


.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    font-size: 0.9rem;
    color: #B0A6A0;
    line-height: 1.65;
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
}

@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; gap: 25px; }
}

/* ============================================================
   FOOTER CREATOR LINE (Starostkaweb branding)
   ============================================================ */

.footer-creator-line {
    margin-top: 12px;
    font-size: 0.8rem;
}

.footer-creator-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #9E928B !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-creator-link:hover { color: var(--accent-brand-light) !important; }

.creator-prefix { font-weight: 400; }
.creator-brand-name { font-weight: 700; letter-spacing: 0.3px; }
.creator-web-highlight { color: var(--accent-brand-light); }
.creator-gray-part { color: #9E928B; }

/* ============================================================
   BOOKING MODAL — Payment Option Cards
   ============================================================ */

.payment-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.payment-option-card {
    background: var(--bg-sand-light);
    border: 2px solid var(--border-sand);
    border-radius: var(--radius-md);
    padding: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.payment-option-card:hover {
    border-color: var(--accent-brand);
    background: #FFF8F5;
}

.payment-option-card.selected {
    border-color: var(--accent-brand);
    background: linear-gradient(135deg, #FFF5EE, #FDF0E8);
    box-shadow: 0 4px 15px rgba(158, 112, 96, 0.15);
}

/* Fix white text in modal payment cards */
.payment-option-card [style*="color:#fff"],
.payment-option-card [style*="color: #fff"] {
    color: var(--text-primary) !important;
}

/* ============================================================
   BOOKING MODAL — Booking Timer Badge
   ============================================================ */

.booking-timer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-sage-light);
    color: var(--accent-sage);
    border: 1px solid var(--border-sage);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 0.82rem;
    font-weight: 700;
}

/* ============================================================
   AVG CONSENT CHECKBOX ROW (Booking Modal)
   ============================================================ */

.avg-consent-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 15px;
    background: var(--bg-sand-light);
    border: 1px solid var(--border-sand);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.avg-consent-checkbox-row input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--accent-brand);
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.avg-consent-checkbox-row a {
    color: var(--accent-brand);
    font-weight: 600;
    text-decoration: underline;
}

/* ============================================================
   MOBILE BOTTOM NAVIGATION
   ============================================================ */

.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--border-sand);
    z-index: 990;
    box-shadow: 0 -4px 20px rgba(43, 37, 35, 0.08);
    backdrop-filter: blur(10px);
}

.mobile-bottom-nav ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    margin: 0;
    list-style: none;
}

.mobile-bottom-nav li { flex: 1; }

.mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 5px 2px;
    transition: color 0.2s ease;
}

.mobile-bottom-nav a.active,
.mobile-bottom-nav a:hover { color: var(--accent-brand); }

.mobile-bottom-nav svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .mobile-bottom-nav { display: block; }
    body { padding-bottom: 68px; }
}

/* ============================================================
   BOOKING SUCCESS STEP — Green Icon Fix
   ============================================================ */

#booking-success-step [style*="color:#102308"] {
    color: var(--accent-sage) !important;
}

#booking-success-step [style*="border:2px solid #102308"] {
    border-color: var(--border-sage) !important;
}

#booking-success-step [style*="background:rgba(16, 35, 8"] {
    background: var(--bg-sage-light) !important;
}

/* ============================================================
   ROSE RATING COMPONENT (BLOG & CREATIONS)
   ============================================================ */
.blog-roses-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    vertical-align: middle;
}
.rose-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    line-height: 1;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.2s ease;
}
.rose-icon::before {
    content: '🌹';
    filter: drop-shadow(0 2px 4px rgba(158, 112, 96, 0.25));
}
.rose-icon.empty {
    filter: grayscale(1) opacity(0.3) !important;
}
.blog-rose-picker .rose-pick-item {
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s ease, filter 0.2s ease;
}
.blog-rose-picker .rose-pick-item:hover {
    transform: scale(1.25) rotate(-6deg) !important;
}

/* ============================================================
   MOBILE RESPONSIVE POLISH — HERO BANNER IMAGE (bg_m.jpg)
   ============================================================ */
@media (max-width: 991px) {
    .hero-section::before {
        background-image: url('../images/bg_m.jpg') !important;
        background-image: image-set(url('../images/bg_m.webp') type('image/webp'), url('../images/bg_m.jpg') type('image/jpeg')) !important;
        background-position: center top !important;
    }
}

@media (max-width: 768px) {
    /* Hide green/primary Reserveren CTA in header on phones */
    .header-reserveren-btn {
        display: none !important;
    }
    .site-header .header-actions {
        gap: 6px;
    }
    
    /* Typography on mobile */
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.7rem) !important;
        line-height: 1.2 !important;
        margin-bottom: 12px !important;
    }
    .hero-description {
        font-size: 0.96rem !important;
        line-height: 1.65 !important;
        padding: 0 10px;
    }

    /* Glass Section Card & Blog on Mobile */
    .glass-section-card {
        padding: 22px 16px !important;
        border-radius: 20px !important;
        margin-bottom: 35px !important;
    }

    /* Blog List & Posts on Mobile: drop the left/right zigzag, stack image above content */
    .blog-posts-grid {
        gap: 24px !important;
    }
    .blog-card, .blog-card:nth-child(even) {
        flex-direction: column !important;
        border-radius: 18px !important;
        min-height: 0 !important;
    }
    .blog-card-img {
        width: 100% !important;
        height: 200px !important;
    }
    .blog-card-content {
        padding: 18px 16px !important;
    }
    .blog-card-title {
        font-size: 1.18rem !important;
        line-height: 1.35 !important;
        margin-bottom: 10px !important;
    }
    .blog-card-excerpt {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
        margin-bottom: 14px !important;
    }

    /* Single Blog Post Article Readability on Mobile */
    .post-content-body {
        padding: 22px 16px !important;
        font-size: 0.98rem !important;
        line-height: 1.75 !important;
        border-radius: 16px !important;
    }
    .post-header-meta {
        font-size: 0.75rem !important;
        padding: 4px 12px !important;
        gap: 6px !important;
        flex-wrap: wrap !important;
    }

    /* Over Mij Layout on Mobile */
    .about-page-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    .about-page-grid > div:first-child {
        order: 1;
    }
    .about-page-grid > div:last-child {
        order: 2;
    }
    .about-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .about-cards-grid > div {
        padding: 22px 18px !important;
    }

    /* Creations Grid & Cards on Mobile */
    .creations-zigzag-list {
        gap: 30px !important;
    }
    .creation-item-row {
        flex-direction: column !important;
        min-height: auto !important;
        padding: 20px !important;
        gap: 20px !important;
        border-radius: 20px !important;
    }
    .creation-img-col {
        min-width: 100% !important;
        height: 280px !important;
        flex: none !important;
    }
    .creation-content-col {
        min-width: 100% !important;
        height: auto !important;
        flex: none !important;
    }
    .creation-content-col h2 {
        font-size: 1.6rem !important;
        line-height: 1.25 !important;
    }
    
    /* Social Floating Bar offset on phones */
    .floating-social-bar {
        bottom: 84px !important;
    }
}

/* ============================================================
   2026-11-15 (StarCore): schermbreedtes tussen telefoon en groot scherm
   ============================================================ */

/* Tablet staand / smal venster (769-992px): het bovenmenu is hier al verborgen (zie max-width 992px),
   dus de onderste navigatiebalk moet hier ook zichtbaar zijn, anders is er helemaal geen menu. */
@media (min-width: 769px) and (max-width: 992px) {
    .mobile-bottom-nav { display: block; }
    body { padding-bottom: 68px; }
}

/* Tablet liggend / kleine laptop (993-1199px): menu, logo en "Reserveren" net iets compacter,
   zodat de knop niet meer rechts buiten beeld valt. */
@media (min-width: 993px) and (max-width: 1199px) {
    .header-container { gap: 12px; }
    .main-nav ul { gap: 13px; }
    .main-nav a { font-size: 0.88rem; letter-spacing: 0; }
    .brand-logo-img { height: 46px; }
    .brand-script-title { font-size: 1.9rem; }
    .brand-script-subtitle { font-size: 0.64rem; letter-spacing: 1.1px; }
    .header-actions { gap: 10px; }
    .header-reserveren-btn { padding-left: 16px; padding-right: 16px; white-space: nowrap; }
}
