/* Core Variables & Reset */
:root {
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --nav-bg: rgba(253, 251, 247, 0.9);
    --transition-slow: 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-med: 0.6s ease-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: #fdfbf7;
    transition: background-color 1.5s ease;
    overflow-x: hidden;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    z-index: 100;
    background: transparent;
    transition: background 0.4s ease, padding 0.4s ease;
}

.main-nav.scrolled {
    background: var(--nav-bg);
    padding: 1rem 5%;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.nav-brand a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
}

.nav-cart a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s forwards 0.5s;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 400;
    letter-spacing: 5px;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.8s;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 500px;
    line-height: 1.8;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s forwards 1.1s;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: fadeUp 1s forwards 1.5s;
}

.scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background-color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: #fff;
    animation: scrollLine 2s infinite;
}

/* Scrollytelling Sections */

/* Custom Button */
.btn-custom {
    display: inline-block;
    padding: 15px 35px;
    border: 1px solid #000;
    text-decoration: none;
    color: #000;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    z-index: -1;
}

.btn-custom:hover {
    color: #fff;
}

.btn-custom:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.season-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 5%;
    position: relative;
    overflow: hidden;
}

.season-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    gap: 80px;
}

.season-section.reverse .season-content {
    flex-direction: row-reverse;
}

/* Text Content */
.text-block {
    flex: 1;
    max-width: 500px;
}

.season-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.season-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.season-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border: 1px solid var(--text-primary);
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--text-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    z-index: -1;
}

.btn:hover {
    color: #fff;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Image Parallax Block */
.image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    width: 100%;
    max-width: 500px;
    height: 700px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.parallax-img {
    width: 100%;
    height: 120%; /* Extra height for parallax travel */
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: -10%; 
    left: 0;
    will-change: transform;
}

/* Animations & Transitions */
.reveal-left, .reveal-right {
    opacity: 0;
    transition: all var(--transition-slow);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

/* When active class is added by JS */
.season-section.active .reveal-left,
.season-section.active .reveal-right {
    opacity: 1;
    transform: translateX(0);
}

.season-section.active .image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    animation: slideReveal 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Footer */
.main-footer {
    padding: 80px 5%;
    text-align: center;
    background-color: #1a1a1a;
    color: #fff;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    letter-spacing: 4px;
    margin-bottom: 1rem;
}

.footer-content p {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.copyright {
    font-size: 0.8rem !important;
    color: #555 !important;
}

/* Keyframes */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollLine {
    0% { top: -50%; }
    100% { top: 150%; }
}

@keyframes slideReveal {
    0% { height: 100%; top: 0; }
    100% { height: 0%; top: 100%; }
}

/* Responsive */
@media (max-width: 992px) {
    .season-content, .season-section.reverse .season-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .text-block {
        max-width: 100%;
    }

    .reveal-left, .reveal-right {
        transform: translateY(40px);
    }

    .season-title {
        font-size: 3rem;
    }
    
    .image-wrapper {
        height: 500px;
    }
    
    .nav-links {
        display: none; /* Add hamburger menu logic for mobile */
    }
}