* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  background: #0f0f0f;
  color: #f5f5f5;
}


/* ===== RESTAURANT PRELOADER ===== */
#loader {
  position: fixed;
  inset: 0;
  background: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader-inner {
  text-align: center;
  color: #e0c097;
  animation: fadeIn 0.6s ease-out;
}

.loader-name {
  font-size: 28px;
  letter-spacing: 4px;
  margin-bottom: 18px;
}

.loader-sub {
  margin-top: 14px;
  font-size: 13px;
  opacity: 0.6;
}

/* Steam animation */
.steam {
  height: 40px;
  position: relative;
}

.steam span {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 6px;
  height: 6px;
  background: rgba(224,192,151,0.8);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: steam 2.5s infinite ease-in-out;
}

.steam span:nth-child(1) {
  left: 45%;
  animation-delay: 0s;
}

.steam span:nth-child(2) {
  left: 50%;
  animation-delay: .4s;
}

.steam span:nth-child(3) {
  left: 55%;
  animation-delay: .8s;
}

@keyframes steam {
  0% {
    transform: translate(-50%, 0) scale(1);
    opacity: 0;
  }
  30% {
    opacity: .7;
  }
  100% {
    transform: translate(-50%, -30px) scale(1.6);
    opacity: 0;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ===== HERO HEADER ===== */
/* ===== HERO ===== */
.hero {
  position: relative;
  height: 300px;
  background: url("img.jpeg") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.85)
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: 34px;
  letter-spacing: 4px;
  color: #f5f5f5;
}

/* ===== CONTACTS ===== */
.hero-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e0c097;
  text-decoration: none;
  font-size: 14px;
  justify-content: center;
}

.hero-contact svg {
  width: 18px;
  height: 18px;
  fill: #e0c097;
}

.hero-contact:active {
  opacity: 0.7;
}


.category-card {
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
  background: #1a1a1a;
  cursor: pointer;
}

.category-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #000;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


.category-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
}


.category-title {
  padding: 14px 16px;
  font-size: 18px;
  font-weight: 600;
  color: #f5f5f5;
}



/* ===== HEADER ===== */
header {
  text-align: center;
  padding: 28px 16px 16px;
}

header h1 {
  margin: 0;
  letter-spacing: 3px;
  color: #7a3e2d;
}

header p {
  margin: 6px 0 0;
  font-size: 14px;
  opacity: .8;
}

/* ===== LAYOUT ===== */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px 32px;
}

.hidden { display: none; }

/* ===== CATEGORIES ===== */
.category-item {
  padding: 18px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  font-size: 18px;
  font-weight: 600;
  color: #e0c097;
  cursor: pointer;
}


/* ===== DISH VIEW ===== */
.back-btn {
  position: sticky;
  top: 12px;
  z-index: 1000;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 14px;
  margin: 0 0 16px;

  background: rgba(15, 15, 15, 0.9);
  border: 1px solid rgba(224,192,151,0.4);
  border-radius: 10px;

  color: #e0c097;
  font-size: 14px;
  font-weight: 600;

  cursor: pointer;
  backdrop-filter: blur(6px);
}

.back-btn:active {
  transform: scale(0.97);
}


.dish {
  margin-bottom: 32px;
}

.dish img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  display: block;
}

.dish-info {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-weight: 600;
  color: #f5f5f5;
}

.dish-desc {
  font-size: 14px;
  opacity: 0.75;
  margin-top: 6px;
  line-height: 1.4;
}

.dish-price {
font-size: 16px;
white-space: nowrap;
}

footer {
  text-align: center;
  padding: 24px 0;
  font-size: 14px;
  opacity: 0.5;
  color: #aaa;
}

  

/* ===== DESKTOP ENHANCE ===== */
@media (min-width: 768px) {
  .dish img {
    width: 100%;
    aspect-ratio: 4 / 3;
  }
}


