* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #b8860b;
    --secondary-color: #f4e4c1;
    --dark-color: #2c2c2c;
    --light-color: #ffffff;
    --accent-color: #d4af37;
    --text-color: #4a4a4a;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

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

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(184, 134, 11, 0.7) 0%,
        rgba(212, 175, 55, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--light-color);
    padding: 40px;
    animation: fadeInUp 1.5s ease;
}

.names {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 3px;
}

.wedding-date {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 30px 0;
}

.date {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.time {
    font-size: 1.4rem;
    font-weight: 300;
}

.quote {
    max-width: 600px;
    margin: 40px auto;
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
    padding: 0 20px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--light-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    margin-top: 30px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background: var(--secondary-color);
}

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

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--light-color);
    border-radius: 25px;
    position: relative;
}

.mouse::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--light-color);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background: var(--light-color);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Story Section */
.story-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8f8f8, #ffffff);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-image {
    text-align: center;
}

.story-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: inline-block;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.frame-decoration {
    display: none;
}

.story-text {
    padding: 20px;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color);
}

/* Ceremony Section */
.ceremony-section {
    padding: 100px 0;
    background: var(--secondary-color);
}

.ceremony-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.detail-card {
    background: var(--light-color);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.detail-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.detail-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.detail-card p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 5px 0;
}

/* Location Section */
.location-section {
    padding: 100px 0;
    background: #ffffff;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.location-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.location-info address {
    font-style: normal;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
}

.location-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.map-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--light-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.map-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.map-button.waze {
    background: #00bcf2;
}

.map-button.waze:hover {
    background: #0095c7;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* RSVP Section */
.rsvp-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.rsvp-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-color);
}

.rsvp-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--light-color);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.radio-group {
    margin: 30px 0;
}

.radio-options {
    display: flex;
    gap: 30px;
    margin-top: 15px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
}

.radio-label input[type="radio"] {
    width: auto;
    margin-right: 10px;
}

.submit-button {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--light-color);
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 50px 0;
    text-align: center;
}

.footer-names {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.footer-date {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-message {
    font-size: 1rem;
    opacity: 0.7;
}

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

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

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--light-color);
        width: 100%;
        padding: 20px;
        box-shadow: var(--shadow);
        transition: 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .story-content,
    .location-content {
        grid-template-columns: 1fr;
    }

    .ceremony-details {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .radio-options {
        flex-direction: column;
    }

    .names {
        font-size: 3rem;
    }

    .quote {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .location-buttons {
        flex-direction: column;
    }

    .map-button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 20px;
    }

    .names {
        font-size: 2.5rem;
    }

    .date {
        font-size: 1.4rem;
    }

    .time {
        font-size: 1.2rem;
    }

    .rsvp-form {
        padding: 30px 20px;
    }
}