/*
 * Event Landing – Starter CSS
 *
 * Cseréld le a CSS változókat a #cta szekció felső részén az esemény brand-jéhez.
 * Egyéb módosítás nem szükséges az alap megjelenéshez.
 */

/* ─── CSS változók (testreszabható) ────────────────────────── */
:root {
    --bg-main:        #FFFFFF;
    --text-main:      #111111;
    --bg-black:       #FFFFFF;    /* Compatibility */
    --text-white:     #111111;    /* Compatibility */
    --accent:         #FFC700;    /* Keep yellow */
    --font-primary:   Helvetica, Arial, sans-serif;

    --spacing-sm:  1rem;
    --spacing-md:  2rem;
    --spacing-lg:  6rem; /* Increased from 4rem for more breathing room */
    --spacing-xl:  8rem;
}

@media (max-width: 768px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 3.5rem; /* Increased from 2.5rem */
        --spacing-xl: 4rem;
    }
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 2rem;
}

/* Lenis overrides */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ─── Tipográfia ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { 
    font-weight: 700; 
    line-height: 1.2; 
    margin-bottom: var(--spacing-sm); 
    letter-spacing: -0.01em; 
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--accent); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; }
p, li { margin-bottom: var(--spacing-sm); font-size: 1.125rem; }

a {
    color: #67A9DD;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.text-accent  { color: var(--accent); }
.text-white   { color: var(--text-white); }
.text-black   { color: var(--bg-black); }
.text-center  { text-align: center; }

/* ─── Layout ─────────────────────────────────────────────────── */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

section {
    padding: var(--spacing-lg) 0;
    position: relative;
    z-index: 1;
}

/* ─── Gombok ─────────────────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    border-radius: 9999px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-size: 1.125rem;
    -webkit-tap-highlight-color: transparent;
}

.btn:active { opacity: 0.9; }

.btn-primary {
    background-color: var(--accent);
    color: #111;
}

.btn-secondary {
    background-color: transparent;
    color: #111;
    border: 1px solid #ddd;
}

.btn-secondary:active {
    background-color: #f5f5f5;
}

.badge {
    display: inline-block;
    background-color: var(--accent);
    color: #111;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
}

/* ─── Hero ───────────────────────────────────────────────────── */
.hero-fixed-bg {
    display: none; /* Removed for Clean White theme */
}

#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
    background-attachment: fixed;
}

/* --- HERO NEW LAYOUT --- */
.hero-new-layout {
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-new-layout {
        padding-top: 4rem;
        padding-bottom: 2rem;
        min-height: auto;
    }
}

.hero-logo {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 100;
}

.hero-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.hero-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem; /* Increased gap to ensure no overlap */
    align-items: center;
}

.hero-text-content {
    z-index: 10; /* Ensure text is above any potential overflow */
    text-align: left;
    max-width: 620px;
}

.hero-text-content h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem); /* Slightly smaller, more elegant */
    color: #111111;
    line-height: 1.15;
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.hero-long-description p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #444;
}

.hero-signature {
    font-family: 'Allura', cursive;
    font-size: 3.2rem; /* Reduced by 20% from 4rem */
    line-height: 1.1;
    color: #222;
    margin-top: 2rem;
    display: block;
}

/* --- HERO COLLAGE --- */
.hero-visual {
    position: relative;
    height: auto;
    perspective: 1200px;
}

.hero-collage {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0;
}

.collage-img {
    position: relative;
    width: 90%;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    object-fit: cover;
    transition: 
        transform 0.4s ease,
        box-shadow 0.4s ease;
    border: 4px solid #fff;
    cursor: pointer;
}

.img-1, .img-2, .img-3 {
    width: 90%;
    height: auto;
    z-index: 1;
}

/* Szép, lépcsőzetes elrendezés asztali nézetre */
@media (min-width: 992px) {
    .hero-collage {
        gap: 0;
        padding: 0;
    }
    .img-1, .img-2, .img-3 {
        width: 80%;
        margin-bottom: -15%; /* Enyhe átfedés a képek között */
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    }
    .img-1 { align-self: flex-start; z-index: 3; }
    .img-2 { align-self: flex-end; z-index: 2; }
    .img-3 { align-self: flex-start; z-index: 1; margin-bottom: 0; }
}

