/* 1. FONTS IMPORT */
* {
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Montserrat:wght@200;300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Parisienne&display=swap');



/* ANIMATIONS */
@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.11);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.11);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes magicalOpen {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: scale(5) rotate(720deg);
        opacity: 0;
        filter: blur(10px);
    }
}

/* 2. GENERAL STYLES */
.content-to-blur {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    overflow-x: hidden;
    z-index: -1;
    background-image: url('../IMG/oran.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}



.main-container {
    padding: 20px;
    max-width: 550px;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
    margin: 0 auto;
}

/* 3. NAMES HEADER */
.names {
    font-weight: 700;
    letter-spacing: 3px;
    font-size: clamp(2rem, 12vw, 3.5rem);
    margin-bottom: 35px;
    color: #FF8C00;
    margin-top: 10px;
    font-family: 'Great Vibes', cursive !important;
    text-align: center;
    line-height: 1.1;
}

.first,
.second {
    margin: 0;
}

/* 4. IMAGES */
.top-image {
    width: clamp(120px, 40vw, 200px);
    height: auto;
    margin: 12px 0;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}


.envelope-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.envelope-wrapper {
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0 1px 0;


}

.envelope-btn {
    width: clamp(150px, 33vw, 160px);
    cursor: pointer;
    max-width: 85%;
    height: auto;
    margin: 1px 0 5px 0;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.4);
    transition: all 0.5s ease;
    animation: heartbeat 3s infinite ease-in-out;

}

.click-me-badge {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #FF8C00;
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    width: auto;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.ouvrir {
    top: 40%;
}

.envelope-opening {
    transform: scale(2) rotate(-5deg);
    opacity: 0;
    pointer-events: none;
    animation: magicalOpen 1.2s forwards cubic-bezier(0.45, 0.05, 0.55, 0.95);
    /*prevents double clicking*/
}

.blur-active {
    filter: blur(8px);
    transition: filter 0.8s ease;
}

.envelope-btn:hover {
    transform: scale(1.05);
    /* Hover effect */
}

.main-container .blur-effect {
    filter: blur(5px);
    transition: filter 0.1s ease;
}

/* 5. HANDWRITTEN TEXT STYLE */
.announcement {
    font-family: 'Great Vibes', cursive !important;
    /* Elegant calligraphy */
    font-size: 1.5rem !important;
    font-weight: 400;
    margin: 20px 0 25px 0 !important;
    letter-spacing: 3px;
    color: #707070;
    text-transform: none !important;
    /* Keep lowercase for script effect */
    /* text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4); */
}

/* 6. INSTRUCTIONS & FOOTER */
.instruction {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 10px;
    opacity: 0.9;
    color: #b89241;
}

.petit-instruction {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 10px;
    opacity: 0.9;
    color: #b89241;
}

footer {
    margin-top: 1px;
    font-size: 0.9rem;
    opacity: 0.6;
    color: #333;
}



/* 7. LANDING PAGE MODAL (Full screen scrolling) */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    /* White background for the landing page effect */
    overflow-y: auto;
    /* Enable vertical scrolling for the invitation images */
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    filter: none !important;
}

.modal-content {
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
    /* Best width for mobile reading */
    position: relative;
    background-color: #fff;
}

/* 8. INVITATION IMAGES (Seamless scroll) */
.scroll-container {
    display: flex;
    flex-direction: column;
}



/* 9. FLOATING CLOSE BUTTON */
.close-btn {
    position: fixed;
    right: 20px;
    top: 20px;
    font-size: 30px;
    font-weight: bold;
    color: rgb(48, 44, 44);
    cursor: pointer;
    z-index: 10000;
    background: none;
    width: 38px;
    height: 38px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* .bg2{
    background-image: url('../IMG/BG2.jpg');
} */




.calendar-container {
    padding: clamp(20px, 5vw, 40px) clamp(10px, 3vw, 30px);
    box-sizing: border-box;
    color: #333;
    text-align: center;
    background-image: url('../IMG/BG2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.month {
    letter-spacing: 5px;
    font-weight: bold;
    margin: 30px 0;
    color: #707070;
}

.calendar-table {
    width: 100%;
    margin-top: 0 auto;
    border-collapse: collapse;

}

.calendar-table th {
    font-size: 0.7rem;
    font-weight: 300;
    padding-bottom: 10px;
}

.calendar-table td {
    padding: 15px 5px;
    font-size: 0.9rem;


}


.special-day {
    color: #FF8C00;
    font-weight: bold;
    position: relative;
    z-index: 1;

}

.special-day::before {
    content: '♥';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6rem;
    opacity: 0.3;
    z-index: -1;
}

.orange {
    color: #FF8C00;
    font-weight: bold;

}

.argent {
    color: #707070;
    font-weight: bold;
}

.header-initials img {
    width: 100%;
    height: 30vh;
    z-index: 1;

}

.eb-initials {
    font-family: 'Montserrat', sans-serif;
    color: #707070;
    z-index: 1000;
    font-size: 3rem;


}



.section-text {
    margin-top: 50px;
    font-family: 'Great Vibes', cursive !important;
    font-size: 1.6rem;
    color: #707070;
}

.invitation-body {

    color: black;
}


/* .event-block styles inherited from parent */

.names-header {
    font-family: 'Great Vibes', cursive !important;
    color: #FF8C00;
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    letter-spacing: 5px;
}

.names-header .name-gold1 {
    text-align: center;
    font-size: clamp(2.5rem, 16vw, 2.5rem);
}

.names-header .name-gold2 {
    text-align: center;
    font-size: clamp(2.2rem, 8vw, 3rem);
}

.names-header .ampersand {
    font-size: 1.5rem;

}

.date-display {
    text-align: center;
    margin: 40px 0 20px 0;
    position: relative;
    /* background-image: url('../IMG/basilic.jpg'); */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.date-text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.25rem, 3.5vw, 1.25rem);
    letter-spacing: 2px;
    font-weight: 400;
    color: #707070;
    margin: 0;
    text-transform: uppercase;
}

.line-shadow {
    width: 50%;
    height: 15px;
    margin: 5px auto 0;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.event-block .title {
    margin: 30px 0;
    text-align: center;
}

.time {
    color: #707070;
    margin-top: 18px;
    font-weight: bolder;
    font-size: 1.5rem;
}

.timeb {
    color: #707070;
    margin-top: 18px;
    font-weight: bold;
    font-size: 1.5rem;
}



.time0 {
    margin-bottom: 20px;
}

.butn {
    display: inline-block;
    background: #FF8C00;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: clamp(0.8rem, 3vw, 1rem);
    padding: 12px clamp(20px, 6vw, 40px);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.butn0 {
    display: inline-block;
    background: rgba(255, 174, 0, 0.3);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: clamp(0.8rem, 3vw, 1rem);
    padding: 12px clamp(20px, 6vw, 40px);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.intro-text {
    font-weight: 400;
    margin-bottom: 60px;
    font-size: 1.6rem;
    color: #707070;
    font-family: 'Great Vibes', cursive !important;

}

.location-info {
    padding: 20px 0;
    text-align: center;

}

.city-title {
    color: #707070;
    font-family: 'Great Vibes', cursive !important;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.venue-details {
    color: #707070;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 30px;
}

/* --- STYLE DES CARROUSELS --- */
.carousel-container {
    width: 90%;
    max-width: 500px;
    /* Taille contenue pour rester élégant */
    margin: 20px auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #d4af37;
    /* Rappel du doré */
}

.carousel-slide {
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.carousel-slide img {
    width: 100%;
    height: 250px;
    /* Hauteur fixe pour mobile et desktop */
    object-fit: cover;
    /* Pour que l'image remplisse bien sans se déformer */
    flex-shrink: 0;
}

.loc {
    display: inline-block;
    padding: 10px 50px;
    border: 1px solid #707070;
    border-radius: 30px;
    color: #707070;
    text-decoration: none;
    font-family: 'Montserrat' sans-serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.loc:hover {
    background-color: #555353;
    color: white;
}

.civile {

    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 40px 15px;
    margin: 0 auto;
    border-radius: 10px;
}

.civile0 {
    background-image: url('../IMG/orange1.jpg');
    border-radius: 10px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.nuptiale0 {
    background-image: url('../IMG/argent3.jpg');
    border-radius: 10px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.loc1 {
    display: inline-block;
    padding: 10px 50px;
    border: 1px solid #C0C0C0;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-family: 'Montserrat' sans-serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    background-color: transparent;

}

.loc1:hover {
    background-color: #b89241;
    color: #333;
    font-weight: 500;

}

.lieu {
    color: #555353;
    font-weight: 600;
    font-size: 1.8rem;
    font-family: 'Great Vibes', cursive !important;
}

.lieu1 {
    color: #555353;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 2px;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.instruction-text0 {
    font-size: 0.75rem;
    color: white;
    font-style: italic;
    line-height: 1.4;
    max-width: 800px;
    margin: 15px auto 0;
    margin-top: 40px;
    margin-bottom: 40px;
}

.instruction-text {
    font-size: 0.75rem;
    color: #888;
    font-style: italic;
    line-height: 1.4;
    max-width: 800px;
    margin: 15px auto 0;
    margin-bottom: 40px;
}

.date {
    color: white;
}

.div2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;


}

.info .time {
    margin-bottom: 50px;
    color: #555353;
}

.empty {
    display: none;
    height: 38vh;
    width: 1px;
    background-color: #ffffff;
    /* margin-left: 350px; */

}

.imgD img {
    width: 100px;
    margin-right: 20px;
}

.image img {
    width: 20px;
}

/* resume section */
.resume-section {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.resume-title {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 8px;
    font-weight: 300;
    margin-bottom: 50px;
    color: #707070;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}

/* center line */
.vertical-line {
    position: absolute;
    width: 2px;
    background-color: #707070;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 40px;
    position: relative;
}

/* Alternate left / right */
.timeline-item.left {
    flex-direction: row-reverse;
}

.timeline-item.right {
    flex-direction: row;
}

.timeline-img,
.timeline-content {
    width: 50%;
    padding: 0 15px;
    box-sizing: border-box;
}

.timeline-img img {
    width: clamp(120px, 110vw, 120px);
    height: auto;
}

/* style resume */
.event-name {
    color: #707070;
    text-transform: none;
    font-family: 'Great Vibes', cursive !important;
    font-weight: bold;
    text-decoration: underline;
    margin-bottom: 5px;
    font-size: clamp(1.6rem, 15vw, 1.6rem);
}

.event-date {
    color: orange;
    font-weight: bold;
    font-size: 1.1rem;
}

.event-details,
.event-loc {
    font-size: 1.1rem;
    color: #555;
    margin: 2px 0;
}

/* horizontal lines linked to the vertical one */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: #000;
    left: 50%;
    transform: translateX(-50%);
}




/* Accommodation Section */
.accommodation-section {
    padding: 80px 20px;
    background-color: #fdfdfd;
    text-align: center;
}

.accommodation-section .resume-title {
    margin-bottom: 30px;
}

.hotel-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    margin: 40px auto;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.hotel-card:hover {
    transform: translateY(-5px);
}

.hotel-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.hotel-info {
    padding: 40px 30px;
}

.hotel-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hotel-desc {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 400;
}

.btn-book {
    display: inline-block;
    background: #FF8C00;
    color: white;
    padding: 15px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.2);
    text-transform: uppercase;
}

.btn-book:hover {
    background: #e67e00;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
}

@media screen and (max-width: 480px) {
    .hotel-image {
        height: 200px;
    }

    .hotel-info {
        padding: 30px 20px;
    }

    .hotel-name {
        font-size: 1.3rem;
    }

    .hotel-desc {
        font-size: 1.1rem;
    }

    .btn-book {
        padding: 12px 30px;
        font-size: 0.85rem;
    }
}

.rsvp-section {
    position: relative;
    background-image: url('../IMG/jfa.jpg');
    /* couple imege */
    background-size: cover;
    background-position: center top;
    min-height: 100vh;
    color: white;
    text-align: center;
}

.rsvp-overlay {
    background: rgba(32, 32, 32, 0.5);
    /* darken filter to read the texts */
    padding: 10px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.rsvp-intro {
    font-size: 2.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin-bottom: 150px;
    font-family: 'Great Vibes', cursive !important;
}

.rsvp-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 250px;
}

.btn-rsvp {
    text-decoration: none;
    color: white;
    border: 1.5px solid orange;
    /* golden border */
    padding: 12px;
    border-radius: 30px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: background 0.3s;
}

.btn-rsvp:hover {
    background: rgba(184, 146, 65, 0.3);
}

.thanks-text {
    font-family: 'Great Vibes', cursive;
    font-size: 2.6rem;
    color: rgb(255, 255, 255);
    margin: 50px 0 20px;
    letter-spacing: 2px;
}



/* Golden wave at bottom of image */
.gold-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to top, #D4A341, transparent);
    opacity: 0.6;
}

/* Style du Footer */
.footer-arielle {
    margin-top: 0;
    padding: 16px 6px;
    text-align: center;

    font-family: 'Arial', sans-serif;
    background-color: #000000;
}

.footer-arielle p {
    font-size: 14px;
    color: #ffffff;
    /* margin-bottom: 8px; */
}

.footer-links a {
    text-decoration: none;
    color: #FF8C00;
    font-size: 13px;
    margin: 0 10px;
    /* display: inline-block; */
}

.footer-links a:hover {
    text-decoration: underline;
}

/* --- LANGUAGE DROPDOWN --- */
.custom-dropdown {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1100;
    user-select: none;
    min-width: 80px;
}

.dropdown-selected {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 12px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.dropdown-selected:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.dropdown-options {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 100px;
}

.dropdown-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.option {
    padding: 10px 15px;
    color: #333;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}

.option:hover {
    background: rgba(255, 140, 0, 0.1);
    color: #FF8C00;
}

.option span {
    font-size: 1.1rem;
}

.arrow-down {
    border: solid white;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2.5px;
    transform: rotate(45deg);
    margin-left: 2px;
}

/* Modal view adjustments */
.modal .custom-dropdown {
    position: fixed;
    top: 22px;
    right: 75px;
    z-index: 10001;
}

.modal .dropdown-selected {
    color: #333;
    border-color: rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.05);
}

.modal .arrow-down {
    border-color: #333;
}

@media screen and (max-width: 480px) {
    .custom-dropdown {
        top: 15px;
        right: 15px;
    }

    .modal .custom-dropdown {
        right: 65px;
    }
}






/* --- MEDIA QUERIES --- */

/* Tablet (481px – 768px) */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .main-container {
        padding: 15px;
    }

    .envelope-btn {

        width: clamp(90px, 10vw, 50px);
        margin: 5px 0 10px 0;

    }

    .envelope-wrapper {
        position: relative;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 55px 0;
    }

    .calendar-container {
        padding: 30px 30px;
    }

    .landing-page-container {
        max-width: 600px;
        margin: 0 auto;
    }

    .instruction {
        font-size: 0.7rem;
        padding: 2 7px;
        line-height: 1;
        color: black;
        margin-top: 10px;

    }

    /* .date-text */

    .petit-instruction {
        font-size: 0.7rem;
        padding: 0 7px;
        line-height: 1;
        color: black;
        margin-top: 10px;
    }

    .top-image {
        width: clamp(120px, 40vw, 120px);
        height: auto;
        margin: 5px 0;
    }

    .names {
        letter-spacing: 4px;
        font-size: 2.5rem;
        font-weight: 650px;
        margin-bottom: 2px;

    }

    .special-day::before {
        font-size: 3.5rem;
    }

    .announcement {
        font-size: 1.3rem !important;
        margin: 13px 0 18px 0 !important;
        letter-spacing: 2px;



    }

    .intro-text {
        font-size: 1.6rem;
        padding: 0 10px;
        margin-bottom: 40px;
    }

    .city-title {
        font-size: 1.6rem;
    }

    .time {
        margin-top: 1px;
        font-weight: bold;
        font-size: 1.5rem;
        color: #555353;
    }

    .lieu {

        font-size: 1.4;
    }

    .lieu1 {

        font-size: 1.4rem;
        letter-spacing: 2px;
        margin: 0;
        margin-bottom: 10px;
        max-width: 300px;
    }

    .butn0 {
        margin-bottom: 2px;
    }

    .instruction-text0 {
        font-size: 0.75rem;
        line-height: 1.4;
        max-width: 280px;
        margin-bottom: 20px;

    }

    .loc1 {
        display: inline-block;
        padding: 10px 40px;
        margin-bottom: 5px;
        font-size: 0.9rem;
    }

    .click-me-badge {
        padding: 5px 10px;
        font-size: 0.75rem;
        font-weight: 600;
        width: auto;
        white-space: nowrap;
        top: -40px !important;
        z-index: 100;
    }

    .rsvp-intro {
        font-size: 1.6rem;
        padding: 0 10px;
        max-width: 400px;
    }

    .section-text {
        font-size: 1.6rem;
    }

    .event-name {
        font-size: 1.6rem;
    }

    .event-details,
    .event-loc {
        font-size: 1.1rem;
    }

    .event-date {
        font-size: 1.1rem;
    }

    .venue-details {
        font-size: 0.9rem;
    }

    .footer-arielle {
        margin-top: 0;
        padding: 8px 1px;
        text-align: center;

        font-family: 'Arial', sans-serif;
        background-color: #000000;
    }

    .footer {
        margin-top: 30px;

    }

}

@media screen and (min-width: 480px) {
    .petit-instruction {
        font-size: 0.7rem;
        padding: 0 7px;
        line-height: 1;
        display: none;

    }

    .section-text {

        font-size: 1.6rem;

    }

    .special-day::before {
        font-size: 3.5rem;
    }

    .time {
        color: #707070;
    }

    .envelope-wrapper {
        position: relative;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 35px 0;
    }

    .envelope-btn {

        width: clamp(90px, 10vw, 50px);
        margin: 5px 0 10px 0;

    }


    .click-me-badge {
        /* position: absolute; */
        padding: 4px 4px;
        font-size: 0.57rem;
        font-weight: 560;
        width: 250px;
        height: 13px;
        /* top: 78%; */
        margin-top: 30px !important;
        top: 0 !important;
        /* position: relative; */

    }

    .announcement {
        margin-bottom: 2px;
        margin: 8px 0 10px 0 !important;
        font-size: 1.3rem;
    }

    .intro-text {
        font-size: 1.6rem;
        padding: 0 10px;
        margin-bottom: 40px;
    }

    .lieu1 {

        font-size: 0.9rem;
        letter-spacing: 2px;
        margin: 0;
        margin-bottom: 10px;
        max-width: 300px;
    }

    .rsvp-intro {
        font-size: 1.6rem;
        padding: 0 10px;
        max-width: 400px;
    }

    .names {
        font-size: 3rem;
    }

    .venue-details {
        font-size: 0.9rem;
    }

}

/* Mobile (≤ 480px) */
@media screen and (max-width: 480px) {

    .main-container {
        padding: 10px;
    }

    .names {
        letter-spacing: 3px;
        font-weight: 650px;
        font-size: 3rem;
    }

    .instruction {
        font-size: 0.7rem;
        padding: 0 7px;
        line-height: 1.7;
        /* display: none; */

    }

    .envelope-wrapper {
        position: relative;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 15px 0;
    }

    .click-me-badge {
        top: -40px !important;
        left: 50%;
        transform: translateX(-50%);
        padding: 5px 10px;
        font-size: 0.75rem;
        width: auto;
        white-space: nowrap;
        z-index: 100;
    }

    .announcement {
        font-size: 1.3rem;
    }

    .envelope-btn {
        width: clamp(100px, 36vw, 130px);
    }

    .calendar-container {
        padding: 20px 10px;
    }

    .calendar-table {
        width: 100%;
        max-width: 100%;
        margin-top: 10px;
        border-collapse: collapse;
        padding: 0;
    }

    .calendar-table th {
        font-size: 0.65rem;
        padding-bottom: 6px;
    }

    .calendar-table td {
        padding: 8px 4px;
        font-size: 0.85rem;
    }

    .special-day::before {
        font-size: 3rem;
    }

    .eb-initials {
        font-size: 2.2rem;
    }

    .section-text {
        margin-top: 30px;
        font-size: 1.5rem;
        padding: 0 10px;
    }

    .time {
        color: #707070;
        margin-top: 7px;
        font-weight: bold;
        font-size: 1.6rem;
    }

    /* Timeline: stack vertically on mobile */
    .vertical-line {
        display: none;
    }

    .timeline-item,
    .timeline-item.left,
    .timeline-item.right {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .timeline-item::after {
        display: none;
    }

    .timeline-img,
    .timeline-content {
        width: 100%;
        padding: 0 10px;
    }

    .timeline-img {
        margin-bottom: 10px;
    }

    .timeline-img img {
        width: 60px;
    }

    .resume-section {
        padding: 40px 10px;
    }

    .loc,
    .loc1 {
        padding: 10px 30px;
    }

    .civile {
        width: 100%;
        border-radius: 0;
    }

    .rsvp-intro {
        font-size: 1.6rem;
        padding: 0 10px;
    }

    .intro-text {
        font-size: 1.6rem;
        padding: 0 10px;
        margin-bottom: 40px;
    }

    .instruction-text,
    .instruction-text0 {
        padding: 0 10px;
    }

    .lieu1 {

        font-size: 0.9rem;
        letter-spacing: 2px;
        margin: 0;
        margin-bottom: 10px;
        max-width: 300px;
    }




}