/* Body scroll fix — preloader is removed so .loading never gets cleared */
/* Note: overflow-x:hidden on body/html breaks position:sticky in Safari */
html { overflow: visible !important; overflow-x: clip !important; height: auto !important; }
body, body.loading { overflow: visible !important; overflow-x: clip !important; height: auto !important; }
.preloader { display: none !important; }

/* Darker body text — ONLY on white/light background sections */
.section--white p, .section--white li, .section--white td,
.section--off p, .section--off li,
.section--warm p, .section--warm li,
.about__text p, .bridal__intro, .contact__info p,
.pricing__card-desc, .pricing__card ul li,
.pricelist__intro, .legal__body, .legal__body p {
    color: #333 !important;
}

/* Rich text h2/h3 in light sections (NOT section__title — those keep their size) */
.about__text h2, .bridal__intro h2,
.pricelist__intro h2 {
    font-family: var(--font-heading, 'Playfair Display', serif) !important;
    font-size: 1.6rem !important;
    font-weight: 500 !important;
    color: #1a1a1a !important;
    margin: 1.5rem 0 0.5rem !important;
}
.about__text h3, .bridal__intro h3, .pricelist__intro h3 {
    font-family: var(--font-heading, 'Playfair Display', serif) !important;
    font-size: 1.25rem !important;
    font-weight: 500 !important;
    font-style: italic !important;
    color: #1a1a1a !important;
    margin: 1.2rem 0 0.4rem !important;
}

/* Dark sections — force white/light text */
.hero p, .hero span, .hero__description,
.hero__script, .hero__bottom span,
.hero__clients span {
    color: rgba(255,255,255,0.75) !important;
}
.hero__title, .hero__title .line__inner {
    color: #fff !important;
    -webkit-text-fill-color: unset;
}
.cta-banner p, .cta-banner h2 {
    color: #fff !important;
}
.quote-break p, .quote-break blockquote {
    color: rgba(255,255,255,0.85) !important;
}
.reviews-slider-section p, .reviews-slider-section span,
.reviews__badge-text, .reviews__card-text, .reviews__card-name {
    color: inherit !important;
}
.footer p, .footer a, .footer__brand p,
.footer__seo span, .footer__bottom p {
    color: inherit !important;
}
.page-hero__subtitle {
    color: rgba(255,255,255,0.85) !important;
}


