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

body {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #fff;
    outline: 1px solid red;

}

/*Foto*/
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), 
                      url('immagini/background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: -50px;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-box {
    border: 3px solid rgba(255, 255, 255, 0.9);
    padding: 80px 120px;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2px);
    display: inline-block;
    animation: fadeInUp 1s ease-out;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px;
    z-index: 999;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
    transition: all 0.3s ease;
}

.logo .monogram {
    font-family: 'Montserrat', serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: #fff;
    letter-spacing: 3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 45px;
    align-items: center;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #ddd;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease;
}

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

.rsvp-link {
    padding: 10px 25px;
    border: 1px solid #fff;
    border-radius: 3px;
}

.rsvp-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

/*Riquadro Nomi*/
.couple-names {
    font-family: 'Montserrat', serif;
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: #fff;
}

.divider-line {
    width: 60px;
    height: 1px;
    background: #fff;
    margin: 25px auto;
}

.wedding-text {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

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

/* Countdown Container */
.countdown-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.5);
    padding: 20px 20px 20px;
    text-align: center;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.countdown-title {
    font-family: 'Montserrat', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #4a4a4a;
    margin-bottom: 35px;
    letter-spacing: 1px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
}

.countdown-number {
    font-family: 'Montserrat', serif;
    font-size: 4rem;
    font-weight: 300;
    color: #4a4a4a;
    line-height: 1;
    margin-bottom: 10px;
}

.countdown-label {
    font-size: 0.85rem;
    font-weight: 400;
    color: #4a4a4a;
    letter-spacing: 2px;
    text-transform: lowercase;
}

/* Happy Couple Section */
.happy-couple {
    background: #f5f5f5;
    padding: 100px 20px 120px;
    min-height: 0vh;
}

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

.section-title {
    font-family: 'Montserrat', serif;
    font-size: 3rem;
    font-weight: 400;
    color: #B7410E;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: 2px;
}

.section-title-story {
    font-family: 'Montserrat', serif;
    font-size: 3rem;
    font-weight: 400;
    color: #B7410E;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: 2px;
}

.couple-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 20px;
    position: relative;
}

/* Photo Wrapper */
.couple-photo-wrapper {
    position: relative;
    display: flex;
}

.left-photo {
    justify-content: flex-end;
    padding-right: 20px;
}

.right-photo {
    justify-content: flex-start;
    padding-left: 20px;
}

.photo-frame {
    position: relative;
    width: 400px;
    height: 500px;
}

.photo-frame::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    border: 4px solid #B7410E;
    z-index: 1;
}

.groom-item .photo-frame::before {
    top: -25px;
    left: -25px;
}

.bride-item .photo-frame::before {
    bottom: 70px;
    right: 50px;
}

.couple-photo {
    width: 80%;
    height: 80%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

/* Couple Info */
.couple-info {
    padding: 40px 20px;
}

.left-info {
    text-align: left;
    padding-left: 40px;
}

.right-info {
    text-align: left;
    padding-right: 40px;
}

.couple-name {
    font-family: 'Montserrat', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #B7410E;
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.couple-role {
    font-size: 1.1rem;
    font-weight: 300;
    color: #C1521E;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.divider-small {
    width: 50px;
    height: 1px;
    background: #B7410E;
    margin: 25px 0 30px 0;
}

.couple-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
    font-weight: 300;
}

/* Love Story Section */
.love-story {
    background: #ffffff;
    padding: 80px 20px 120px;
    min-height: 0vh;
    display: flex;
    align-items: center;
    position: relative;
}

.love-story::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 50%;
    background: rgba(239, 83, 86, 0.20);
    z-index: 0;
}

.story-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Story Slider */
.story-slider {
    position: relative;
    overflow: hidden;
    margin-top: 110px;
}

.story-slide {
    display: none;
    animation: fadeIn 0.8s ease-in-out;
}

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

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.story-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(239, 83, 86, 0.15);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-image:hover img {
    transform: scale(1.05);
}

.story-text {
    padding: 40px;
}

