/* ========================================
   STYLES HEADER ET FOOTER - CABARET ANGEMONT
   ======================================== */

/* Variables CSS */
:root {
    --angemont-gold: #d4af37;
    --angemont-black: #0a0a0a;
    --angemont-white: #ffffff;
    --angemont-dark-gray: #333333;
    --angemont-light-gray: #cccccc;
    --angemont-gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    --angemont-gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    --angemont-spacing-xs: 8px;
    --angemont-spacing-sm: 12px;
    --angemont-spacing-md: 16px;
    --angemont-spacing-lg: 24px;
    --angemont-spacing-xl: 32px;
    --angemont-radius-sm: 6px;
    --angemont-radius-md: 8px;
    --angemont-radius-lg: 12px;
    --angemont-font-display: 'Playfair Display', serif;
    --angemont-font-body: 'Inter', sans-serif;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* État réduit au défilement */
.site-header.shrink .header-container,
#masthead.shrink .header-container {
    height: 60px;
}

.site-header.shrink .site-logo-wrapper img,
#masthead.shrink .site-logo-wrapper img {
    height: 48px !important;
    transform: translateZ(0);
}

.site-header.hero-hidden {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
}

.site-header:not(.hero-hidden) {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--angemont-spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 140px;
    transition: height 0.3s ease;
}

/* Logo */
.site-branding {
    flex-shrink: 0;
}

/* Centrer verticalement l'image du logo dans sa zone */
.site-logo-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Forcer la taille du logo */
#masthead .site-logo-wrapper img,
.site-header .site-logo-wrapper img,
.site-branding img {
    height: 120px !important;
    width: auto !important;
    max-width: none !important;
}

.site-logo-wrapper img {
    height: 120px !important;
    width: auto !important;
    max-width: none !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: height 0.3s ease, transform 0.3s ease;
}

.site-logo {
    text-decoration: none;
    color: var(--angemont-gold);
    font-family: var(--angemont-font-display);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    line-height: 0.9;
}

.logo-text:first-child {
    font-size: 1.2rem;
    color: var(--angemont-gold);
}

.logo-text:last-child {
    font-size: 1.4rem;
    color: var(--angemont-white);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: var(--angemont-spacing-lg);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--angemont-spacing-lg);
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: var(--angemont-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: var(--angemont-spacing-sm) var(--angemont-spacing-md);
    border-radius: var(--angemont-radius-sm);
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--angemont-gold);
    background: rgba(255, 215, 0, 0.1);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--angemont-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Sous-menus */
.nav-menu .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--angemont-radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: none;
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: var(--angemont-spacing-sm) 0;
    text-align: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    left: 50%;
    margin-left: -100px;
}

/* Les sous-menus sont déjà centrés par défaut */

.nav-menu .sub-menu li {
    margin: 0;
}

.nav-menu .sub-menu a {
    display: block;
    padding: var(--angemont-spacing-sm) var(--angemont-spacing-md);
    color: var(--angemont-light-gray);
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0;
    border-radius: 0;
    position: relative;
    text-align: center;
}

.nav-menu .sub-menu a::after {
    display: none;
}

.nav-menu .sub-menu a:hover {
    color: var(--angemont-gold);
    background: rgba(255, 215, 0, 0.1);
    padding-left: calc(var(--angemont-spacing-md) + 8px);
}

.nav-menu .sub-menu a::before {
    content: '';
    position: absolute;
    left: var(--angemont-spacing-md);
    top: 50%;
    width: 0;
    height: 1px;
    background: var(--angemont-gold);
    transition: width 0.3s ease;
    transform: translateY(-50%);
}

.nav-menu .sub-menu a:hover::before {
    width: 8px;
}

/* Suppression complète de la flèche */

/* Boutons CTA */
.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--angemont-spacing-sm);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--angemont-spacing-sm) var(--angemont-spacing-md);
    border-radius: var(--angemont-radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--angemont-gradient-gold);
    color: var(--angemont-black);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    color: var(--angemont-black);
}

.btn-outline-gold {
    background: transparent;
    color: var(--angemont-gold);
    border: 2px solid var(--angemont-gold);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-outline-gold:hover {
    background: var(--angemont-gold);
    color: var(--angemont-black);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.btn-compact {
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    min-height: 40px;
}

/* Menu mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--angemont-spacing-sm);
    color: var(--angemont-white);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
    height: 18px;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: var(--angemont-gold);
    transition: all 0.3s ease;
    border-radius: 1px;
}

.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ========================================
   FOOTER STYLES - DESIGN ÉPURÉ
   ======================================== */

.site-footer {
    background: var(--angemont-gradient-dark);
    color: var(--angemont-white);
    padding: var(--angemont-spacing-xl) 0 0;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

/* Effet de brillance subtile */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--angemont-gold), transparent);
    opacity: 0.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--angemont-spacing-md);
}

/* Contenu principal du footer */
.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--angemont-spacing-xl) 0;
    gap: var(--angemont-spacing-lg);
}

/* Logo du footer */
.footer-brand {
    flex-shrink: 0;
}

.footer-brand h2 {
    font-family: var(--angemont-font-display);
    font-size: 1.8rem;
    color: var(--angemont-gold);
    margin: 0 0 var(--angemont-spacing-xs) 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.logo-accent {
    width: 80px;
    height: 3px;
    background: var(--angemont-gradient-gold);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Contact essentiel */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--angemont-spacing-sm);
    flex: 1;
    max-width: 400px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--angemont-spacing-sm);
    color: var(--angemont-light-gray);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: var(--angemont-white);
}

.contact-icon {
    font-size: 1.1rem;
    color: var(--angemont-gold);
    flex-shrink: 0;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--angemont-gold);
}

