/* =========================================================================
   RESTAURANT SCHENEFELD - PREMIUM CSS
   ========================================================================= */

:root {
    /* Color Palette */
    --bg-main: #121212;
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222222;
    
    --text-light: #FDFBF7;
    --text-muted: #B3B0A8;
    --text-dark: #121212;
    
    --accent-primary: #C08A3E;
    --accent-hover: #E3A34B;
    --accent-subtle: rgba(192, 138, 62, 0.15);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Variables */
    --container-width: 1200px;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius: 8px;
    --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.7);
}

/* =========================================================================
   BASE STYLES
   ========================================================================= */

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

html {
    scroll-behavior: smooth;
}

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

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

h1 { font-size: clamp(3rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2.5rem, 4vw, 3.5rem); }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Layout Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
}

.dark-bg {
    background-color: var(--bg-dark);
}

.text-center {
    text-align: center;
}

.mt-4 { margin-top: 2rem; }

/* Section Headers */
.section-label {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    display: block;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(192, 138, 62, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--text-dark);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* =========================================================================
   1. NAVBAR
   ========================================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition-fast);
}

.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.logo-text {
    color: var(--text-light);
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================================================
   2. HERO SECTION
   ========================================================================= */

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.5) 100%);
}

.hero-content {
    max-width: 800px;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.stars {
    color: var(--accent-primary);
    font-size: 0.9rem;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* =========================================================================
   3. ABOUT SECTION
   ========================================================================= */

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-features {
    margin-top: 2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about-features i {
    color: var(--accent-primary);
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    border-radius: var(--border-radius);
    position: relative;
    z-index: 2;
}

.image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-primary);
    border-radius: var(--border-radius);
    z-index: 1;
}

/* =========================================================================
   4. SIGNATURE DISHES
   ========================================================================= */

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

.dish-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-subtle);
}

.dish-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.dish-img {
    height: 250px;
    overflow: hidden;
}

.dish-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.dish-card:hover .dish-img img {
    transform: scale(1.05);
}

.dish-content {
    padding: 2rem;
}

.dish-content h3 {
    margin-bottom: 0.5rem;
}

.dish-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-top: 1rem;
}

.other-dishes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.other-dish {
    padding-bottom: 1rem;
}

.other-dish-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.other-dish-price {
    color: var(--accent-primary);
    font-weight: 600;
}

/* =========================================================================
   5. MENU SECTION
   ========================================================================= */

.menu-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.category-tag {
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.category-tag:hover,
.category-tag.active {
    background-color: var(--accent-primary);
    color: var(--text-dark);
    border-color: var(--accent-primary);
}

.menu-list-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.menu-category-title {
    color: var(--accent-primary);
    border-bottom: 1px solid rgba(192, 138, 62, 0.3);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.menu-item {
    margin-bottom: 2rem;
}

.menu-item-info {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.menu-item-name {
    margin: 0;
    font-size: 1.2rem;
}

.menu-item-dots {
    flex-grow: 1;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
    margin: 0 1rem;
    position: relative;
    top: -5px;
}

.menu-item-price {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--accent-primary);
}

.menu-item-desc {
    margin: 0;
    font-size: 0.9rem;
}

/* =========================================================================
   6. GALLERY SECTION
   ========================================================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.gallery-overlay i {
    color: var(--text-light);
    font-size: 2rem;
    transform: scale(0.5);
    transition: var(--transition-fast);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* =========================================================================
   7. REVIEWS SECTION
   ========================================================================= */

.reviews-section {
    background-color: var(--bg-main);
    background-image: linear-gradient(rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.9)), url('img/restaurant_interior.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.reviews-wrapper {
    background-color: rgba(18, 18, 18, 0.95);
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.reviews-header {
    text-align: center;
    margin-bottom: 3rem;
}

.rating-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stars.large {
    font-size: 1.5rem;
}

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

.review-card {
    padding: 2rem;
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    text-align: center;
}

.review-stars {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.review-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.reviewer-name {
    font-weight: 600;
    color: var(--accent-primary);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =========================================================================
   8 & 9. LOCATION & RESERVATION SECTION
   ========================================================================= */

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

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    color: var(--accent-primary);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background-color: var(--bg-card);
    border-radius: var(--border-radius);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-muted);
}

.map-overlay i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--accent-primary);
}

.res-card {
    background-color: var(--bg-card);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-subtle);
    border-top: 4px solid var(--accent-primary);
}

.res-card h2 {
    margin-bottom: 0.5rem;
}

.reservation-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-group.half {
    flex: 1;
}

input, select {
    width: 100%;
    padding: 1rem;
    background-color: var(--bg-main);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-light);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-fast);
}

input:focus, select:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px var(--accent-subtle);
}

.res-or {
    text-align: center;
    margin: 1.5rem 0;
    color: var(--text-muted);
    position: relative;
}

.res-or::before, .res-or::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background-color: rgba(255,255,255,0.1);
}

.res-or::before { left: 0; }
.res-or::after { right: 0; }

/* =========================================================================
   10. FOOTER
   ========================================================================= */

.footer {
    background-color: #050505;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    max-width: 300px;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--accent-primary);
    color: var(--text-dark);
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

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

/* =========================================================================
   ANIMATIONS & RESPONSIVE
   ========================================================================= */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

.reveal-right {
    transform: translateX(30px);
}
.reveal-right.active {
    transform: translateX(0);
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
    .about-container, 
    .loc-res-grid, 
    .menu-list-wrapper,
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .dishes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-dark);
        padding: 2rem;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-rating {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .dishes-grid,
    .other-dishes-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .image-accent {
        display: none;
    }
    
    .reviews-wrapper {
        padding: 2rem 1rem;
    }
}
