:root {
    /* Color Palette */
    --color-black: #0a0a0a;
    --color-bg-matte: #0e0e0e;
    --color-gold: #BD9053; /* Specific rich gold requested by user */
    --color-gold-light: #d6b485;
    --color-gold-dark: #8c6a3d;
    --color-white: #ffffff;
    --color-gray: #888888;
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 5%;
    --container-width: 1200px;
    
    /* Effects */
    --accent-glow: 0 0 20px rgba(212, 175, 55, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--color-bg-matte);
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 100%),
        url('https://www.transparenttextures.com/patterns/dark-matter.png'); /* Light textured feel */
    color: var(--color-white);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .serif {
    font-family: var(--font-serif);
    font-weight: 500;
}

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

ul {
    list-style: none;
}

button, .cta-button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

/* --- Layout Sections --- */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
}

section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 3rem;
    color: var(--color-gold);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--color-gold);
}

/* --- Navigation --- */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2.5rem 0;
    background: transparent; /* Clean on start */
    backdrop-filter: blur(0px);
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 1.5rem 0;
    background: rgba(10, 10, 10, 0.2); /* 20% opacity appears on scroll */
    backdrop-filter: blur(10px); /* Blur appears on scroll */
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex; /* Flex is more reliable for 1-0-1 centering */
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    width: 100%;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    flex: 1 1 0; /* Both side blocks take exactly equal space */
    min-width: 0;
}

.nav-links.left {
    justify-content: flex-start;
}

.nav-links.right {
    justify-content: flex-end;
}

.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.7);
}

.nav-links a:hover {
    color: var(--color-gold);
}

.logo-container {
    flex: 0 0 auto; /* Logo takes only needed space and stays strictly between the two flex:1 blocks */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px; /* Symmetrical gap around logo */
}

.logo-container a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    height: 80px;
    transition: var(--transition-smooth);
}

header.scrolled .logo {
    height: 60px;
}

/* --- Hero Section --- */

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    background: transparent; /* Ensure no overlap with video */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, var(--color-black) 0%, transparent 25%, transparent 75%, var(--color-black) 100%),
        linear-gradient(180deg, transparent 50%, var(--color-black) 100%),
        radial-gradient(circle, transparent 0%, rgba(0,0,0,0.4) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    padding: 2rem;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: 1.1rem; /* Smaller, more delicate */
    color: var(--color-gold);
    margin: 0 auto 2.5rem;
    letter-spacing: 10px;
    text-transform: uppercase;
    font-weight: 300;
    
    /* Glass Podlozhka */
    display: inline-block;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 10px 30px; /* Slimmer padding */
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-title {
    font-size: 5.5rem;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    letter-spacing: 3px;
}

.cta-button {
    display: inline-block;
    padding: 20px 50px;
    background: linear-gradient(135deg, var(--color-gold) 0%, #a67c45 100%);
    color: var(--color-black);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: all 0.6s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: linear-gradient(135deg, #d6b485 0%, var(--color-gold) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(189, 144, 83, 0.4);
    color: #000;
}

/* --- About Us --- */

.about-row {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--color-gold);
}

.about-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
}

.ornament {
    position: absolute;
    width: 150px;
    opacity: 0.2;
    z-index: -1;
}

.ornament-1 { top: -40px; right: -40px; }
.ornament-2 { bottom: -40px; left: -40px; }

/* --- Menu Preview --- */
/* --- Original Horizontal Menu Filter --- */
.menu-filter-wrapper {
    position: relative;
    margin-bottom: 5rem;
    padding: 20px 0;
    overflow: hidden;
}

.menu-filter-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 50px;
    gap: 3rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE/Edge */
    position: relative;
    cursor: grab;
}

.menu-filter-container::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.filter-btn {
    position: relative;
    padding: 10px 5px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    transition: color 0.4s ease;
    z-index: 2;
    cursor: pointer;
}

.filter-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.filter-btn.active {
    color: var(--color-gold);
    font-weight: 500;
}

