/* ============================================
   CUSTOM STYLES HEADER & FOOTER - LA MINOTIERE
   Design moderne et professionnel
   ============================================ */

/* ==================== OVERRIDE MENU MOBILE - ULTRA PRIORITÉ ==================== */
/* Règle avec spécificité maximale pour forcer l'opacité du menu mobile */
html body div#mobile-nav.mobile-nav.hmburger-menu,
html body div#mobile-nav.hmburger-menu,
html body #mobile-nav {
    background: #2c3e50 !important;
    background-color: #2c3e50 !important;
    background-image: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    opacity: 1 !important;
    visibility: visible !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
}

html body div#mobile-nav.mobile-nav.hmburger-menu.active,
html body div#mobile-nav.hmburger-menu.active,
html body #mobile-nav.active {
    background: #2c3e50 !important;
    background-color: #2c3e50 !important;
    background-image: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* ==================== HEADER STYLES ==================== */

/* Top bar avec informations de contact */
.top-bar {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 12px 0;
    color: white;
    font-size: 0.9rem;
    border-bottom: 2px solid #B7BD90;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.top-bar-item:hover {
    color: #B7BD90;
    transform: translateX(3px);
}

.top-bar-item i {
    color: #B7BD90;
    font-size: 1rem;
}

.top-bar-hours {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Header principal amélioré */
header.one {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

header.one.scrolled {
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
}

.bottom-bar {
    padding: 20px 0;
    transition: padding 0.3s ease;
}

header.one.scrolled .bottom-bar {
    padding: 15px 0;
}

/* Logo amélioré */
.logo img {
    max-height: 70px;
    transition: all 0.3s ease;
}

header.one.scrolled .logo img {
    max-height: 55px;
}

/* Navigation améliorée */
.navbar-links {
    display: flex;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.navbar-links li a {
    position: relative;
    display: block;
    padding: 12px 20px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.navbar-links li a::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 3px;
    background: #B7BD90;
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.navbar-links li a:hover,
.navbar-links li a.active {
    color: #B7BD90;
}

.navbar-links li a:hover::before,
.navbar-links li a.active::before {
    transform: translateX(-50%) scaleX(1);
}

/* Bouton réservation header - Haute spécificité pour surcharger tous les CSS */
.hamburger-icon .button,
.hamburger-icon a.button,
div.hamburger-icon .button {
    padding: 14px 30px !important;
    background: #B7BD90 !important;
    color: white !important;
    border: none !important;
    outline: none !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    box-shadow: none !important;
    position: relative !important;
}

/* Supprimer tous les pseudo-éléments qui créent des cercles */
.hamburger-icon .button::before,
.hamburger-icon .button::after,
.hamburger-icon a.button::before,
.hamburger-icon a.button::after {
    display: none !important;
    content: none !important;
    border: none !important;
    background: none !important;
}

.hamburger-icon .button:focus,
.hamburger-icon .button:active,
.hamburger-icon .button:visited,
.hamburger-icon a.button:focus,
.hamburger-icon a.button:active,
.hamburger-icon a.button:visited {
    background: #B7BD90 !important;
    color: white !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.hamburger-icon .button:hover,
.hamburger-icon a.button:hover {
    background: #9da67a !important;
    color: white !important;
    transform: translateY(-2px) !important;
    filter: brightness(1.05) !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Menu burger amélioré */
.bar-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.bar-menu:hover {
    color: #B7BD90;
    transform: scale(1.1);
}

/* Menu mobile moderne - Forcer l'opacité complète avec ultra haute spécificité */
.mobile-nav,
.mobile-nav.hmburger-menu,
div.mobile-nav,
.hmburger-menu,
div.hmburger-menu,
#mobile-nav,
div#mobile-nav {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 320px !important;
    height: 100vh !important;
    background: #2c3e50 !important;
    background-color: #2c3e50 !important;
    background-image: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    padding: 30px !important;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
    z-index: 9999 !important;
    overflow-y: auto !important;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3) !important;
    opacity: 1 !important;
    visibility: visible !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
}

.mobile-nav.active,
.mobile-nav.hmburger-menu.active,
div.mobile-nav.active,
.hmburger-menu.active,
#mobile-nav.active {
    right: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: #2c3e50 !important;
    background-color: #2c3e50 !important;
    background-image: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
}

.mobile-nav .res-log {
    margin-bottom: 40px !important;
    padding-bottom: 20px !important;
    border-bottom: 2px solid rgba(183, 189, 144, 0.3) !important;
    opacity: 1 !important;
}

.mobile-nav .res-log img {
    max-width: 150px !important;
    opacity: 1 !important;
}

.mobile-nav ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 1 !important;
}

.mobile-nav ul li {
    margin-bottom: 5px !important;
    opacity: 1 !important;
}

.mobile-nav ul li a {
    display: block !important;
    padding: 15px 20px !important;
    color: white !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
    border-left: 3px solid transparent !important;
    opacity: 1 !important;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
    background: rgba(183, 189, 144, 0.2) !important;
    border-left-color: #B7BD90 !important;
    padding-left: 25px !important;
    color: white !important;
}

#res-cross,
a#res-cross {
    position: absolute !important;
    top: 25px !important;
    right: 25px !important;
    width: 35px !important;
    height: 35px !important;
    cursor: pointer !important;
    z-index: 10000 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#res-cross::before,
#res-cross::after,
a#res-cross::before,
a#res-cross::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 25px !important;
    height: 3px !important;
    background: white !important;
    transition: all 0.3s ease !important;
    display: block !important;
    opacity: 1 !important;
}

#res-cross::before,
a#res-cross::before {
    transform: translate(-50%, -50%) rotate(45deg) !important;
}

