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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #c4bdbc;
    padding-top: 90px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 180px;
    right: 180px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    height: 70px;
    gap: 20px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: #000;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
}

.nav-menu li a {
    text-decoration: none;
    color: #000;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.nav-menu li a:hover {
    opacity: 0.6;
}

.nav-rsvp-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: transparent;
    color: #000;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    border: 2px solid #000;
    transition: all 0.3s ease;
}

.nav-rsvp-btn:hover {
    background-color: #000;
    color: #fff;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: #000;
    transition: all 0.3s ease;
}

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

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

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

.mobile-only {
    display: none;
}

.desktop-only {
    display: inline-block;
}

header {
    text-align: center;
    padding: 0;
    background-color: #ffffff;
    position: relative;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08),
                0 15px 55px rgba(0, 0, 0, 0.06);
    z-index: 10;
    margin: 0 180px 30px 180px;
    overflow: hidden;
    min-height: 500px;
}

.header-images-grid {
    display: flex;
    width: 100%;
    height: 500px;
}

.header-img {
    width: 33.333%;
    height: 100%;
    object-fit: cover;
    object-position: center top 250px;
    filter: grayscale(100%) sepia(40%) hue-rotate(330deg) saturate(0.6) brightness(1.1);
}

.header-carousel {
    display: none;
    position: relative;
    width: 100%;
    height: 400px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top 250px;
    filter: grayscale(100%) sepia(40%) hue-rotate(330deg) saturate(0.6) brightness(1.1);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 20;
    transition: background 0.3s ease;
    color: #000;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.95);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active,
.dot:hover {
    background: rgba(255, 255, 255, 0.9);
}

.header-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 15;
    background: rgba(255, 255, 255, 0.5);
    padding: 10px 30px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.header-text {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: #000;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

.header-logo {
    display: none;
}

.ribbon {
    display: none;
}

header h1 {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 10px;
    color: #000;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: center;
}

.monogram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.monogram-letter {
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: 5px;
    color: #fff;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8),
                 0 4px 20px rgba(0, 0, 0, 0.6);
}

.monogram-plus {
    font-size: 2.5rem;
    font-weight: 200;
    color: #fff;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    line-height: 1;
    margin: 0 5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8),
                 0 4px 20px rgba(0, 0, 0, 0.6);
}

.header-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: #fff;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    margin: 0;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8),
                 0 3px 15px rgba(0, 0, 0, 0.6);
}

main {
    padding: 0 180px 0 180px;
    background-color: #c4bdbc;
}

.info-section {
    background: #ffffff;
    padding: 90px 20px;
    margin-bottom: 30px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08),
                0 15px 55px rgba(0, 0, 0, 0.06);
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    animation: slideIn 3s ease-in-out infinite;
}

@keyframes slideIn {
    0%, 100% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
}

.info-section:hover {
    transform: translateY(-2px);
    margin-bottom: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12),
                0 20px 70px rgba(0, 0, 0, 0.08);
}

.info-section:nth-child(odd) {
    background: #ffffff;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08),
                0 15px 55px rgba(0, 0, 0, 0.06);
}

.info-section:nth-child(odd)::before {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.info-section:nth-child(odd):hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12),
                0 20px 70px rgba(0, 0, 0, 0.08);
}

.info-section-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

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

.info-section:nth-child(1) .info-section-content {
    animation-delay: 0.1s;
}

.info-section:nth-child(2) .info-section-content {
    animation-delay: 0.2s;
}

.info-section:nth-child(3) .info-section-content {
    animation-delay: 0.3s;
}

.info-section:nth-child(4) .info-section-content {
    animation-delay: 0.4s;
}

.info-section:nth-child(5) .info-section-content {
    animation-delay: 0.5s;
}

.info-section h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: #000;
    letter-spacing: 8px;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    text-align: center;
    position: relative;
    padding-bottom: 0;
    text-transform: uppercase;
    transition: letter-spacing 0.3s ease;
}

.info-section:hover h2 {
    letter-spacing: 10px;
}

.info-section h2::after {
    content: none;
}

.info-section h3 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-top: 35px;
    margin-bottom: 20px;
    color: #000;
    letter-spacing: 2px;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    text-align: justify;
    text-transform: uppercase;
}

.info-section ul {
    list-style-type: disc;
    margin: 20px 0;
    padding-left: 40px;
    text-align: left;
}

.info-section li {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 12px;
    color: #000;
    line-height: 1.8;
    letter-spacing: 0.5px;
}

