/*
Theme Name: Save The Date
Author: Votre Nom
Version: 1.0
*/

* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
}

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

/* =====================
   PAGE ACCUEIL (MACARON)
===================== */

.page-black {
    background: #000;
    width: 100%;
    min-height: 100vh; /* fiable sur mobile */
    display: flex;
    justify-content: center; /* centre horizontalement */
    align-items: center;     /* centre verticalement */
    flex-direction: column;
    overflow: hidden;
}

.macaron-center {
    /* plus besoin de position absolute ni transform */
}

.macaron-image {
    width: 220px;
    max-width: 70vw;
    height: auto;
    display: block;
}

/* =====================
   SAVE THE DATE
===================== */

.page-white {
    background: #fff;
    min-height: 100vh;
    width: 100%;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.save-container {
    padding: 40px 20px;
    text-align: center;
    width: 100%;
}

/* Carte */
.carte-image {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    margin: 0 auto;
    display: block;
}

/* Centrage bouton “J’y serai” et espace suffisant avec la carte */
.btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 50px; /* espace augmenté entre carte et bouton */
}

/* Bouton J'y serai */
.save-container .btn {
    background-color: #000;       /* fond noir */
    color: #fff;                  /* texte blanc */
    border-radius: 30px;          /* arrondi élégant */
    padding: 14px 40px;           /* taille confortable */
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3); /* léger ombrage */
    text-align: center;
    display: inline-block;
    transition: all 0.3s ease;
}

.save-container .btn:hover {
    opacity: 0.85; /* effet au survol */
}

/* =====================
   BUTTONS
===================== */

.btn {
    background: #000;
    color: #fff;
    padding: 14px 35px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
    font-size: 16px;
    text-align: center;
}

.btn:hover {
    opacity: 0.85;
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
    }
}

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

.header-rsvp {
    padding: 20px;
}

.header-rsvp a {
    color: #fff;
    font-weight: bold;
}

.page-black-rsvp {
    background: #000;
    min-height: 100vh;
    color: #fff;
}

.rsvp-wrapper {
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.rsvp-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 20px;
    line-height: 1.5;
}

.rsvp-box {
    background: #111; /* fond noir élégant */
    border: 1px solid #fff;
    padding: 30px 25px;
    border-radius: 15px;
    width: 100%;
    max-width: 420px;
}



.rsvp-form input {
    display: block;
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 15px;
    border-radius: 25px;
    border: none;
    font-size: 15px;
}

.radio-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0 20px;
}

.accompagne-fields {
    display: none;
    margin-top: 10px;
}

.rsvp-box .btn {
    width: 100%;
    margin-top: 15px;
}
/* Question et labels radio en blanc */
.rsvp-box p,
.rsvp-box label {
    color: #fff;
    font-weight: bold;
}

/* Petite marge entre les boutons radio */
.radio-group label {
    display: flex;
    align-items: center;
    gap: 5px; /* espace entre le bouton et le texte */
}



/* =====================
   PAGE MERCI
===================== */

.merci-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 60px);
    padding: 20px;
}

.merci-box {
    background: #fff; /* fond clair pour contraste */
    color: #000;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.merci-box h2 {
    margin-bottom: 20px;
    font-size: 22px;
}

.merci-box p {
    margin-bottom: 25px;
    font-size: 16px;
}

.merci-box .btn {
    background: #000;
    color: #fff;
    border-radius: 25px;
    padding: 14px 30px;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}

.merci-box .btn:hover {
    opacity: 0.85;
}

/* MOBILE */
@media (max-width: 480px) {
    .merci-box {
        padding: 25px 20px;
    }

    .merci-box h2 {
        font-size: 20px;
    }

    .merci-box p {
        font-size: 15px;
    }
}
