/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #5a4a3a;
    background-color: #fefcf8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(218, 165, 132, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(218, 165, 132, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
}

/* Logo Styles */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.heart-icon {
    color: #d4a574;
    display: flex;
    align-items: center;
    justify-content: center;
}

.couple-names {
    font-family: 'Dancing Script', cursive;
    font-size: 24px;
    font-weight: 600;
    color: #8b6f47;
    background: linear-gradient(135deg, #d4a574, #b8956a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Desktop Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #8b6f47;
    font-weight: 400;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #d4a574;
    background-color: rgba(212, 165, 116, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: #d4a574;
    background-color: rgba(212, 165, 116, 0.15);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(212, 165, 116, 0.1);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: #8b6f47;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(212, 165, 116, 0.2);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.mobile-menu.active {
    max-height: 400px;
    padding: 20px 24px;
}

.mobile-nav-link {
    display: block;
    padding: 12px 0;
    text-decoration: none;
    color: #8b6f47;
    font-weight: 400;
    font-size: 16px;
    border-bottom: 1px solid rgba(212, 165, 116, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.mobile-nav-link:hover {
    color: #d4a574;
    padding-left: 10px;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #fefcf8 0%, #f9f5f0 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(212, 165, 116, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(184, 149, 106, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-ornament {
    color: #d4a574;
    margin-bottom: 20px;
    opacity: 0.7;
}

.hero-title {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: #8b6f47;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #d4a574, #b8956a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: #a08660;
    margin-bottom: 32px;
    font-weight: 300;
}

.wedding-date {
    margin-bottom: 40px;
}

.date-text {
    font-size: 24px;
    font-weight: 500;
    color: #8b6f47;
    margin-bottom: 8px;
}

.venue-text {
    font-size: 16px;
    color: #a08660;
}

.hero-ornament-bottom {
    color: #d4a574;
    opacity: 0.6;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.alt-bg {
    background-color: #f9f5f0;
}

.section-title {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: #8b6f47;
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(135deg, #d4a574, #b8956a);
    border-radius: 2px;
}

/* Couple Section */
.couple-container {
    max-width: 800px;
    margin: 0 auto;
}

.bride-groom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.person-card {
    text-align: center;
    flex: 1;
    min-width: 250px;
}

.person-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid #d4a574;
    box-shadow: 0 8px 32px rgba(212, 165, 116, 0.3);
}

.person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-name {
    font-family: 'Dancing Script', cursive;
    font-size: 28px;
    font-weight: 600;
    color: #8b6f47;
    margin-bottom: 8px;
}

.person-detail {
    color: #a08660;
    font-size: 14px;
}

.heart-divider {
    color: #d4a574;
    flex-shrink: 0;
}

/* Story Section */
.story-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.story-text {
    font-size: 16px;
    line-height: 1.8;
    color: #8b6f47;
    margin-bottom: 24px;
}

/* Event Section */
.event-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.event-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(212, 165, 116, 0.15);
    border: 1px solid rgba(212, 165, 116, 0.1);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-icon {
    color: #d4a574;
    margin-bottom: 20px;
}

.event-title {
    font-family: 'Dancing Script', cursive;
    font-size: 24px;
    font-weight: 600;
    color: #8b6f47;
    margin-bottom: 12px;
}

.event-time {
    font-size: 16px;
    font-weight: 500;
    color: #d4a574;
    margin-bottom: 8px;
}

.event-location {
    font-size: 14px;
    color: #a08660;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(212, 165, 116, 0.2);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* RSVP Section */
.rsvp-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.rsvp-text {
    font-size: 16px;
    color: #8b6f47;
    margin-bottom: 32px;
    line-height: 1.6;
}

.rsvp-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.rsvp-btn {
    padding: 12px 32px;
    border: 2px solid #d4a574;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: #8b6f47;
}

.rsvp-btn.attend:hover {
    background: #d4a574;
    color: white;
    transform: translateY(-2px);
}

.rsvp-btn.not-attend:hover {
    background: #8b6f47;
    color: white;
    transform: translateY(-2px);
}

.contact-info {
    background: rgba(212, 165, 116, 0.1);
    padding: 24px;
    border-radius: 15px;
    color: #8b6f47;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info p:first-child {
    font-weight: 500;
    margin-bottom: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero-section {
        padding: 80px 0;
    }

    .content-section {
        padding: 60px 0;
    }

    .bride-groom {
        flex-direction: column;
        gap: 30px;
    }

    .heart-divider {
        order: 2;
    }

    .person-card:first-child {
        order: 1;
    }

    .person-card:last-child {
        order: 3;
    }

    .event-details {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .rsvp-buttons {
        flex-direction: column;
        align-items: center;
    }

    .rsvp-btn {
        width: 200px;
    }

    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 0;
    }

    .content-section {
        padding: 50px 0;
    }

    .person-photo {
        width: 150px;
        height: 150px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 200px;
    }
}