body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffe4e1;
    margin: 0;
    padding: 0;
    text-align: center;
    color: #4a3c31;
    background-image: url('texture-background.png');
    background-size: cover;
    background-repeat: repeat;
    background-position: center;
    background-blend-mode: overlay;
}

main {
    margin: 0;
    padding: 0;
}

/* Bunting Flags - Desktop */
.bunting-desktop {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    position: relative;
    z-index: 1;
    margin: 0 auto;
    text-align: center;
}

.bunting-desktop img {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
}

/* Bunting Flags - Mobil */
.bunting-mobile {
    display: none;
    width: 90%;
    max-width: 900px;
    height: auto;
    position: relative;
    z-index: 1;
    margin: 0 auto;
    text-align: center;
}

.bunting-mobile img {
    width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

/* Banner - Desktop */
.banner-desktop {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    position: relative;
    z-index: 1;
    margin: 0 auto;
    text-align: center;
}

.banner-desktop h3 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    color: #d4a373;
    margin: 10px 0;
}

/* Banner - Mobil */
.banner-mobile {
    display: none;
    width: 90%;
    max-width: 900px;
    height: auto;
    position: relative;
    z-index: 1;
    margin: 0 auto;
    text-align: center;
}

.banner-mobile h3 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    color: #d4a373;
    margin: 5px 0;
}

/* Invitație - Desktop */
.invitation-desktop {
    display: block;
    margin: 0 auto;
    padding: 20px 0;
    width: 100%;
    max-width: 900px;
    position: relative;
    text-align: center;
}

.rectangle-container-desktop {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.rectangle-image-desktop {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Invitație - Mobil */
.invitation-mobile {
    display: none;
    margin: 0 auto;
    padding: 10px 0;
    width: 90%;
    max-width: 900px;
    position: relative;
    text-align: center;
}

.rectangle-container-mobile {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.rectangle-image-mobile {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

/* RSVP - Desktop */
.rsvp-desktop {
    display: block;
    margin: -40px auto;
    max-width: 900px;
    padding: 20px;
    text-align: center;
}

.rsvp-desktop h2 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    color: #d4a373;
    margin: 10px 0;
}

.rsvp-desktop label {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: #4a3c31;
    margin-bottom: 5px;
    display: block;
    text-align: center;
}

.rsvp-desktop input,
.rsvp-desktop select,
.rsvp-desktop textarea {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #d4a373;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    color: #a9a9a9;
    font-family: 'Montserrat', sans-serif;
}

.rsvp-desktop textarea {
    resize: vertical; /* Permite redimensionarea doar pe verticală */
    height: 100px; /* Înălțime mai mare pentru a fi spațioasă */
}

.rsvp-desktop button {
    background-color: #d4a373;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.rsvp-desktop button:hover {
    background-color: #b0865a;
}

.rsvp-desktop #rsvpMessage {
    margin-top: 10px;
    color: #4a3c31;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
}

/* RSVP - Mobil */
.rsvp-mobile {
    display: none;
    margin: -40px auto;
    max-width: 90%;
    padding: 10px;
    text-align: center;
}

.rsvp-mobile h2 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    color: #d4a373;
    margin: 5px 0;
}

.rsvp-mobile label {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: #4a3c31;
    margin-bottom: 5px;
    display: block;
    text-align: center;
}

.rsvp-mobile input,
.rsvp-mobile select,
.rsvp-mobile textarea {
    width: 100%;
    max-width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #d4a373;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: clamp(0.7rem, 1.1vw, 0.9rem);
    color: #a9a9a9;
    font-family: 'Montserrat', sans-serif;
}

.rsvp-mobile textarea {
    resize: vertical; /* Permite redimensionarea doar pe verticală */
    height: 80px; /* Înălțime mai mică pentru mobil */
}

.rsvp-mobile button {
    background-color: #d4a373;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.rsvp-mobile button:hover {
    background-color: #b0865a;
}

.rsvp-mobile #rsvpMessage {
    margin-top: 8px;
    color: #4a3c31;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
}

/* Maps - Desktop */
.maps-desktop {
    display: block;
    margin: 0 auto;
    max-width: 900px;
    padding: 20px;
    text-align: center;
}