.collage-img:hover {
    transform: scale(1.05) translateY(-5px); /* Letisztult emelkedés */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

@media (max-width: 1100px) {
    .hero-split { gap: 4rem; } /* Kept larger gap */
    .img-2 { left: 0%; } /* No negative offset on medium screens */
    .img-3 { left: -5%; } /* Minimal negative offset */
}

@media (max-width: 992px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 5rem;
    }
    
    .hero-text-content {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .hero-visual {
        height: 500px;
        max-width: 450px;
        margin: 0 auto;
    }
}

/* Mobile top image logic */
.hero-mobile-img {
    display: none;
    width: 100%;
    margin: 1.5rem 0 2rem;
}

.hero-mobile-img img {
    width: 100%;
    height: auto;
    border-radius: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .hero-text-content h1 { margin-top: 2rem; margin-bottom: 0.75rem; }
    .hero-mobile-img { display: block; margin: 0.5rem 0 1.5rem; }
    .hero-mobile-bottom-img { margin-bottom: 3rem; }
    
    .hero-visual {
        display: none; /* Entirely hide the collage block on mobile now */
    }

    .hero-text-content {
        padding: 0;
    }
    .hero-signature {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
    }
    .btn {
        padding: 0.75rem 1.75rem;
        font-size: 1rem;
        width: 100%;
        white-space: normal;
        text-align: center;
    }
}

/* --- HERO GLASS --- */
.hero-glass {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    padding: var(--spacing-lg);
}

.hero-content h1,
.hero-content h2,
.hero-content p { text-shadow: 0 2px 4px rgba(0,0,0,0.8); }

#hero-primary-cta { transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease; }
#hero-primary-cta:active { transform: translateY(1px) scale(0.992); opacity: 0.96; }
#hero-primary-cta:focus-visible { outline: 2px solid rgba(255,255,255,0.9); outline-offset: 3px; }

@media (max-width: 768px) {
    .hero-fixed-bg {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
        will-change: auto;
    }

    #hero {
        padding-top: calc(env(safe-area-inset-top, 0px) + 6vh);
        padding-bottom: var(--spacing-lg);
        align-items: flex-start;
    }

    .hero-content h1 { font-size: clamp(1.8rem, 7vw, 2.5rem); line-height: 1.25; margin-bottom: 1rem; }
    .hero-content h2 { font-size: 1.1rem !important; line-height: 1.4; margin-bottom: 1.5rem !important; }
    .hero-content p  { font-size: 1rem !important; padding: 0 10px; }

    .hero-content .btn {
        width: 90%;
        max-width: 320px;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
}

/* ─── Anchor bar ─────────────────────────────────────────────── */
#anchor {
    background-color: var(--accent);
    color: #111;
    padding: var(--spacing-sm) 0;
}

.anchor-content {
    text-align: center;
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    #anchor { padding: 0.75rem 0; }
    .anchor-content { 
        font-size: 1.3rem;
        letter-spacing: 0;
    }
}

/* ─── Grids ───────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: flex-start; }
h2 { margin-top: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-md); }

@media (max-width: 900px) {
    .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
    .desktop-only-img { display: none !important; }
    .order-mobile-first { order: -1; }
}

@media (max-width: 600px) {
    .grid-4 { grid-template-columns: 1fr; }
}

/* ─── Kártyák ────────────────────────────────────────────────── */
.card {
    background-color: #f9f9f9;
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 1px solid #eee;
    color: #111;
}

.card-icon { font-size: 2rem; margin-bottom: var(--spacing-sm); color: var(--accent); }

/* ─── Célközönség szekció ────────────────────────────────────── */
#target-audience {
    background: linear-gradient(135deg, #f5f0e8 0%, #ede8dc 50%, #e8e2d4 100%);
    color: var(--bg-black);
    padding: var(--spacing-xl) 0;
    position: relative;
}

#target-audience h2 { color: var(--bg-black); margin-bottom: var(--spacing-lg); }

#target-audience .card {
    background-color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.5);
    color: var(--bg-black);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) {
    #target-audience .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 40px rgba(0,0,0,0.1);
        background-color: rgba(255,255,255,0.9);
    }
}

#target-audience p { color: #333; font-weight: 500; }

/* ─── Wave dividers ──────────────────────────────────────────── */
.custom-shape-divider-top,
.custom-shape-divider-bottom {
    position: absolute;
    left: 0; width: 100%;
    overflow: hidden; line-height: 0;
    pointer-events: none;
}

.custom-shape-divider-top { top: 0; }
.custom-shape-divider-bottom { bottom: 0; }

