/* ────────────────────────────
 * 🎨 VARIABLES GLOBALES
 *──────────────────────────── */
:root {
    --primary-color: #d6b86b;
    --secondary-color: #e7d28f;
    --primary-color-hover: #37d9ff;
    --primary-font-family: "CormorantGaramond", serif;
    /* */
    --secondary-font-family: "CormorantGaramond", serif;
    --french-name: "Parisienne";
    --hebrew-name: "BonaNovaSC";
    /* */
    --primary-hebrew-font-family: "Bellefair", serif;
    /* */
    --secondary-hebrew-font-family: "Bellefair", serif;
    /* */
}

/* ────────────────────────────
 * 🔤 FONTS
 *──────────────────────────── */

@font-face {
    font-family: "ImperialScript";
    src:
        url("../fonts/ImperialScript-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "BonaNovaSC";
    src:
        url("../fonts/BonaNovaSC-Italic.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Bellefair';
    src: url('../fonts/Bellefair-Regular.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'DavidLibre-Medium';
    src: url('../fonts/DavidLibre-Medium.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Parisienne";
    src:
        url("../fonts/Parisienne-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'CormorantGaramond';
    src: url('../fonts/CormorantGaramond-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--secondary-font-family);
    margin: 0;
    padding: 0;
    overflow: hidden;
}

[data-lang="he"] body {
    font-family: var(--secondary-hebrew-font-family);
}


.main-color {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 27px;
}

.h-houppa {
    font-size: inherit
}

.italic {
    font-style: italic;
}

/* ────────────────────────────
 * ✨ ANIMATIONS
 *──────────────────────────── */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

#loaderOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
}

.spinner {
    position: absolute;
    width: 360px;
    height: 360px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#loaderLogo {
    width: 290px;
    height: auto;
    z-index: 2;
    position: relative;
    opacity: 1;
    transform: scale(1);
    animation: none;
}

@keyframes zoomInLoader {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes fadeOutLoaderOverlay {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.loader-text {
    position: absolute;
    top: 20%;
    font-family: var(--secondary-font-family);
    width: 100%;
    text-align: center;
    color: #C0AA90;
    font-size: 2.5rem;
    z-index: 2;
    animation: fadeInText 1.5s ease forwards;
}

[data-lang="he"] .loader-text {
    font-family: var(--secondary-hebrew-font-family);
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutText {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* ────────────────────────────
 * 🔝 BOUTON REMONTER EN HAUT
 *──────────────────────────── */
#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9990;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: opacity 0.3s ease;
}

#scrollToTop:hover {
    background-color: var(--primary-color-hover);
}

/* ────────────────────────────
 * 🎵 BOUTON MUSIQUE
 *──────────────────────────── */
#musicToggle {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 9990;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
}

#musicToggle:hover {
    background-color: var(--primary-color-hover);
}

@media (max-width: 480px) {

    #scrollToTop,
    #musicToggle {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    #musicToggle {
        bottom: 75px;
    }
}

/* ────────────────────────────
 * 🧭 NAVBAR
 *──────────────────────────── */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    font-weight: bold;
    font-family: var(--primary-font-family);
    direction: ltr;
    transition: all 0.3s ease;
    background-color: var(--secondary-color);
}

[data-lang="he"] #navbar {
    font-family: var(--primary-hebrew-font-family);
}

#navbar nav {
    display: flex;
    align-items: center;
    padding: 10px 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    width: 100%;
}

#navbar nav a,
#navbar nav span {
    position: relative;
    margin: 0 15px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 25px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

#navbar nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -5px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

#navbar nav a:hover,
#navbar nav a.active {
    color: var(--primary-color);
}

#navbar nav a:hover::after,
#navbar nav a.active::after {
    width: 100%;
}

#navbar.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 480px) {
    #navbar nav a {
        font-size: 20px;
    }
}

