@import url("variables.css");

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

body {
  font-family: "Poppins", sans-serif;
  background: #111;
  color: #fff;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1400px;
  margin: auto;
}

section[id] {
  scroll-margin-top: 90px;
}

/* NAVBAR */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s, box-shadow 0.3s;
}

nav.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  font-size: 32px;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
}

.logo span {
  color: var(--red);
}

.nav-links {
  display: flex;
  gap: 35px;
}

.nav-links a {
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--yellow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--yellow);
  border-radius: 2px;
  transition: 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.btn {
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  font-family: inherit;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--yellow);
  color: #000;
  transform: translateY(-2px);
}

/* HERO */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)),
    url("../images/hero-bg.jpg") center / cover no-repeat;
  position: relative;
}

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

.tag {
  display: inline-block;
  background: var(--yellow);
  color: #000;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 72px;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero h1 span {
  color: var(--yellow);
}

.hero p {
  font-size: 20px;
  line-height: 1.8;
  color: #ddd;
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--yellow);
  color: var(--yellow);
}

.btn-secondary:hover {
  background: var(--yellow);
  color: #000;
}

/* FEATURES */

.features {
  padding: 100px 0;
  background: #181818;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: #1f1f1f;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.3s;
}

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

.feature-card h3 {
  margin: 20px 0 10px;
  color: var(--yellow);
}

/* SECTION TITLE */

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 52px;
  color: var(--yellow);
  margin-bottom: 10px;
}

.section-title p {
  color: #ccc;
  max-width: 700px;
  margin: auto;
  line-height: 1.8;
}

/* MENU */

.menu {
  padding: 120px 0;
  background: #101010;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 30px;
}

.menu-card {
  background: #191919;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-header {
  background: linear-gradient(135deg, var(--red), var(--orange));
  padding: 20px;
  text-align: center;
}

.menu-header h3 {
  font-size: 28px;
}

.menu-items {
  padding: 25px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.menu-item:last-child {
  border: none;
}

.menu-item h4 {
  font-size: 17px;
  font-weight: 500;
}

.price {
  color: var(--yellow);
  font-weight: 700;
}

/* GALLERY */

.gallery {
  padding: 120px 0;
  background: #181818;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.gallery-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 22px;
  transition: 0.4s;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* CONTACT */

.contact {
  padding: 120px 0;
  background: #101010;
}

.contact-box {
  background: linear-gradient(135deg, #1c1c1c, #111);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px;
  border-radius: 30px;
  text-align: center;
}

.contact-box h2 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--yellow);
}

.contact-box p {
  color: #ccc;
  margin-bottom: 15px;
  font-size: 18px;
}

.numbers {
  margin: 30px 0;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  line-height: 1.8;
}

.footer {
  background: #000;
  padding: 25px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #aaa;
}

/* MOBILE */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 46px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(280px, 85vw);
    height: 100vh;
    flex-direction: column;
    gap: 0;
    padding: 100px 30px 40px;
    background: rgba(10, 10, 10, 0.98);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
  }

  .nav-overlay.visible {
    display: block;
  }

  .section-title h2 {
    font-size: 38px;
  }

  .contact-box {
    padding: 40px 25px;
  }

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