.custom-shape-divider-top svg,
.custom-shape-divider-bottom svg {
    position: relative; display: block;
    width: calc(100% + 1.3px); height: 60px;
    left: 50%; transform: translateX(-50%);
}

.custom-shape-divider-top .shape-fill { fill: var(--bg-black); }
.custom-shape-divider-bottom .shape-fill { fill: var(--text-white); }

@media (min-width: 768px) {
    .custom-shape-divider-top svg,
    .custom-shape-divider-bottom svg { height: 120px; }
}

/* ─── Infórmációk Szekció ────────────────────────────────────── */
.mobile-swipe-hint {
    display: none;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .mobile-swipe-hint {
        display: block;
    }
}

.info-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.info-item {
    background: none;
    border: none;
    padding: 0;
    text-align: center;
}

/* ── Mobile Carousel ────────────────────────────────────────── */
@media (max-width: 768px) {
    #details .container {
        padding-left: 0;
        padding-right: 0;
        overflow: hidden; /* clip the peek */
    }

    .info-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 4vw;
        max-width: 100%;
        width: 100%;
        margin: 0;
        padding: 2rem 8vw 2.5rem 8vw; /* Horizontal padding ensures shadow has space and allows perfect centering */
        scrollbar-width: none;
        align-items: stretch;
    }

    .info-grid::-webkit-scrollbar {
        display: none;
    }

    .info-item {
        flex: 0 0 84vw;
        width: 84vw;
        max-width: 84vw;
        scroll-snap-align: center;
        background: #ffffff;
        border-radius: 24px;
        padding: 2.5rem 2rem;
        margin: 0;
        text-align: center;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 200px;
    }

    /* Dot indicators */
    .info-dots {
        display: flex;
        justify-content: center;
        gap: 6px;
        margin-top: 1.25rem;
    }

    .info-dots span {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #d1d1d6;
        display: inline-block;
        transition: background 0.2s;
    }

    .info-dots span.active {
        background: #1d1d1f;
        width: 18px;
        border-radius: 3px;
    }
}

@media (min-width: 769px) {
    .info-dots { display: none; }
}

.info-label {
    display: block;
    font-size: 0.75rem; /* Tiny but sharp */
    font-weight: 600;
    color: #86868b; /* Apple grey */
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.info-value {
    display: block;
    font-size: 1.85rem; /* Large and confident */
    font-weight: 600;
    color: #1d1d1f; /* Apple black */
    line-height: 1.2;
}

.price-sub {
    font-size: 0.9rem;
    font-weight: 400;
    color: #86868b;
    display: block;
    margin-top: 0.4rem;
    letter-spacing: -0.01em;
}

.price-promo {
    font-weight: 600;
    color: #1d1d1f;
}

.deadline-card-wrapper {
    margin-top: 3.5rem;
    display: flex;
    justify-content: center;
}

.deadline-card {
    background: #f5f5f7;
    padding: 1.25rem 2.5rem;
    border-radius: 100px;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.deadline-card p {
    margin: 0;
    font-size: 1.05rem;
    color: #333;
    line-height: 1.4;
}

.deadline-card strong {
    color: #000;
    font-weight: 700;
}

@media (max-width: 768px) {
    .deadline-card {
        border-radius: 24px;
        padding: 1rem 1.5rem;
    }
}

/* ─── FAQ accordion ──────────────────────────────────────────── */
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid #ddd; }

.accordion-header {
    width: 100%; text-align: left;
    background: none; border: none;
    padding: var(--spacing-md) 0;
    font-size: 1.125rem; font-weight: 500;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
}

.accordion-header::after { content: '+'; font-size: 1.5rem; font-weight: 400; }
.accordion-header.active::after { content: '-'; }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.accordion-content p { padding-bottom: var(--spacing-md); color: #555; }

/* ─── Quote card ─────────────────────────────────────────────── */
.quote-card {
    background-color: rgba(255,255,255,0.08);
    border-left: 3px solid var(--accent);
    padding: var(--spacing-md);
    margin-top: var(--spacing-md);
    border-radius: 0 8px 8px 0;
    text-align: left;
    font-size: 0.95rem;
}

.quote-card.dark {
    background-color: rgba(0,0,0,0.05);
    border-left-color: var(--bg-black);
    color: var(--bg-black);
}

.quote-text { font-style: italic; margin-bottom: 0.5rem; opacity: 0.9; }
.quote-author { font-weight: 700; font-size: 0.9rem; display: block; opacity: 0.8; }

/* ─── Bio ────────────────────────────────────────────────────── */

.bio-img-container { display: flex; justify-content: center; margin-bottom: var(--spacing-sm); }
.bio-img { width: 100%; max-width: 450px; height: auto; border-radius: 32px; box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* ─── CTA szekció ────────────────────────────────────────────── */
#cta {
    background-color: var(--accent);
    color: #000000;
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xxl, 10rem) 0 3.75rem; /* Reduced from 7.5rem */
    scroll-margin-top: 0.75rem;
}

#cta .container { position: relative; z-index: 2; }

.footer-logo-wrap {
    margin-top: 12rem;
    padding-bottom: 2rem;
}

.footer-logo {
    max-height: 48px;
    width: auto;
}

#cta h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    letter-spacing: -0.015em;
    font-weight: 700;
    text-transform: none; /* Only capital first letter as requested */
    line-height: 1.2;
    color: #000;
}

.cta-subheadline {
    margin-top: 2.5rem;
    font-size: 1.2rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .cta-subheadline {
        margin-top: 1rem;
        font-size: 1.1rem;
    }
}

.cta-primary-wrapper {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-lg) var(--spacing-md);
    background: rgba(255,255,255,1);
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08); /* Apple-style soft shadow */
    display: flex;
    flex-direction: column;
    align-items: center;
}