/* ────────────────────────────
 * 🍔 MENU HAMBURGER (MOBILE)
 *──────────────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: currentColor;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    #navbar nav {
        padding: 10px 25px;
        justify-content: space-between;
    }

    .hamburger {
        display: flex;
        color: white;
        z-index: 1101;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        padding: 50px 20px;
        display: flex;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
        transition: right 0.3s ease;
        z-index: 1100;
    }

    .nav-links.active {
        right: 0;
    }
}

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

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

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

/* ────────────────────────────
 * 📶 BARRE DE PROGRESSION SCROLL
 *──────────────────────────── */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background-color: var(--primary-color);
    width: 0%;
    z-index: 2000;
    transition: width 0.2s ease-out;
}

/* ────────────────────────────
 * 🖼️ LOGO
 *──────────────────────────── */
.logo {
    height: 80px;
    transition: transform 0.3s ease;
}

.logo.fade {
    opacity: 0;
}

.logo:hover {
    transform: scale(1.05);
}

.middle-logo {
    width: 160px !important;
    bottom: 20px;
    position: relative;
}

.logo-shabbat {
    width: 230px !important;
}

/* ────────────────────────────
 * 🌍 SÉLECTEURS DE LANGUE (MULTI)
 *──────────────────────────── */

#language-switcher {
    z-index: 10000;
    display: flex;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    border-radius: 30px;
    padding: 8px 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#language-switcher2 {
    position: fixed;
    z-index: 10001;
    display: flex;
    gap: 10px;
    top: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    padding: 8px 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#language-switcher button,
#language-switcher2 button {
    font-size: 0.95rem;
    background: none;
    border: none;
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#language-switcher button img,
#language-switcher2 button img {
    width: 24px;
    height: 24px;
    display: block;
    border-radius: 50%;
}

#language-switcher button:hover,
#language-switcher button.active,
#language-switcher2 button:hover,
#language-switcher2 button.active {
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
}

/* ─────────── Responsive ─────────── */

@media (max-width: 768px) {
    #language-switcher {
        box-shadow: initial;
        background-color: inherit;
    }
}

@media (max-width: 480px) {

    #language-switcher,
    #language-switcher2 {
        gap: 6px;
        padding: 6px 10px;
    }
}

/* ────────────────────────────
 * 🈯 SUPPORT LANGUES RTL
 *──────────────────────────── */
[data-lang="fr"] {
    direction: ltr;
    font-family: var(--secondary-font-family);
}

[data-lang="he"] {
    direction: rtl;
    font-family: var(--secondary-hebrew-font-family);
}

[data-lang="he"] .fr-only {
    display: none;
}

[data-lang="fr"] .he-only {
    display: none;
}

/* ────────────────────────────
 * 🎬 SECTION LANDING PAGE
 *──────────────────────────── */
#landing {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('../images/bg1.jpg') no-repeat center center/cover;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#landing .overlay {
    background: rgba(0, 0, 0, 0.4);
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

#landing .overlay-name {
    display: flex;
    align-items: center;
    flex-direction: column;
}

#landing h1 {
    font-size: 3rem;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.landing-button {
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: white;
    background: linear-gradient(to bottom, #d1b97f, #A0832B);
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.landing-button:hover {
    background: linear-gradient(to bottom, #37d9ff, #8af7ff);
    transform: translateY(-2px);
}

.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ─────────── Responsive ─────────── */

@media (max-width: 768px) {
    #landing h1 {
        font-size: 2.2rem;
        margin-bottom: 0px;
        text-align: center;
    }

    .landing-button {
        font-size: 0.95rem;
        padding: 12px 24px;
    }

    #landing .overlay-name {
        height: auto;
        margin-bottom: 80px;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    #landing h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .landing-button {
        font-size: 1rem;
    }

    #landing .overlay-name {
        margin-bottom: 60px;
    }
}

/* ────────────────────────────
 * 🏠 SECTION ACCUEIL
 *──────────────────────────── */
#accueil {
    padding: 100px 20px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('../images/bg1.jpg') no-repeat center center/cover;
    color: white;
    position: relative;
    padding-top: 80px;
}

/* 
#accueil::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.46);
    pointer-events: none;
    z-index: 0;
} */

.contain-accueil {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contain-accueil .names-groom {
    color: var(--primary-color);
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.571);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    font-weight: 400;
    font-size: 75px !important;
    margin-top: 300px;
    margin-right: 10px;
}