.maps-desktop .map-item {
    margin-bottom: 90px;
}

.maps-desktop .map-item h3 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    color: #d4a373;
    margin: 20px 0 5px 0;
}

.maps-desktop .map-item .event-time {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: #4a3c31;
    margin: 0 0 10px 0;
    font-weight: bold;
}

.maps-desktop .map-item p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: #4a3c31;
    margin-bottom: 10px;
}

.maps-desktop .map-item iframe {
    width: 100%;
    height: 300px;
}

/* Maps - Mobil */
.maps-mobile {
    display: none;
    margin: 0 auto;
    max-width: 90%;
    padding: 10px;
    text-align: center;
}

.maps-mobile .map-item {
    margin-bottom: 60px;
}

.maps-mobile .map-item h3 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    color: #d4a373;
    margin: 15px 0 5px 0;
}

.maps-mobile .map-item .event-time {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: #4a3c31;
    margin: 0 0 5px 0;
    font-weight: bold;
}

.maps-mobile .map-item p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: #4a3c31;
    margin-bottom: 5px;
}

.maps-mobile .map-item iframe {
    width: 100%;
    height: 200px;
}

/* Detalii - Desktop */
.details {
    margin-top: 40px;
}

.details .maps-desktop .map-item.details .details-box {
    border: 2px solid #d4a373;
    border-radius: 5px;
    padding: 20px;
    max-width: 100%;
    width: auto;
    margin: 10px auto;
    min-height: 150px;
    background: rgba(255, 255, 250, 0.5);
    box-sizing: border-box;
}

.details .maps-desktop .map-item.details h3 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    color: #d4a373;
    margin: 20px 0 5px 0;
}

.details .maps-desktop .map-item.details h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    color: #d4a373;
    margin: 15px 0 5px 0;
    font-weight: bold;
}

.details .maps-desktop .map-item.details p {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    color: #4a3c31;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Detalii - Mobil */
.details {
    margin-top: 20px;
}

.details .maps-mobile .map-item.details .details-box {
    border: 2px solid #d4a373;
    border-radius: 5px;
    padding: 15px;
    max-width: 100%;
    width: auto;
    margin: 5px auto;
    min-height: 100px;
    background: rgba(255, 255, 250, 0.5);
    box-sizing: border-box;
}

.details .maps-mobile .map-item.details h3 {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    color: #d4a373;
    margin: 15px 0 5px 0;
}

.details .maps-mobile .map-item.details h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    color: #d4a373;
    margin: 10px 0 5px 0;
    font-weight: bold;
}

.details .maps-mobile .map-item.details p {
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    color: #4a3c31;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* Footer - Desktop */
.footer-desktop {
    display: block;
    background-color: #d4a373;
    color: white;
    padding: 10px 0;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1;
    text-align: center;
}

.footer-desktop a {
    color: white;
    text-decoration: none;
}

.footer-desktop a img {
    width: 20px; /* Dimensiune icon WhatsApp */
    height: auto;
    vertical-align: middle; /* Aliniere verticală cu textul */
    margin: 0 2px; /* Spațiu între icon și text */
}

.footer-desktop a:hover img {
    opacity: 0.8; /* Efect hover pentru icon */
}

/* Footer - Mobil */
.footer-mobile {
    display: none;
    background-color: #d4a373;
    color: white;
    padding: 8px 0;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1;
    text-align: center;
}

.footer-mobile a {
    color: white;
    text-decoration: none;
}

.footer-mobile a img {
    width: 20px; /* Dimensiune icon WhatsApp */
    height: auto;
    vertical-align: middle; /* Aliniere verticală cu textul */
    margin: 0 2px; /* Spațiu între icon și text */
}

.footer-mobile a:hover img {
    opacity: 0.8; /* Efect hover pentru icon */
}

/* Responsive Design */
@media (max-width: 600px) {
    .bunting-desktop, .banner-desktop, .invitation-desktop, .rsvp-desktop, .maps-desktop, .footer-desktop {
        display: none;
    }
    .bunting-mobile, .banner-mobile, .invitation-mobile, .rsvp-mobile, .maps-mobile, .footer-mobile {
        display: block;
    }
}