/* css/restaurant.css */

:root {
    /* Paletă specifică restaurantelor premium / Fine Dining */
    --bg-main: #0a0a0a;
    --bg-surface: #121212;
    --bg-texture: #0f0f0f;
    --gold: #d4af37;
    --gold-dark: #aa8929;
    --text-main: #f9f9f9;
    --text-muted: #888888;
    --border: rgba(212, 175, 55, 0.2);
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo-main, .section-badge, blockquote, .menu-name, .menu-price, .brand-crest {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

a { text-decoration: none; color: inherit; }

/* --- Cursor Custom --- */
.cursor-dot, .cursor-ring {
    position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999999; will-change: transform;
}
.cursor-dot {
    width: 6px; height: 6px; background-color: var(--gold);
    border-radius: 50%; transform: translate(-50%, -50%); transition: opacity 0.3s;
}
.cursor-ring {
    width: 45px; height: 45px; border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%; transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s, background-color 0.4s, border-color 0.4s;
}
body.cursor-hover .cursor-ring {
    width: 70px; height: 70px; background-color: rgba(212, 175, 55, 0.05);
    border-color: var(--gold); backdrop-filter: blur(1px);
}
body.cursor-hover .cursor-dot { opacity: 0; }

@media (hover: none) and (pointer: coarse) {
    .cursor-dot, .cursor-ring { display: none !important; }
    * { cursor: auto !important; }
}

/* --- Navbar --- */
nav {
    position: fixed; top: 0; width: 100%; padding: 30px 5%;
    z-index: 1000; transition: var(--transition);
}
nav.scrolled {
    background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(20px);
    padding: 15px 5%; border-bottom: 1px solid var(--border);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; }

.logo { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; transition: transform 0.4s; }
.logo:hover { transform: scale(1.05); }
.logo-main { font-size: 2.2rem; color: var(--gold); letter-spacing: 2px; }
.logo-sub { font-family: 'Lato', sans-serif; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 4px; color: var(--text-muted); margin-top: 5px; }

.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a:not(.btn-nav) {
    font-family: 'Lato', sans-serif; color: var(--text-main); font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 2px; transition: color 0.3s;
    position: relative; padding-bottom: 5px;
}
.nav-links a:not(.btn-nav):hover, .nav-links a.active:not(.btn-nav) { color: var(--gold); }
.nav-links a:not(.btn-nav)::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
    background: var(--gold); transition: width 0.4s ease;
}
.nav-links a:not(.btn-nav):hover::after, .nav-links a.active:not(.btn-nav)::after { width: 100%; }

.btn-nav {
    border: 1px solid var(--gold); color: var(--gold); padding: 12px 25px;
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; transition: var(--transition);
}
.btn-nav:hover { background: var(--gold); color: var(--bg-main); }

.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 1001; }
.hamburger span { width: 30px; height: 2px; background: var(--gold); transition: 0.3s; }

/* --- Hero Section --- */
.hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg {
    position: absolute; top: -10%; left: -10%; width: 120%; height: 120%;
    background: url('https://images.unsplash.com/photo-1514362545857-3bc16c4c7d1b?q=80&w=2000') center/cover no-repeat;
    z-index: 1; transition: transform 0.1s ease-out; filter: brightness(0.6);
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.9) 100%); z-index: 2;
}
.hero-content { position: relative; z-index: 3; max-width: 900px; padding: 0 5%; }
.stars { color: var(--gold); font-size: 1.2rem; letter-spacing: 5px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(3.5rem, 8vw, 6.5rem); line-height: 1.1; margin-bottom: 25px; }
.hero h1 span { color: var(--gold); font-style: italic; }
.hero p { font-size: 1.1rem; color: #ccc; margin: 0 auto 40px; font-weight: 300; max-width: 600px; letter-spacing: 1px; }

.cta-group { display: flex; justify-content: center; gap: 20px; }
.btn {
    display: inline-block; padding: 15px 40px; font-size: 0.8rem; font-family: 'Lato', sans-serif;
    text-transform: uppercase; letter-spacing: 2px; text-align: center;
    transition: var(--transition); border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--gold); color: var(--bg-main); border-color: var(--gold); }