.names-groom {
    font-family: var(--french-name) !important;
}

[data-lang="he"] .names-groom {
    font-family: var(--hebrew-name) !important;
}

#accueil h1 {
    font-size: 6em;
}

#accueil #compteur {
    font-size: 2em;
    margin-top: 20px;
}

#navbar .compteur {
    padding-left: 20px;
    color: white;
}

#navbar .compteur-bloc {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.compteur-bloc:hover {
    transform: scale(1.05);
}

.compteur-bloc .nombre {
    font-size: 1rem;
    font-weight: bold;
}

.compteur-bloc .label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.compteur-navbar {
    display: flex;
    align-items: center;
    gap: 12px;
    /* margin-left: auto; */
    color: white;
    font-size: 0.9rem;
    font-family: var(--primary-font-family);
}

[data-lang="he"] .compteur-navbar {
    font-family: var(--primary-hebrew-font-family);
}

.compteur2 {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.compteur-bloc2 {
    position: relative;
    width: 100px;
    height: 100px;
    padding: 12px 16px;
    background: rgba(160, 131, 43, 0.636);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    text-align: center;
    font-size: 25px;
    box-shadow: 0 2px 6px rgba(214, 135, 157, 0.2);
    transition: transform 0.3s ease;
    animation: pulse 1s ease infinite;
}

.compteur-bloc2:hover {
    transform: scale(1.05);
}

.compteur-bloc2 .nombre {
    font-size: 1.5em;
    font-weight: 600;
}

.compteur-bloc2 .label {
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 3px;
}

/* ─────────── Responsive ─────────── */

@media (max-width: 992px) {
    #accueil h1 {
        font-size: 4em;
    }

    .compteur-bloc {
        height: 40px;
        font-size: 22px;
    }

    .compteur-bloc .nombre {
        font-size: 1.3em;
    }

    .compteur-bloc .label {
        font-size: 0.7em;
    }

    .compteur-bloc2 {
        width: 85px;
        height: 85px;
        font-size: 22px;
    }

    .compteur-bloc2 .nombre {
        font-size: 1.3em;
    }

    .compteur-bloc2 .label {
        font-size: 0.7em;
    }
}

@media (max-width: 768px) {
    #accueil h1 {
        font-size: 3rem;
    }

    nav {
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        order: 1;
    }

    .compteur-navbar {
        order: 2;
        margin: auto auto 20px auto;
        padding: initial !important;
        justify-content: center;
        max-width: 100%;
    }

    .compteur-navbar.compteur2 {
        order: inherit;
    }

    .hamburger {
        order: 3;
    }

    .compteur-navbar .compteur-bloc {
        font-size: 14px;
    }

    .compteur-navbar .nombre {
        font-size: 0.95em;
    }

    .compteur-navbar .label {
        font-size: 0.65em;
    }

    .compteur-bloc2 {
        width: 70px;
        height: 70px;
        padding: 10px;
        font-size: 18px;
    }

    .compteur-bloc2 .nombre {
        font-size: 1.1em;
    }

    .compteur-bloc2 .label {
        font-size: 0.65em;
    }
}

@media (max-width: 480px) {
    #accueil {
        padding: 60px 10px;
    }

    .compteur-navbar .compteur-bloc {
        font-size: 22px;
    }

    .compteur-navbar .compteur-bloc .nombre {
        font-size: 1em;
    }

    .compteur-navbar .compteur-bloc .label {
        font-size: 0.6em;
    }

    .compteur-bloc2 {
        width: 54px;
        height: 54px;
        font-size: 16px;
    }

    .compteur-bloc2 .nombre {
        font-size: 1em;
    }

    .compteur-bloc2 .label {
        font-size: 0.6em;
    }
}

.besod {
    position: fixed;
    top: 10px;
    right: 20px;
    font-family: 'NotoSerifHebrew', sans-serif;
    font-size: 20px;
    font-weight: bold;
    z-index: 1000;
    direction: rtl;
    font-size: 16px;
    color: white;
}

/* ────────────────────────────────
 * 🎉 SECTION HOUPPA & SOIRÉE
 *──────────────────────────────── */

