:root {
    --bg: #0f0f0f;
    --text: #e6e6e6;
    --accent: #d3b76d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }
body {
    min-height: 100vh;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    background: var(--bg);
    color: var(--text);
}

img, picture, video, canvas, svg { display: block; max-width: 100%; }

p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
h1, h2, h3 { font-family: 'Playfair Display', serif; }

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.loader {
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--accent);
  border-radius: 50%;
  width: 60px; height: 60px;
  animation: spin 1s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Scrollbar */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #1a1a1a; border-radius: 10px; }
::-webkit-scrollbar-thumb { background-color: var(--accent); border-radius: 10px; border: 3px solid #1a1a1a; }

/* Navbar */
.header { position: fixed; top:0; width:100%; z-index:1000; }
.navbar {
    display: flex; justify-content: space-between; align-items:center;
    padding: 15px 30px; height: 80px;
    width: 100%;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
}
.header.scrolled .navbar { background-color: rgba(0,0,0,0.85); backdrop-filter: blur(10px); }

.logo img { max-height: 100px; transition: transform 0.25s ease; }
.logo img:hover { transform: scale(1.05); }

.nav-links { display: flex; gap: 25px; flex-wrap: wrap; }
.nav-links a {
    color: #fff; text-decoration: none; font-weight: 500;
    position: relative; transition: color 0.3s ease;
}
.nav-links a::after {
    content: ''; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px;
    background-color: var(--accent); transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--accent); }

.social-icons { display: flex; gap: 20px; }
.social-icons a { color: #fff; font-size: 18px; transition: transform 0.2s ease; }
.social-icons a:hover { color: var(--accent); transform: translateY(-2px); }

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s ease;
}

/* MOBILE */
@media (max-width: 768px) {

    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        height: calc(100vh - 80px);
        width: 250px;
        background: rgba(0,0,0,0.95);
        flex-direction: column;
        align-items: center;
        justify-content: start;
        padding-top: 40px;
        gap: 25px;
        transition: right 0.4s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .social-icons {
        display: none; /* optional */
    }

    .burger {
        display: flex;
    }

    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Menu */
.menu {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 60px 20px;
}

.menu h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
    color: #fff;
}
.menu h1::after {
    content: '';
    display: block;
    width: 120px;
    height: 5px;
    background-color: var(--accent);
    margin: 10px auto 50px auto;
}

.menu-section {
    border: 2px solid var(--accent);
    border-radius: 12px; 
    padding: 25px;
    margin-bottom: 40px;
    background-color: rgba(255,255,255,0.02);
}

.menu-section h2 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

/* Menu items */
.menu-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 10px;
    border-bottom: 1px dashed var(--accent);
    transition: background 0.2s;
}
.menu-item:last-child { border-bottom: none; }
.menu-item:hover { background: rgba(211,183,109,0.1); border-radius: 8px; }

.item-name, .item-price {
    color: #fff;
    font-size: 1.1rem;
    word-break: break-word;
}

/* Responsive */
@media (max-width:1024px) {
    .menu { padding: 100px 20px 50px 20px; }
    .menu h1 { font-size: 2.5rem; }
    .menu h1::after { width: 100px; }
    .menu-section { padding: 20px; }
    .menu-section h2 { font-size: 1.8rem; }
}

@media (max-width:768px) {
    .menu h1 { font-size: 2rem; }
    .menu h1::after { width: 80px; }
    .menu-section h2 { font-size: 1.6rem; }
    .menu-item { flex-direction: column; align-items: flex-start; gap:5px; }
    .item-price { align-self: flex-end; color: var(--accent); font-weight:600; }
}

@media (max-width:480px) {
    .menu h1 { font-size: 1.6rem; }
    .menu h1::after { width: 60px; height:4px; }
    .menu-section h2 { font-size: 1.4rem; }
    .menu-item { padding: 10px 5px; }
    .item-name, .item-price { font-size: 1rem; }
}
