body {
    background-image: url('../../img/fond_marbre.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    font-family: 'Playfair Display', serif;
    color: #4a4a4a;
    margin: 0;
    padding: 0;
}

.navbar {
    background-image: url('../../img/navbar.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    font-family: 'Great Vibes', cursive;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.navbar ul li a:hover {
    color: #f4f4f4;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.logo-container {
    margin-bottom: 40px;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    position: relative;
    background-color: transparent;
}

.logo-container img {
    max-width: 100%;
    max-height: 100%;
    padding: 10px;
    z-index: 2; /* Ensuring the logo stays above the frame */
}

.logo-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    width: 100%;
    height: 100%;
    background: url('../../img/cadre.webp') no-repeat center;
    background-size: contain;
    z-index: 1; /* Frame stays below the logo */
}

.countdown {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.countdown-item {
    text-align: center;
}

.countdown-number {
    font-size: 2.5em;
    font-family: 'Georgia', serif;
    font-weight: bold;
    color: #333; /* Darker grey for emphasis */
}

.countdown-label {
    font-family: 'Playfair Display', serif;
    font-size: 1.2em;
    color: #555; /* Lighter grey for labels */
}

.names {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.name-item {
    margin: 0 10px;
    text-align: center;
}

.name-fr {
    display: block;
    font-size: 1.8em;
    font-weight: bold;
    color: #4a4a4a; /* Matching the body text color */
}

.name-he {
    display: block;
    font-size: 1.8em;
    margin-top: 5px;
    color: #4a4a4a; /* Matching the body text color */
}

.and {
    font-size: 1.8em;
    font-weight: bold;
    margin: 0 10px;
    color: #4a4a4a; /* Matching the body text color */
}

.section {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    animation: fadeIn 1.5s ease-in-out;
    position: relative;
}

.mairie-section {
    background-image: url('https://mariemdesaintk.com/wp-content/uploads/2020/12/9ABA9831-4FA0-4646-80AF-72256EF5BE9E.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.houppa-section {
    background-image: url('https://www.ga-eventcreator.com/wp-content/uploads/2023/02/Houppa-Miroir-2023-01-10-at-19.00.27-5.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.mairie-section::before,
.houppa-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.mairie-section h2,
.houppa-section h2,
.mairie-section p,
.houppa-section p {
    position: relative;
    z-index: 1;
    color: #fff; /* Ensuring text remains white */
}

.section h2 {
    font-size: 2em;
    margin-bottom: 15px;
    text-decoration: underline;
    font-family: 'Playfair Display', serif;
}

.section p {
    font-size: 1.2em;
    line-height: 1.5;
}

.form-section {
    background-image: url('https://i.pinimg.com/474x/75/da/f1/75daf176c7818fe9571d09537f4f7447.jpg');
    background-size: cover;
    background-position: center;
    padding: 20px;
    border-radius: 10px;
}

.form-container {
    background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent background */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #4a4a4a; /* Matching the body text color */
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 15px; /* Increased margin for more spacing */
    font-weight: bold;
    font-size: 1.2em;
    color: #4a4a4a; /* Matching the body text color */
    text-decoration: underline; /* Underlined questions */
}

input[type="text"],
input[type="number"],
textarea,
button {
    margin-bottom: 20px; /* Increased margin for more spacing */
    padding: 15px; /* Increased padding for better appearance */
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1.1em; /* Slightly larger font size */
    color: #4a4a4a; /* Matching the body text color */
}

input[type="radio"] {
    margin-right: 10px; /* Increased spacing between radio buttons and labels */
    transform: scale(1.5); /* Enlarged radio buttons */
}

button {
    background-color: #a67c52; /* Original button color */
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.3em; /* Increased font size */
    padding: 15px; /* Increased padding */
}

button:hover {
    background-color: #5a3e36; /* Hover color */
}

textarea {
    resize: vertical; /* Allow vertical resizing only */
    height: 100px; /* Set a default height for the textarea */
}

/* Specific styles for Itinéraire buttons */
.itinerary-button {
    display: inline-flex;
    align-items: center;
    background-color: #c0c0c0; /* Silver color for the buttons */
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
}

.itinerary-button img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* Ensure the body doesn't scroll horizontally */
body, html {
    overflow-x: hidden;
}

/* Animation for sections */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional form styles */
.form-container {
    padding: 30px; /* Increased padding for the container */
    border-radius: 15px; /* More rounded corners */
}

textarea {
    resize: vertical; /* Allow vertical resizing only */
    height: 100px; /* Set a default height for the textarea */
}

/* Ensure the body doesn't scroll horizontally */
body, html {
    overflow-x: hidden;
}

/* Semi-transparent card for the text under the countdown */
.card.semi-transparent {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    margin-bottom: 20px; /* Ajout d'un espace en dessous de la carte */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 1.2em;
    line-height: 1.5;
    text-align: center;
    color: #4a4a4a;
    position: relative;
}

.card .top-section {
    display: flex;
    justify-content: space-between;
}

.card .left, .card .right {
    font-style: italic; /* Texte en italique pour les div contenant les noms */
    width: 40%;
}

.card .left {
    text-align: left;
}

.card .right {
    text-align: right;
}

.card .center {
    margin-top: 20px;
}


.highlight {
    color: #d0ad00;
    font-weight: bold;
}
.highlight-text {
    font-weight: bold !important;
    font-size: 1.4em !important; /* Augmentez la taille du texte si nécessaire */
    color: #d0ad00 !important; /* Changez la couleur pour une meilleure lisibilité */
}


/* Highlighted text in #d0ad00 */
.gold {
    color: #d0ad00;
    font-weight: bold;
}

/* Additional form styles */
.form-container {
    padding: 30px; /* Increased padding for the container */
    border-radius: 15px; /* More rounded corners */
}

textarea {
    resize: vertical; /* Allow vertical resizing only */
    height: 100px; /* Set a default height for the textarea */
}

/* Ensure the body doesn't scroll horizontally */
body, html {
    overflow-x: hidden;
}

/* Styles for Itinéraire buttons */
.itinerary-button {
    display: inline-flex;
    align-items: center;
    background-color: #D3D3D3;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    position: relative;
    z-index: 10; /* Ensure the button is above the overlay */
}

.itinerary-button img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}
.form-group {
    margin-bottom: 20px; /* Increased margin for better spacing */
}

.radio-group {
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
}

select, textarea, input[type="text"] {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-top: 10px;
}
footer {
    text-align: center;
    padding: 10px;
    background-color: #f8f9fa;
    margin-top: 20px;
}

.form-container .developer-contact {
    text-align: center;
    margin-top: 20px;
}




/* Animation for sections */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scrolling effect */
html {
    scroll-behavior: smooth;
}