.cta-label {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn-large {
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    padding: 0.8rem 2rem !important; /* Reduced horizontal padding */
    box-shadow: none; /* Removed shadow */
    background-color: #ffffff !important;
    color: #000000 !important; /* Black text requested */
    width: 100%;
    max-width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px; /* Slightly lower than previous 56px */
}



/* Support card in CTA */
.ev-support-card {
    margin: var(--spacing-md) auto 0;
    width: min(680px, 100%);
    border: none;
    border-radius: 20px;
    background: transparent;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12); /* Stronger outer shadow */
    padding: 1rem 1.1rem;
    text-align: center;
}

.ev-support-card h3 { margin: 0 0 1.5rem; color: #000000; font-size: 1.35rem; }
.ev-support-card p  { margin: 0 0 0.9rem; color: rgba(0,0,0,0.86); font-size: 0.98rem; }

.ev-support-btn {
    background: transparent;
    color: #000000;
    border: none;
    min-height: 48px;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.8rem 1.4rem;
    border-radius: 100px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}



@media (max-width: 768px) {
    #cta { padding-bottom: 0.5rem; } /* Dramatically reduced from 4rem */
    .footer-logo-wrap {
        margin-top: 6rem;
        padding-bottom: 7px;
    }
    .footer-logo {
        max-height: 32px;
    }
}



/* ─── Testimonials ───────────────────────────────────────────── */
#testimonials {
    background-color: #fcfcfc;
    color: #111;
    padding: var(--spacing-xl) 0;
}

.testimonial-grid {
    column-count: 3;
    column-gap: 2rem;
    margin-top: var(--spacing-lg);
}

@media (max-width: 992px) {
    .testimonial-grid {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    #testimonials .container {
        /* Title follows standard padding again */
        width: 100%;
        max-width: 1200px;
    }

    /* Break out the carousel to full-bleed while title stays safe */
    .testimonial-carousel-wrap {
        position: relative;
        width: 100vw;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        /* clip only horizontally – vertical stays visible so shadow breathes */
        overflow-x: clip;
        overflow-y: visible;
    }

    .testimonial-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        /* Prevent swipe from triggering vertical page scroll */
        touch-action: pan-x;
        overscroll-behavior-x: contain;
        margin-top: var(--spacing-sm);
        padding: 0;
        scrollbar-width: none;
        gap: 0;
        align-items: stretch;
    }

    .testimonial-grid::-webkit-scrollbar { display: none; }

    /* Cards are full width minus bleed area for neighbors */
    .testimonial-item-wrap {
        flex: 0 0 100vw;
        width: 100vw;
        max-width: 100vw;
        scroll-snap-align: center;
        padding: 2rem 5vw 1.5rem; /* extra bottom padding = room for box-shadow */
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }

    .testimonial-card-live {
        background: #ffffff;
        border-radius: 32px;
        padding: 2.25rem 1.5rem;
        margin: 0;
        box-shadow: 0 10px 40px rgba(0,0,0,0.06); 
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    /* Dots: Compacted for 17 items on mobile */
    .t-dots {
        display: flex;
        justify-content: center;
        gap: 2px;
        margin-top: 0.8rem;
    }

.t-dots span {
        width: 12px; /* Fixed smaller slot */
        height: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: width 0.3s ease, height 0.3s ease;
        flex-shrink: 0;
    }

.t-dots span::before {
        content: '';
        width: 5px; /* Smaller inactive dots */
        height: 5px;
        border-radius: 50%;
        background: #dbdbdb;
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .t-dots span.active::before {
        background: #333333;
        width: 14px; /* Slightly shorter pill for compactness */
        border-radius: 8px;
    }
}

@media (min-width: 769px) {
    .t-dots { display: none; }
    .swipe-indicator { display: none; }
    .testimonial-carousel-wrap { position: static; overflow: visible; }
}

.testimonial-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

@media (hover: hover) {
    .testimonial-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    }
}

