:root {
    --event-gold: #C4A262;
    --event-gold-dark: #a98745;
    --event-dark: #1f1f1f;
    --event-muted: #6f6f6f;
    --event-light: #faf7f0;
    --event-border: rgba(196,162,98,.28);
}

.event-page {
    overflow-x: hidden;
    background: #fff;
    color: var(--event-dark);
}

.event-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.event-hero {
    position: relative;
    height: 82vh;
    min-height: 560px;
    overflow: hidden;
    background: #111;
}

.event-hero-slider,
.event-hero-slide {
    position: absolute;
    inset: 0;
}

.event-hero-slide {
    opacity: 0;
    transition: opacity .8s ease;
}

.event-hero-slide.active {
    opacity: 1;
}

.event-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(0,0,0,.68), rgba(0,0,0,.28));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 9%;
    color: #fff;
}

.event-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    background: var(--event-gold);
    color: #fff;
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 14px;
}

.event-kicker.dark {
    background: rgba(196,162,98,.14);
    color: var(--event-gold-dark);
}

.event-hero-overlay h1 {
    max-width: 850px;
    font-size: clamp(34px, 5vw, 72px);
    line-height: 1.05;
    margin: 0 0 18px;
    font-weight: 900;
}

.event-hero-overlay p {
    font-size: clamp(17px, 2vw, 26px);
    margin: 0 0 28px;
    color: rgba(255,255,255,.92);
}

.event-hero-buttons,
.event-step-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.event-btn {
    border: 0;
    border-radius: 999px;
    padding: 13px 22px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .25s ease;
}

.event-btn-gold {
    background: var(--event-gold);
    color: #fff;
}

.event-btn-gold:hover {
    background: var(--event-gold-dark);
    transform: translateY(-2px);
}

.event-btn-light {
    background: rgba(255,255,255,.92);
    color: var(--event-dark);
}

.event-hero-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.9);
    color: var(--event-dark);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.event-hero-arrow.prev { left: 24px; }
.event-hero-arrow.next { right: 24px; }

.event-hero-dots {
    position: absolute;
    z-index: 5;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    max-width: 80%;
    overflow-x: auto;
    padding-bottom: 4px;
}

.event-hero-dots button {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.55);
    cursor: pointer;
}

.event-hero-dots button.active {
    background: var(--event-gold);
    width: 28px;
    border-radius: 999px;
}

.event-section {
    padding: 80px 0;
}

.event-section:nth-of-type(even) {
    background: var(--event-light);
}

.event-section-head {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 42px;
}

.event-section-head h2,
.event-intro h2 {
    font-size: clamp(28px, 3vw, 46px);
    line-height: 1.15;
    margin: 0 0 12px;
}

.event-section-head p {
    color: var(--event-muted);
    font-size: 16px;
}

.event-intro {
    text-align: center;
}

.event-intro-text {
    max-width: 920px;
    margin: 22px auto 0;
    color: #555;
    font-size: 17px;
    line-height: 1.9;
    white-space: normal;
}

.event-type-card {
    background: #fff;
    border: 1px solid var(--event-border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0,0,0,.08);
    margin-bottom: 42px;
}

.event-gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    height: 260px;
}

.event-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-type-content {
    padding: 34px;
}

.event-type-tag {
    display: inline-flex;
    background: #f4ead8;
    color: var(--event-gold-dark);
    border-radius: 999px;
    padding: 6px 13px;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 12px;
}

.event-type-content h3 {
    font-size: clamp(25px, 3vw, 40px);
    margin: 0 0 8px;
}

.event-subtitle {
    color: var(--event-gold-dark);
    font-weight: 800;
    margin-bottom: 18px;
}

.event-info-box {
    background: var(--event-light);
    border: 1px solid var(--event-border);
    border-radius: 20px;
    padding: 18px;
    margin: 22px 0;
}

.event-info-box h4,
.event-course h4 {
    margin: 0 0 8px;
    color: var(--event-gold-dark);
}

.event-info-box p {
    margin: 0;
    line-height: 1.7;
    color: #555;
}