/* 🖼️ Fond et structure générale */
#houppa-soiree {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
    position: relative;
}

#main-content {
    background: url('../images/bg3.jpg') no-repeat center center/cover;
    background-attachment: fixed;
}

@media (max-width: 480px) {
    #main-content {
        background: url('../images/bg3.jpg') center center/cover;
        background-size: contain;
        background-repeat: repeat;
        background-position: center top;
    }
}

#houppa-soiree .container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

/* 📝 Titres principaux */
#arc-title,
#arc-title2,
#houppa_title,
#itineraire,
#itineraire_shabbat,
#shabbat_title,
#RSVP {
    font-family: var(--primary-font-family);
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
}

[data-lang="he"] #houppa_title,
[data-lang="he"] #itineraire,
[data-lang="he"] #itineraire_shabbat,
[data-lang="he"] #shabbat_title,
[data-lang="he"] #RSVP {
    font-family: var(--primary-hebrew-font-family);
}

#arc-title,
#arc-title2 {
    font-family: "DavidLibre-Medium";
}

#houppa_title {
    bottom: 25px;
    margin-top: initial;
}

#RSVP {
    text-align: center;
}

#houppa_title::after,
#itineraire::after,
#itineraire_shabbat::after,
#shabbat_title::after,
#RSVP::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 12px auto 0;
    border-radius: 2px;
}

.margin-b {
    margin-bottom: 20px !important;
}

.parents {
    display: flex;
    justify-content: space-between;
    font-family: var(--secondary-font-family);
    font-size: 30px;
}

[data-lang="he"] .parents {
    font-size: 30px;
    font-family: var(--secondary-hebrew-font-family);
    font-weight: bold;
}

.parents-col {
    display: flex;
    flex-direction: column;
}

.heartbeat {
    display: inline-block;
    animation: beat 1s infinite ease-in-out;
    transform-origin: center;
    color: #F14E95;
    position: absolute;
    top: 5px;
}

@keyframes beat {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    40% {
        transform: scale(0.95);
    }

    60% {
        transform: scale(1.05);
    }

    80% {
        transform: scale(0.98);
    }
}

/* 💬 Textes */
.hp {
    font-family: var(--secondary-font-family);
    font-size: 25px;
}

[data-lang="he"] .hp {
    font-size: 24px;
    font-family: var(--secondary-hebrew-font-family);
    font-weight: bold;
}

.hp2 {
    display: flex;
    flex-direction: column;
}

.hp3 {
    margin: auto;
    display: flex;
    justify-content: center;
    width: 55%;
}

.hp4 {
    margin-top: 20px;
    font-size: 20px;
    display: flex;
    flex-direction: column;
}

.groom {
    display: flex;
    flex-direction: column;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 100px;
}

.groom-hebrew {
    font-family: var(--hebrew-name);
    font-size: 80px;
}

/* Nom des marier */
.layout {
    max-width: 900px;
    margin: 24px auto;
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr 0fr 1fr;
    grid-template-rows: auto auto;
    gap: 14px;
}

.cell {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.center {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.center span {
    font-family: var(--french-name);
    font-weight: 600;
    font-size: clamp(120px, 22vw, 260px);
    line-height: 0.85;
    margin-right: 15px;
}

.tl {
    grid-column: 1;
    grid-row: 1;
}

.tr {
    grid-column: 3;
    grid-row: 1;
}

.bl {
    grid-column: 1;
    grid-row: 2;
}

.br {
    grid-column: 3;
    grid-row: 2;
}


/*  */

#venue_address,
#shabbat_address {
    font-style: italic;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 23px;
}

.btn-houppa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: white !important;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.whatsapp-button {
    background-color: var(--primary-color-hover);
    border: 2px solid var(--primary-color-hover);
    margin: auto;
}

.whatsapp-button:hover {
    background-color: var(--primary-color-hover);
    transform: translateY(-2px);
}

.calendar-button {
    display: none;
    width: 50%;
    margin: auto;
    background-color: var(--primary-color);
    /* border: 2px solid var(--primary-color); */
}

.calendar-button:hover {
    background-color: var(--primary-color-hover);
    transform: translateY(-2px);
}

.waze-button {
    background-color: var(--primary-color);
    /* border: 2px solid var(--primary-color); */
}

.waze-button:hover {
    background-color: var(--primary-color-hover);
    transform: translateY(-2px);
}

.btn-event {
    justify-content: center;
}

[data-lang="he"] #joy_announcement2 {
    font-size: 28px;
}

