/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Layout */
.page-wrapper {
    flex: 1 0 auto;
    max-width: 1000px;
    margin: 0 auto;
}

.main-content {
    width: 100%;
    margin: 0 auto;
}

/* Contact Page */
.gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
    max-width: 100%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-form-wrapper {
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-info {
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
}

/* Header */
.etiquette {
    background-color: #fcfff2;
    margin: 25px auto;
    width: 320px;
    border: 5px solid #728D5C;
    padding: 2px;
}

.etiquette .inner-border {
    border: 1px solid #728D5C;
    padding: 8px 5px;
}

.etiquette h1, .etiquette h2 {
    font-weight: normal;
    text-align: center;
    color: #728D5C;
    line-height: 1.2;
    margin: 20px 0;
}

.etiquette h1 {
    font-family: 'Limelight', cursive;
    letter-spacing: 2px;
    font-variant: normal;
    font-size: 24px;
}

.etiquette h2 {
    font-family: 'Metamorphous', serif;
    letter-spacing: 2px;
    font-size: 18px;
}

/* Images section */
.image-section {
    margin: 0 0 40px;
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.image-section img {
    width: calc(33.33% - 14px);
    height: 250px;
    object-fit: cover;
    display: block;
    border: 2px solid rgba(128, 128, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.image-section img:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Content */
.main-content {
    padding: 30px;
    padding-bottom: 20px;
    margin-bottom: 30px;
    /*background-color: rgba(252, 255, 242, 0.3);*/
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
}

/* Content Sections */
.text-section, .footer-content p {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 10px;
}

.overlay-content {
    width: 100%;
    padding: 30px;
}

/* Contact Page */
.contact-page {
    max-width: 1000px;
    margin: 0 auto;
    background-color: rgb(252, 255, 242);
}

.contact-intro {
    text-align: left;
    margin-bottom: 20px;
}

.flash-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
}

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

.flash-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
    margin-top: 0;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #728D5C;
    box-shadow: 0 0 0 2px rgba(114,141,92,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background-color: #728D5C;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #5d7349;
}

.contact-info {
    background: #F0EFE7;
    padding: 30px;
    border-radius: 4px;
}

.info-block {
    margin-bottom: 25px;
}

.info-block:last-child {
    margin-bottom: 0;
}



.info-block h3 {
    color: #728D5C;
    font-family: 'Crimson Text', serif;
    font-size: 20px;
    margin-bottom: 10px;
}

.info-block p,
.info-block address {
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-info {
        order: -1;
    }
}

/* Footer */
.site-footer {
    padding: 40px 0;
    margin-top: 30px;
    border-top: 0px solid rgba(128, 128, 0, 0.2);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-info {
    margin-bottom: 30px;
}

/* Mentions légales */
.mentions-legales {
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
}

.mentions-legales h1 {
    color: #5A5A00;
    font-family: 'Crimson Text', serif;
    margin-bottom: 2rem;
    text-align: center;
}

.mentions-legales section {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.mentions-legales h2 {
    color: #5A5A00;
    font-family: 'Crimson Text', serif;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.mentions-legales p {
    margin-bottom: 1rem;
    line-height: 1.6;
    text-align: justify;
}

.mentions-legales strong {
    color: #5A5A00;
}

/* Footer */
.site-footer {
    background-color: #e4dfcf;
    padding: 30px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    width: 940px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.footer-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    text-align: center;
    padding: 0;
    font-family: 'Crimson Text', serif;
    color: #728D5C;
    font-size: 1.1rem;
}

.footer-title, .footer-copyright {
    width: 100%;
    margin: 10px auto;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}
/*
@media screen and (max-width: 600px) {
    .site-footer {
        padding: 15px 10px;
    }
    
    .footer-title, .footer-copyright {
        font-size: 0.9em;
    }
}
*/
.footer-title {
    font-family: 'Crimson Text', serif;
    color: #728D5C;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.footer-copyright {
    font-size: 0.9rem;
    color: #666;
}

.footer-copyright a {
    color: #728D5C;
    text-decoration: none;
}

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

address a {
    color: #948A54;
    text-decoration: none;
    transition: color 0.3s ease;
}

address a:hover {
    color: #728D5C;
    text-decoration: underline;
}

.footer-bottom {
    color: #728D5C;
    font-size: 0.9em;
}

body {
    background-color: #c6be99;
    color: #5A5A00;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    margin: 0;
}

.text-section {
    background-color: #e4dfcf;
    padding: 30px;
    border-radius: 4px;
}

.text-section {
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
}

.text-section p {
    margin-bottom: 1.5em;
    text-align: justify;
    max-width: 100%;
}

/* Navigation */
nav {
    padding: 10px 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1000;
    background-color: rgba(252, 255, 242, 0.9);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.hamburger-menu:active {
    transform: scale(0.95);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: #5A5A00;
    margin: 3px 0;
    transition: 0.4s;
    border-radius: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
}

nav a {
    display: inline-block;
    padding: 8px 20px;
    background-color: rgba(252, 255, 242, 1);
    color: #948A54;
    text-decoration: none;
    margin-right: 10px;
    transition: all 0.3s ease;
    min-width: 100px;
    font-family: 'Metamorphous', serif;
}

nav a:hover {
    background-color: #E6E4D9;
}

nav a.active {
    background-color: #728D5C;
    color: white;
}

@media screen and (max-width: 600px) {
    nav {
        padding: 10px 15px;
        position: relative;
    }

    .hamburger-menu {
        display: flex;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(252, 255, 242, 0.85);
        justify-content: center;
        align-items: center;
        z-index: 1000;
        padding: 0 15px;
    }

    .close-menu {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 30px;
        height: 30px;
        cursor: pointer;
        display: none;
    }

    .close-menu::before,
    .close-menu::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 25px;
        height: 3px;
        background-color: #5A5A00;
        transform-origin: center;
    }

    .close-menu::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .close-menu::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 15px 0;
        text-align: center;
        width: 100%;
        max-width: 300px;
        padding: 15px;
        font-size: 1.2rem;
    }

    .hamburger-menu.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* Footer */
footer {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.footer-content {
    position: relative;
    margin: 0 auto;
}

.footer-content::before,
.footer-content::after {
    display: none;
}

/* Content */
.content {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    background-color: #E4DFCF;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1 {
    color: #808000;
    font-family: Verdana, sans-serif;
    font-size: 24px;
    letter-spacing: 3px;
    margin-bottom: 30px;
    font-weight: bold;
}

/* Form styles */
form div {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #4a4229;
}

input[type="text"],
input[type="email"],
textarea {
    background-color: #F0EFE7;
    border: 1px solid #c4bd98;
    color: #4a4229;
    width: 100%;
    padding: 8px;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

button {
    background-color: #C4BD98;
    color: #4a4229;
    border: none;
    padding: 10px 30px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #b7ad70;
}

/* Responsive design */
@media (max-width: 768px) {
    .content {
        padding: 15px;
    }
    
    nav a {
        display: block;
        margin-bottom: 5px;
    }
}
