/* ========================================
   Winter Festival 2026 - Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --color-navy: #1a2a4a;
    --color-navy-dark: #0f1a2e;
    --color-navy-light: #2a3a5a;
    --color-white: #f8f9fa;
    --color-white-soft: rgba(248, 249, 250, 0.9);
    --color-gold: #d4a574;
    --color-gold-light: #e8c9a0;
    --color-ice: #a8d5e5;
    --color-ice-light: #c5e5f0;
    --color-red: #c94c4c;
    --color-red-hover: #b33939;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', -apple-system, sans-serif;
    
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(212, 165, 116, 0.3);
    
    --transition-smooth: all 0.3s ease;
    --border-radius: 12px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-navy-dark);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-gold-light);
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.section-subtitle {
    text-align: center;
    color: var(--color-ice);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.lead {
    font-size: 1.25rem;
    color: var(--color-ice-light);
    margin-bottom: 1.5rem;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-white);
    font-weight: 600;
}

.nav-logo:hover {
    color: var(--color-gold);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--color-white-soft);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition-smooth);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition-smooth);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('../images/storyteller-tent.png') center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 26, 46, 0.7) 0%,
        rgba(15, 26, 46, 0.5) 50%,
        rgba(15, 26, 46, 0.9) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: var(--color-white);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero-tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--color-ice-light);
    font-style: italic;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-date {
    font-size: 1.2rem;
    color: var(--color-gold);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-red);
    color: var(--color-white);
    box-shadow: var(--shadow-soft);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-primary:hover {
    background: var(--color-red-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    color: var(--color-white);
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--color-white-soft);
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transform: rotate(2deg);
    transition: var(--transition-smooth);
}

.about-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.about-image img {
    width: 100%;
    height: auto;
}

/* ========================================
   Highlights Section
   ======================================== */
.highlights {
    padding: 6rem 0;
    background: var(--color-navy);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.highlight-card {
    background: var(--color-navy-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.card-image {
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.highlight-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 1.5rem;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.card-content h3 {
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.card-content p {
    color: var(--color-white-soft);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   Testimonials Carousel
   ======================================== */
.testimonials {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonials-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--color-gold);
    margin-bottom: 2rem;
}

.carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.carousel-track-container {
    overflow: hidden;
    flex: 1;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 2rem;
    text-align: center;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-white);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: var(--color-gold);
    opacity: 0.3;
    font-family: var(--font-heading);
}

.testimonial-author {
    color: var(--color-ice);
    font-weight: 600;
    font-size: 1rem;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--color-gold);
    color: var(--color-navy);
    border-color: var(--color-gold);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.carousel-dot.active,
.carousel-dot:hover {
    background: var(--color-gold);
}

/* ========================================
   Coming Soon Section
   ======================================== */
.coming-soon {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
    text-align: center;
}

.coming-soon-content {
    max-width: 800px;
    margin: 0 auto;
}

.teaser-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.teaser-item {
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
}

.teaser-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.teaser-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.teaser-item p {
    color: var(--color-ice);
    font-weight: 500;
}

.big-date {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-weight: 700;
    margin: 1.5rem 0;
    text-shadow: 0 0 30px rgba(212, 165, 116, 0.4);
}

/* Countdown Timer */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 1.5rem 2rem;
    min-width: 100px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.countdown-value {
    display: block;
    font-size: clamp(2rem, 5vw, 3rem);
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
    text-shadow: 0 0 20px rgba(212, 165, 116, 0.3);
}

.countdown-label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-ice);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

.save-date {
    font-size: 1.3rem;
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-style: italic;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--color-navy-dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--color-ice);
    font-style: italic;
}

.footer-links h4,
.footer-social h4 {
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--color-white-soft);
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-link-highlight {
    color: var(--color-ice);
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.footer-link-highlight:hover {
    color: var(--color-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white-soft);
    font-size: 0.9rem;
}

/* ========================================
   Snowflakes Animation
   ======================================== */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: var(--color-white);
    font-size: 1rem;
    opacity: 0.8;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-10px) rotate(0deg);
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
    }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        transform: none;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(15, 26, 46, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: var(--transition-smooth);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .teaser-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }
    
    .teaser-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .teaser-item {
        padding: 1.5rem 0.5rem;
    }
    
    .teaser-icon {
        font-size: 2rem;
    }
}

/* Music Toggle Button */
.music-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-navy-light);
    border: 2px solid var(--color-gold);
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.music-toggle:hover {
    background: var(--color-gold);
    transform: scale(1.1);
}

.music-toggle.playing {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212, 165, 116, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(212, 165, 116, 0);
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .snowflakes {
        display: none;
    }
}
