:root {
    --primary-red: rgb(185, 72, 94);
    --primary-orange: rgb(223, 158, 89);
    --primary-yellow: rgb(224, 197, 73);
    --primary-green: rgb(47, 56, 38);
    --secondary-brown1: rgb(100, 84, 68);
    --secondary-brown2: rgb(114, 100, 79);
    --text-color: rgb(30, 22, 19);
    --white: rgb(255, 255, 255);
    --light-bg: rgb(250, 248, 245);
}

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

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
}

header {
    background: url('../images/photoforet.jpg') center/cover no-repeat;
    padding: 1rem 0;
    position: relative;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Menu Mobile */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 100;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--primary-red);
    margin: 6px auto;
    transition: all 0.3s ease;
}

/* Navigation principale */
.main-navigation {
    transition: all 0.3s ease;
}

.main-nav {
    display: flex;
    list-style: none;
}

/* Sous-menus */
.sub-nav {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.menu-item-has-children:hover .sub-nav {
    opacity: 1;
    visibility: visible;
}

/* Styles Mobile */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 90;
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .main-nav {
        flex-direction: column;
    }
    
    .main-nav > li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }
    
    .main-nav > li > a {
        display: block;
        padding: 15px 0;
        color: var(--text-color);
    }
    
    .sub-nav {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        padding-left: 15px;
        box-shadow: none;
    }
    
    .sub-nav.active {
        display: block;
    }
    
    .sub-nav li {
        border-bottom: none;
    }
    
    .sub-nav a {
        padding: 10px 0;
        font-size: 0.9em;
    }
    
    .cta-button a {
        display: block;
        text-align: center;
        margin-top: 20px;
    }
    
    /* Animation du bouton burger */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

.logo img {
    height: 80px;
    width: auto;
}

.main-nav {
    display: flex;
    list-style: none;
}

.main-nav > li {
    position: relative;
    margin-left: 2rem;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--primary-yellow);
}

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

.main-nav a:hover::after {
    width: 100%;
}

.sub-nav {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    list-style: none;
    width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 100;
}

.main-nav > li:hover .sub-nav {
    opacity: 1;
    visibility: visible;
}

.sub-nav a {
    color: var(--text-color);
    display: block;
    padding: 0.75rem 1rem;
}

.sub-nav a:hover {
    background-color: rgba(185, 72, 94, 0.1);
    color: var(--primary-red);
}

.cta-button a {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    transition: all 0.3s;
}

.cta-button a:hover {
    background-color: var(--primary-orange);
    color: var(--text-color);
}

.cta-button a::after {
    display: none;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-red);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 0;
    color: var(--secondary-brown1);
}

.button {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

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

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

footer {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-yellow);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--white);
    margin: 0 1rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-yellow);
}

/* Styles pour les autres pages */
.page-content {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.page-title {
    color: var(--primary-red);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--primary-orange);
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.content-section p {
    margin-bottom: 1rem;
}

.price-list {
    margin: 2rem 0;
}

.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed var(--secondary-brown1);
}

.old-price {
    text-decoration: line-through;
    color: #999;
}

.map-container {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.note {
    text-left: left;
    margin-left: 20px;
}

.contact-info {
    margin: 2rem 0;
    font-size: 1.25rem;
}

.contact-info a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--primary-orange);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 1rem;
    }

    .logo {
        margin-bottom: 1rem;
    }

    .main-nav {
        flex-direction: column;
        width: 100%;
    }

    .main-nav > li {
        margin: 0.5rem 0;
    }

    .sub-nav {
        position: static;
        opacity: 1;
        visibility: visible;
        width: 100%;
        box-shadow: none;
        margin-top: 0.5rem;
        display: none;
    }

    .main-nav > li:hover .sub-nav {
        display: block;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 0 1rem;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .page-content {
        padding: 0 1rem;
    }
}