@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

.offre-page-body {
    background-color: #ffeee2;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    min-height: 100vh;
    margin: 0;
   
    font-family: 'Playfair Display', serif;
}

.offers-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}


.page-title-container {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #f37777;
    border-radius: 5px;
    padding: 15px 40px;
    display: inline-block;
    margin-bottom: 50px;
}

.page-title-container h1 {
    font-family: 'Playfair Display', serif; 
    color: #5f4620;
    margin: 0;
    font-weight: 700;
}

.offer-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    min-height: 250px;
}

.offer-text-side {
    flex: 1;
    padding: 30px;
}

.offer-text-side h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #333;
}

.offer-text-side p {
    font-family: 'Playfair Display', serif;
}

.offer-image-side {
    width: 45%;
    align-self: stretch;
}

.offer-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}


.btn-gold-action {
    background-color: #c48e52;
    color: white !important;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-block;
    margin-top: 15px;
    transition: background 0.3s;
    font-family: 'Playfair Display', serif;
}

.btn-gold-action:hover {
    background-color: #a3733e;
}


.btn-plats {
    display: inline-block;
    background-color: #f0bb6d; 
    color: #3A2E26;           
    font-family: 'Playfair Display', serif;
    font-size: 1rem;        
    padding: 12px 35px;       
    text-decoration: none;    
    border-radius: 50px;      
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.btn-plats:hover {
    background-color: #ffb445;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.button-container {
    display: flex;
    justify-content: center; 
    margin: 40px 0;         
}


.offer-image-side {
    position: relative; 
}

.offer-image-side::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 30%; 
    height: 100%;
    
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 2;
    pointer-events: none;
}


.offer-box.flex-row-reverse .offer-image-side::before {
    left: auto;
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}



/* footer */
.fin{
    background-color: #B71414;
    color: white;
    border-top: 2px solid #B71414;
}
.maps{
    border-radius: 30px;
    background-color: white;
    color: red;
}
.reseau-img img{
    width: 40px;
    height: 40px;
    display: block;
    transition: transform 0.2s;
    border-radius: 8px;
    
}
.footer-footer{
    background-color: #A51D1D;
    color: grey;
    
}


@media screen and (max-width: 991px){
    .burger{
        display: flex;
    }
    .tableau{
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9); 
        padding: 20px 0;
        list-style: none;
        z-index: 1000;
    }
    .tableau.active{
        display: flex;
    }
    .tableau li {
        margin: 15px 0;
        text-align: center;
    }
    .carde{
        padding: 10px;
    }
    .image-container img{
        display: block;
    }
    .deuxtitre h2{
        font-size: 1,25rem;
    }
    
}


/* Nav Bar */
nav {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tableau {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px; 
    margin: 0;
    padding: 0;
    font-family: 'Playfair Display', serif;
    color: #3A2E26;
}

.dropdown {
    position: relative; 
}

.menu-plat, .occasion a, .nous a, .rejoindre a {
    text-decoration: none;
    color: #3A2E26;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}


.lacarte, .lecompte {
    display: none;
    list-style: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%); 
    background-color: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    min-width: 160px;
    margin-top: 10px; 
}


.menu-checkbox:checked ~ .lacarte,
.icone-checkbox:checked ~ .lecompte {
    display: block;
}


.lacarte li, .lecompte li {
    padding: 8px 15px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.lacarte li a, .lecompte li a {
    text-decoration: none;
    color: #3A2E26;
    font-family: 'Inter', sans-serif; 
    font-size: 0.9rem;
}

.lacarte li:hover, .lecompte li:hover {
    background-color: #faecd9; 
}


.logo {
    height: 45px;
    border-radius: 50%;
    margin-right: 40px;
}

.icone {
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}


.menu-checkbox, .icone-checkbox {
    display: none;
}

.burger, .bande, .menu-checkbox, .icone-checkbox {
    display: none !important;
}


.lacarte, .lecompte {
    display: block;
    visibility: hidden;
    opacity: 0;
    
    position: absolute;
    top: 80%; 
    left: 50%;
    transform: translateX(-50%) translateY(-10px); 
    
   
    background: rgba(255, 255, 255, 0.2); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    padding: 15px;
    border-radius: 15px;
    min-width: 180px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: -1; 
    border: 2px solid rgba(255, 255, 255, 0.7); 
background: rgba(255, 255, 255, 0.4);      
backdrop-filter: blur(15px);                
}


.menu-checkbox:checked ~ .lacarte,
.icone-checkbox:checked ~ .lecompte {
    visibility: visible;
    opacity: 1;
    top: 100%;
    transform: translateX(-50%) translateY(10px); 
}


.lacarte li, .lecompte li {
    padding: 10px;
    list-style: none;
    text-align: center;
}

.lacarte li a, .lecompte li a {
    font-family: 'Inter', sans-serif;
    color: #3A2E26;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: none;
    transition: 0.2s;
    font-weight: 700; 
    color: #2D241E;
}

.lacarte li:hover {
    background: rgba(255, 255, 255, 1);
    border-radius: 10px;
}

body.dark-mode.offre-page-body {
    background-color: #121212 !important;
}

/* 2. Titles & Descriptions */
body.dark-mode h3,
body.dark-mode .page-title-container h1,
body.dark-mode .offer-content h2,
body.dark-mode .offer-content p,
body.dark-mode .offer-box h2,
body.dark-mode .offer-box p {
    color: #ffffff !important;
}

/* 3. The Containers/Boxes */
body.dark-mode .page-title-container,
body.dark-mode .offer-box {
    background-color: #831010 !important;
    border-color: #ffffff !important;
}


body.dark-mode .text-price,
body.dark-mode .price {
    color: #f37777 !important; 
}

body.dark-mode nav {
    background-color: rgba(0, 0, 0, 0.8) !important; 
    border-bottom: 1px solid #333 !important;
}

body.dark-mode .tableau a, 
body.dark-mode .menu-plat {
    color: #ffffff !important;
}