.story-title {
    font-family: 'Montserrat', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #B7410E;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.story-divider {
    width: 60px;
    height: 2px;
    background: #B7410E;
    margin: 25px 0 35px 0;
}

.story-description {
    font-size: 1rem;
    line-height: 1.9;
    color: #666;
    font-weight: 300;
}

/* Navigation Arrows */
.story-navigation {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}

.story-arrow {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 10px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
}

.story-arrow:hover {
    opacity: 1;
    transform: scale(1.1);
}

.story-arrow:active {
    transform: scale(0.95);
}

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

/* Our Photos Section */
.our-photos {
    background: #f5f5f5;
    padding: 80px 20px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.photos-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #888;
    margin-top: 15px;
    margin-bottom: 60px;
    font-weight: 300;
    font-style: italic;
}

/* Photos Slider Wrapper */
.photos-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 50px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.photos-slider {
    position: relative;
    width: 100%;
    height: 600px;
}

.photo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

.photo-slide.active {
    opacity: 1;
    pointer-events: auto;
}

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

/* Photo Navigation Arrows */
.photo-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(90, 74, 106, 0.7);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.photo-arrow:hover {
    background: rgba(90, 74, 106, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.photo-prev {
    left: 20px;
}

.photo-next {
    right: 20px;
}

/* Thumbnails */
.photo-thumbnails {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.thumbnail:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: #5a4a6a;
    opacity: 1;
    transform: scale(1.05);
}

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

/* Photo Counter */
.photo-counter {
    text-align: center;
    font-size: 1.2rem;
    color: #5a4a6a;
    font-weight: 300;
    letter-spacing: 2px;
}

#currentPhoto {
    font-weight: 600;
    font-size: 1.5rem;
}

/* ========== SEZIONE WEDDING CEREMONY ========== */

.ceremony-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.ceremony-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

.ceremony-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 60px;
    position: relative;
    min-height: 450px;
}

.ceremony-layout:last-child {
    margin-bottom: 0;
}

/* Layout 1: Info a sinistra, mappa a destra */
.layout-1 .map-wrapper {
    grid-column: 1 / 3;
    grid-row: 1;
    position: relative;
    z-index: 1;
}

.layout-1 .info-wrapper {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 40px;
}

/* Layout 2: Mappa a sinistra, info a destra */
.layout-2 .map-wrapper {
    grid-column: 1 / 3;
    grid-row: 1;
    position: relative;
    z-index: 1;
}

.layout-2 .info-wrapper {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 40px;
    justify-content: flex-end;
}

.map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 450px;
}