.event-program {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.event-program-day {
    border: 1px solid var(--event-border);
    border-radius: 20px;
    padding: 18px;
    background: #fff;
}

.event-program-day strong {
    color: var(--event-gold-dark);
    font-size: 14px;
}

.event-program-day h5 {
    margin: 6px 0 10px;
    font-size: 18px;
}

.event-program-day ul,
.event-package-body ul,
.event-menu-body ul,
.event-bar-card ul {
    margin: 0;
    padding-left: 20px;
    line-height: 1.7;
    color: #555;
}

.event-package-grid,
.event-menu-grid,
.event-bar-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.event-package-card,
.event-menu-card,
.event-bar-card {
    background: #fff;
    border: 1px solid var(--event-border);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 14px 38px rgba(0,0,0,.07);
}

.event-package-card img,
.event-menu-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.event-package-body,
.event-menu-body,
.event-bar-card {
    padding: 24px;
}

.event-package-body h3,
.event-menu-body h3,
.event-bar-card h3 {
    font-size: 26px;
    margin: 0 0 12px;
}

.event-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 18px;
}

.event-prices span,
.event-price-badge {
    display: inline-flex;
    background: var(--event-gold);
    color: #fff;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 900;
}

.event-course {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(196,162,98,.22);
}

.event-bar-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.event-bar-images img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 22px;
}

.event-bar-option {
    border-top: 1px solid rgba(196,162,98,.22);
    padding-top: 16px;
    margin-top: 16px;
}

.event-faq-box {
    background: #fff;
    border: 1px solid var(--event-border);
    border-radius: 22px;
    padding: 24px;
    text-align: center;
    color: var(--event-muted);
}

.event-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.event-modal.active {
    display: flex;
}

.event-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.62);
}

.event-modal-content {
    position: relative;
    z-index: 2;
    width: min(520px, 100%);
    max-height: calc(100dvh - 36px);
    overflow-y: auto;
    background: #fff;
    border-radius: 26px;
    padding: 28px;
    box-shadow: 0 30px 90px rgba(0,0,0,.28);
}

.event-modal-close {
    position: absolute;
    right: 18px;
    top: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--event-light);
    font-size: 24px;
    cursor: pointer;
}

body.event-modal-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .event-hero {
        min-height: 470px;
        height: 68vh;
    }

    .event-hero-overlay {
        padding: 0 26px;
        align-items: center;
        text-align: center;
    }

    .event-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        height: auto;
    }

    .event-gallery-grid img {
        height: 190px;
    }

    .event-program,
    .event-package-grid,
    .event-menu-grid,
    .event-bar-grid,
    .event-bar-images {
        grid-template-columns: 1fr;
    }

    .event-hero-dots {
        display: none;
    }
}

@media (max-width: 520px) {
    .event-section {
        padding: 54px 0;
    }

    .event-hero-arrow {
        width: 36px;
        height: 36px;
        font-size: 24px;
    }

    .event-hero-arrow.prev { left: 10px; }
    .event-hero-arrow.next { right: 10px; }

    .event-type-content,
    .event-package-body,
    .event-menu-body,
    .event-bar-card {
        padding: 18px;
    }

    .event-hero-buttons {
        justify-content: center;
    }

    .event-btn {
        width: 100%;
    }
}

/* FIX HERO CENTER */
.event-hero-overlay {
    align-items: center !important;
    text-align: center !important;
    background: rgba(0,0,0,.48) !important;
}

.event-hero-buttons {
    justify-content: center;
}

.event-hero-dots {
    display: none !important;
}

/* EVENT TYPE IMAGE CAROUSEL */
.event-gallery-carousel {
    position: relative;
    padding: 24px 54px 0;
    background: #fff;
}

.event-gallery-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 10px;
}

.event-gallery-track::-webkit-scrollbar {
    display: none;
}

.event-gallery-item {
    flex: 0 0 calc((100% - 36px) / 3);
    height: 260px;
    border-radius: 22px;
    overflow: hidden;
}

.event-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-40%);
    z-index: 3;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: var(--event-gold);
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}

.event-gallery-arrow.prev {
    left: 12px;
}

.event-gallery-arrow.next {
    right: 12px;
}

/* CENTER ALL RESERVE BUTTONS */
.event-type-content > .event-btn,
.event-package-body > .event-btn {
    margin: 20px auto 0;
    display: flex;
    width: fit-content;
}

