:root {
  --bg: #0f0f12;
  --bg-soft: #17171c;
  --card: rgba(255,255,255,0.06);
  --text: #f8f5f0;
  --muted: #cfc7bc;
  --primary: #c79a63;
  --primary-dark: #a6773f;
  --border: rgba(255,255,255,0.1);
  --shadow: 0 20px 60px rgba(0,0,0,0.25);
  --gradient: linear-gradient(135deg, #c79a63, #f2d2a2);
}

body.light {
  --bg: #f8f4ee;
  --bg-soft: #ffffff;
  --card: rgba(0,0,0,0.04);
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --primary: #9c6232;
  --primary-dark: #7a4820;
  --border: rgba(0,0,0,0.08);
  --shadow: 0 20px 60px rgba(0,0,0,0.08);
  --gradient: linear-gradient(135deg, #9c6232, #d7a46d);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Vazirmatn', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

img {
  width: 100%;
  display: block;
  border-radius: 18px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.section-subtitle {
  color: var(--primary);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.3;
  margin-bottom: 15px;
}

.section-desc {
  color: var(--muted);
}

.center {
  text-align: center;
  margin-bottom: 50px;
}


#loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 9999;
  gap: 20px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.cup {
  width: 90px;
  height: 90px;
  border: 5px solid var(--primary);
  border-top: none;
  border-radius: 0 0 25px 25px;
  position: relative;
}

.cup::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 35px;
  border: 5px solid var(--primary);
  border-right: none;
  border-radius: 20px 0 0 20px;
  right: -25px;
  top: 20px;
}

.steam {
  position: absolute;
  width: 8px;
  height: 35px;
  background: var(--primary);
  border-radius: 20px;
  top: -45px;
  opacity: 0.6;
  animation: steam 2s infinite ease-in-out;
}

.steam1 { right: 15px; animation-delay: 0s; }
.steam2 { right: 38px; animation-delay: 0.4s; }
.steam3 { right: 60px; animation-delay: 0.8s; }

@keyframes steam {
  0% { transform: translateY(10px); opacity: 0; }
  50% { opacity: 0.7; }
  100% { transform: translateY(-12px); opacity: 0; }
}


.header {
  min-height: 100vh;
  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.45)),
    url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  position: relative;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 22px;
  color: #fff;
}

.nav-links a {
  transition: 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--primary);
  bottom: -6px;
  right: 0;
  transition: 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.theme-btn,
.hamburger {
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.1rem;
}

.hamburger {
  display: none;
}


.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 50px;
  min-height: calc(100vh - 88px);
  padding: 40px 0 80px;
}

.hero-text {
  color: #fff;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 10px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: #f3c78f;
}

.hero-text p {
  color: #f0e6d8;
  margin-bottom: 28px;
  max-width: 640px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.3s ease;
  display: inline-block;
}

.btn.primary {
  background: var(--gradient);
  color: #111;
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn.secondary {
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.btn.secondary:hover {
  background: rgba(255,255,255,0.14);
}

.hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 18px 22px;
  border-radius: 18px;
  min-width: 120px;
}

.stat h3 {
  font-size: 1.5rem;
}

.hero-image {
  position: relative;
}

.hero-image img {
  height: 620px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.floating-card {
  position: absolute;
  background: rgba(255,255,255,0.92);
  color: #111;
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  min-width: 180px;
}

.floating-card span {
  display: block;
  font-size: 0.9rem;
  color: #555;
}

.card1 {
  right: -25px;
  bottom: 80px;
}

.card2 {
  left: -25px;
  top: 70px;
}


.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-images {
  position: relative;
}

.img-main {
  height: 520px;
  object-fit: cover;
}

.img-small {
  position: absolute;
  width: 230px;
  bottom: -30px;
  left: -30px;
  border: 6px solid var(--bg);
  object-fit: cover;
  height: 180px;
}

.about-content p {
  color: var(--muted);
  margin-bottom: 16px;
}

.about-points {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.point {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 14px 18px;
  border-radius: 14px;
}


.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 30px 24px;
  border-radius: 20px;
  transition: 0.3s ease;
  box-shadow: var(--shadow);
}

.feature-card:hover,
.menu-item:hover,
.review-card:hover,
.contact-card:hover {
  transform: translateY(-8px);
}

.icon {
  font-size: 2rem;
  margin-bottom: 14px;
}


.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.tab-btn {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  padding: 12px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--gradient);
  color: #111;
  border-color: transparent;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.menu-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  transition: 0.3s ease;
  box-shadow: var(--shadow);
}

.menu-item img {
  height: 220px;
  object-fit: cover;
  border-radius: 0;
}

.menu-content {
  padding: 18px;
}

.menu-content h3 {
  margin-bottom: 8px;
}

.menu-content p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.menu-content span {
  color: var(--primary);
  font-weight: 800;
  font-size: 1.05rem;
}


.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid img {
  height: 260px;
  object-fit: cover;
  transition: 0.35s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  filter: brightness(1.05);
}

.reservation-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.reservation-text p {
  color: var(--muted);
}

.reservation-form {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  box-shadow: var(--shadow);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  border-radius: 14px;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.full {
  grid-column: 1 / -1;
}

.full-btn {
  width: 100%;
  border: none;
  cursor: pointer;
}

.form-message {
  grid-column: 1 / -1;
  font-weight: 600;
  color: #7ee787;
}


.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 20px;
  transition: 0.3s ease;
  box-shadow: var(--shadow);
}

.review-card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.review-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  padding: 20px;
  font-size: 1rem;
  text-align: right;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 20px;
}

.faq-answer p {
  color: var(--muted);
  padding-bottom: 20px;
}


.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: start;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 20px;
  transition: 0.3s ease;
  box-shadow: var(--shadow);
}

.contact-card p {
  color: var(--muted);
}


.footer {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  background: var(--bg-soft);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
  padding-bottom: 25px;
}

.footer p {
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
}

.copyright {
  text-align: center;
  border-top: 1px solid var(--border);
  padding: 18px 0;
  color: var(--muted);
}


.scroll-top {
  position: fixed;
  left: 25px;
  bottom: 25px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: var(--gradient);
  color: #111;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: none;
  z-index: 1000;
}


@media (max-width: 1100px) {
  .hero,
  .grid-2,
  .reservation-wrap,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid,
  .reviews-grid,
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-image img {
    height: 500px;
  }
}

@media (max-width: 800px) {
  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 80px);
    background: rgba(15,15,18,0.96);
    flex-direction: column;
    padding: 30px;
    transition: 0.35s ease;
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  body.light .nav-links {
    background: rgba(255,255,255,0.96);
  }

  .hamburger {
    display: block;
  }

  .nav-links a {
    font-size: 1.05rem;
  }

  .gallery-grid,
  .features-grid,
  .reviews-grid,
  .contact-cards,
  .menu-grid,
  .reservation-form {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 12px;
  }

  .img-small {
    position: static;
    width: 100%;
    margin-top: 14px;
    border: none;
    height: 220px;
  }

  .floating-card {
    display: none;
  }

  .hero-image img,
  .img-main {
    height: auto;
  }

  .section {
    padding: 75px 0;
  }
}


.footer-credit {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.9rem;
}

.developer-signature {
  color: var(--muted);
  letter-spacing: 0.5px;
}

.dev-name {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s ease;
  position: relative;
}

.dev-name:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--primary);
}


@media (max-width: 600px) {
  .footer-credit {
    justify-content: center;
    text-align: center;
  }
}