.btn-primary:hover { background: transparent; color: var(--gold); }
.btn-outline { border-color: var(--border); color: var(--text-main); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-block { width: 100%; }

.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-indicator .line { width: 1px; height: 40px; background: var(--gold); animation: pulseLine 2s infinite; }
.scroll-indicator span { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 3px; color: var(--gold); }
@keyframes pulseLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 50.1% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* --- Layout & Sections --- */
.section { padding: 120px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.text-center { text-align: center; }
.dark-bg { background-color: var(--bg-main); }
.texture-bg { background-color: var(--bg-surface); background-image: radial-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px); background-size: 30px 30px; }
.border-top { border-top: 1px solid var(--border); }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

/* Animatii Scroll */
.reveal { opacity: 0; transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.slide-up { transform: translateY(40px); }
.reveal.slide-left { transform: translateX(40px); }
.reveal.slide-right { transform: translateX(-40px); }
.reveal.active { opacity: 1; transform: translate(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }

/* --- Filosofie --- */
.section-badge { display: inline-block; color: var(--gold); text-transform: uppercase; letter-spacing: 3px; font-size: 0.75rem; margin-bottom: 20px; font-family: 'Lato', sans-serif; }
.philosophy-text h2 { font-size: 3.2rem; margin-bottom: 30px; line-height: 1.1; }
.philosophy-text h2 span { color: var(--gold); font-style: italic; }
.philosophy-text .lead { font-size: 1.2rem; color: var(--gold); margin-bottom: 25px; font-style: italic; font-family: 'Playfair Display', serif; }
.philosophy-text p { color: var(--text-muted); margin-bottom: 20px; font-weight: 300; }
.signature { margin-top: 40px; }
.signature p { font-family: 'Lato', sans-serif; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); margin-top: 10px; }

.philosophy-image { position: relative; padding: 20px 20px 0 0; }
.philosophy-image img { width: 100%; height: 600px; object-fit: cover; position: relative; z-index: 2; }
.image-frame { position: absolute; top: 0; right: 0; width: 90%; height: 95%; border: 1px solid var(--gold); z-index: 1; }

/* --- Parallax Quote --- */
.quote-section { position: relative; padding: 150px 0; overflow: hidden; }
.quote-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(10,10,10,0.8), rgba(10,10,10,0.8)), url('https://images.unsplash.com/photo-1550966871-3ed3cdb5ed0c?q=80&w=2000') center/cover fixed; z-index: 1; filter: grayscale(50%); }
.quote-section .container { position: relative; z-index: 2; max-width: 900px; }
blockquote { color: var(--gold); font-size: 2.8rem; font-style: italic; line-height: 1.3; }

/* --- Meniu Degustare --- */
.section-header { max-width: 700px; margin: 0 auto 80px; }
.section-header h2 { font-size: 3.5rem; margin-bottom: 20px; }
.section-header h2 span { font-style: italic; color: var(--gold); }
.section-header p { color: var(--text-muted); font-weight: 300; }

.menu-container { max-width: 800px; margin: 0 auto; }
.menu-category { margin-bottom: 60px; }
.menu-category h3 { font-size: 1.8rem; color: var(--gold); text-align: center; margin-bottom: 40px; position: relative; display: inline-block; left: 50%; transform: translateX(-50%); }
.menu-category h3::before, .menu-category h3::after { content: ''; position: absolute; top: 50%; width: 50px; height: 1px; background: var(--border); }
.menu-category h3::before { right: 100%; margin-right: 15px; }
.menu-category h3::after { left: 100%; margin-left: 15px; }

.menu-item { margin-bottom: 35px; }
.menu-title-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.menu-name { font-size: 1.4rem; color: var(--text-main); transition: color 0.3s; }
.menu-item:hover .menu-name { color: var(--gold); }
.menu-dots { flex-grow: 1; border-bottom: 1px dotted var(--border); margin: 0 15px; opacity: 0.5; }
.menu-price { font-size: 1.4rem; color: var(--gold); }
.menu-desc { color: var(--text-muted); font-size: 0.9rem; font-weight: 300; width: 85%; }

