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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", sans-serif;

  background:
    radial-gradient(
      circle at top left,
      rgba(214, 161, 93, 0.22),
      transparent 35%
    ),
    linear-gradient(135deg, #100b07, #1b120b 45%, #0d0906);
  color: #fff;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  background: #100b07;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  z-index: 9999;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.page-loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-circle {
  width: 55px;
  height: 55px;
  border: 5px solid rgba(255, 255, 255, 0.15);
  border-top-color: #d6a15d;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.top-header {
  width: 100%;
  padding: 24px 7%;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16, 11, 7, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo span {
  font-size: 28px;
  font-weight: 800;
  color: #d6a15d;
  letter-spacing: 1px;
}

.logo small {
  font-size: 13px;
  color: #fff;
  letter-spacing: 4px;
  margin-top: 6px;
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 34px;
}

.nav-links a {
  color: #f7ead8;
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.nav-links a::after {
  content: "";
  width: 0;
  height: 2px;
  background: #d6a15d;
  position: absolute;
  left: 0;
  bottom: -7px;
  transition: width 0.3s ease;
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 120;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background: #fff;
  margin: 7px 0;
  border-radius: 20px;
  transition: 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.section {
  text-align: center;
  padding: 55px 7% 25px;
  animation: fadeUp 0.8s ease forwards;
}

.section-tag {
  color: #d6a15d;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 13px;
}

.section h1 {
  font-size: clamp(34px, 6vw, 64px);
  margin-top: 14px;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section p {
  color: #d8c5b2;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 17px;
}

.menu-grid {
  width: 100%;
  padding: 35px 7% 85px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.menu-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  transform: translateY(50px);
  opacity: 0;
  transition:
    transform 0.7s ease,
    opacity 0.7s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
}

.menu-card.show {
  transform: translateY(0);
  opacity: 1;
}

.menu-card:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.45);
}

.menu-card img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  background: #090604;
}

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

.card-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.card-content h3 {
  font-size: 20px;
}

.view-btn {
  border: 0;
  padding: 11px 18px;
  border-radius: 999px;
  background: #d6a15d;
  color: #120c07;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.view-btn:hover {
  transform: scale(1.08);
  background: #f2c17c;
}

.contact {
  margin: 0 7% 80px;
  padding: 55px 25px;
  text-align: center;
  border-radius: 32px;
  background: linear-gradient(
    135deg,
    rgba(214, 161, 93, 0.18),
    rgba(255, 255, 255, 0.06)
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact h2 {
  font-size: clamp(28px, 4vw, 46px);
  margin-bottom: 12px;
}

.contact p {
  color: #e7d8c7;
}

footer {
  padding: 24px 7%;
  text-align: center;
  color: #c9b7a6;
  background: rgba(0, 0, 0, 0.25);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 24px;
}

.modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-box {
  max-width: 92%;
  max-height: 90vh;
  border-radius: 22px;
  overflow: hidden;
  animation: zoomIn 0.35s ease;
}

.modal-box img {
  max-width: 100%;
  max-height: 90vh;
  display: block;
  border-radius: 22px;
  object-fit: contain;
}

.close-modal {
  position: absolute;
  top: 22px;
  right: 28px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #d6a15d;
  color: #120c07;
  font-size: 34px;
  cursor: pointer;
  line-height: 1;
}

.modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: rgba(214, 161, 93, 0.9);
  color: #120c07;
  font-size: 44px;
  cursor: pointer;
  line-height: 1;
  transition: background 0.3s ease;
}

.modal-arrow:hover {
  background: #f2c17c;
}

.modal-arrow.left {
  left: 28px;
}

.modal-arrow.right {
  right: 28px;
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #d6a15d;
  color: #120c07;
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: 0.3s ease;
  z-index: 50;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 1100px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-card img {
    height: 390px;
  }
}

@media (max-width: 768px) {
  .top-header {
    padding: 20px 5%;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: rgba(18, 12, 7, 0.97);
    backdrop-filter: blur(18px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 34px;
    transition: right 0.35s ease;
    z-index: 110;
  }

  .nav-links.active {
    right: 0;
  }

  .section {
    padding: 42px 5% 18px;
  }

  .section p {
    font-size: 15px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    padding: 25px 5% 70px;
  }

  .menu-card img {
    height: auto;
    object-fit: contain;
  }

  .card-content {
    position: relative;
    background: rgba(0, 0, 0, 0.35);
  }

  .modal-arrow {
    width: 44px;
    height: 44px;
    font-size: 34px;
  }

  .modal-arrow.left {
    left: 10px;
  }

  .modal-arrow.right {
    right: 10px;
  }

  .close-modal {
    top: 14px;
    right: 14px;
  }
}

@media (max-width: 480px) {
  .logo span {
    font-size: 22px;
  }

  .logo small {
    font-size: 10px;
  }

  .section h1 {
    font-size: 32px;
  }

  .contact {
    margin: 0 5% 60px;
  }
}
