/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5f4f;
    --secondary-color: #8b6f47;
    --accent-color: #d4a574;
    --text-dark: #2d2d2d;
    --text-light: #666;
    --bg-light: #faf9f7;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    line-height: 1.2;
}

h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3d7361 100%);
    color: var(--white);
    position: relative;
    text-align: center;
}

.hero-content {
    z-index: 2;
}

.names {
    font-size: 5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.date-location {
    margin-bottom: 3rem;
}

.date {
    font-size: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.venue {
    font-size: 1.2rem;
    letter-spacing: 2px;
    opacity: 0.9;
}

/* CTA Buttons */
.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
}

.btn-primary:hover {
    background: #c9964f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-tertiary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-tertiary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: bounce 2s infinite;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Story Section */
.story {
    padding: 6rem 0;
    background: var(--white);
    text-align: center;
}

.intro {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
    line-height: 1.8;
}

/* Details Section */
.details {
    padding: 6rem 0;
    background: var(--bg-light);
}

.detail-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
    text-align: center;
    max-width: 400px;
    flex: 1;
    min-width: 280px;
}

.card h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.time {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.location-name {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.address {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.note {
    font-style: italic;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Travel Section */
.travel {
    padding: 6rem 0;
    background: var(--white);
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 4rem;
}

.recommendations {
    margin-top: 3rem;
}

.recommendation-category {
    margin-bottom: 5rem;
}

.recommendation-category:last-child {
    margin-bottom: 0;
}

.recommendation-category h3 {
    color: var(--primary-color);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
}

.rec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.rec-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.rec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow);
}

.rec-card h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.distance {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.rec-card p:last-child {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* RSVP Section */
.rsvp {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3d7361 100%);
    color: var(--white);
}

.rsvp h2 {
    color: var(--white);
}

.rsvp-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.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 1.5rem;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group textarea {
    border-radius: 20px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.3);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232d2d2d' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    padding-right: 3rem;
}

.rsvp-form .btn-primary {
    width: 100%;
    margin-top: 1rem;
    cursor: pointer;
    font-size: 1.1rem;
}

/* Registry Section */
.registry {
    padding: 6rem 0;
    background: var(--bg-light);
}

.registry-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.registry-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.registry-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.registry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.registry-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.registry-card p {
    color: var(--secondary-color);
    font-weight: 500;
}

/* Footer */
footer {
    padding: 4rem 0 3rem;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

footer p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-names {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.footer-date {
    font-size: 1.2rem;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .names {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .date {
        font-size: 1.2rem;
    }

    .venue {
        font-size: 1rem;
    }

    .intro {
        font-size: 1.1rem;
    }

    .cta-group {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .rec-grid {
        grid-template-columns: 1fr;
    }

    .detail-cards {
        flex-direction: column;
    }

    .registry-links {
        grid-template-columns: 1fr;
    }

    .recommendation-category h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .names {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 0 1rem;
    }

    .card {
        padding: 2rem 1.5rem;
    }

    .rec-card {
        padding: 1.5rem;
    }
}