.testimonial-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* ─── Remaining seats szöveg ─────────────────────────────────── */
#remaining-seats-text {
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 0.5rem;
    opacity: 0.85;
}

/* ─── Galéria (stabil grid) ─────────────────────────────────── */
#visual-journey {
    background-color: var(--bg-black);
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.masonry-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
}

@media (max-width: 600px) {
    .masonry-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding-bottom: 1rem;
        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none; /* Firefox */
        align-items: center; /* Center images vertically if heights differ */
    }
    .masonry-grid::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    .masonry-item {
        flex: 0 0 calc(90vw - 2rem);
        scroll-snap-align: center;
        aspect-ratio: auto !important;
        height: auto;
    }
}

@media (min-width: 600px) {
    .masonry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .masonry-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.gallery-dots {
    display: none;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.gallery-dots span {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.gallery-dots span.active {
    width: 20px;
    background: #fff;
    border-radius: 4px;
}

@media (max-width: 600px) {
    .gallery-dots {
        display: flex;
    }
}

.masonry-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 3;
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.8s cubic-bezier(0.19,1,0.22,1), transform 0.8s cubic-bezier(0.19,1,0.22,1);
    filter: brightness(0.85) contrast(1.1);
    will-change: filter;
}

@media (hover: hover) {
    .masonry-item:hover img { filter: brightness(1.1) contrast(1.05) saturate(1.1); transform: scale(1.02); }
}

/* ─── Scroll reveal animáció ─────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.5,0,0,1), transform 0.8s cubic-bezier(0.5,0,0,1);
    will-change: opacity, transform;
}

.reveal.active { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ─── Testimonials (Live Components) ────────────────────────── */
.testimonial-card-live {
    background: #ffffff;
    border: none;
    border-radius: 32px;
    padding: 2rem;
    margin-bottom: 2rem;
    break-inside: avoid;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) {
    .testimonial-card-live:hover {
        transform: translateY(-5px);
        box-shadow: 0 30px 60px rgba(0,0,0,0.08);
    }
}

.t-quote {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #111;
    font-weight: 400;
    margin-bottom: 2rem;
}

.t-footer {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.t-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 17% 12%; /* Precisely centers the faces from the original portrait images */
    border: 1px solid rgba(0,0,0,0.05);
    background: #f0f0f0;
}

.t-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.t-stars {
    color: #FFB800;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.t-name {
    font-weight: 700;
    font-size: 1.15rem;
    color: #111;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.t-badge {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

.t-subtext {
    font-size: 0.9rem;
    color: #888;
}

@media (max-width: 768px) {
    .testimonial-card-live {
        padding: 1.5rem;
        margin: 1.5rem;
        border-radius: 24px;
    }
}

/* ─── Privacy Modal (Apple-style Glassmorphism) ────────── */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 199, 0, 0.5); /* Matching #FFC700 yellow */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: rgba(255, 255, 255, 0.85);
    padding: 3rem 2rem;
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    max-width: 500px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.5);
    animation: modalPop 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-logo {
    margin-bottom: 2rem;
}

.modal-content h2 {
    font-size: 2.1rem;
    margin-bottom: 1rem;
    color: #111;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.modal-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 1.2rem;
}

@media (max-width: 600px) {
    .modal-content {
        padding: 2.5rem 1.5rem;
    }
    .modal-content h2 {
        font-size: 1.75rem;
    }
}

/* ─── Footer Shape Divider ──────────────────────────────────── */
.custom-shape-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
    left: 50%;
    transform: translateX(-50%);
}

.custom-shape-divider-bottom .shape-fill {
    fill: #000000;
}

@media (min-width: 768px) {
    .custom-shape-divider-bottom svg {
        height: 120px;
    }
}
