/* === POLICES ET BASE === */
@font-face {
    font-family: 'DesignerFont';
    src: url('fonts/DESIGNER.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

/* Titre principal et menus : Espacement augmenté pour le look "Elite" */
.font-oswald { 
    font-family: 'DesignerFont', sans-serif !important; 
    letter-spacing: 0.12em; /* Espacement entre les lettres */
    text-transform: uppercase;
}

/* Titre Hero (Anton) : Plus d'impact */
.font-titre {
    font-family: 'Anton', sans-serif !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* === GESTION DES ARRIERE-PLANS === */
body.theme-intro {
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('images/flammejpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #000;
    height: 100vh;
    overflow: hidden;
}

body.theme-restaurant {
    background-image: url('images/baseflyers3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #1a1a1a;
}

/* === STYLES PAGE INTRO (INDEX.HTML) === */
#location-selection {
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-out;
    transform: translateY(20px);
}
#location-selection.visible {
    opacity: 1 !important;
    transform: translateY(0);
}
.selection-container {
    max-height: 100vh;
    overflow-y: auto;
}

/* === STYLES PAGES RESTAURANT === */
.page-section { display: none; opacity: 0; transition: opacity 0.1s ease-in-out; }
.page-section.active { display: block; opacity: 1; }

/* Scrollbar personnalisée en Rouge Pur */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #000000; }
::-webkit-scrollbar-thumb { background: #FF0000; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #cc0000; }

/* Sécurité fond noir modal retrait */
.bg-zinc-1000 { background-color: #000000 !important; }

/* Animation Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Effet Typewriter */
.typing-cursor::after {
    content: '|';
    color: #FF0000;
    animation: blink 1s step-end infinite;
    margin-left: 4px;
}
@keyframes blink { 50% { opacity: 0; } }

/* Animation CTA Pulsé en Rouge Pur */
@keyframes pulse-braise {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(255, 0, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}
.cta-pulse {
    animation: pulse-braise 2s infinite;
}

/* Effet Bouton Arcade 3D */
.arcade-btn {
    position: relative;
    top: 0;
    transition: all 0.1s ease-in-out;
}
.arcade-btn:active {
    top: 6px;
    box-shadow: 0 0px 0 0 transparent !important;
}

/* Effet Ruban "Ouverture Prochaine" */
.scotch-container {
    position: relative;
    overflow: hidden;
}

.scotch-tape {
    position: absolute;
    top: 20px;
    right: -35px;
    background: #FF0000; /* Rouge Pur */
    color: white;
    font-family: 'DesignerFont', sans-serif;
    font-size: 10px;
    font-weight: bold;
    padding: 5px 40px;
    transform: rotate(30deg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    z-index: 10;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px dashed rgba(255,255,255,0.3);
}

.btn-disabled {
    cursor: not-allowed;
    filter: grayscale(0.5);
    opacity: 0.8;
}

/* style.css */

/* === EFFET NÉON ROUGE DÉFECTUEUX (LOGO UNIQUEMENT) === */

/* Animation de scintillement (Flicker) */
@keyframes flicker-logo {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        opacity: 1;
        /* Crée une lueur rouge intense autour du logo */
        filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.9)) drop-shadow(0 0 20px rgba(255, 0, 0, 0.6));
    }
    20%, 24%, 55% {
        opacity: 0.2; /* Le logo s'éteint presque */
        filter: none; /* Plus de lueur quand c'est éteint */
    }
    21%, 23%, 56% {
        opacity: 0.7; /* Petit sursaut avant de revenir */
        filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.5)); /* Lueur faible */
    }
}

/* Application au Logo (Flicker + Lueur externe) */
.neon-flicker-logo {
    display: inline-block; /* Nécessaire pour l'animation */
    /* Lueur rouge par défaut quand c'est allumé */
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.9)) drop-shadow(0 0 20px rgba(255, 0, 0, 0.6));
    animation: flicker-logo 3s infinite;
}