/* Color Palette */
:root {
    --burgundy: #800020;
    --deep-green: #0d3b2e;
    --black: #0a0a0a;
    --white: #ffffff;
    --light-burgundy: #a63a50;
    --dark-burgundy: #5c0016;
    --light-green: #1a5542;
    --cream: #f8f6f4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Snowfall Effect */
.snowfall {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 40px 70px, white, transparent),
        radial-gradient(1px 1px at 90px 40px, white, transparent),
        radial-gradient(1px 1px at 130px 80px, white, transparent),
        radial-gradient(2px 2px at 160px 120px, white, transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: snowfall 10s linear infinite;
    opacity: 0.6;
}

@keyframes snowfall {
    from {
        background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
    }
    to {
        background-position: 0 200px, 0 250px, 0 180px, 0 220px, 0 190px;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.65rem 0;
    z-index: 1000;
    border-bottom: 1px solid var(--burgundy);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--burgundy);
    letter-spacing: 2px;
    text-decoration: none;
}

.nav-logo:hover {
    color: var(--light-burgundy);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.6)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%230d3b2e" width="1200" height="600"/><circle fill="%23800020" opacity="0.1" cx="200" cy="150" r="100"/><circle fill="%23800020" opacity="0.1" cx="800" cy="400" r="150"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    text-align: center;
}

.hero-content {
    z-index: 2;
}

.couple-names {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-shadow: 2px 2px 8px rgba(128, 0, 32, 0.5);
}

.wedding-date {
    font-size: 2rem;
    color: var(--burgundy);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 4px;
}

.tagline {
    font-size: 1.3rem;
    color: var(--cream);
    font-style: italic;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--burgundy);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Countdown Section */
.countdown-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--deep-green) 0%, var(--black) 100%);
    text-align: center;
}

.countdown-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--cream);
    margin-bottom: 1.25rem;
}

.countdown-intro {
    font-size: 1.15rem;
    color: var(--cream);
    opacity: 0.9;
    font-style: italic;
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.countdown-done {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--burgundy);
    padding: 2rem;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--burgundy);
    font-family: 'Playfair Display', serif;
    text-shadow: 0 0 20px rgba(128, 0, 32, 0.5);
}

.countdown-label {
    font-size: 1rem;
    color: var(--cream);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

/* Section Styles */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    color: var(--cream);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '❤';
    display: block;
    color: var(--burgundy);
    font-size: 1.5rem;
    margin-top: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--cream);
    opacity: 0.8;
    margin-bottom: 3rem;
    font-style: italic;
}

/* Story Section */
.story-section {
    padding: 6rem 0;
    background: var(--black);
}

.story-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.story-card {
    background: linear-gradient(135deg, var(--deep-green) 0%, rgba(13, 59, 46, 0.5) 100%);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 15px;
    border: 2px solid var(--burgundy);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(128, 0, 32, 0.4);
}

.story-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.story-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--burgundy);
    margin-bottom: 1rem;
}

.story-card p {
    color: var(--cream);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Details Section */
.details-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--black) 0%, var(--deep-green) 100%);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.detail-card {
    background: rgba(128, 0, 32, 0.1);
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 15px;
    border: 2px solid var(--burgundy);
    transition: all 0.3s ease;
}

.detail-card:hover {
    background: rgba(128, 0, 32, 0.2);
    transform: scale(1.05);
}

.detail-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.detail-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--burgundy);
    margin-bottom: 1rem;
}

.detail-text {
    font-size: 1.2rem;
    color: var(--cream);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.detail-subtext {
    font-size: 1rem;
    color: var(--cream);
    opacity: 0.7;
}

/* Travel Section */
.travel-section {
    padding: 6rem 0;
    background: var(--black);
    border-top: 1px solid rgba(128, 0, 32, 0.25);
}

.travel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.travel-card {
    background: linear-gradient(135deg, var(--deep-green) 0%, rgba(13, 59, 46, 0.45) 100%);
    border: 2px solid var(--burgundy);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.travel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 36px rgba(128, 0, 32, 0.35);
}

.travel-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.travel-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.65rem;
    color: var(--burgundy);
    margin-bottom: 1rem;
    text-align: center;
}

.travel-card p {
    color: var(--cream);
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
}

/* RSVP Section */
.rsvp-section {
    padding: 6rem 0;
    background: var(--black);
}

.qa-list {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
}

.qa-item {
    background: rgba(128, 0, 32, 0.12);
    border: 1px solid rgba(166, 58, 80, 0.55);
    border-radius: 14px;
    padding: 1.5rem;
}