[data-lang="he"] #houppa_date {
    font-size: 19px;
}

[data-lang="he"] #venue_address,
[data-lang="he"] #shabbat_address {
    font-size: 28px;
}

[data-lang="he"] #venue_address2,
[data-lang="he"] #shabbat_address2 {
    font-size: 22px;
}

[data-lang="he"] #grandparent_memory_intro {
    font-size: 20px;
}

[data-lang="he"] #after {
    font-size: 19px;
}

/* ─────────── Responsive ─────────── */

@media (max-width: 992px) {

    #arc-title,
    #arc-title2,
    #houppa_title,
    #shabbat_title {
        font-size: 2.3rem;
    }

    .groom {
        font-size: 65px;
    }

    .groom-hebrew {
        font-size: 60px;
    }

    .hp {
        font-size: 22px;
    }

    .parents {
        font-size: 16px;
    }

    .hp3 {
        width: 70%;
        gap: 3px;
    }

    .calendar-button {
        display: inherit;
    }
}

@media (max-width: 768px) {
    #houppa-soiree {
        padding: 70px 15px;
    }

    #arc-title,
    #arc-title2,
    #houppa_title,
    #shabbat_title {
        font-size: 2rem;
    }

    .middle-logo {
        width: 100px;
    }

    .parents {
        gap: 20px;
        text-align: center;
    }

    .groom {
        font-size: 60px;
    }

    .groom-hebrew {
        font-size: 50px;
    }

    .hp {
        font-size: 20px;
    }

    .btn-event {
        width: 80%;
    }

    .calendar-button,
    .waze-button,
    .whatsapp-button {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {

    #houppa_title,
    #shabbat_title {
        font-size: 2rem;
    }

    #arc-title {
        font-size: 2.4rem;
    }

    #arc-title2 {
        font-size: 1.7rem;
    }

    .groom {
        font-size: 50px;
    }

    .groom-hebrew {
        font-size: 40px;
    }

    .hp {
        font-size: 18px;
    }

    .hp4 {
        font-size: 16px;
    }

    .btn-event {
        flex-direction: column;
        align-items: center;
        gap: inherit;
    }

    .calendar-button img,
    .waze-button img,
    .whatsapp-button img {
        height: 25px;
        width: 25px;
    }
}

/* ─────────────────────────────
 * 🎊 SECTION SHABBAT
 *──────────────────────────────── */
#shabbat {
    padding: 0px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

/* ────────────────────────────────
 * 📩 SECTION FORMULAIRE RSVP
 *──────────────────────────────── */

/* 🖼️ Fond et layout */
#formulaire {
    padding: 100px 20px;
    background: linear-gradient(135deg, #fdf7e3, #f5e6b3, #e7d28f, #d6b86b, #c29b49);
}

#formulaire .form-container {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* 📝 Titre du formulaire */
#formulaire h2 {
    font-family: var(--primary-font-family);
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

[data-lang="he"] #formulaire h2 {
    font-family: var(--primary-hebrew-font-family);
    font-weight: bold;
}

/* 🧾 Champs */
#formulaire form input,
#formulaire form select,
#formulaire form textarea {
    width: 100%;
    margin-bottom: 20px;
    padding: 14px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-family: var(--primary-font-family);
}

[data-lang="he"] #formulaire form input,
[data-lang="he"] #formulaire form select,
[data-lang="he"] #formulaire form textarea {
    font-family: var(--primary-hebrew-font-family);
}

#formulaire form textarea {
    height: 120px;
    resize: vertical;
}

/* 🔽 Select stylisé */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: "▼";
    position: absolute;
    top: 26px;
    right: 20px;
    transform: translateY(-50%);
    pointer-events: none;
    color: #999;
    font-size: 0.8rem;
}

