/* site-fixes.css - gedeelde UI-correcties, laadt na de inline <style> van elke pagina.
   Alle selectors zijn scoped op classes die alleen voorkomen waar de fix nodig is. */

/* --- Zwevende WhatsApp-knop ---------------------------------------------------
   Basisstijl stond alleen inline op de bruidspagina's; staat nu hier zodat de
   event-, zakelijk- en familiepagina's dezelfde knop krijgen. */
.wa-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(38, 40, 42, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 12px 22px 12px 16px;
    text-decoration: none;
    white-space: nowrap;
}
.wa-cta:hover {
    background: rgba(38, 40, 42, 0.95);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.wa-cta svg { flex-shrink: 0; }
@media (max-width: 768px) {
    .wa-cta { bottom: 16px; right: 16px; font-size: 0.62rem; padding: 10px 18px 10px 13px; gap: 8px; }
}
/* Donkere pagina's (eventfotografie): lichte pil, anders valt hij weg */
.wa-cta.wa-cta-light {
    background: rgba(250, 250, 250, 0.92);
    border-color: rgba(0, 0, 0, 0.08);
    color: #1a1a1a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.wa-cta.wa-cta-light:hover { background: #fff; }
.wa-cta.wa-cta-light svg { fill: #1a1a1a; }

.wa-cta {
    transition: background 0.3s ease, box-shadow 0.3s ease,
                opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.wa-cta.wa-hidden {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
    pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
    .wa-cta { transition: opacity 0.2s linear; }
    .wa-cta.wa-hidden { transform: none; }
}

/* --- FAQ-accordeon (markup wordt door site-fixes.js opgebouwd) ---------------- */
.sf-faq-item { padding-top: 0 !important; padding-bottom: 0 !important; }
.sf-faq-item h3 { margin-bottom: 0 !important; }
.sf-faq-q {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
    margin: 0;
    background: none;
    border: 0;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}
.sf-faq-q:hover { opacity: 0.7; }
.sf-faq-icon {
    position: relative;
    flex-shrink: 0;
    width: 13px;
    height: 13px;
    margin-top: 6px;
    opacity: 0.55;
}
.sf-faq-icon::before,
.sf-faq-icon::after {
    content: "";
    position: absolute;
    background: currentColor;
}
.sf-faq-icon::before { left: 0; top: 6px; width: 13px; height: 1.5px; }
.sf-faq-icon::after  { left: 6px; top: 0; width: 1.5px; height: 13px; transition: opacity 0.3s ease; }
.sf-faq-item.sf-open .sf-faq-icon::after { opacity: 0; }
.sf-faq-a {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
}
.sf-faq-a > p { margin: 0 !important; padding-bottom: 26px; }

/* --- Reviews: laatste rij centreren i.p.v. links uitlijnen -------------------- */
.reviews-grid {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
}
.reviews-grid > div {
    flex: 1 1 300px;
    max-width: 370px;
}

/* --- The Perfect Wedding badge in de footer (eigen palet i.p.v. iframe) ------- */
.tpw-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #e8ddd5;
    background: #fff;
    color: #7a6d65;
    /* footer{} zet alles uppercase + letter-spacing; hier terugdraaien */
    text-transform: none !important;
    letter-spacing: 0.01em !important;
    font-size: 0.78rem !important;
    line-height: 1.45;
    text-align: left;
    text-decoration: none;
    transition: border-color 0.3s ease;
}
.tpw-badge:hover { border-color: #d4c5b9; }
.tpw-badge span:last-child { white-space: nowrap; }
.tpw-badge .tpw-score { color: #a08070; font-size: 1.15rem; letter-spacing: 0.02em; }
.tpw-badge strong { color: #4a4340; font-weight: 600; }

/* --- Hero-knoppen ------------------------------------------------------------ */
.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 34px;
}
.hero-cta-row .btn-hero {
    display: inline-block;
    padding: 14px 34px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.92);
    color: #1a1a1a;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.2em;
    transition: background 0.3s ease, color 0.3s ease;
}
.hero-cta-row .btn-hero:hover { background: #fff; }
.hero-cta-row .btn-hero-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}
.hero-cta-row .btn-hero-ghost:hover { background: rgba(255, 255, 255, 0.15); }

/* --- Mobiele hero: zijmarge en kopregel die niet tegen de schermrand plakt ---- */
@media (max-width: 600px) {
    .hero-title { padding-left: 26px !important; padding-right: 26px !important; }
    .hero-title h1 { font-size: clamp(2.1rem, 9.5vw, 3.1rem) !important; }
    .hero-title h1 .hero-eyebrow {
        font-size: 11px !important;
        letter-spacing: 0.22em !important;
        margin-bottom: 10px !important;
    }
    .hero-cta-row { flex-direction: column; align-items: center; gap: 10px; margin-top: 26px; }
    .hero-cta-row .btn-hero { min-width: 236px; padding: 13px 24px; font-size: 10px; text-align: center; }
}

/* --- Gezinsshoot-actie toast (sitebreed, 1x per sessie, zie site-fixes.js) --- */
.sf-actie-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
    z-index: 998;
    font-family: 'Inter', sans-serif;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}
.sf-actie-toast.sf-actie-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.sf-actie-toast .sf-actie-bg {
    position: relative;
    height: 380px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}
.sf-actie-toast .sf-actie-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(251, 247, 242, 0.97) 0%, rgba(251, 247, 242, 0.88) 40%, rgba(20, 16, 12, 0.05) 75%);
}
.sf-actie-toast .sf-actie-body { position: relative; z-index: 1; padding: 22px 22px 24px; width: 100%; box-sizing: border-box; }
.sf-actie-toast .sf-actie-eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: 0.25em; font-weight: 700; color: #8B6347; margin: 0 0 8px; }
.sf-actie-toast .sf-actie-title { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.5rem; margin: 0 0 8px; color: #2c2c2c; line-height: 1.1; }
.sf-actie-toast .sf-actie-text { font-size: 0.85rem; color: #6b7280; margin: 0 0 16px; line-height: 1.5; }
.sf-actie-toast .sf-actie-btn { display: inline-block; padding: 12px 22px; background: #8B6347; color: #fff; font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 700; text-decoration: none; border-radius: 3px; transition: background 0.2s ease; }
.sf-actie-toast .sf-actie-btn:hover { background: #6b4a30; }
.sf-actie-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    color: #2c2c2c;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    padding: 0;
}
@media (max-width: 768px) {
    .sf-actie-toast { left: 16px; right: 16px; width: auto; bottom: 88px; }
    .sf-actie-toast .sf-actie-bg { height: 300px; }
}
