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

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    padding-top: 70px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

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

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
}

.nav-brand img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #667eea;
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #667eea;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(102, 126, 234, 0.7), rgba(118, 75, 162, 0.7)), url('images/Landscape.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 100px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-in;
}

.hero .ampersand {
    font-size: 3rem;
    margin: 0 20px;
    font-style: italic;
}

.hero p {
    font-size: 1.5rem;
    margin-top: 20px;
    animation: fadeInUp 1s ease-in 0.3s both;
}

.date {
    font-size: 2rem;
    margin-top: 30px;
    font-weight: bold;
    animation: fadeInUp 1s ease-in 0.6s both;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    animation: fadeInUp 1s ease-in 0.9s both;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 20px 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    min-width: 100px;
}

.countdown-value {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;
}

.countdown-label {
    font-size: 1rem;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* About Section */
.about {
    padding: 80px 20px;
    background: #f9f9f9;
    text-align: center;
}

.about h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    color: #667eea;
}

.couple-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.person {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
}

.person-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    overflow: hidden;
}

.person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

.person p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

/* Event Details Section */
.details {
    padding: 80px 20px;
    background: white;
    text-align: center;
}

.details h2 {
    font-size: 3rem;
    margin-bottom: 50px;
    color: #667eea;
}

.events {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.event-card {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 15px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-10px);
}

.event-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #764ba2;
}

.event-card p {
    font-size: 1.1rem;
    color: #666;
    margin: 10px 0;
}

/* Live Stream Section */
.livestream {
    padding: 80px 20px;
    background: #f9f9f9;
    text-align: center;
}

.livestream h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #667eea;
}

.livestream p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
}

.play-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.7;
}

.video-placeholder p {
    color: white;
    font-size: 1.3rem;
    margin: 5px 0;
}

.video-container iframe {
    border: none;
}

/* RSVP Section */
.rsvp {
    padding: 80px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.rsvp h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.rsvp p {
    font-size: 1.3rem;
    margin-bottom: 40px;
}

.rsvp button {
    background: white;
    color: #667eea;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.rsvp button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

footer p {
    font-size: 1rem;
}

/* Scroll Animations */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-scale.visible {
    opacity: 1;
    transform: scale(1);
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .nav-container {
        height: 60px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        gap: 0;
    }

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

    .nav-menu li {
        padding: 15px 0;
    }

    .nav-link::after {
        display: none;
    }

    .hero {
        background: linear-gradient(rgba(102, 126, 234, 0.7), rgba(118, 75, 162, 0.7)), url('images/Portrait.JPG');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .ampersand {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .date {
        font-size: 1.5rem;
    }

    .countdown {
        gap: 15px;
    }

    .countdown-item {
        padding: 15px 20px;
        min-width: 80px;
    }

    .countdown-value {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 0.8rem;
    }

    .about h2,
    .details h2,
    .livestream h2,
    .rsvp h2 {
        font-size: 2rem;
    }

    .video-container {
        margin: 0 10px;
    }

    .play-icon {
        font-size: 3rem;
    }

    .video-placeholder p {
        font-size: 1rem;
    }
}