.ceremony-info-box {
    border: 4px solid #B7410E;
    padding: 50px 40px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 450px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.ceremony-title {
    font-family: 'Montserrat', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #3d3d3d;
    line-height: 1.2;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.ceremony-info-box .divider {
    width: 80px;
    height: 1px;
    background-color: #3d3d3d;
    margin: 0 auto 30px;
}

.ceremony-details {
    margin-bottom: 30px;
}

.detail-item {
    margin-bottom: 30px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #7a7a7a;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.detail-text {
    font-family: 'Montserrat', serif;
    font-size: 1.2rem;
    color: #3d3d3d;
    line-height: 1.6;
    font-weight: 400;
}

.map-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #B7410E;
    text-decoration: underline;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.map-link:hover {
    color: #7a6590;
    text-decoration: none;
}

/* ========== SEZIONE SUPPORT US ========== */

.support-section {
    background-color: #ffffff;
    padding: 80px 20px 0;
    position: relative;
}

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

.support-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 100px;
    gap: 40px;
}

.support-text {
    flex: 1;
}

.support-title {
    font-family: 'Montserrat', serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: #3d3d3d;
    line-height: 1.2;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.support-divider {
    width: 100px;
    height: 2px;
    background-color: #3d3d3d;
    margin-top: 20px;
}

.support-donation {
    flex: 1;
    text-align: right;
}

.donation-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #7a7a7a;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.donation-text-1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: #B7410E;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}


/* ========== FOOTER ========== */

.footer-section {
    background-color: #f5f5f5;
    padding: 60px 20px 80px; 
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.footer-container {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.footer-names {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 20px;
}

.footer-name {
    font-family: 'Montserrat', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #7a7a7a;
    letter-spacing: 1px;
    margin: 0;
}

.footer-photo {
    flex-shrink: 0;
}

.footer-photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    
    display: block;
}

.footer-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #3d3d3d;
    margin: 0;
    text-align: center;
}

/* ========== SEZIONE RSVP ========== */

.rsvp-section {
    background-color: #f5f5f5;
    padding: 100px 20px;
    position: relative;
    width: 100%;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.rsvp-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.rsvp-image {
    position: relative;
}

.rsvp-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.rsvp-form-wrapper {
    padding: 0 40px;
}

.rsvp-title {
    font-family: 'Montserrat', serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: #7a7a7a;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.rsvp-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #7a7a7a;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
    width: 100%;
    padding: 15px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #3d3d3d;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #b8a5c0;
    outline: none;
    transition: border-color 0.3s ease;
}

.rsvp-form input::placeholder,
.rsvp-form textarea::placeholder {
    color: #9b8aa8;
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
    border-bottom-color: #3d3d3d;
}

.rsvp-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c6e9f9' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 5px center;
    padding-right: 25px;
}

.rsvp-form select option {
    background-color: #f3ebf5;
    color: #3d3d3d;
}

.rsvp-form textarea {
    resize: vertical;
    min-height: 100px;
}

.rsvp-submit-btn {
    background-color: #3d3d3d;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 15px 50px;
    border: 2px solid #3d3d3d;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    align-self: flex-start;
}

.rsvp-submit-btn:hover {
    background-color: transparent;
    color: #3d3d3d;
}





















/* ========================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   ======================================== */

/* Desktop Large - 1200px */
@media (max-width: 1200px) {
    .main-nav {
        padding: 25px 40px;
    }
    
    .nav-menu {
        gap: 35px;
    }

    .hero{
        position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), 
                      url('immagini/background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    }
    
    .hero-box {
        padding: 70px 100px;
    }
    
    .couple-names {
        font-size: 4.5rem;
    }
}

/* Tablet Landscape / Desktop Small - 1024px */
@media (max-width: 1024px) {
    .main-nav {
        padding: 20px 30px;
    }
    
    .nav-menu {
        gap: 25px;
    }
    
    .nav-menu li a {
        font-size: 0.75rem;
    }
    
    .hero{
        position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), 
                      url('immagini/background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    }
    
    .hero-box {
        padding: 60px 80px;
    }
    
    .couple-names {
        font-size: 4rem;
    }
    
    .wedding-text {
        font-size: 1.8rem;
    }
    
    .countdown-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.5);
    padding: 20px 20px 20px;
    text-align: center;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    }
    
    .countdown {
        gap: 40px;
    }
    
    .countdown-number {
        font-size: 3.5rem;
    }
    
    /* Couple Section */
    .couple-item {
        gap: 20px;
    }
    
    .photo-frame {
        width: 100%;
        height: 100%;
    }
    
    .left-photo,
    .right-photo {
        justify-content: flex-end;
        padding: 20px;
    }
    
    .left-info,
    .right-info {
        padding: 20px;
    }
    
    /* Story Section */
    .story-content {
        gap: 50px;
    }
    
    .story-image {
        height: 400px;
    }
    
    .story-text {
        padding: 20px;
    }
    
    /* Ceremony Section */
    .ceremony-layout {
        grid-template-columns: 1fr;
        min-height: 400px;
    }
    
    .layout-1 .map-wrapper,
    .layout-2 .map-wrapper {
        grid-column: 1;
    }
    
    .layout-1 .info-wrapper,
    .layout-2 .info-wrapper {
        grid-column: 1;
        justify-content: center;
        padding: 30px;
    }
    
    .ceremony-info-box {
        padding: 45px 35px;
        max-width: 300px;
    }
    
    .ceremony-title {
        font-size: 2.3rem;
    }
    
    .map-wrapper {
        min-height: 400px;
    }
    
    /* RSVP Section */
    .rsvp-container {
        gap: 60px;
    }
    
    .rsvp-form-wrapper {
        padding: 0 20px;
    }
    
    .rsvp-title {
        font-size: 3rem;
    }
}




















/* Tablet Portrait - 768px */
@media (max-width: 768px) {
    /* Navigation - Menu Hamburger */
    .hamburger {
        display: flex;
    }
    
    .main-nav {
        padding: 20px;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
    }
    
    .logo .monogram {
        font-size: 2rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
        flex-direction: column;
        justify-content: flex-start;
        padding: 50px 20px;
        gap: 30px;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li a {
        font-size: 1.2rem;
    }
    
    /* Hero Section */
    .hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), 
                      url('immagini/background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    }
    
    .hero-content {
        margin-top: -50px;
    }
    
    .hero-box {
        padding: 40px 50px;
        border-width: 2px;
    }
    
    .couple-names {
        font-size: 3rem;
    }
    
    .wedding-text {
        font-size: 1.5rem;
    }
    
    .wedding-date {
        font-size: 1.2rem;
    }
    
    /* Countdown */
    .countdown-container {
        position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.5);
    padding: 20px 20px 20px;
    text-align: center;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    }
    
    .countdown {
        gap: 25px;
    }
    
    .countdown-number {
        font-size: 3rem;
    }
    
    .countdown-title {
        font-size: 1.4rem;
    }
    
    /* Happy Couple Section */
    .happy-couple {
        padding: 60px 20px 80px;
    }
    
    .section-title,
    .section-title-story {
        font-size: 2.5rem;
        margin-bottom: 60px;
    }
    
    .couple-item {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
    }
    
    .couple-photo-wrapper {
        justify-content: center !important;
        padding: 0 !important;
    }
    
    .c {
        width: 100%;
        max-width: 400px;
        height: 500px;
    }
    
    .couple-info {
        padding: 20px !important;
        text-align: center !important;
    }
    
    .divider-small {
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Inverti l'ordine per mobile */
    .bride-item {
        display: flex;
        flex-direction: column;
    }
    
    .bride-item .couple-photo-wrapper {
        order: 1;
    }
    
    .bride-item .couple-info {
        order: 2;
    }
    
    /* Love Story Section */




    .love-story {
    background: #ffffff;
    padding: 80px 20px 120px;
    min-height: 0vh;
    display: flex;
    align-items: center;
    position: relative;
}

.love-story::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 50%;
    background: rgba(255, 255, 255, 0.0);
    z-index: 0;
}

    
    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .story-image {
        height: 350px;
    }
    
    .story-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .story-divider {
        margin-left: auto;
        margin-right: auto;
    }
    
    .story-description {
        text-align: center;
    }
    
    .story-navigation {
        gap: 30px;
        margin-top: 40px;
    }
    
    /* Photos Section */
    .photos-slider {
        height: 400px;
    }
    
    .photo-arrow {
        width: 40px;
        height: 40px;
    }
    
    .photo-prev {
        left: 10px;
    }
    
    .photo-next {
        right: 10px;
    }
    
    .thumbnail {
        width: 70px;
        height: 70px;
    }
    
    .photo-thumbnails {
        gap: 10px;
    }
    
    /* Ceremony Section */
    .ceremony-section {
        padding: 60px 15px;
    }
    
    .ceremony-layout {
        margin-bottom: 40px;
        min-height: 380px;
    }
    
    .layout-1 .info-wrapper,
    .layout-2 .info-wrapper {
        padding: 20px;
    }
    
    .ceremony-info-box {
        padding: 40px 30px;
        max-width: 200px;
    }
    
    .ceremony-title {
        font-size: 2.1rem;
        letter-spacing: 2px;
    }
    
    .detail-text {
        font-size: 1.1rem;
    }
    
    .map-wrapper {
        min-height: 380px;
    }
    
    /* RSVP Section */
    .rsvp-section {
        padding: 80px 20px;
    }
    
    .rsvp-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .rsvp-image {
        text-align: center;
    }
    
    .rsvp-image img {
        max-width: 400px;
    }
    
    .rsvp-form-wrapper {
        padding: 0;
    }
    
    .rsvp-title {
        font-size: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    
    .support-content {
        flex-direction: column;
        text-align: center;
    }
    
    .support-donation {
        text-align: center;
    }

.donation-text-1 {
    font-size: 1.3rem;
    color: #B7410E;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}
    
    /* Footer */
    
    .footer-names {
        gap: 30px;
    }
    
    .footer-name {
        font-size: 2rem;
    }
    
    .footer-photo img {
        width: 70px;
        height: 70px;
    }
    
    .footer-date {
        font-size: 0.85rem;
    }
}

/* Mobile Large - 480px */
@media (max-width: 480px) {
    /* Hero Section */
    .hero {
        position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), 
                      url('immagini/background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    }
    
    .hero-box {
        padding: 30px 25px;
    }
    
    .couple-names {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    
    .wedding-text {
        font-size: 1.2rem;
    }
    
    .wedding-date {
        font-size: 1rem;
    }
    
    /* Countdown */
    .countdown {
        gap: 15px;
    }
    
    .countdown-number {
        font-size: 2.5rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
    
    .countdown-title {
        font-size: 1.2rem;
        margin-bottom: 25px;
    }
    
    /* Sections */
    .section-title,
    .section-title-story {
        font-size: 2rem;
    }
    
    .photo-frame {
        position: relative;
        width: 80%;
        height: 80%;
    }
    
    .couple-name {
        font-size: 2rem;
    }
    
    .couple-text {
        font-size: 0.9rem;
    }
    
    /* Story Section */
    .story-title {
        font-size: 1.6rem;
    }
    
    .story-description {
        font-size: 0.9rem;
    }
    
    .story-image {
        height: 300px;
    }
    
    .story-arrow svg {
        width: 40px;
    }
    
    /* Photos Section */
    .photos-slider {
        height: 300px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    /* Ceremony Section */
    .ceremony-layout {
        min-height: 350px;
    }
    
    .layout-1 .info-wrapper,
    .layout-2 .info-wrapper {
        padding: 15px;
    }
    
    .ceremony-info-box {
        padding: 30px 25px;
        border: 3px solid #B7410E;
        max-width: 80%;
    }
    
    .ceremony-title {
        font-size: 1.8rem;
    }
    
    .detail-label {
        font-size: 0.75rem;
    }
    
    .detail-text {
        font-size: 1rem;
    }
    
    .map-wrapper {
        min-height: 350px;
    }
    
    /* RSVP Section */
    .rsvp-section {
        padding: 60px 20px;
    }
    
    .rsvp-title {
        font-size: 2rem;
    }
    
    .rsvp-subtitle {
        font-size: 0.85rem;
    }
    
    .rsvp-image img {
        max-width: 100%;
    }
    
    .rsvp-submit-btn {
        width: 100%;
        padding: 15px 30px;
    }
    
    /* Support Section */
    .support-title {
        font-size: 2.5rem;
    }
    
    /* Footer */

    
    .footer-names {
        gap: 20px;
    }
    
    .footer-name {
        font-size: 1.6rem;
    }
    
    .footer-photo img {
        width: 60px;
        height: 60px;
        border: 2px solid;
    }
    
    .footer-date {
        font-size: 0.8rem;
    }
}

/* Mobile Small - 320px */
@media (max-width: 320px) {
    .couple-names {
        font-size: 1.8rem;
    }
    
    .wedding-text {
        font-size: 1rem;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .section-title,
    .section-title-story {
        font-size: 1.6rem;
    }
    
    .ceremony-title {
        font-size: 1.5rem;
    }
    
    .rsvp-title {
        font-size: 1.6rem;
    }
}

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

.hero-box {
    animation: fadeInUp 1s ease-out;
}

.countdown-container {
    animation: fadeInUp 1.2s ease-out 0.3s both;
}