.qa-item h3 {
    font-family: 'Playfair Display', serif;
    color: var(--burgundy);
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.qa-item p {
    color: var(--cream);
    font-size: 1.1rem;
    line-height: 1.7;
}

.qa-item a {
    color: var(--light-burgundy);
    text-decoration: none;
    border-bottom: 1px solid rgba(166, 58, 80, 0.6);
}

.qa-item a:hover {
    color: var(--cream);
}

.rsvp-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(13, 59, 46, 0.3);
    border: 2px solid var(--deep-green);
    border-radius: 8px;
    color: var(--cream);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--burgundy);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(248, 246, 244, 0.5);
}

.radio-group label:first-child {
    display: block;
    margin-bottom: 1rem;
    color: var(--cream);
    font-size: 1.1rem;
}

.radio-options {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cream);
    cursor: pointer;
    font-size: 1.1rem;
}

.radio-label input[type="radio"] {
    width: auto;
    accent-color: var(--burgundy);
}

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--dark-burgundy) 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    letter-spacing: 2px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(128, 0, 32, 0.5);
}

/* Registry Section */
.registry-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--deep-green) 0%, var(--black) 100%);
}

.registry-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.registry-card {
    background: rgba(128, 0, 32, 0.1);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 15px;
    border: 2px solid var(--burgundy);
    text-decoration: none;
    color: var(--cream);
    transition: all 0.3s ease;
    display: block;
}

.registry-card:hover {
    transform: translateY(-10px);
    background: rgba(128, 0, 32, 0.2);
    box-shadow: 0 10px 40px rgba(128, 0, 32, 0.4);
}

.registry-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.registry-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--burgundy);
    margin-bottom: 1rem;
}

.registry-card p {
    color: var(--cream);
    opacity: 0.8;
}

.registry-cta {
    max-width: 520px;
    margin: 2rem auto 0;
}

.registry-card--single {
    max-width: none;
}

.registry-link-hint {
    display: block;
    margin-top: 1.25rem;
    font-size: 1rem;
    color: var(--light-burgundy);
    font-style: italic;
}

/* Gallery Section */
.gallery-section {
    padding: 6rem 0;
    background: var(--black);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid var(--burgundy);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--deep-green) 0%, rgba(13, 59, 46, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    font-size: 1.2rem;
    font-style: italic;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.1);
}

/* Footer */
.footer {
    background: var(--deep-green);
    padding: 4rem 0 2rem;
    text-align: center;
    border-top: 2px solid var(--burgundy);
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-text {
    font-size: 1.5rem;
    color: var(--cream);
    margin-bottom: 1rem;
    font-style: italic;
}

.couple-initials {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--burgundy);
    margin: 1rem 0;
    font-weight: 700;
    letter-spacing: 3px;
}

.footer-date {
    font-size: 1.2rem;
    color: var(--cream);
    letter-spacing: 2px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(128, 0, 32, 0.3);
    color: var(--cream);
    opacity: 0.7;
}

.powered-by {
    margin-top: 1rem;
}

.powered-by span {
    margin-right: 0.5rem;
}

.powered-by a {
    color: var(--burgundy);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.powered-by a:hover {
    color: var(--light-burgundy);
}

@media (max-width: 768px) {
    .couple-names {
        font-size: 3rem;
    }

    .wedding-date {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .countdown-number {
        font-size: 3rem;
    }

    .story-content,
    .details-grid,
    .registry-links,
    .travel-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .countdown {
        gap: 2rem;
    }

    .qa-item {
        padding: 1.25rem;
    }

    .qa-item h3 {
        font-size: 1.2rem;
    }

    .qa-item p {
        font-size: 1rem;
    }
}

/* Coming Soon Styles */
.coming-soon-message {
    text-align: center;
    padding: 3rem 2rem;
}

.coming-soon-text {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--burgundy);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 3px;
}

.coming-soon-subtitle {
    font-size: 1.3rem;
    color: var(--cream);
    opacity: 0.9;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

.coming-soon-box {
    max-width: 600px;
    margin: 3rem auto;
    background: rgba(128, 0, 32, 0.15);
    padding: 4rem 3rem;
    border-radius: 15px;
    border: 2px solid var(--burgundy);
    text-align: center;
}

.coming-soon-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.coming-soon-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--burgundy);
    margin-bottom: 1rem;
}

.coming-soon-box p {
    font-size: 1.2rem;
    color: var(--cream);
    opacity: 0.9;
    line-height: 1.8;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 3.75rem;
}