.info-section a {
    color: #000;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.info-section a:hover {
    opacity: 0.7;
}

.gift-button {
    display: block;
    margin: 30px auto 0;
    width: fit-content;
    padding: 18px 45px;
    border: 2px solid #000;
    background-color: transparent;
    color: #000;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gift-button:hover {
    background-color: #000;
    color: #fff;
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.info-section p {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: #000;
    line-height: 1.8;
    text-align: justify;
    letter-spacing: 0.5px;
}

.date-header {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: #000;
    text-align: center;
    margin-bottom: 15px;
    margin-top: 5px;
    text-transform: none;
}

.location-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: #000;
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
}

.map-container {
    width: 100%;
    margin: 40px 0;
    text-align: center;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

.travel-info {
    font-weight: 400;
    margin-top: 40px;
    margin-bottom: 15px;
    text-align: left;
}

@media (max-width: 768px) {
    .map-container {
        margin: 30px 0;
    }
    
    .map-container iframe {
        height: 350px;
    }
    
    .date-header {
        font-size: 1.3rem;
        letter-spacing: 1.5px;
    }
    
    .location-subtitle {
        font-size: 1.05rem;
        margin-bottom: 30px;
    }
    
    .travel-info {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .map-container {
        margin: 25px 0;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .date-header {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
    
    .location-subtitle {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .travel-info {
        margin-top: 25px;
        font-size: 0.95rem;
    }
}

footer {
    text-align: center;
    padding: 100px 20px 80px;
    background-color: #fff;
    font-size: 1rem;
    color: #000;
    font-style: normal;
    position: relative;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    z-index: 10;
}

footer p {
    font-weight: 300;
    letter-spacing: 1px;
}

/* Responsive design */
@media (max-width: 768px) {
    .navbar {
        left: 80px;
        right: 80px;
        padding: 15px 30px;
        height: 60px;
    }
    
    .nav-menu {
        gap: 25px;
    }
    
    .nav-menu li a {
        font-size: 0.85rem;
    }
    
    .nav-rsvp-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    header {
        margin: 0 80px 30px 80px;
        min-height: 400px;
    }
    
    .header-images-grid {
        height: 400px;
    }
    
    .header-overlay {
        padding: 8px 20px;
    }
    
    .header-text {
        font-size: 0.95rem;
    }
    
    header h1 {
        font-size: 3rem;
        letter-spacing: 6px;
        text-align: center;
    }
    
    main {
        padding: 0 80px 0 80px;
    }
    
    .info-section {
        padding: 70px 20px;
    }
    
    .info-section-content {
        padding: 0 30px;
    }
    
    .info-section h2 {
        font-size: 1.6rem;
        letter-spacing: 5px;
    }
    
    .info-section p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .navbar {
        left: 0;
        right: 0;
        padding: 10px 20px;
        height: 60px;
        justify-content: flex-start;
        gap: 10px;
    }
    
    .nav-logo {
        font-size: 1.3rem;
        letter-spacing: 3px;
        order: 1;
    }
    
    .hamburger {
        display: flex;
        order: 2;
        margin-left: auto;
        margin-right: auto;
    }
    
    .nav-rsvp-btn {
        order: 3;
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .nav-menu {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transition: top 0.3s ease;
        order: 4;
    }
    
    .nav-menu.active {
        top: 60px;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu li a {
        font-size: 1rem;
        display: block;
    }
    
    .mobile-only {
        display: none;
    }
    
    .desktop-only {
        display: inline-block;
    }
    
    header {
        margin: 0 20px 30px 20px;
        min-height: 400px;
    }
    
    .header-images-grid {
        display: none;
    }
    
    .header-carousel {
        display: block;
    }
    
    .header-overlay {
        max-width: 100%;
        padding: 8px 15px;
    }
    
    .header-text {
        font-size: 0.8rem;
    }
    
    header h1 {
        font-size: 2rem;
        letter-spacing: 4px;
        text-align: center;
    }
    
    main {
        padding: 0 20px 0 20px;
    }
    
    .info-section {
        padding: 60px 20px;
    }
    
    .info-section-content {
        padding: 0 20px;
    }
    
    .info-section h2 {
        font-size: 1.3rem;
        letter-spacing: 3px;
        margin-bottom: 30px;
    }
    
    .info-section h3 {
        text-align: center;
    }
    
    .info-section p {
        font-size: 0.95rem;
    }
    
    footer {
        padding: 70px 20px 60px;
    }
}