/* Breadcrumbs: inside page hero, centered above title */
.breadcrumbs {
    background: transparent !important;
    border: none !important;
    border-bottom: none !important;
    padding: 0 !important;
    margin: 1rem 0 0.5rem 0 !important;
    text-align: center;
    display: block !important;
}
.breadcrumbs .container { padding: 0; }
.breadcrumbs__list {
    color: rgba(255,255,255,0.7) !important;
    font-size: 0.8rem !important;
    justify-content: center !important;
    letter-spacing: 0.05em;
}
.breadcrumbs__item a { color: rgba(255,255,255,0.6) !important; text-decoration: none !important; }
.breadcrumbs__item a:hover { color: var(--color-orange) !important; }
.breadcrumbs__item + .breadcrumbs__item::before { color: rgba(255,255,255,0.35) !important; }
.breadcrumbs__item--active { color: #fff !important; font-weight: 500 !important; }

/* Disable custom cursor — use system cursor */
.cursor { display: none !important; }
* { cursor: revert !important; }
a, button, [role="button"], select, .btn, label, summary { cursor: pointer !important; }
input, textarea { cursor: text !important; }

/* Hero description: balanced spacing above and below */
.hero__description {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}
.hero__description p {
    margin: 0 !important;
}

/* Hero title animation — start immediately, no preloader delay */
.hero__title .line:nth-child(1) .line__inner { animation-delay: 0.1s !important; }
.hero__title .line:nth-child(2) .line__inner { animation-delay: 0.25s !important; }
.hero__title .line:nth-child(3) .line__inner { animation-delay: 0.4s !important; }

/* Fix italic / serif letters being clipped at edges */
em { padding-right: 0.08em; padding-left: 0.02em; }
.hero__title em,
.section__title em,
.page-hero__title em,
h1 em, h2 em, h3 em {
    padding-right: 0.15em;
    padding-left: 0.04em;
}
/* Hero title line: remove overflow:hidden that clips italic letters */
.hero__title .line {
    overflow: visible !important;
}
/* Reviews slider name + marquee items: prevent edge clipping */
.reviews__card-name,
.usp-marquee__item {
    padding: 0 0.15em;
}

/* Hero images: dark purple border + rounded corners on both */
.hero__image--1 {
    border: 3px solid var(--color-bg-dark) !important;
    border-radius: 16px;
}
.hero__image--2 {
    border-color: var(--color-bg-dark) !important;
    border-radius: 16px;
}
.hero__image img {
    border-radius: 12px;
}

/* CTA banner: full width */

/* Hero overlays: more transparent so photos show through more */
.hero__bg-overlay {
    background:
        radial-gradient(ellipse at 70% 30%, rgba(212, 82, 58, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 70%, rgba(212, 82, 58, 0.04) 0%, transparent 50%),
        linear-gradient(160deg, rgba(26, 34, 48, 0.3) 0%, rgba(26, 34, 48, 0.7) 100%) !important;
}
.page-hero__overlay {
    background:
        radial-gradient(ellipse at center, rgba(224, 85, 53, 0.06) 0%, transparent 60%),
        linear-gradient(to bottom, rgba(22, 16, 42, 0.15) 0%, rgba(22, 16, 42, 0.55) 100%) !important;
}

/* Anchor nav pills: clean white buttons instead of pill outlines */
.anchor-nav {
    border-bottom: none !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
}
.anchor-nav__pill {
    border: none !important;
    background: #f5f1ec !important;
    color: var(--color-text) !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    transition: all 0.25s ease !important;
}
.anchor-nav__pill svg {
    display: none !important;
}
.anchor-nav__pill:hover {
    background: var(--color-orange) !important;
    color: #fff !important;
    transform: translateY(-1px);
}
.anchor-nav__pill.is-active {
    background: var(--color-orange) !important;
    color: #fff !important;
    box-shadow: 0 3px 12px rgba(232,97,42,0.3) !important;
}

/* Page hero subtitle: white text, more breathing room */
.page-hero__subtitle {
    color: rgba(255,255,255,0.85) !important;
    max-width: 500px !important;
    padding: 0 1.5rem !important;
    margin: 0.5rem auto 0 !important;
    line-height: 1.7 !important;
}

/* General: more space between text and buttons */
.beste-versie__content .btn {
    margin-top: 2rem !important;
}
.beste-versie__content p:last-of-type {
    margin-bottom: 0.5rem !important;
}

/* Waarom kiezen: wider text column, cleaner line breaks */
.beste-versie__grid {
    grid-template-columns: 1fr 1.3fr !important;
}
.beste-versie__content p {
    font-size: 0.95rem !important;
    line-height: 1.85 !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
}

/* Pricelist intro: centered + space before table */
.pricelist__intro {
    margin-bottom: 2.5rem !important;
    text-align: center !important;
    max-width: 700px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Bridal intro: more space below text before steps */
.bridal__intro {
    margin-bottom: 4.5rem !important;
}

/* Bridal photos: first two overlap more, compact stack */
.bridal__image-main {
    top: 0 !important;
    left: 0 !important;
    transform: rotate(-4deg) !important;
    width: 75% !important;
}
.bridal__image-float {
    top: -5% !important;
    left: 20% !important;
    transform: rotate(3deg) !important;
    width: 75% !important;
}
.bridal__image-main:hover { transform: rotate(-4deg) scale(1.03) !important; }
.bridal__image-float:hover { transform: rotate(3deg) scale(1.03) !important; }
.bridal__image-third { display: none !important; }

/* 10+ Jaar Ervaring float card: rounded corners */
.about__float-card {
    border-radius: 16px !important;
}

/* "Worldwide available" script text: bigger and closer to title */
.hero__script {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem) !important;
    margin-bottom: 0.5rem !important;
}

/* ====== MOBILE PERFORMANCE (Safari/iOS) ====== */
@media (max-width: 768px) {
    /* Disable backdrop-filter — very expensive on mobile Safari */
    .nav, .nav--scrolled, .search-overlay, .lightbox__backdrop,
    .sticky-cta, .nav__links--open, .preloader {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    /* Nav: solid bg when backdrop-filter is off (only when scrolled) */
    .nav--scrolled {
        background: rgba(255,255,255,0.98) !important;
    }

    /* Nav actions — prevent icon overlap on small screens */
    .nav__actions {
        gap: 0.4rem !important;
    }
    .nav__phone {
        width: 32px !important;
        height: 32px !important;
    }
    .nav__phone svg {
        width: 14px !important;
        height: 14px !important;
    }
    .nav__search-toggle svg {
        width: 17px !important;
        height: 17px !important;
    }
    .nav__lang {
        font-size: 0.65rem !important;
    }

    /* Mobile menu: social icons hidden by default, fixed bottom when menu open */
    .nav__mobile-footer {
        display: none !important;
    }
    .nav--menu-open .nav__mobile-footer {
        display: block !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1002 !important;
        padding: 1.2rem 0 2rem !important;
        margin: 0 !important;
        text-align: center !important;
    }
    .nav__mobile-socials {
        gap: 1.5rem !important;
        justify-content: center !important;
    }

    /* Beauty services: more padding in pricing cards */
    .pricing__card {
        padding: 2rem 1.5rem !important;
    }
    .pricing__card-desc {
        margin-bottom: 1.5rem !important;
    }

    /* Disable floating background elements */
    .floating-el, .floating-elements {
        display: none !important;
    }

    /* Simplify powder/brush decorations */
    .powder, .brush-deco {
        display: none !important;
    }

    /* Hero: balanced spacing — google review above, description + buttons below */
    .hero__google-review {
        margin-bottom: 1.5rem !important;
    }

    /* Waarom kiezen: more space above button */
    .beste-versie .btn {
        margin-top: 1.5rem !important;
    }
    .hero__description {
        margin-bottom: 4rem !important;
    }

    /* Hero title — more padding so text doesn't touch edges */
    .hero__content {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    .hero__title {
        font-size: clamp(2.2rem, 8vw, 3rem) !important;
        word-break: break-word;
    }
    .page-hero__title {
        font-size: clamp(2rem, 7vw, 3.5rem) !important;
        letter-spacing: 0.15em !important;
        padding: 0 1rem !important;
    }
    .section__title {
        padding: 0 0.5rem;
    }


    /* Reduce hero animation delays for faster load feel */
    .hero__title .line:nth-child(1) .line__inner { animation-delay: 0s !important; }
    .hero__title .line:nth-child(2) .line__inner { animation-delay: 0.1s !important; }
    .hero__title .line:nth-child(3) .line__inner { animation-delay: 0.2s !important; }

    /* Make hero elements visible faster — fallback if JS is slow */
    .hero__script, .hero__description, .hero__actions,
    .hero__google-review, .hero__scroll, .hero__clients {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    /* Simplify will-change to reduce GPU memory */
    * { will-change: auto !important; }

    /* Reduce parallax image scaling for smoother scroll */
    .quote-break__bg img {
        transform: none !important;
    }

    /* Anchor nav — sticky with solid bg */
    .anchor-nav {
        position: sticky !important;
        background: rgba(255,255,255,0.98) !important;
        z-index: 999 !important;
    }
    .anchor-nav__pill {
        font-size: 0.65rem !important;
        padding: 0.45rem 0.8rem !important;
    }

    /* USP marquee — prevent text clipping */
    .usp-marquee {
        overflow: visible !important;
    }
    .usp-marquee__track {
        padding: 0.5rem 0 !important;
    }

    /* Stats: 2 columns + 1 centered below */
    .about__stats {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 2rem !important;
    }
    .about__stat {
        width: 42% !important;
        justify-content: center !important;
        text-align: center !important;
    }
    .about__stat:last-child {
        width: 50% !important;
    }
    .about__stat-label {
        text-align: center !important;
    }
}

/* ====== PRICING FEATURES: only orange checkmarks, no dots ====== */
.pricing__card ul li::before {
    display: none !important;
}
.pricing__card ul li svg {
    stroke: var(--color-orange) !important;
    flex-shrink: 0;
    width: 18px !important;
    height: 18px !important;
}
