/* Festopia template integration overrides */

.festopia-template {
    min-height: 100vh;
}

.festopia-header {
    color: #fff;
}

.festopia-header .festopia-nav-link,
.festopia-header a.festopia-nav-link {
    color: rgba(255, 255, 255, 0.88);
}

.festopia-header .festopia-nav-link:hover,
.festopia-header a.festopia-nav-link:hover {
    color: #fff;
}

.festopia-header.is-scrolled {
    color: inherit;
}

.festopia-header.is-scrolled .festopia-nav-link,
.festopia-header.is-scrolled a.festopia-nav-link {
    color: rgba(255, 255, 255, 0.88);
}

.festopia-btn--header {
    background: linear-gradient(135deg, #ff6b4a 0%, #ff4fa7 45%, #1db9e1 100%);
    box-shadow: 0 8px 24px rgba(255, 79, 167, 0.35);
}

.festopia-header.is-scrolled {
    background: rgba(8, 12, 24, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.festopia-nav-list,
.festopia-mobile-nav-list {
    list-style: none;
}

.festopia-home .festopia-hero-slider,
.festopia-home .slider-wrapper {
    margin-top: 0;
}

.festopia-hero-carousel {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
}

.festopia-hero-track {
    position: relative;
    min-height: 100svh;
}

.festopia-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease, visibility .6s ease;
}

.festopia-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.festopia-hero-slide__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.festopia-hero-slide__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.festopia-hero-slide__overlay--ocean {
    background-image: var(--gradient-ocean);
}

.festopia-hero-slide__overlay--spotlight {
    background-image: var(--gradient-spotlight);
}

.festopia-hero-slide__content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 100svh;
    align-items: center;
    justify-content: flex-start;
    padding: 6.5rem 1.5rem 4rem;
}

@media (min-width: 768px) {
    .festopia-hero-slide__content {
        padding: 7rem 2rem 5rem;
    }
}

.festopia-hero-slide__content .festopia-hero-slide__inner {
    width: 100%;
    max-width: 80rem;
    margin: 0;
    padding-left: 0;
}

.festopia-hero-slide__inner {
    max-width: 42rem;
}

.festopia-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .05);
    padding: .375rem 1rem;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: rgba(255, 255, 255, .8);
    backdrop-filter: blur(8px);
}

.festopia-hero-title {
    margin: 1.5rem 0 0;
    font-family: var(--font-display, "Playfair Display", Georgia, serif);
    font-size: clamp(3.25rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 0.92;
    color: #fff;
    letter-spacing: -0.03em;
}

.festopia-hero-title-main {
    display: block;
}

.festopia-hero-title-glow {
    position: relative;
    display: inline-block;
    color: #fff;
    text-shadow:
        0 0 18px rgba(255, 140, 40, 0.95),
        0 0 42px rgba(255, 95, 20, 0.75);
}

.festopia-hero-subtitle {
    display: block;
    margin-top: 1rem;
    max-width: 34rem;
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: clamp(1.35rem, 3.2vw, 2.35rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.9);
}

.festopia-hero-locations {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1.25rem;
    margin-top: 1.75rem;
    font-size: .9rem;
    color: rgba(255, 255, 255, 0.88);
}

.festopia-hero-location {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.festopia-hero-pin {
    width: .55rem;
    height: .55rem;
    border-radius: 9999px;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.festopia-hero-pin--coral {
    background: #ff6b4a;
}

.festopia-hero-pin--tropical {
    background: #1db9e1;
}

.festopia-hero-divider {
    color: rgba(255, 255, 255, .3);
}

.festopia-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .875rem;
    margin-top: 2rem;
}

.festopia-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border-radius: 9999px;
    padding: .95rem 1.6rem;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease;
}

.festopia-btn:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}

.festopia-btn--primary {
    background: linear-gradient(135deg, #ff5a8d 0%, #ff7a3d 38%, #ffb347 62%, #1db9e1 100%);
    color: #fff;
    box-shadow: 0 12px 32px rgba(255, 90, 141, 0.35);
}

.festopia-btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(8, 12, 24, 0.42);
    color: #fff;
    backdrop-filter: blur(10px);
}

.festopia-hero-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 9999px;
    background: rgba(8, 12, 24, .45);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.festopia-hero-nav--prev { left: 1rem; }
.festopia-hero-nav--next { right: 1rem; }

.festopia-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    z-index: 3;
    display: flex;
    gap: .5rem;
    transform: translateX(-50%);
}

.festopia-hero-dot {
    width: .625rem;
    height: .625rem;
    border: 0;
    border-radius: 9999px;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
}

.festopia-hero-dot.is-active {
    background: #fff;
    transform: scale(1.15);
}

.ttn-builder-active .festopia-header {
    top: 48px;
}

.ttn-builder-active .festopia-hero-slide__content {
    padding-top: 9rem;
}

/* Inner pages below fixed header */
.festopia-template .ttn-site-content {
    padding-top: 88px;
}
.festopia-template .festopia-page > section:first-child,
.festopia-template .festopia-event-detail .festopia-event-hero {
    margin-top: -88px;
    padding-top: 88px;
}

.festopia-mobile-nav.is-open {
    display: block !important;
}

.festopia-event-detail .prose img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

.festopia-event-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid hsl(var(--border));
    padding-bottom: 0.75rem;
}

.festopia-event-tabs__trigger {
    appearance: none;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card));
    color: hsl(var(--muted-foreground));
    border-radius: 9999px;
    padding: 0.55rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.festopia-event-tabs__trigger.is-active,
.festopia-event-tabs__trigger:hover {
    background: hsl(var(--tropical));
    border-color: hsl(var(--tropical));
    color: #fff;
}

.festopia-event-tabs__panel {
    display: none;
}

.festopia-event-tabs__panel.is-active {
    display: block;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 767px) {
    .festopia-template .ttn-site-content {
        padding-top: 72px;
    }
}

.festopia-ambassadors-hero {
    min-height: 70vh;
}

.festopia-role-item .festopia-role-panel {
    display: none;
}

.festopia-role-item.is-open .festopia-role-panel {
    display: block;
}

.festopia-role-item.is-open .festopia-role-icon {
    transform: rotate(45deg);
}

.festopia-role-trigger {
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
}

.festopia-role-icon {
    transition: transform .2s ease;
}

.festopia-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.festopia-ambassadors-form label {
    color: inherit;
}

.festopia-travel-guides-hero {
    min-height: 55vh;
}

.festopia-guide-filter {
    cursor: pointer;
}

.festopia-guide-filter.is-active {
    box-shadow: 0 8px 24px rgba(29, 185, 225, 0.25);
}

.festopia-guide-card.is-hidden {
    display: none;
}

.festopia-birthday-club-form label {
    color: inherit;
}

.festopia-birthdays-hero {
    min-height: 50vh;
}
