/* ========================================
   BOOMERANG RESTAURANT - CSS
   ======================================== */

:root {
    /* Couleurs de base */
    --navy: #1a2240;
    --navy-dark: #0f1629;
    --white: #fff;
    --text: rgba(255,255,255,0.9);
    --text-muted: rgba(255,255,255,0.6);

    /* Palette Or (du clair au sombre) */
    --gold-light: #d4b56a;
    --gold: #c9a55c;
    --gold-mid: #b8944d;
    --gold-dark: #a07d3a;

    /* Couleur or dynamique (contrôlée par JS) */
    --gold-current: var(--gold);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    background: url('assets/background.webp') center/cover;
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    font-size: 20px;
    border: 3px solid var(--gold-current);
    margin: 20px;
    box-shadow: inset 0 0 0 8px var(--navy-dark), inset 0 0 0 10px var(--gold-current);
}

/* === Classe universelle pour texte doré === */
.gold {
    color: var(--gold-current);
    transition: color 0.15s ease-out;
}

/* === Classe pour SVG/images dorées === */
.gold-svg {
    transition: filter 0.15s ease-out;
}

/* === Animation logo === */
@keyframes zoomIn {
    0% { opacity: 0; transform: scale(0.3) rotate(-8deg); }
    40% { opacity: 1; transform: scale(1.15) rotate(3deg); }
    60% { transform: scale(0.95) rotate(-1deg); }
    80% { transform: scale(1.02) rotate(0.5deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* === Corners === */
.corners-top, .corners-bottom {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    pointer-events: none;
    position: relative;
    z-index: 1;
}

.corner {
    width: 200px;
    height: 200px;
    position: absolute;
    opacity: 0.8;
}

.corners-top .top-left { top: 15px; left: 15px; }
.corners-top .top-right { top: 15px; right: 15px; transform: rotate(90deg); }
.corners-bottom .bottom-left { bottom: 15px; left: 15px; transform: rotate(-90deg); }
.corners-bottom .bottom-right { bottom: 15px; right: 15px; transform: rotate(180deg); }

/* === Header === */
.header {
    display: flex;
    justify-content: center;
    padding: 20px 40px;
}

.nav { display: flex; gap: 40px; }

.nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
}
.nav a:hover { color: var(--gold-current); }

.social { display: flex; gap: 10px; }

.social a {
    color: var(--gold-current);
    text-decoration: none;
    font-size: 0.8rem;
    padding: 4px 8px;
    border: 1px solid var(--gold-current);
    border-radius: 3px;
    transition: all 0.2s;
}
.social a:hover {
    background: var(--gold-current);
    color: var(--navy-dark);
}

/* === Separators === */
.separator { display: block; width: 200px; height: auto; margin: 20px auto; }
.separator.small { width: 150px; }

.section-sep {
    text-align: center;
    padding: 40px 0;
    position: relative;
    z-index: 1;
}
.section-sep img { height: 40px; width: auto; }

/* === Hero === */
.hero {
    text-align: center;
    padding: 40px 20px 60px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: min(480px, 80vw);
    height: auto;
    margin: 0 auto 30px;
    display: block;
    animation: zoomIn 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero h1 {
    font-family: 'Limelight', cursive, 'Georgia', serif;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 400;
    margin: 20px 0 15px;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 20px;
}

/* === Button === */
.btn {
    display: inline-block;
    padding: 12px 35px;
    background: var(--gold-current);
    color: var(--navy-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    margin-top: 10px;
}
.btn:hover {
    background: transparent;
    color: var(--gold-current);
    box-shadow: inset 0 0 0 2px var(--gold-current);
}

/* === Sections === */
section {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

h2 {
    font-family: 'Limelight', cursive, 'Georgia', serif;
    font-size: 2.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 10px;
}

h3, h4 {
    font-family: 'Limelight', cursive, 'Georgia', serif;
    font-weight: 400;
}

/* === Menu === */
.menu-block { text-align: center; margin: 30px 0; }

.ornamented-block {
    position: relative;
    background: rgba(26, 34, 64, 0.3);
    border: 2px dotted var(--gold-current);
    padding: 60px 40px 40px;
    margin: 30px auto;
    max-width: 1000px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}
.ornamented-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.ornamented-block .corner {
    position: absolute;
    width: 90px;
    height: 90px;
}
.ornamented-block .corner.top-left { top: 10px; left: 10px; transform: rotate(0deg); }
.ornamented-block .corner.top-right { top: 10px; right: 10px; transform: rotate(90deg); }
.ornamented-block .corner.bottom-left { bottom: 10px; left: 10px; transform: rotate(-90deg); }
.ornamented-block .corner.bottom-right { bottom: 10px; right: 10px; transform: rotate(180deg); }

.ornamented-block h3 {
    font-size: 1.8rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* Title with price on same line */
.title-with-price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 20px;
}
.title-with-price h3 {
    margin-bottom: 0;
}
.title-with-price .price {
    font-size: 1.4rem;
    font-weight: 500;
}

.ornamented-block h4 {
    font-size: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 25px 0 15px;
}

/* Deux colonnes */
.ornamented-block.two-columns { display: flex; align-items: stretch; }
.ornamented-block.two-columns .column { flex: 1; padding: 0 20px; }

.vertical-separator {
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--gold-current) 15%, var(--gold-current) 85%, transparent);
    margin: 10px;
}

.menu-block h3 {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.menu-grid.two-cols { grid-template-columns: repeat(2, 1fr); }

.menu-card {
    background: rgba(26, 34, 64, 0.5);
    border: 2px dotted var(--gold-current);
    padding: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.menu-card h3 {
    font-size: 1.7rem;
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-card h4 {
    font-size: 1.5rem;
    text-align: center;
    margin: 20px 0 10px;
}

.item { margin-bottom: 15px; }

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 5px;
}
.item-header strong { color: var(--white); font-weight: 500; }
.item-header .price { font-weight: 500; white-space: nowrap; }
.item > span { font-size: 1.1rem; color: var(--text-muted); display: block; }

/* Supplements */
.supplements { list-style: none; }
.supplements li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 2px dotted var(--gold-current);
    font-size: 1.2rem;
}

.sauces-list { margin-top: 0; }
.sauces-list li { font-size: 1.1rem; }

/* Menu Enfant */
.menu-enfant {
    text-align: center;
    padding: 35px;
    background: rgba(26, 34, 64, 0.5);
    border: 2px dotted var(--gold-current);
    max-width: 1000px;
    margin: 30px auto;
}
.menu-enfant h3 {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.menu-enfant h3 span {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-transform: none;
}
.menu-enfant .price { font-size: 1.8rem; margin: 10px 0; }
.menu-enfant p { font-size: 1.2rem; color: var(--text-muted); line-height: 1.8; }
.menu-enfant p strong { color: var(--white); }

/* === About === */
.about { text-align: center; }
.about p { max-width: 600px; margin: 15px auto; }

/* === Contact === */
.contact-block { max-width: 1000px; margin: 30px auto; }

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.contact-item { text-align: center; padding: 0 40px; }

.contact-label {
    font-family: 'Limelight', cursive, 'Georgia', serif;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.contact-item p { color: var(--text); font-size: 1.1rem; line-height: 1.6; }

.social-links { display: flex; gap: 15px; justify-content: center; }

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--gold-current);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-icon svg { fill: var(--gold-current); width: 20px; height: 20px; transition: fill 0.3s; }
.social-icon:hover { background: var(--gold-current); }
.social-icon:hover svg { fill: var(--navy-dark); }

.contact-content .vertical-separator { width: 2px; height: 60px; margin: 0 20px; }

.contact-info {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 30px 0;
    flex-wrap: wrap;
}
.contact-info h4 {
    font-family: 'Limelight', cursive, 'Georgia', serif;
    margin-bottom: 5px;
}
.contact-info p { color: var(--text); font-size: 1.05rem; }

/* === Footer === */
.footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(201, 165, 92, 0.2);
    margin-top: 40px;
}
.footer-logo { width: 150px; margin-bottom: 20px; }
.footer .social { justify-content: center; margin-bottom: 15px; }
.footer p { font-size: 0.8rem; color: var(--text-muted); }

/* === Responsive === */
@media (max-width: 768px) {
    .nav { gap: 20px; }
    .corner { width: 50px; height: 50px; }
    .hero-logo { width: 200px; }
    .contact-info { flex-direction: column; gap: 25px; }
    .menu-grid, .menu-grid.two-cols { grid-template-columns: 1fr; }

    .ornamented-block.two-columns { flex-direction: column; }
    .vertical-separator {
        width: 80%;
        height: 2px;
        background: linear-gradient(to right, transparent, var(--gold-current) 15%, var(--gold-current) 85%, transparent);
        margin: 20px auto;
    }

    .contact-content { flex-direction: column; gap: 20px; }
    .contact-content .vertical-separator {
        width: 60%;
        height: 2px;
        background: linear-gradient(to right, transparent, var(--gold-current) 15%, var(--gold-current) 85%, transparent);
        margin: 20px auto;
    }
}

@media (max-width: 480px) {
    .corner { width: 40px; height: 40px; }
    .separator { width: 150px; }
    .hero h1 { font-size: 1.8rem; }
    .hero-logo { width: 160px; }
}
