/**
 * Ticketing System - Main Stylesheet
 * Brand Colors: Pink var(--color-primary), Pale White var(--color-bg), Black #000000, Orange var(--color-toddler), Green var(--color-parent)
 */

/* CSS Variables - Village Design System */
:root {
    --color-primary: #f37808;
    /* Primary Blue */
    --color-baby: #7424d5;
    /* Tertiary Purple */
    --color-toddler: #00677d;
    /* Secondary Teal */
    --color-school: #1c868e;
    /* Primary Container Light Blue */
    --color-parent: #f37808;
    /* Secondary Container Light Cyan */
    --color-bg: #fbf8ff;
    /* Light Violet Background */
    --color-text: #0c1842;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-market: 'Century Gothic', 'Twentieth Century', 'Futura', sans-serif;
    --font-tagline: 'Caveat', cursive;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    background-image: url('../../images/main_bg.jpg');
    background-repeat: repeat;
    color: var(--color-text);
    line-height: 1.6;
}

.site-wrapper {
    max-width: 1200px;
    margin: 20px auto;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: clip;
    /* Ensures rounded corners apply to header/footer — clip instead of hidden so sticky positioning works */
    min-height: 80vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    background-color: rgba(250, 249, 245, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: box-shadow 0.3s ease;
}

.main-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.main-logo {
    height: 60px;
    object-fit: contain;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    color: var(--color-text);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.nav-btn {
    background-color: var(--color-parent);
    color: white !important;
    padding: 8px 20px;
    border-radius: 30px;
}

.nav-btn:hover {
    background-color: var(--color-school);
    color: white !important;
}

/* Main Content */
main {
    padding: 40px 20px;
    min-height: calc(100vh - 200px);
}

/* Embedded (iframe) pages: viewport-relative min-heights would grow with the
   parent iframe height on every resize, creating an endless growth loop. */
.is-embedded .site-wrapper,
.is-embedded main {
    min-height: 0;
}

main.home-page {
    padding-left: 0;
    padding-right: 0;
}

.hero {
    text-align: center;
    margin-bottom: 40px;
}

.hero h2 {
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Footer */
.main-footer {

    color: #666666;
    padding: 0px 0 20px 0;
    margin-top: 0px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info,
.footer-credit,
.footer-nav {
    flex: 1;
    min-width: 250px;
}

.footer-info {
    text-align: left;
}

.footer-credit {
    text-align: center;
    font-size: 0.9rem;
}

.footer-nav {
    display: flex;
    justify-content: flex-end;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.footer-nav a,
.footer-credit a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-nav a:hover,
.footer-credit a:hover {
    color: var(--color-toddler);
    text-decoration: underline;
}

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(55, 87, 90, 0.1);
}

.footer-social a {
    color: var(--color-toddler);
    transition: transform 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: 30px;
    /* Pill shape */
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--color-parent);
    /* Green */
    color: white;
}

.btn-primary:hover {
    filter: brightness(0.9);
}

.btn-secondary {
    background-color: var(--color-school);
    /* Blue */
    color: white;
}

.btn-secondary:hover {
    filter: brightness(0.9);
}

.btn-accent {
    background-color: var(--color-baby);
    /* Yellow */
    color: white;
}

.btn-accent:hover {
    filter: brightness(0.9);
}

.btn-full {
    width: 100%;
    display: block;
    text-align: center;
}

/* ============================================================
   BURGER MENU
   ============================================================ */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.burger-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Animate to X when active */
.burger-btn.is-active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.burger-btn.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger-btn.is-active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* ============================================================
   RESPONSIVE — TABLET (≤768px)
   ============================================================ */
@media (max-width: 768px) {

    /* Show burger, hide nav by default */
    .burger-btn {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.97);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 16px 16px;
        padding: 20px;
        z-index: 999;
    }

    .main-nav.nav-open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: center;
        text-align: center;
    }

    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(72, 107, 110, 0.1);
    }

    .main-nav ul li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        display: block;
        padding: 14px 10px;
        font-size: 1rem;
    }

    .main-nav .nav-btn {
        display: inline-block;
        margin: 12px 10px;
        padding: 10px 20px;
    }

    /* Make header container relative for the dropdown */
    .header-container {
        position: relative;
    }

    /* ── Hero: 3-row mobile layout ── */
    .hero-section {
        flex-direction: column;
        align-items: stretch;
        padding: 20px 0 0;
        gap: 0;
    }

    /* hero-content becomes a grid:
       Row 1: [logo] [tagline]
       Row 2: [cta-buttons spanning full width] */
    .hero-content {
        flex: none;
        min-width: unset;
        max-width: 100%;
        width: 100%;
        padding: 0 20px;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 15px;
        justify-items: center;
        text-align: center;
        margin-bottom: 20px;
    }

    /* Row 1, col 1 */
    .hero-logo {
        grid-column: 1;
        grid-row: 1;
        max-width: 75%;
        width: auto;
        object-fit: contain;
        height: auto;
        margin: 0 auto;
    }

    /* Row 2 */
    .tagline {
        grid-column: 1;
        grid-row: 2;
        font-size: 2.3rem !important;
        line-height: 1.8;
        margin-bottom: 0;
        text-align: center;
    }

    .tagline-line {
        display: block;
    }

    /* Row 1, col 2 for new slogan */
    .hero-slogan {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 0;
        text-align: center;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        word-break: normal;
        overflow-wrap: normal;
    }

    /* Modern (non-legacy) slides: single full-width column, centred */
    .hero-content--modern {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        justify-items: center;
        text-align: center;
    }

    .hero-content--modern .hero-slogan {
        grid-column: 1;
        grid-row: 1;
        text-align: center;
        width: 100%;
    }

    .hero-content--modern .cta-buttons {
        grid-column: 1;
        grid-row: 2;
    }

    .slogan-l1 {
        font-size: 0.99rem;
        line-height: 1.2;
        margin-bottom: 2px;
    }

    .slogan-l2 {
        font-size: 0.99rem;
        line-height: 1.2;
        margin-bottom: 4px;
    }

    .slogan-l3 {
        font-size: 0.72rem;
        line-height: 1.3;
    }

    /* Row 2: spans both columns, centered */
    .cta-buttons {
        grid-column: 1;
        grid-row: 3;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
        margin-top: 10px;
    }

    .hero-section .btn {
        width: auto;
        padding: 8px 18px;
        font-size: 0.8rem;
        border-radius: 20px;
    }

    /* Row 2: image — CENTERED, no left/right bias */
    .hero-graphic {
        flex: none !important;
        min-width: unset !important;
        width: 100% !important;
        display: block !important;
        text-align: center !important;
        padding: 0 !important;
        margin: 0 auto !important;
        justify-content: unset !important;
    }

    .hero-image-600 {
        display: block !important;
        width: 80% !important;
        max-width: 300px !important;
        height: auto !important;
        max-height: 300px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 !important;
        border-radius: 0 !important;
        object-fit: contain !important;
        flex-shrink: 0 !important;
    }

    /* Find Your Age */
    .section-title {
        font-size: 1.6rem !important;
        flex-wrap: wrap;
    }

    .section-title .dot-orange {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 2rem;
        margin-top: -15px;
        margin-bottom: 30px;
    }

    .age-dots {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        justify-items: center;
    }

    .age-group .dot {
        width: 70px;
        height: 70px;
    }

    .age-group span {
        font-size: 1rem;
    }

    .divider-logo-img {
        max-width: 70vw;
        width: 70%;
        object-fit: contain;
    }

    /* Everything section */
    .everything-section {
        flex-direction: column;
        padding: 30px 20px;
    }

    .everything-text {
        min-width: unset;
        width: 100%;
        align-items: flex-start;
    }

    .everything-text h2 {
        font-size: 2rem;
    }

    .everything-image {
        min-width: unset;
        width: 100%;
    }

    /* Gallery */
    .gallery-section {
        padding: 30px 0 40px;
    }

    .gallery-title {
        font-size: 1.8rem;
        padding: 0 20px;
    }

    .gallery-grid {
        margin-left: 0;
        margin-right: 0;
        overflow: hidden;
    }

    .gallery-decor-img {
        display: none;
    }

    /* Gallery mobile slider */
    .gallery-images {
        display: flex;
        overflow: hidden;
        position: relative;
        width: 100%;
    }

    .gallery-images img {
        flex: 0 0 100%;
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .gallery-cta {
        padding: 0 20px;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
        padding: 10px 20px;
        line-height: 1.4;
    }

    .footer-info {
        order: 1;
        text-align: center;
    }

    .footer-nav {
        order: 2;
        justify-content: center;
    }

    .footer-credit {
        order: 3;
        text-align: center;
    }

    .footer-info,
    .footer-credit {
        min-width: unset;
        width: 100%;
    }

    .footer-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    /* Slider buttons */
    .prev-btn {
        left: 4px;
    }

    .next-btn {
        right: 4px;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤480px)
   ============================================================ */
@media (max-width: 480px) {

    .site-wrapper {
        margin: 0;
        border-radius: 0;
    }

    /* Hero-specific 480px resets — scoped so they don't fight the row layout */
    .hero-section .hero-logo {
        max-width: 100%;
    }

    .hero-section .tagline {
        font-size: 0.95rem;
        line-height: 2.25rem;
        margin-bottom: 0;
    }

    .hero-section .hero-slogan {
        margin-bottom: 0;
        overflow: hidden;
        word-break: normal;
        overflow-wrap: normal;
    }

    .hero-content--modern .hero-slogan {
        grid-column: 1;
        text-align: center;
        width: 100%;
    }

    .hero-content--modern .slogan-l1,
    .hero-content--modern .slogan-l2,
    .hero-content--modern .slogan-l3 {
        text-align: center;
    }

    .slogan-l1 {
        font-size: 0.84rem;
        line-height: 1.2;
        margin-bottom: 2px;
    }

    .slogan-l2 {
        font-size: 0.84rem;
        line-height: 1.2;
        margin-bottom: 3px;
    }

    .slogan-l3 {
        font-size: 0.65rem;
        line-height: 1.3;
    }

    .hero-section .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .hero-section .btn {
        width: 90%;
        max-width: 300px;
        text-align: center;
        font-size: 0.85rem;
        padding: 10px 15px;
    }

    .age-dots {
        gap: 16px;
    }

    .age-group .dot {
        width: 55px;
        height: 55px;
    }



    .everything-text h2 {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 1.6rem;
        margin-top: -10px;
        margin-bottom: 25px;
    }

    .gallery-images {
        gap: 6px;
    }

    .gallery-images img {
        aspect-ratio: 4 / 3;
    }
}


/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Single event - horizontal layout */
.events-grid.single-event {
    grid-template-columns: 1fr;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.events-grid.single-event .event-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.events-grid.single-event .event-image-link {
    width: 40%;
    flex-shrink: 0;
}

.events-grid.single-event .event-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.events-grid.single-event .event-image img {
    height: 100%;
}

.events-grid.single-event .event-content {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Two events - 50% width each */
.events-grid.two-events {
    grid-template-columns: repeat(2, 1fr);
}

/* Three or more events - max 3 per row */
.events-grid:not(.single-event):not(.two-events) {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

@supports (grid-template-columns: repeat(auto-fill, minmax(300px, 1fr))) {
    .events-grid:not(.single-event):not(.two-events) {
        grid-template-columns: repeat(3, 1fr);
    }
}

.event-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.event-image-link {
    display: block;
    text-decoration: none;
}

.event-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    transition: opacity 0.3s;
}

.event-image-link:hover .event-image {
    opacity: 0.9;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.event-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-title-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.event-title-link:hover {
    color: #2d474a;
}

.event-content h3 {
    margin: 0 0 15px 0;
    color: var(--color-primary);
    font-size: 22px;
    transition: color 0.3s;
}

.event-location,
.event-dates {
    margin: 10px 0;
    color: #666;
    font-size: 14px;
}

.event-description {
    margin: 15px 0;
    color: #333;
    line-height: 1.6;
    flex: 1;
}

.event-content .btn {
    margin-top: auto;
    align-self: flex-start;
}

.no-events,
.loading,
.error {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 18px;
    grid-column: 1 / -1;
}

.error {
    color: #ff4444;
}

/* Responsive */
@media (max-width: 1024px) {
    .events-grid:not(.single-event):not(.two-events) {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .events-grid,
    .events-grid.two-events,
    .events-grid:not(.single-event):not(.two-events) {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Single event - stack vertically on mobile */
    .events-grid.single-event .event-card {
        flex-direction: column;
    }

    .events-grid.single-event .event-image-link {
        width: 100%;
    }

    .events-grid.single-event .event-image {
        width: 100%;
        height: 250px;
        min-height: auto;
    }

    .events-grid.single-event .event-content {
        width: 100%;
    }
}


/* Purchase Page Styles */
.purchase-container {
    max-width: 1000px;
    margin: 30px auto;
}

.event-info-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.event-banner {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.event-info-box h2 {
    color: var(--color-primary);
    margin: 0 0 15px 0;
}

.ticket-selection {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ticket-selection h3 {
    color: var(--color-primary);
    margin-top: 0;
}

.ticket-type-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 2px solid var(--color-bg);
    border-radius: 10px;
    margin-bottom: 15px;
    transition: border-color 0.3s;
}

.ticket-type-card:hover {
    border-color: var(--color-primary);
}

.ticket-type-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.ticket-type-info {
    flex: 1;
}

.ticket-type-info h4 {
    margin: 0 0 10px 0;
    color: #000;
}

.ticket-description {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

.ticket-price {
    font-size: 20px;
    font-weight: bold;
    color: var(--color-primary);
    margin: 10px 0 0 0;
}

.ticket-quantity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 35px;
    height: 35px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.qty-btn:hover {
    background: #2d474a;
}

.quantity-selector input {
    width: 60px;
    text-align: center;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* Order Summary */
.order-summary {
    margin-top: 30px;
    padding: 20px;
    background: var(--color-bg);
    border-radius: 10px;
}

.order-summary h3 {
    margin-top: 0;
    color: var(--color-primary);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    font-size: 20px;
    font-weight: bold;
    color: var(--color-primary);
    margin-top: 10px;
}

/* Discount Row */
.discount-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    color: var(--color-parent);
    font-weight: 500;
}

.discount-row span:last-child {
    color: var(--color-parent);
}

/* Coupon Box */
.coupon-box {
    display: none;
    margin-top: 30px;
    padding: 20px;
    background: var(--color-bg);
    border-radius: 10px;
    border: 2px dashed #ddd;
}

.coupon-box label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--color-primary);
}

.coupon-input-row {
    display: flex;
    gap: 10px;
}

.coupon-input-row input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.coupon-input-row input:focus {
    border-color: var(--color-primary);
    outline: none;
}

/* Coupon Feedback */
#coupon-feedback {
    margin-top: 10px;
    font-size: 14px;
}

.coupon-msg--success {
    color: var(--color-parent);
    font-weight: 500;
}

.coupon-msg--error {
    color: #dc3545;
    font-weight: 500;
}

/* Customer Form */
.customer-form {
    margin-top: 30px;
}

.customer-form h3 {
    color: var(--color-primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #000;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* New Home Page Layouts */
.home-page {
    text-align: center;
}

/* Dots System */
.dot {
    border-radius: 50%;
    display: inline-block;
}

.dot-baby {
    background-color: var(--color-baby);
}

.dot-toddler {
    background-color: var(--color-toddler);
    color: var(--color-toddler);
}

.dot-orange {
    color: var(--color-toddler);
}

.dot-school {
    background-color: var(--color-school);
}

.dot-parent {
    background-color: var(--color-parent);
}


/* Hero Section */
.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 0;
    /* Removing gap to control with flex/margins */
}

.hero-content {
    flex: 1;
    min-width: 350px;
    max-width: 600px;
    text-align: center;
    padding-right: 20px;
    z-index: 2;
}

.hero-logo {
    max-width: 450px;
    /* Bigger logo like design */
    height: auto;
    max-height: none;
    margin: 0 auto 20px auto;
}

.tagline {
    font-family: var(--font-tagline);
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 40px;
}

/* New Hero Slogan Typography */
.hero-slogan {
    margin-bottom: 40px;
    text-align: center;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.slogan-l1 {
    font-family: var(--font-heading);
    font-size: 3.20rem;
    font-weight: 800;
    color: var(--color-primary);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 2px;
}

.slogan-l2 {
    font-family: var(--font-heading);
    font-size: 3.20rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
}

.slogan-l3 {
    font-family: var(--font-body);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.3;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 400px;
}

.hero-image-600 {
    width: 650px;
    height: auto;
    max-width: 150%;
    /* Allow it to be wider than its column to bleed */
    margin-right: 0px;
    /* Pull it way off the edge */
    flex-shrink: 0;
}

/* Hero Slider Styles */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slides-container {
    display: flex;
    transition: transform 0.8s ease-in-out;
    width: 100%;
}

.hero-section.slide {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    /* Prevents slide 1 bleeding into slide 2 */
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.5);
    color: var(--color-primary);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.05);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Find Your Age Section */
.find-age-section {
    padding: 40px 0;
    text-align: center;
    border-top: 0px solid rgba(136, 187, 216, 0.15);
    border-bottom: 0px solid rgba(136, 187, 216, 0.15);
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 40px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title .dot-orange {
    font-size: 3.5rem;
    line-height: 1;
    position: relative;
    top: -0.06em;
}

.section-subtitle {
    font-size: 2.8rem;
    line-height: 1.2;
    color: var(--color-primary);
    font-weight: 400;
    text-align: center;
    margin-top: -30px;
    margin-bottom: 40px;
}

.section-subtitle2 {
    font-size: 1.8rem;
    line-height: 1.2;
    color: var(--color-primary);
    font-weight: 400;
    text-align: center;
    margin-top: -30px;
    margin-bottom: 40px;
}

.age-dots {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.age-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.age-group .dot {
    width: 120px;
    height: 120px;
}

.age-group span {
    font-family: var(--font-market);
    font-weight: 400;
    color: #666666;
    font-size: 1.4rem;
}

.age-group span .text-baby {
    color: var(--color-baby);
}

.age-group span .text-toddler {
    color: var(--color-toddler);
}

.age-group span .text-school {
    color: var(--color-school);
}

.age-group span .text-parent {
    color: var(--color-parent);
}

.divider-logo {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.divider-logo-img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

/* Everything Section */
.everything-section {
    display: flex;
    align-items: center;
    padding: 40px 0;
    gap: 40px;
    flex-wrap: wrap;
}

.everything-text {
    flex: 4;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.everything-text h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    color: var(--color-primary);
    font-weight: 400;
}

.everything-image {
    flex: 6;
    min-width: 400px;
}

.everything-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}

/* Sponsors Section */
.sponsors-section {
    padding: 10px 0;
    overflow: hidden;
}

.sponsors-wrapper {
    width: 100%;
    position: relative;
    padding: 20px 0;
}

.sponsors-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: fit-content;
}

.sponsor-item {
    flex: 0 0 200px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.sponsor-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.sponsor-item:hover img {
    transform: scale(1.05);
}

/* CSS Animation for sliding carousel */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-240px * var(--sponsor-count)));
    }
}

.sponsors-track.animate {
    animation: scroll var(--animation-speed) linear infinite;
}

.sponsors-track.animate:hover {
    animation-play-state: paused;
}

/* Gallery Section */
.gallery-section {
    padding: 40px 0 20px 0;
    text-align: center;
}

.gallery-title {
    font-weight: 400;
    font-size: 2.8rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.gallery-grid {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    margin-left: -20px;
    margin-right: -20px;
    overflow: hidden;
}

.gallery-decor-img {
    position: absolute;
    left: -20px;
    top: 0;
    height: 100%;
    width: auto;
    z-index: 10;
    pointer-events: none;
}

.gallery-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    flex: 1;
}

.gallery-images img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0;
}

.gallery-cta {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.event-date {
    display: none;
    /* Hidden as we now use next-event-section */
}

/* Next Event Highlights Section */
.next-event-section {
    margin: 40px auto;
    text-align: center;
    padding: 0 20px;
}

.next-event-card {
    background: white;
    padding: 60px 80px;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(55, 87, 90, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    border: 1px solid rgba(239, 141, 89, 0.2);
    max-width: 100%;
    position: relative;
    transition: transform 0.3s ease;
}

.next-event-card:hover {
    transform: translateY(-5px);
}

.next-event-card::after {
    content: 'NEXT EVENT';
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-toddler);
    color: white;
    padding: 8px 24px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 3px;
    box-shadow: 0 10px 20px rgba(239, 141, 89, 0.3);
}

.next-event-date {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.next-event-date .day {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.next-event-date .date {
    font-family: var(--font-heading);
    color: var(--color-toddler);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    margin-top: 5px;
}

.next-event-divider {
    width: 2px;
    height: 100px;
    background: var(--color-primary);
    opacity: 0.15;
}

.next-event-venue {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.next-event-venue .venue-city {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
}

.next-event-venue .venue-province {
    font-family: var(--font-heading);
    color: #666;
    font-size: 1.4rem;
    margin-top: 5px;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .next-event-card {
        gap: 50px;
        padding: 50px 60px;
    }

    .next-event-date .date {
        font-size: 3.5rem;
    }

    .next-event-venue .venue-city {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .next-event-section {
        margin: 60px auto;
    }

    .next-event-card {
        flex-direction: column;
        gap: 30px;
        padding: 50px 30px;
        width: 100%;
        display: flex;
        border-radius: 30px;
    }

    .next-event-date,
    .next-event-venue {
        align-items: center;
        text-align: center;
    }

    .next-event-divider {
        width: 100px;
        height: 2px;
    }

    .next-event-date .date {
        font-size: 3.2rem;
    }

    .next-event-venue .venue-city {
        font-size: 2.4rem;
    }
}

@media (max-width: 480px) {
    .next-event-card {
        padding: 40px 20px;
    }

    .next-event-date .date {
        font-size: 2.8rem;
    }

    .next-event-venue .venue-city {
        font-size: 2rem;
    }
}

/* Forms */
.standard-form {
    max-width: 600px;
    margin: 30px auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.standard-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.standard-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.standard-form input,
.standard-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.contact-info ul {
    list-style: none;
    margin-top: 20px;
}

.contact-info li {
    margin-bottom: 15px;
}

/* Privacy Page */
.privacy-page .content-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.privacy-page h2 {
    margin: 30px 0 15px 0;
    color: var(--color-primary);
}

/* Tickets Page */
.tickets-page {
    padding-top: 20px;
}

.view-booking-link {
    text-align: center;
    margin: 40px 0;
}

/* Purchase Page Refinement */
.booking-closed-message {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 30px;
    text-align: center;
    border-radius: 5px;
}

.order-summary-box {
    margin-top: 30px;
    padding: 20px;
    background: var(--color-bg);
    border-radius: 10px;
    display: none;
    /* Controlled by JS */
}

.customer-form-box {
    margin-top: 30px;
    display: none;
    /* Controlled by JS */
}

.back-link-container {
    text-align: center;
    margin: 30px 0;
}

/* Utility */
.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.btn-large {
    width: 100%;
    padding: 15px;
    font-size: 18px;
}

.no-tickets {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* Payment Result Pages */
.success-message h2 {
    color: var(--color-parent);
}

.cancel-message h2 {
    color: var(--color-primary);
}

.order-info-summary {
    margin: 30px 0;
    padding: 20px;
    background: var(--color-bg);
    border-radius: 5px;
    text-align: left;
}

.order-info-summary h3 {
    margin-top: 0;
    color: var(--color-primary);
}

.purchased-tickets-list {
    margin: 30px 0;
    text-align: left;
}

.purchased-tickets-list h3 {
    color: var(--color-primary);
}

.tickets-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.tickets-table th {
    background: var(--color-primary);
    color: white;
    padding: 10px;
    text-align: left;
}

.tickets-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.order-total-display {
    margin-top: 15px;
    padding: 15px;
    background: var(--color-bg);
    border-radius: 5px;
    text-align: right;
    font-size: 1.2rem;
    color: var(--color-primary);
}

.important-notice {
    margin-top: 30px;
    padding: 15px;
    background: #fff3cd;
    border-left: 4px solid var(--color-toddler);
    border-radius: 5px;
    text-align: left;
}

.return-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128c7e;
    color: white;
}

/* Contact Us Page */
.page-content {
    padding-bottom: 20px;
}

.page-hero {
    position: relative;
    width: 100%;
    margin-bottom: 50px;
    background-color: #f5f5f5;
    text-align: center;
}

.page-hero-image-container {
    height: 300px;
    overflow: hidden;
}

.page-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.page-hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 80%;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-hero-text .section-title {
    margin-bottom: 0;
}

.contact-container {
    max-width: 1000px;
}

.contact-split {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 40px;
}

.contact-left,
.contact-right {
    flex: 1;
    min-width: 300px;
}

.contact-intro {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-label {
    font-weight: 600;
    color: var(--color-primary);
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.contact-item a:hover {
    color: var(--color-toddler);
}

.social-channels h3 {
    color: var(--color-primary);
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.social-links a {
    color: var(--color-toddler);
    transition: transform 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links svg {
    width: 30px;
    height: 30px;
}

.social-links svg.instagram-icon {
    width: 36px;
    height: 36px;
}

.social-links a:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(136, 187, 216, 0.15);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-text);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="url"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #fff;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(55, 87, 90, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.recaptcha-wrapper {
    margin-bottom: 20px;
}

.recaptcha-placeholder {
    background: #f9f9f9;
    border: 1px dashed #ccc;
    padding: 20px;
    text-align: center;
    color: #888;
    border-radius: 5px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .site-wrapper {
        margin: 0;
        border-radius: 0;
        max-width: 100%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        gap: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .contact-split {
        flex-direction: column;
    }

    .contact-left,
    .contact-right {
        min-width: 0;
        width: 100%;
    }

    .contact-form {
        padding: 20px;
    }

    .recaptcha-wrapper {
        overflow: hidden;
    }

    .recaptcha-wrapper .g-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .gallery-images {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        flex-direction: column;
    }

    .gallery-decor-dots {
        flex-direction: row;
        margin-bottom: 20px;
    }

    .gallery-decor-dots .small-dot {
        border-radius: 50%;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .return-actions {
        flex-direction: column;
    }

    .return-actions .btn {
        width: 100%;
    }

    .ticket-type-card {
        flex-direction: column;
        text-align: center;
    }

    .ticket-type-image {
        width: 100%;
        height: 150px;
    }
}


/* Message Box */
.message-box {
    max-width: 800px;
    margin: 50px auto;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.message-box h2 {
    color: var(--color-primary);
    margin-top: 0;
}

.message-box p {
    margin: 15px 0;
    line-height: 1.6;
}

.message-box table {
    text-align: left;
}

.message-box h3 {
    text-align: left;
}


/* View Booking Page Styles */
.view-booking-container {
    max-width: 900px;
    margin: 0 auto;
}

.booking-search-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.booking-search-box h2 {
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 15px;
}

.booking-search-box p {
    color: #666;
    margin-bottom: 30px;
}

.booking-search-box .form-group {
    text-align: left;
    max-width: 500px;
    margin: 0 auto 20px auto;
}

.booking-search-box small {
    display: block;
    color: #999;
    font-size: 13px;
    margin-top: 5px;
}

.error-box {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #c62828;
    margin-top: 20px;
    text-align: left;
}

.booking-details-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.booking-details-box h2 {
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
}

.booking-ref-display {
    background: var(--color-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
    border: 2px solid var(--color-primary);
}

.booking-ref-display h3 {
    color: var(--color-primary);
    font-size: 32px;
    margin: 0 0 10px 0;
    font-weight: bold;
    letter-spacing: 2px;
}

.booking-ref-display p {
    color: #666;
    margin: 0;
    font-size: 14px;
    text-transform: uppercase;
}

.booking-info {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.booking-info h3 {
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
}

.booking-info table {
    width: 100%;
    border-collapse: collapse;
}

.booking-info table tr {
    border-bottom: 1px solid #e0e0e0;
}

/* ============================================================
   VENDORS DIRECTORY PAGE
   ============================================================ */

/* Filter Bar */
.vendors-filter-bar {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.vendors-filter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.vendors-search-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.vendors-search-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s;
}

.vendors-search-input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.vendors-search-btn {
    padding: 12px 24px;
    border-radius: 8px;
}

.vendors-clear-btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
}

.vendors-filter-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.vendors-filter-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-primary);
    white-space: nowrap;
}

.vendors-filter-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.vendors-filter-chip {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    background: #f0f0f0;
    color: var(--color-text);
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.vendors-filter-chip:hover {
    background: var(--color-primary);
    color: white;
}

.vendors-filter-chip.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* Results Count */
.vendors-count {
    text-align: center;
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: #666;
}

/* Vendors Grid */
.vendors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Vendor Card */
.vendor-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.vendor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.vendor-card-logo {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    padding: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.vendor-card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.vendor-card-no-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vendor-card-no-logo span {
    color: white;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
}

.vendor-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vendor-card-name {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.vendor-card-stand {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--color-baby);
    color: var(--color-primary);
    white-space: nowrap;
}

.vendor-card-placements {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.vendor-card-placement-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #f0f0f0;
    color: var(--color-primary);
}

.vendor-card-description {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    flex: 1;
}

/* Empty State */
.vendors-empty {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 50px;
}

.vendors-empty-icon {
    margin-bottom: 20px;
}

.vendors-empty h3 {
    margin: 0 0 10px 0;
    color: var(--color-primary);
}

.vendors-empty p {
    color: #666;
    max-width: 400px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .vendors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vendors-search-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .vendors-search-input {
        min-width: auto;
        width: 100%;
    }

    .vendors-search-btn,
    .vendors-clear-btn {
        width: 100%;
        text-align: center;
    }

    .vendors-filter-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .vendor-card-logo {
        height: 150px;
    }
}

.booking-info table tr:last-child {
    border-bottom: none;
}

.booking-info table td {
    padding: 12px 10px;
    vertical-align: top;
}

.booking-info table td:first-child {
    width: 180px;
    color: #666;
}

.event-image-small {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-badge.status-complete,
.status-badge.status-paid {
    background: var(--color-parent);
    color: #000;
}

.status-badge.status-pending {
    background: var(--color-toddler);
    color: var(--color-bg);
}

.status-badge.status-failed,
.status-badge.status-cancelled {
    background: #c62828;
    color: white;
}

.tickets-section {
    margin-top: 30px;
}

.tickets-section h3 {
    color: var(--color-primary);
    margin-bottom: 20px;
    font-size: 22px;
}

.ticket-card {
    background: white;
    border: 2px solid var(--color-bg);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: border-color 0.3s;
}

.ticket-card:hover {
    border-color: var(--color-primary);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-bg);
}

.ticket-header h4 {
    margin: 0;
    color: #000;
    font-size: 18px;
}

.ticket-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.ticket-status.status-valid {
    background: var(--color-parent);
    color: #000;
}

.ticket-status.status-used {
    background: #999;
    color: white;
}

.ticket-body {
    margin-bottom: 15px;
}

.ticket-body p {
    margin: 8px 0;
    color: #333;
}

.ticket-qr-code {
    margin: 15px 0;
    text-align: center;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.ticket-qr-code img {
    max-width: 350px;
    width: 100%;
    height: auto;
    border: 2px solid var(--color-bg);
    border-radius: 5px;
}

.ticket-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ticket-actions .btn {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.booking-actions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--color-bg);
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.booking-actions .btn {
    min-width: 200px;
}

/* Responsive */
@media (max-width: 768px) {

    .booking-search-box,
    .booking-details-box {
        padding: 25px;
    }

    .booking-ref-display h3 {
        font-size: 24px;
    }

    .booking-info table td:first-child {
        width: 120px;
        font-size: 14px;
    }

    .ticket-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .ticket-actions {
        flex-direction: column;
    }

    .ticket-actions .btn {
        width: 100%;
        min-width: auto;
    }

    .booking-actions {
        flex-direction: column;
    }

    .booking-actions .btn {
        width: 100%;
        min-width: auto;
    }
}

/* Print Styles */
@media print {

    header,
    footer,
    .booking-search-box,
    .booking-actions,
    .ticket-actions {
        display: none;
    }

    .booking-details-box {
        box-shadow: none;
        padding: 0;
    }
}

/* Event Description HTML Content Styling */
.event-description {
    line-height: 1.6;
    color: #000000;
    margin-top: 15px;
}

.event-description h1,
.event-description h2,
.event-description h3 {
    margin-top: 1em;
    margin-bottom: 0.5em;
    color: var(--color-primary);
}

.event-description h1 {
    font-size: 1.8em;
}

.event-description h2 {
    font-size: 1.5em;
}

.event-description h3 {
    font-size: 1.2em;
}

.event-description p {
    margin-bottom: 1em;
}

.event-description ul,
.event-description ol {
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.event-description li {
    margin-bottom: 0.5em;
}

.event-description a {
    color: var(--color-toddler);
    text-decoration: underline;
}

.event-description a:hover {
    color: var(--color-primary);
}

.event-description strong {
    font-weight: 600;
}

.event-description em {
    font-style: italic;
}

/* Event Meta Grid for Purchase Page */
.event-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0 30px 0;
    background: var(--color-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--color-toddler);
}

.event-meta-item {
    display: flex;
    flex-direction: column;
}

.event-meta-item strong {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-meta-item span {
    font-family: var(--font-body);
    color: #555;
    font-size: 1.05rem;
}

/* ============================================================
   COUPON SECTION — Purchase Page
   ============================================================ */
.coupon-row {
    margin: 16px 0 8px;
    padding: 14px 0;
    border-top: 1px dashed rgba(55, 87, 90, 0.2);
    border-bottom: 1px dashed rgba(55, 87, 90, 0.2);
}

.coupon-input-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.coupon-input-group input[type="text"] {
    flex: 1;
    padding: 9px 14px;
    border: 1.5px solid #d0d9da;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: border-color 0.2s ease;
    outline: none;
}

.coupon-input-group input[type="text"]:focus {
    border-color: var(--color-primary);
}

.coupon-input-group input[type="text"]:disabled {
    background: #f5f5f5;
    color: #777;
}

.coupon-input-group .btn-small {
    padding: 9px 18px;
    font-size: 0.88rem;
    white-space: nowrap;
    flex-shrink: 0;
}

#coupon-feedback {
    margin-top: 8px;
    min-height: 20px;
}

.coupon-msg {
    font-size: 0.88rem;
    font-weight: 600;
}

.coupon-msg--success {
    color: #2a8a3e;
}

.coupon-msg--error {
    color: #c0392b;
}

/* Discount line in order summary */
.discount-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.95rem;
    color: #2a8a3e;
    font-weight: 600;
    animation: fadeInDiscount 0.3s ease;
}

.discount-value {
    color: #2a8a3e;
    font-weight: 700;
}

@keyframes fadeInDiscount {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tickets Coming Soon Message Box */
.tickets-soon-message {
    background: rgba(239, 141, 89, 0.08);
    border-left: 5px solid var(--color-toddler);
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.tickets-soon-message:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.tickets-soon-message .message-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: var(--color-toddler);
    animation: pulseIcon 2s infinite;
}

.tickets-soon-message h3 {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 8px;
}

.tickets-soon-message p {
    color: #555555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

@keyframes pulseIcon {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* ============================================================
   WHITE-LABEL OVERRIDES FOR WORDPRESS INTEGRATION
   ============================================================ */
body, .site-wrapper, .page-content, .contact-container, .vendor-form-section, .purchase-container, .tickets-page, .privacy-page, .container {
    background: #ffffff !important;
    background-color: #ffffff !important;
    box-shadow: none !important;
}
.main-header {
    display: none !important; /* Hide whole header */
}
.main-footer {
    display: none !important; /* Hide whole footer */
}

/* ============================================================
   TICKET TERMS — Checkbox & Modal (Purchase Page)
   ============================================================ */
.terms-agreement {
    margin-bottom: 25px;
}

.terms-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
    cursor: pointer;
}

.terms-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    padding: 0;
    border: 1px solid #ccc;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.terms-link {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.terms-link:hover,
.terms-link:focus {
    color: var(--color-toddler);
    text-decoration: none;
}

/* Modal Overlay */
.terms-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.terms-modal.is-open {
    display: flex;
}

.terms-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 24, 66, 0.65);
}

.terms-modal-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    animation: termsModalIn 0.25s ease;
}

@keyframes termsModalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.terms-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 18px 24px;
    border-bottom: 1px solid #eeeeee;
    background: var(--color-bg);
}

.terms-modal-header h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
}

.terms-modal-close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    color: var(--color-text);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.terms-modal-close:hover {
    background: var(--color-primary);
    color: #ffffff;
}

.terms-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.terms-section {
    margin-bottom: 20px;
}

.terms-section:last-child {
    margin-bottom: 0;
}

.terms-section h3 {
    margin: 0 0 10px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
}

.terms-section p {
    margin: 0 0 10px;
    font-size: 0.92rem;
    line-height: 1.7;
    color: #444444;
}

.terms-section ul {
    margin: 0 0 10px;
    padding-left: 20px;
}

.terms-section li {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #444444;
    margin-bottom: 6px;
}

.terms-section a {
    color: var(--color-primary);
    font-weight: 600;
}

.terms-section a:hover {
    color: var(--color-toddler);
}

.terms-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 24px;
    border-top: 1px solid #eeeeee;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .terms-modal {
        padding: 10px;
    }

    .terms-modal-header {
        padding: 14px 16px;
    }

    .terms-modal-header h2 {
        font-size: 1.15rem;
    }

    .terms-modal-body {
        padding: 16px;
    }

    .terms-modal-footer {
        padding: 12px 16px;
    }
}
.page-hero {
    background: #ffffff !important;
    padding: 30px 0 10px 0 !important;
    height: auto !important;
    min-height: auto !important;
    box-shadow: none !important;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}
.page-hero-image-container, .page-hero-image {
    display: none !important;
}
.page-hero-text {
    position: static !important;
    transform: none !important;
    text-align: center !important;
    padding: 0 !important;
}
.page-hero-text .section-title {
    color: #333 !important;
    font-size: 2.2rem !important;
    margin: 0 !important;
}
.contact-form, .standard-form, .booking-details-box, .success-message, .cancel-message, .vendor-notes-section {
    background: #ffffff !important;
    box-shadow: none !important;
    border: none !important;
    padding: 20px 0 !important;
}