/* Styles for location.html */
.transport-options {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.option {
    flex: 1;
    min-width: 250px; /* Pour que chaque option ait une largeur minimale */
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.content-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: auto;
    max-width: 800px;
    padding: 20px;
}
.letter {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5em;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border: 1px solid #b8a896; /* A softer, antique shade to resemble classic refinement */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15); /* Deeper shadow for a more luxurious look */
    height: auto;
    min-height: 400px; /* Ensures enough space for the entire text without resizing */
    width: 100%; /* Ensure consistent width to prevent resizing */
    position: relative;
    margin: 30px 20px; /* Added uniform margin for better spacing on mobile */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}
.letter p {
    white-space: pre-wrap;
    overflow: hidden;
    font-family: 'Cormorant Garamond', serif;
    width: 100%; /* Ensure the paragraph always takes up full width */
    margin: 0; /* Remove extra margin causing unwanted spacing */
}
.couple-picture {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    padding: 5px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #b8a896;
    margin-bottom: 30px;
}
.couple-picture img {
    max-height: 400px;
    border: 1px solid #b8a896;
}
.rsvp-button {
    display: block;
    width: fit-content;
    margin: 20px auto;
    background-color: #5c4b3a; /* Rich brown inspired by classic woodwork of a French château */
    color: #fff;
    padding: 15px 35px;
    text-decoration: none;
    border: none;
    transition: background-color 0.3s ease;
    font-family: 'Playfair Display', serif;
    font-size: 1.2em;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.rsvp-button:hover {
    background-color: #7a6148; /* A slightly lighter shade to indicate interaction */
}
.parallax-container {
    min-height: 400px;
    width: 100%;
    background: #222222;
    background-position: center;
    background-image: url('../maubreuil.avif');
    background-size: cover;
}
.parallax {
    background-image: url('../maubreuil.avif');
    min-height: 400px;
    max-width: 2500px;
    margin: 0 auto; /* Center the image horizontally if the screen is wider */
    width: 100%;
    background-position: center;
    background-repeat: repeat;
    background-size: cover;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

body {
    font-family: 'Playfair Display', serif;
    background-color: #f7ebdb; /* A warm beige evocative of a historic French château */
    color: #333;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.navigation-menu {
    position: sticky;
    top: 0;
    background-color: #fff;
    padding: 15px 0px;
    border-bottom: 1px solid #b8a896;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Raleway', sans-serif;
    font-size: 1.0em;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
}
.navigation-menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.navigation-menu ul li a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
    font-weight: bold;
}
.navigation-menu ul li a:hover {
    color: #7a6148;
}
.content {
    font-family: 'Raleway', sans-serif;
    width: 80%;
    margin: 20px auto;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    font-size: 1.1em;
    max-width: 900px;
    min-height: calc(100vh - 500px); /* Ensures content fills most of the screen even if empty */
    padding: 10px 20px;
}
.content h2 {
    font-size: 1.3em;
    margin-top: 20px;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif; /* Titres élégants */
    color: #5c4b3a;
}
.content h3 {
    font-size: 1.1em;
}
.footer-status {
    background-color: #5c4b3a;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    font-family: 'Raleway', sans-serif;
    font-size: 1em;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin-top: auto;
}
.footer-status span {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-status .material-icons {
    font-size: 24px;
}

/* Visual Separation Enhancements */
section.program {
    background-color: #f7f7f7; /* Slightly lighter background color */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0dcd7; /* Add a thin border for better contrast */
    padding-right: 20px; /* Add padding to the right side for better spacing */
}
.program ul {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Ensure consistent spacing between items */
}
.program ul li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.program ul li strong {
    flex: 0 0 85px; /* Fixed width for time */
    text-align: left;
}
.program ul li span {
    flex: 1;
    text-align: left;
}
.program ul li {
    margin-bottom: 15px; /* Increase padding between time slots */
}

.code-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border: 1px solid #b8a896;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 80%;
    max-width: 400px;
    margin: 30px auto;
}

form label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2em;
    margin-bottom: 10px;
}

form input[type="text"] {
    padding: 10px;
    font-size: 1em;
    border: 1px solid #b8a896;
    border-radius: 4px;
    width: 100%;
    margin-bottom: 20px;
    box-sizing: border-box;
}

form button {
    background-color: #5c4b3a;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-family: 'Playfair Display', serif;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #7a6148;
}

.error-message {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2em;
    color: #d9534f;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border: 1px solid #b8a896;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    margin: 30px auto;
    text-align: center;
}
