/* 
===========================================
  CAFÉ DOUCE PAUSE - STYLE
  Ambiance: Chaleureuse, Beige et Marron
===========================================
*/

:root {
    --color-brown-dark: #3E2723;
    --color-brown: #5C4033;
    --color-brown-light: #8D6E63;
    --color-beige: #F5F5DC;
    --color-beige-light: #FAF0E6;
    --color-white: #FFFFFF;
    
    --font-heading: 'Lora', serif;
    --font-body: 'Open Sans', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 4px 15px rgba(92, 64, 51, 0.08);
}

/* =========================================
   RESET & BASE
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-brown-dark);
    background-color: var(--color-beige-light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-brown-dark);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light-brown {
    background-color: #EFE6DD; /* Slightly darker beige */
}

.text-center {
    text-align: center;
}

.mt-40 { margin-top: 40px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.text-muted { color: var(--color-brown-light); }
.box-shadow {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* =========================================
   TYPOGRAPHY
========================================= */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-subtitle {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-brown-light);
    margin-bottom: 10px;
    font-weight: 600;
}

.link-arrow {
    display: inline-block;
    margin-top: 20px;
    color: var(--color-brown);
    font-weight: 600;
    border-bottom: 1px solid transparent;
}

.link-arrow:hover {
    color: var(--color-brown-dark);
    border-bottom: 1px solid var(--color-brown-dark);
}

/* =========================================
   BUTTONS
========================================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--color-brown);
    color: var(--color-beige-light);
}

.btn-primary:hover {
    background-color: var(--color-brown-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline-nav {
    border: 2px solid var(--color-brown);
    color: var(--color-brown);
    padding: 8px 20px;
}

.btn-outline-nav:hover, .btn-outline-nav.active {
    background-color: var(--color-brown);
    color: var(--color-beige-light);
}

.btn-full {
    width: 100%;
}

/* =========================================
   HEADER
========================================= */
.site-header {
    background-color: var(--color-white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(92, 64, 51, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-brown-dark);
}

.logo-icon {
    font-size: 1.8rem;
}

.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a:not(.btn) {
    font-weight: 600;
    color: var(--color-brown-dark);
    position: relative;
}

.main-nav a:not(.btn):hover {
    color: var(--color-brown);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-brown-dark);
    margin-bottom: 5px;
    border-radius: 3px;
}

/* =========================================
   HERO
========================================= */
.hero {
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(62, 39, 35, 0.6); /* Dark brown overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--color-beige-light);
}

.hero-title {
    color: var(--color-white);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    color: var(--color-beige);
}

.hero-text {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* =========================================
   HISTOIRE
========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 15px;
}

/* =========================================
   MENU
========================================= */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.menu-category {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: left;
}

.menu-cat-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

.menu-category h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 2px dashed var(--color-beige);
    padding-bottom: 10px;
}

.menu-list li {
    margin-bottom: 20px;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

.menu-item-name {
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.menu-item-price {
    font-weight: 600;
    color: var(--color-brown);
}

.menu-item-desc {
    font-size: 0.9rem;
    color: var(--color-brown-light);
}

/* =========================================
   GALERIE
========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.03);
}

/* =========================================
   ACTUALITÉS
========================================= */
.news-content {
    max-width: 800px;
    margin: 0 auto;
}

.news-card {
    display: flex;
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: left;
}

.news-img {
    flex: 1;
}

.news-img img {
    border-radius: 0;
    height: 100%;
    object-fit: cover;
}

.news-text {
    flex: 1.5;
    padding: 40px;
}

.news-date {
    font-size: 0.85rem;
    color: var(--color-brown-light);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* =========================================
   CONTACT PAGE
========================================= */
.page-header {
    background-color: var(--color-brown-dark);
    color: var(--color-white);
    padding: 60px 0;
}

.page-header .section-title {
    color: var(--color-white);
}

.page-header .section-desc {
    color: var(--color-beige);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.custom-form .form-group {
    margin-bottom: 20px;
}

.custom-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.custom-form input, 
.custom-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--color-white);
}

.custom-form input:focus, 
.custom-form textarea:focus {
    outline: none;
    border-color: var(--color-brown);
    box-shadow: 0 0 0 3px rgba(92, 64, 51, 0.1);
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-beige);
}
.hours-list li:last-child {
    border-bottom: none;
}

.map-container {
    padding: 10px; /* map frame */
}
.map-container iframe {
    border-radius: 8px;
}

.form-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
    display: none;
    text-align: center;
    font-weight: 600;
}
.form-status.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
}

/* =========================================
   FOOTER
========================================= */
.site-footer {
    background-color: var(--color-brown-dark);
    color: var(--color-beige-light);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3, .footer-col h4 {
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-col p {
    color: var(--color-brown-light);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a, .social-links a {
    color: var(--color-beige);
}

.footer-col ul a:hover, .social-links a:hover {
    color: var(--color-white);
    text-decoration: underline;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.85rem;
    color: var(--color-brown-light);
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 900px) {
    .about-grid, .menu-grid, .contact-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card {
        flex-direction: column;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
    }

    .main-nav.show {
        display: block;
    }

    .main-nav .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }

    .main-nav a {
        display: block;
        padding: 15px 20px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