/* Floating Glider Background */
.filter-glider {
    position: absolute;
    height: 2px; /* Just a delicate line under text */
    background: var(--color-gold);
    bottom: 5px;
    left: 0;
    width: 0;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
    box-shadow: 0 0 10px var(--color-gold);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for 6 items symmetry */
    gap: 2.5rem;
}

.menu-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    text-align: center;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.menu-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-10px);
}

.card-img-wrapper {
    overflow: hidden;
    margin-bottom: 1.5rem;
    aspect-ratio: 4/5;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item img {
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1) !important;
}

.menu-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-gold);
}

.card-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

/* --- Advantages --- */

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

/* --- Advantages & Photo Conveyor --- */

.advantages-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: #0a0a0a;
}

.photo-conveyor-container {
    position: relative;
    width: 100%;
    height: 350px;
    margin-bottom: 80px;
    overflow: hidden;
}

/* Side Fades for Conveyor */
.photo-conveyor-container::before,
.photo-conveyor-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 25%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.photo-conveyor-container::before {
    left: 0;
    background: linear-gradient(to right, var(--color-black) 0%, transparent 100%);
}

.photo-conveyor-container::after {
    right: 0;
    background: linear-gradient(to left, var(--color-black) 0%, transparent 100%);
}

.photo-conveyor {
    display: flex;
    width: calc(250px * 12); /* Twice the images for seamless loop */
    animation: conveyor 40s linear infinite;
}

.conveyor-item {
    width: 250px;
    height: 350px;
    flex-shrink: 0;
    padding: 0 10px;
}

.conveyor-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) grayscale(20%);
    transition: var(--transition-smooth);
}

.conveyor-item:hover img {
    filter: brightness(1) grayscale(0%);
    transform: scale(1.05);
}

@keyframes conveyor {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 6)); }
}

.adv-item {
    text-align: center;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.adv-icon {
    font-size: 3.5rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    font-weight: 100 !important; /* Force thin line */
    display: inline-block;
}

.adv-item h4 {
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

/* Custom Outlined Icons Using Lucide SVGs for reliable loading */
.adv-icon-svg {
    width: 60px;
    height: 60px;
    stroke: var(--color-gold);
    stroke-width: 1px; /* Extra thin lines */
    fill: none;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: var(--transition-smooth);
}

.adv-item:hover .adv-icon-svg {
    transform: scale(1.1);
    stroke-width: 1.5px;
}

/* --- Booking --- */

.booking {
    background: linear-gradient(to bottom, transparent, #1a1a1a), url('assets/grill.png') center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
    padding: 150px 0;
}

.booking-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75);
}

.booking-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    z-index: 1;
    background: rgba(10, 10, 10, 0.8);
    padding: 4rem;
    border: 1px solid var(--color-gold-dark);
    backdrop-filter: blur(20px);
}

.booking-form input, .booking-form select {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--color-white);
    margin-bottom: 1rem;
    font-family: var(--font-sans);
}

.booking-form input:focus {
    border-color: var(--color-gold);
}

/* --- Footer --- */

footer {
    padding: 80px 5% 40px;
    background: var(--color-black);
    border-top: 1px solid var(--glass-border);
}

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

.footer-col h4 {
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* --- Mobile Responsive --- */

@media (max-width: 1024px) {
    .nav-links { display: none; }
    .nav-container {
        display: flex; /* Simplified flex for perfect centering */
        justify-content: center;
        padding: 0;
    }
    .logo-container {
        padding: 0;
        width: auto;
    }
    .hero-title { font-size: 3.5rem; }
    .about-row { flex-direction: column; gap: 3rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.8rem; }
    .section-title { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .booking-container { padding: 2rem; }
    
    .hero-subtitle {
        font-size: 0.9rem; /* Smaller for mobile */
        letter-spacing: 5px; /* Reduced to fit screen width */
        padding: 10px 25px;
        margin-bottom: 1.5rem;
    }

    .hero-content {
        padding: 1.5rem;
    }
    
    /* Ensure video stays visible and covers mobile screen */
    .video-background {
        position: absolute;
        width: 100%;
        height: 100%;
        min-width: 100%;
        min-height: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); /* Centers the video precisely */
        object-fit: cover;
        display: block !important;
    }
}