#formulaire form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: white;
    padding-right: 40px;
    cursor: pointer;
}

/* 👥 Wrapper nombre de personnes (si visible) */
#nombre-wrapper {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

/* 📤 Bouton d'envoi */
.submit-button {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    padding: 14px 28px;
    font-size: 1rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--primary-color-hover);
}

/* ✅ Message de confirmation */
.message {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
}

.success-message {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.radio-group {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.form-hint {
    font-size: 0.85rem;
    color: #777;
    margin-top: -12px;
    margin-bottom: 20px;
    display: block;
}

.input-name {
    display: flex;
    justify-content: space-between;
}

.input-name #placeholder_first_name,
.input-name #placeholder_last_name {
    width: 40%;
}

[data-lang="he"] #placeholder_tel {
    direction: rtl;
}

/* ─────────── Responsive ─────────── */

@media (max-width: 992px) {
    #formulaire h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    #formulaire {
        padding: 80px 15px;
    }

    #formulaire h2 {
        font-size: 1.9rem;
        margin-bottom: 20px;
    }

    #formulaire form input,
    #formulaire form select,
    #formulaire form textarea {
        font-size: 0.95rem;
        padding: 12px;
    }

    .select-wrapper::after {
        top: 22px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    #formulaire h2 {
        font-size: 1.6rem;
    }

    #formulaire form input,
    #formulaire form select,
    #formulaire form textarea {
        font-size: 0.9rem;
        padding: 10px;
    }

    .submit-button {
        font-size: 0.9rem;
        padding: 10px 18px;
    }

    .select-wrapper::after {
        top: 20px;
        right: 14px;
        font-size: 0.7rem;
    }
}


/* ────────────────────────────
 * 💼 FOOTER SIGNATURE DÉVELOPPEUR
 *──────────────────────────── */
.footer-invitation {
    background-color: #fdf9f3;
    padding: 22px 20px;
    text-align: center;
    font-family: var(--primary-font-family);
    font-size: 1rem;
    color: #6b5b4a;
    border-top: 1px solid #e3d4c0;
    box-shadow: inset 0 1px 0 #e3d4c0;
}

[data-lang="he"] .footer-invitation {
    font-family: var(--primary-hebrew-font-family);
    font-size: 20px;
}

.footer-invitation .footer-content p {
    margin: 8px 0;
    line-height: 1.6;
}

/* Ligne "créé par" avec lien discret mais cliquable */
.footer-invitation .credit {
    color: #6b5b4a;
}

.footer-invitation .creator-link {
    font-weight: 700;
    color: #b8996e;
    text-decoration: none;
    padding-bottom: 2px;
}

.footer-invitation .creator-link:hover {
    color: #a07f52;
    border-bottom-color: transparent;
}

/* Ligne de contact */
.footer-invitation .contact-rows {
    display: flex;
    gap: 10px;
    margin-top: 4px;
    justify-content: center;
}

.contact {
    display: flex;
    flex-direction: column;
}

.footer-invitation .contact a {
    color: #b8996e;
    font-weight: 600;
    text-decoration: none;
}

.footer-invitation .contact a:hover {
    text-decoration: underline;
}

.footer-invitation .btn-footer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: linear-gradient(180deg, #eadecf 0%, #e4cfb8 100%);
    color: #5a4b3a;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: .2px;
    box-shadow: 0 1px 0 #e3d4c0, 0 6px 18px rgba(184, 153, 110, .15);
    transition: transform .15s ease, box-shadow .2s ease, background .3s ease;
    will-change: transform;
}

.footer-invitation .btn-footer:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 0 #e3d4c0, 0 10px 24px rgba(184, 153, 110, .22);
}

.footer-invitation .wa-ic {
    width: 18px;
    height: 18px;
    fill: #2f7a39;
    /* vert doux, reste discret */
}

/* Responsive */
@media (max-width: 600px) {
    .footer-invitation {
        font-size: .95rem;
        padding: 18px 12px;
    }

    .footer-invitation .btn-footer {
        width: 100%;
        justify-content: center;
    }
}