@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Inter:wght@300;400;600&display=swap');

:root {
    /* Color Palette */
    --primary-black: #0a0a0a;
    --primary-white: #ffffff;
    --accent-gold: #c5a059;
    --accent-gold-hover: #b38f4d;
    --light-gray: #f5f5f5;
    --medium-gray: #888888;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 160px 20px;
    /* Increased for more whitespace */
    --mobile-padding: 100px 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--primary-black);
    background-color: var(--primary-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.4s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sections */
section {
    padding: var(--section-padding);
}

@media (max-width: 768px) {
    section {
        padding: var(--mobile-padding);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 45px;
    background-color: transparent;
    color: var(--primary-white);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-white);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn:hover {
    color: var(--primary-black);
    border-color: var(--primary-white);
}

.btn:hover::before {
    left: 0;
}

.btn-gold {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-gold::before {
    background: var(--accent-gold);
}

.btn-gold:hover {
    color: var(--primary-white);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.2);
}

/* Hero */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('public/trailer-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--primary-white);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 25px;
    max-width: 900px;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 50px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* About Section */
.split-screen {
    display: flex;
    align-items: center;
    gap: 100px;
}

.about-image,
.about-text {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 20px 20px 0px var(--primary-black);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.about-text .lead {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--accent-gold);
    line-height: 1.3;
    margin-bottom: 30px;
    position: relative;
    padding-left: 25px;
    border-left: 3px solid var(--accent-gold);
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.05rem;
    color: #444;
    letter-spacing: 0.2px;
    line-height: 1.8;
}

/* Global Section Titles */
.section-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 100%;
}

/* Location Tracker (Dark Mode) */
.location-tracker {
    background-color: var(--primary-black);
    color: var(--primary-white);
}

.location-tracker .section-title {
    color: var(--primary-white);
    margin-bottom: 40px;
}

.tabs-container {
    margin-bottom: 60px;
}

.tabs-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--medium-gray);
    font-size: 1.1rem;
    font-family: var(--font-heading);
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.tab-btn:hover {
    color: var(--primary-white);
}

.tab-btn.active {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.location-content.fading {
    opacity: 0;
}

.info-group {
    margin-bottom: 40px;
}

.info-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

#loc-city {
    font-size: 2.5rem;
}

#loc-name {
    font-size: 1.25rem;
    font-weight: 300;
}

.location-map {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #111;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.map-container {
    height: 450px;
    filter: grayscale(1) invert(0.9) contrast(1.2);
    /* Dark Map trick */
}

/* Rest Day View */
.location-content.is-rest-day {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-content.is-rest-day .location-map,
.location-content.is-rest-day .info-label,
.location-content.is-rest-day .info-group:not(:first-child),
.location-content.is-rest-day #loc-link {
    display: none !important;
}

.location-content.is-rest-day #loc-city {
    font-size: 6rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--accent-gold);
    animation: fadeInScale 0.8s ease forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 992px) {
    .location-content.is-rest-day #loc-city {
        font-size: 3.5rem;
    }
}

/* Pricing */
.price-menu {
    max-width: 600px;
    margin: 0 auto;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.price-item:hover {
    transform: translateX(10px);
}

.price-item span:first-child {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-black);
}

.price-item span:last-child {
    font-weight: 600;
    color: var(--accent-gold);
    font-size: 1.1rem;
}

/* Events */
.events {
    background-color: var(--light-gray);
}

.events h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.events p {
    margin-bottom: 25px;
    color: #444;
}

.section-title-left {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.split-screen.reverse {
    flex-direction: row-reverse;
}

.event-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: -20px 20px 0px var(--primary-black);
}

@media (max-width: 992px) {
    .split-screen.reverse {
        flex-direction: column;
    }
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.testimonial-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--light-gray);
    position: relative;
    border-top: 3px solid var(--accent-gold);
}

.testimonial-img {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid var(--primary-white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 20px;
    color: #444;
}

.testimonial-item cite {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    display: block;
}

/* Footer */
.footer {
    background-color: var(--primary-black);
    color: var(--primary-white);
    text-align: center;
    padding: 100px 20px 60px;
}

.footer h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
}

.footer-logo {
    width: 60px;
    /* Enhanced visibility */
    height: auto;
    margin: 0 auto 30px;
    display: block;
    opacity: 1;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.1);
}

.social-links {
    margin-top: 30px;
    margin-bottom: 70px;
    /* Adjusted to 70px as requested */
}

.social-links a {
    color: var(--primary-white);
    margin: 0 15px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.social-links a:hover {
    color: var(--accent-gold);
    opacity: 1;
}

.designer-credit {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.designer-credit p {
    font-size: 0.7rem;
    color: #222;
    /* Extremely subtle, blends with background */
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.designer-credit a {
    color: #222;
    /* Matches text, no more blue links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.designer-credit a:hover {
    color: var(--accent-gold);
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .split-screen {
        flex-direction: column;
        gap: 40px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .footer h2 {
        font-size: 2.2rem;
    }

    .social-links {
        margin-bottom: 100px;
    }
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    /* More dramatic movement */
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    /* Smoother and longer */
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delays */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

.delay-500 {
    transition-delay: 500ms;
}