.event-bar-card .event-btn,
.event-menu-card .event-btn {
    margin-left: auto;
    margin-right: auto;
}

/* FAQ FROM DB */
.event-faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.event-faq-item {
    background: #fff;
    border: 1px solid var(--event-border);
    border-radius: 18px;
    overflow: hidden;
}

.event-faq-question {
    width: 100%;
    border: 0;
    background: #fff;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-weight: 900;
    color: var(--event-dark);
}

.event-faq-question strong {
    color: var(--event-gold);
    font-size: 24px;
}

.event-faq-answer {
    display: none;
    padding: 0 20px 20px;
    color: var(--event-muted);
    line-height: 1.8;
}

.event-faq-item.open .event-faq-answer {
    display: block;
}

.event-faq-item.open .event-faq-question strong {
    transform: rotate(45deg);
}

/* PHONE */
@media (max-width: 768px) {
    .event-gallery-carousel {
        padding: 18px 44px 0;
    }

    .event-gallery-item {
        flex: 0 0 100%;
        height: 220px;
    }

    .event-gallery-arrow {
        width: 34px;
        height: 34px;
        font-size: 22px;
    }
}


.event-step{
    display:none;
}

.event-step.active{
    display:block;
}

.event-step input,
.event-step select{
    width:100%;
    padding:12px;
    margin-bottom:10px;
    border-radius:10px;
    border:1px solid #ddd;
}

.event-step-actions{
    display:flex;
    justify-content:space-between;
    margin-top:15px;
}

#eventSummary{
    background:#faf7f0;
    padding:15px;
    border-radius:10px;
    margin-bottom:20px;
}


/* ===============================
   EVENT MODAL BOOKING FIX
=============================== */
.event-modal-content h3 {
    margin: 0 0 18px;
    font-size: 26px;
    text-align: center;
}

.event-step {
    display: none;
    animation: eventFadeIn .25s ease;
}

.event-step.active {
    display: block;
}

@keyframes eventFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.event-step input,
.event-step select {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    margin-bottom: 12px;
    border-radius: 14px;
    border: 1px solid var(--event-border);
    background: #fff;
    font-size: 15px;
    outline: none;
}

.event-step input:focus,
.event-step select:focus {
    border-color: var(--event-gold);
    box-shadow: 0 0 0 3px rgba(196,162,98,.16);
}

.event-step label {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--event-light);
    border: 1px solid var(--event-border);
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 12px;
    font-weight: 700;
}

.event-step label input {
    width: auto;
    margin: 0;
}

.event-step-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.event-step-actions button,
#eventSubmitBtn {
    border: 0;
    border-radius: 999px;
    padding: 12px 22px;
    background: var(--event-gold);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    min-width: 130px;
}

.event-step-actions button:first-child {
    background: #eee;
    color: #333;
}

#eventSubmitBtn {
    width: 100%;
    margin-top: 12px;
}

#eventSubmitBtn:disabled {
    opacity: .65;
    cursor: not-allowed;
}

#eventSummary {
    background: var(--event-light);
    border: 1px solid var(--event-border);
    padding: 16px;
    border-radius: 18px;
    margin-bottom: 18px;
    line-height: 1.8;
}

#eventSummary p {
    margin: 4px 0;
}

@media (max-width: 600px) {
    .event-modal {
        align-items: center;
        padding: 10px;
    }

    .event-modal-content {
        width: 100%;
        max-height: 88vh;
        padding: 22px 16px;
        border-radius: 22px;
    }

    .event-step-actions {
        flex-direction: row;
    }

    .event-step-actions button {
        flex: 1;
        min-width: 0;
        padding: 12px 10px;
    }
}


.event-phone-row {
    display: grid;
    grid-template-columns: 155px 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.event-phone-row select,
.event-phone-row input {
    margin-bottom: 0 !important;
}

.event-success-step {
    text-align: center;
}

.event-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--event-gold);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 900;
    margin: 0 auto 14px;
}

.event-success-step h4 {
    font-size: 24px;
    margin: 0 0 10px;
}

.event-success-step p {
    color: var(--event-muted);
    line-height: 1.7;
}

@media (max-width: 520px) {
    .event-phone-row {
        grid-template-columns: 1fr;
    }
}