/* ==========================================================================
   SUSHI ET GRILLE - DESKTOP STYLES
   Design System: Dark, Premium, Gold, Japanese Aesthetic
   ========================================================================== */

:root {
    --bg-dark: #0A0A0A;
    --bg-darker: #050505;
    --bg-card: #1A1A1A;
    --text-light: #F5F0E8;
    --text-muted: #A0A0A0;
    --gold-primary: #C9A84C;
    --gold-dark: #8B6914;
    --red-accent: #E63946;
    --gold-gradient: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-jp: 'Noto Serif JP', serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.is-desktop {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 1rem;
}

a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gold-text {
    color: var(--gold-primary);
}

.jp-text {
    font-family: var(--font-jp);
    opacity: 0.5;
    letter-spacing: 0.2em;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--gold-gradient);
    color: var(--bg-dark);
    padding: 0.8rem 2rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

/* Header */
.desktop-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.desktop-header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

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

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-jp {
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--text-muted);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.desktop-nav ul {
    display: flex;
    gap: 2rem;
}

.desktop-nav a:not(.btn-primary) {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
}

.desktop-nav a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 2px;
    background: var(--gold-primary);
    transition: var(--transition);
}

.desktop-nav a:not(.btn-primary):hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Replace with generated image path later */
    background: url('/assets/images/HERO.png') center/cover no-repeat;
    z-index: -2;
    transform: scale(1.1);
    animation: slowZoom 20s infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.9) 100%);
    z-index: -1;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
}

.hero-jp {
    display: block;
    font-size: 2rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Menu Section */
.menu-section {
    padding: 8rem 0;
    background: var(--bg-dark);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--gold-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.section-header h2::after {
    content: '';
    width: 60px; height: 3px;
    background: var(--gold-primary);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.menu-item {
    display: flex;
    gap: 2rem;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: var(--gold-primary);
    transform: scaleY(0);
    transition: transform 0.4s ease;
    transform-origin: bottom;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(201, 168, 76, 0.2);
}

.menu-item:hover::before {
    transform: scaleY(1);
}

.menu-icon {
    flex-shrink: 0;
    width: 60px; height: 60px;
    border-radius: 50%;
    border: 1px solid var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold-primary);
}

.menu-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.menu-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.plat-du-jour {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.1), transparent);
    border: 1px solid var(--gold-primary);
    text-align: center;
    justify-content: center;
    padding: 3rem;
}

/* Infos Section */
.infos-section {
    padding: 8rem 0;
    background: var(--bg-darker);
}

.infos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.horaires-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.horaires-list {
    margin-top: 2rem;
}

.horaires-list li {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.horaires-list li:last-child { border: none; }

/* Reservation Page */
.page-header {
    padding: 12rem 0 6rem;
    text-align: center;
    background: var(--bg-darker);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.reservation-container {
    max-width: 800px;
    margin: -4rem auto 6rem;
    background: var(--bg-card);
    padding: 4rem;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255,255,255,0.05);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-control {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1rem;
    color: var(--text-light);
    border-radius: 4px;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: rgba(0,0,0,0.5);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A84C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.form-submit {
    grid-column: 1 / -1;
    margin-top: 2rem;
}

.form-submit button {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
}

/* Notifications */
.notification {
    display: none;
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 500;
}

.notification.success {
    display: block;
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.notification.error {
    display: block;
    background: rgba(230, 57, 70, 0.1);
    color: var(--red-accent);
    border: 1px solid rgba(230, 57, 70, 0.3);
}

/* Footer */
.desktop-footer {
    background: #030303;
    padding: 6rem 0 2rem;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    color: var(--gold-primary);
    font-size: 1.5rem;
    margin-bottom: 0;
}

.footer-col h4 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul a:hover {
    color: var(--gold-primary);
}

.footer-col.contact p {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.footer-col.contact i {
    color: var(--gold-primary);
    margin-top: 0.3rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Tablet — 1024px */
@media (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .infos-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}

/* Mobile — 768px */
@media (max-width: 768px) {

    /* Header */
    .desktop-header {
        padding: 1rem 0;
    }

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

    .desktop-nav ul {
        display: none;
    }

    .desktop-nav {
        gap: 1rem;
    }

    /* Hero */
    .hero h1 {
        font-size: 2.6rem;
        line-height: 1.15;
    }

    .hero-jp {
        font-size: 1.3rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    /* Sections */
    .menu-section,
    .infos-section {
        padding: 5rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .menu-item {
        gap: 1rem;
        padding: 1.5rem;
    }

    .infos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .desktop-footer {
        padding: 4rem 0 2rem;
    }

    /* Reservation */
    .reservation-container {
        margin: -2rem 1rem 3rem;
        padding: 2rem 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .page-header {
        padding: 8rem 1rem 4rem;
    }

    /* Horaires card */
    .horaires-card {
        padding: 2rem 1.5rem;
    }
}

/* Small phones — 480px */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-jp {
        font-size: 1rem;
    }

    .btn-primary {
        padding: 0.8rem 1.4rem;
        font-size: 0.85rem;
    }

    .container {
        padding: 0 1rem;
    }

    .menu-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.2rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .horaires-list li {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 0.2rem;
        padding: 0.8rem 0;
    }

    .plat-du-jour {
        padding: 2rem 1rem;
    }

    .plat-du-jour h3 {
        font-size: 1.8rem !important;
    }

    .desktop-nav .btn-primary {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    cursor: pointer;
}

.whatsapp-float img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: waPulse 2.5s infinite;
}

.whatsapp-float:hover img {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.65);
    animation: none;
}

.whatsapp-tooltip {
    background: #25D366;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    font-family: var(--font-body);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes waPulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}