#res-cross::after,
a#res-cross::after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
}

#res-cross:hover::before,
#res-cross:hover::after,
a#res-cross:hover::before,
a#res-cross:hover::after {
    background: #B7BD90 !important;
    transform: translate(-50%, -50%) rotate(45deg) scale(1.1) !important;
}

#res-cross:hover::after,
a#res-cross:hover::after {
    transform: translate(-50%, -50%) rotate(-45deg) scale(1.1) !important;
}

/* Overlay pour le menu mobile */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==================== FOOTER STYLES ==================== */

footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    padding: 60px 0 0;
    margin-top: 80px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, transparent, #B7BD90, transparent);
}

/* Colonnes du footer */
.footer-column {
    margin-bottom: 40px;
}

.footer-column h3,
.footer-column h3 *,
footer .footer-column h3 {
    font-family: 'Fredoka One', cursive !important;
    font-size: 1.5rem !important;
    color: white !important;
    margin-bottom: 25px !important;
    position: relative !important;
    padding-bottom: 15px !important;
    border: none !important;
    outline: none !important;
}

/* Supprimer TOUS les pseudo-éléments des titres footer (bandes jaunes du thème) */
.footer-column h3::before,
footer .footer-column h3::before,
.link-about h3::before,
footer h3::before {
    display: none !important;
    content: none !important;
    background: none !important;
    border: none !important;
}

/* Garder uniquement la bande verte personnalisée */
.footer-column h3::after,
footer .footer-column h3::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 50px !important;
    height: 3px !important;
    background: #B7BD90 !important;
    border-radius: 2px !important;
    border: none !important;
    box-shadow: none !important;
}

/* Logo footer */
.logo-white img {
    max-width: 200px;
    margin-bottom: 25px;
    filter: brightness(1.1);
}

.logo-white p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.logo-white span {
    color: #B7BD90;
    font-weight: 600;
}

.logo-white h6 {
    display: inline-block;
    background: #B7BD90;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 15px;
}

/* Liens footer */
.link-about ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-about ul li {
    margin-bottom: 12px;
}

.link-about ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.link-about ul li i {
    color: #B7BD90;
    transition: all 0.3s ease;
}

.link-about ul li a:hover {
    color: #B7BD90;
    padding-left: 5px;
}

.link-about ul li a:hover i {
    transform: translateX(5px);
}

/* Informations de contact footer */
.footer-contact {
    margin-bottom: 40px;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.footer-contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(183, 189, 144, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B7BD90;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-contact-item:hover .footer-contact-icon {
    background: #B7BD90;
    color: white;
    transform: scale(1.1);
}

.footer-contact-text h6 {
    font-size: 0.9rem;
    color: #B7BD90;
    margin-bottom: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-contact-text p,
.footer-contact-text a {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact-text a:hover {
    color: #B7BD90;
}

/* Footer bottom */
.footer-bootem {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bootem h6 {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 400;
}

.footer-bootem h6 span {
    color: #B7BD90;
    font-weight: 600;
}

.footer-bootem h6 a {
    color: #B7BD90;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-bootem h6 a:hover {
    color: white;
}

/* Réseaux sociaux footer */
.header-social-media {
    display: flex;
    gap: 15px;
}

.header-social-media a {
    width: 40px;
    height: 40px;
    background: rgba(183, 189, 144, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B7BD90;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.header-social-media a:hover {
    background: #B7BD90;
    color: white;
    transform: translateY(-3px);
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1199px) {
    .navbar-links {
        gap: 10px;
    }

    .navbar-links li a {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .hamburger-icon .button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 991px) {
    .top-bar {
        text-align: center;
    }

    .top-bar .container {
        justify-content: center;
    }

    .top-bar-info {
        flex-direction: column;
        gap: 10px;
    }

    .navbar {
        display: none;
    }

    .bar-menu {
        display: block;
    }

    .hamburger-icon {
        text-align: right;
    }

    .hamburger-icon .button {
        display: none;
    }

    .footer-bootem {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 40px 0 0;
        margin-top: 60px;
    }

    .footer-column {
        margin-bottom: 30px;
    }

    .mobile-nav {
        width: 280px;
    }
}

@media (max-width: 480px) {
    .top-bar {
        font-size: 0.8rem;
        padding: 10px 0;
    }

    .logo img {
        max-height: 55px;
    }

    .mobile-nav {
        width: 100%;
    }
}
