:root {
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --text-main: #1f2937;
    --text-light: #6b7280;
    --accent: #f7ae3d; /* Ta couleur spécifique */
    --open-green: #22c55e;
    --closed-red: #ef4444;
    --border-color: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow: hidden;
}

body.loaded {
    overflow-x: hidden;
    overflow-y: auto;
}

/* === LOADER === */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner-logo {
    width: 120px;
    height: 120px;
    object-fit: contain; /* Empêche l'effet oval si l'image n'est pas carrée */
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* === HEADER === */
.main-header {
    background-color: black;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.logo-container {
    position: absolute;
    bottom: -60px;
    width: 180px;  
    height: 180px;
}

.main-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

/* === CONTENEUR === */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 80px 20px 20px 20px;
}

/* === BOUTON DE COMMANDE === */
.order-btn {
    background-color: var(--accent) !important;
    color: #000 !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    padding: 22px !important;
    border: 2px solid #000 !important;
    justify-content: center !important;
    gap: 15px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* === CARTES ET SOCIAL === */
.card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.nav-item {
    background: var(--card-bg);
    padding: 18px 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-main);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 10px;
    transition: transform 0.2s;
}

.nav-item:active { transform: scale(0.98); }

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
}

.instagram { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.tiktok { background: #000; }
.facebook { background: #1877F2; }
.snapchat { background: #FFFC00; color: #000; }

.section-title {
    margin: 25px 0 12px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
}

.hour-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    color: var(--text-light);
    font-size: 0.9rem;
}

.status-closed { color: var(--closed-red); font-weight: 600; }

.text-col { display: flex; flex-direction: column; }
.text-col .label { font-size: 0.75rem; color: var(--text-light); }
.text-col a { color: var(--text-main); text-decoration: none; font-weight: 600; }

.info-row { display: flex; align-items: center; gap: 15px; }
.icon-box { width: 36px; height: 36px; background: #f3f4f6; border-radius: 8px; display: flex; align-items: center; justify-content: center; }

@media (max-width: 480px) {
    .main-header { height: 130px; }
    .logo-container { width: 140px; height: 140px; bottom: -45px; }
    .container { padding-top: 65px; }
}