/* Réseaux sociaux */
.footer-social {
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: var(--angemont-spacing-sm);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    color: var(--angemont-light-gray);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--angemont-gradient-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    color: var(--angemont-black);
    border-color: var(--angemont-gold);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.social-link svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* Barre du bas */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
    margin-top: var(--angemont-spacing-xl);
    padding: var(--angemont-spacing-lg) 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--angemont-spacing-md);
}

.footer-bottom p {
    color: var(--angemont-light-gray);
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: var(--angemont-spacing-lg);
}

.footer-links a {
    color: var(--angemont-light-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: var(--angemont-spacing-xs) 0;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--angemont-gold);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--angemont-gold);
}

.footer-links a:hover::after {
    width: 100%;
}

/* ========================================
   ANIMATIONS
   ======================================== */

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Tablettes (max-width: 1024px) */
@media (max-width: 1024px) {
    .header-container {
        height: 100px;
        padding: 0 var(--angemont-spacing-md);
    }

    .site-logo-wrapper img {
        height: 80px;
    }

    .main-navigation {
        gap: var(--angemont-spacing-sm);
    }

    .nav-menu a {
        padding: var(--angemont-spacing-sm) var(--angemont-spacing-md);
        font-size: 0.9rem;
    }

    .btn-compact {
        padding: 8px 16px;
        font-size: 0.85rem;
        min-height: 36px;
    }

    .nav-cta {
        gap: var(--angemont-spacing-sm);
    }
}

/* Mobile large (max-width: 768px) */
@media (max-width: 768px) {
    .header-container {
        height: 100px;
        padding: 0 var(--angemont-spacing-sm);
    }

    .site-logo-wrapper img {
        height: 80px;
    }

    .main-navigation {
        gap: var(--angemont-spacing-sm);
    }

    .nav-menu-container {
        position: fixed;
        top: 100px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 215, 0, 0.2);
        padding: var(--angemont-spacing-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-menu-container.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu {
        flex-direction: column;
        gap: var(--angemont-spacing-md);
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: var(--angemont-spacing-md);
        text-align: center;
        border-radius: var(--angemont-radius-md);
        background: rgba(255, 255, 255, 0.05);
    }

    /* Sous-menus mobile */
    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.03);
        border: none;
        border-radius: 0;
        box-shadow: none;
        margin: var(--angemont-spacing-xs) 0 0 var(--angemont-spacing-md);
        padding: 0;
        min-width: auto;
    }

    .nav-menu .sub-menu a {
        padding: var(--angemont-spacing-sm) var(--angemont-spacing-md);
        font-size: 0.85rem;
        text-align: left;
        background: rgba(255, 255, 255, 0.02);
        margin-bottom: 2px;
    }

    .nav-menu .sub-menu a:hover {
        padding-left: var(--angemont-spacing-md);
        background: rgba(255, 215, 0, 0.1);
    }

    /* Pas de flèches sur mobile non plus */

    /* État actif des sous-menus sur mobile */
    .nav-menu .sub-menu.active {
        display: block;
    }

    .nav-menu .sub-menu:not(.active) {
        display: none;
    }

    /* Pas de flèches actives */

    .nav-cta {
        flex-direction: column;
        gap: var(--angemont-spacing-sm);
        width: 100%;
        margin-top: var(--angemont-spacing-lg);
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .btn-compact {
        padding: 12px 20px;
        font-size: 0.85rem;
        min-height: 44px;
    }

    .menu-toggle {
        display: block;
    }

    .footer-main {
        flex-direction: column;
        text-align: center;
        gap: var(--angemont-spacing-xl);
        padding: var(--angemont-spacing-lg) 0;
    }

    .footer-contact {
        max-width: none;
        align-items: center;
    }

    .contact-item {
        justify-content: center;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: var(--angemont-spacing-sm);
    }

    .social-links {
        justify-content: center;
    }
}

/* Mobile petit (max-width: 480px) */
@media (max-width: 480px) {
    .header-container {
        height: 90px;
        padding: 0 var(--angemont-spacing-xs);
    }

    .site-logo-wrapper img {
        height: 70px;
    }

    .btn-compact {
        padding: 6px 12px;
        font-size: 0.8rem;
        min-height: 32px;
    }

    .nav-menu-container {
        top: 90px;
        padding: var(--angemont-spacing-md);
    }

    .nav-menu a {
        padding: var(--angemont-spacing-sm);
        font-size: 0.9rem;
    }

    .nav-menu .sub-menu a {
        padding: var(--angemont-spacing-xs) var(--angemont-spacing-sm);
        font-size: 0.8rem;
    }

    .nav-cta {
        gap: var(--angemont-spacing-xs);
    }

    .logo-text:first-child {
        font-size: 1rem;
    }

    .logo-text:last-child {
        font-size: 1.2rem;
    }
}

/* Très petits écrans (max-width: 360px) */
@media (max-width: 360px) {
    .header-container {
        height: 80px;
        padding: 0 8px;
    }

    .site-logo-wrapper img {
        height: 60px;
    }

    .btn-compact {
        padding: 5px 10px;
        font-size: 0.75rem;
        min-height: 28px;
    }

    .nav-menu-container {
        top: 80px;
        padding: var(--angemont-spacing-sm);
    }

    .nav-menu a {
        padding: 10px;
        font-size: 0.85rem;
    }

    .nav-menu .sub-menu a {
        padding: 8px 10px;
        font-size: 0.75rem;
    }

    .logo-text:first-child {
        font-size: 0.9rem;
    }

    .logo-text:last-child {
        font-size: 1.1rem;
    }

    .footer-brand h2 {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }

    .footer-main {
        gap: var(--angemont-spacing-lg);
        padding: var(--angemont-spacing-md) 0;
    }

    .contact-item {
        font-size: 0.9rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }
}