/* --- Rezervari & Contact --- */
.reservation-form-wrapper h2 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 15px; }
.reservation-form-wrapper h2 span { font-style: italic; color: var(--gold); }

.classic-form .input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.classic-form .input-group { margin-bottom: 30px; }
.classic-form label { display: block; font-family: 'Lato', sans-serif; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 10px; }
.classic-form input, .classic-form select { width: 100%; padding: 15px 0; background: transparent; border: none; border-bottom: 1px solid var(--border); color: var(--text-main); font-family: 'Playfair Display', serif; font-size: 1.2rem; transition: var(--transition); outline: none; appearance: none; }
.classic-form input:focus, .classic-form select:focus { border-color: var(--gold); }
.classic-form select { cursor: pointer; }
.classic-form select option { background: var(--bg-surface); color: var(--text-main); }

.info-card { background: var(--bg-surface); padding: 60px 50px; border: 1px solid var(--border); text-align: center; }
.brand-crest { font-size: 3rem; color: var(--gold); margin-bottom: 20px; }
.info-card h3 { font-size: 2rem; margin-bottom: 40px; color: var(--text-main); }
.info-item { margin-bottom: 35px; }
.info-item strong { display: block; font-family: 'Lato', sans-serif; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); margin-bottom: 10px; }
.info-item p { color: var(--text-muted); font-size: 1rem; font-weight: 300; line-height: 1.8; }
.info-item em { font-family: 'Playfair Display', serif; color: var(--text-main); font-size: 0.9rem; }

/* --- Footer --- */
footer { background: var(--bg-main); padding: 60px 0; border-top: 1px solid var(--border); text-align: center; }
.footer-logo .logo-main { font-size: 2.5rem; color: var(--gold); display: block; margin-bottom: 20px; }
.footer-content p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 10px; font-weight: 300; }
.agency-credit { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 20px; }
.agency-credit a { color: var(--gold); font-weight: 700; }

/* --- Popup --- */
.custom-popup { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10,10,10,0.9); display: flex; justify-content: center; align-items: center; z-index: 999990; opacity: 0; visibility: hidden; transition: var(--transition); backdrop-filter: blur(5px); }
.custom-popup.active { opacity: 1; visibility: visible; }
.popup-content { background: var(--bg-surface); border: 1px solid var(--gold); padding: 50px; text-align: center; transform: scale(0.95); transition: var(--transition); max-width: 450px; }
.custom-popup.active .popup-content { transform: scale(1); }
.popup-icon { width: 60px; height: 60px; border: 1px solid var(--gold); color: var(--gold); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; margin: 0 auto 25px; }
.popup-content h2 { font-size: 2rem; color: var(--gold); margin-bottom: 15px; font-family: 'Playfair Display', serif; }
.popup-content p { color: var(--text-muted); margin-bottom: 30px; font-weight: 300; }

/* --- Responsivitate --- */
@media (max-width: 1024px) {
    .split-layout { grid-template-columns: 1fr; gap: 60px; }
    .philosophy-image { padding-right: 0; }
    .image-frame { display: none; }
    .philosophy-image img { height: 400px; }
}

@media (max-width: 768px) {
    nav { padding: 15px 5%; }
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
        background: rgba(10,10,10,0.98); backdrop-filter: blur(10px);
        flex-direction: column; justify-content: center; gap: 30px; transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .nav-links.active { right: 0; }
    .nav-links a:not(.btn-nav) { font-size: 1.2rem; }
    .hamburger { display: flex; }
    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .hero h1 { font-size: 3rem; }
    .cta-group { flex-direction: column; }
    .btn { width: 100%; }
    
    .section { padding: 80px 0; }
    .philosophy-text h2, .section-header h2, .reservation-form-wrapper h2 { font-size: 2.5rem; }
    blockquote { font-size: 1.8rem; }
    
    .menu-title-row { flex-direction: column; align-items: flex-start; }
    .menu-dots { display: none; }
    .menu-price { margin-top: 5px; font-size: 1.2rem; }
    .menu-desc { width: 100%; }
    
    .classic-form .input-row { grid-template-columns: 1fr; gap: 0; }
    .info-card { padding: 40px 20px; }
}