/* ===========================
   VARIABLES & RESET
=========================== */
:root {
  --cream: #f5f0e8;
  --warm-white: #fdfaf5;
  --brown-dark: #2c1f0f;
  --brown-mid: #6b4423;
  --brown-light: #a67c52;
  --gold: #c9993a;
  --gold-light: #e8c97a;
  --text: #1a1208;
  --text-muted: #7a6a54;
  --border: #e0d5c5;
  --shadow: 0 4px 30px rgba(44,31,15,0.1);
  --radius: 2px;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Heebo', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--warm-white);
  color: var(--text);
  direction: rtl;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===========================
   TYPOGRAPHY HELPERS
=========================== */
.label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--brown-dark);
}

/* ===========================
   NAV
=========================== */

.nav {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(253,250,245,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
  direction: rtl; 
}

.nav.scrolled { box-shadow: var(--shadow); }

.nav__logo {
    width: 200px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right; 
}

.nav__links {
  display: flex;
  gap: 2.5rem;
}

.nav__links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
  transition: color 0.2s;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; 
  right: 0; 
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav__links a:hover { color: var(--brown-dark); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  background: var(--brown-dark);
  color: var(--cream);
  border: none;
  padding: 0.6rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background 0.2s;
  border-radius: var(--radius);
}

.nav__cta:hover { background: var(--brown-mid); }

.nav__burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--brown-dark);
}

/* ===========================
   MOBILE MENU
=========================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--brown-dark);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu__close {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--cream);
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--gold-light); }

/* ===========================
   HERO
=========================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 5vw;
  overflow: hidden;
}

.hero__bg__img {
    position: absolute;
    inset: 0;
    background: url('images/hero.png') center/cover no-repeat;
    z-index: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(44,31,15,0.85) 0%, rgba(44,31,15,0.3) 60%, transparent 100%),
    url('images/hero-bg.jpg') center/cover no-repeat;
  /* fallback gradient when no image */
  background-color: #3a2210;
}

/* Decorative pattern overlay */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 30%, rgba(201,153,58,0.15) 0%, transparent 60%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  text-align: right;
  animation: fadeUp 1s ease both;
}

.hero__sub {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero__desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  margin-bottom: 2.5rem;
  max-width: 380px;
  margin-right: auto;
  margin-left: 0;
}

.hero__btns {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.hero__btns button {
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all 0.25s;
  border: none;
  background: var(--gold);
  color: var(--brown-dark);
  font-weight: 500;
}

.hero__btns button:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn--outline {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.5) !important;
  color: #fff !important;
}

.btn--outline:hover { border-color: var(--gold-light) !important; background: rgba(201,153,58,0.15) !important; }

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

/* ===========================
   ABOUT
=========================== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  padding: 8rem 6vw;
  align-items: center;
  background: var(--cream);
}

.about__text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about__text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-weight: 300;
}

.about__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.about__stats div { text-align: center; }

.about__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--brown-dark);
}

.about__stats span {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.about__img {
  position: relative;
}

.about__img-inner {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--brown-light), var(--brown-dark));
  border-radius: 4px;
  box-shadow: 20px 20px 0 var(--gold);
}

.about__badge {
  position: absolute;
  bottom: -1rem;
  right: -1.5rem;
  background: var(--brown-dark);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 0.9rem;
  padding: 0.8rem 1.4rem;
  letter-spacing: 0.1em;
}

/* ===========================
   MENU SECTION
=========================== */
.menu-section {
  padding: 8rem 6vw;
  background: var(--warm-white);
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.tab {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.6rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.2s;
  letter-spacing: 0.03em;
}

.tab:hover { border-color: var(--gold); color: var(--brown-dark); }
.tab.active { background: var(--brown-dark); color: var(--cream); border-color: var(--brown-dark); }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  animation: fadeUp 0.4s ease;
}

.menu-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 4px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.menu-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.menu-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.menu-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--brown-dark);
  font-weight: 700;
}

.menu-card__price {
  font-size: 1rem;
  color: var(--gold);
  font-weight: 500;
  white-space: nowrap;
}

.menu-card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.menu-card__tag {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

/* ===========================
   GALLERY
=========================== */
.gallery {
  padding: 8rem 6vw;
  background: var(--cream);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 280px;
  gap: 1rem;
}

.gal-item {
    background-size: cover;      
    background-position: center; 
    background-repeat: no-repeat;
    min-height: 200px;           
}

.gal-item:hover { transform: scale(1.02); filter: saturate(1.1); }
.gal-item--tall { grid-row: span 2; }
.gal-item--wide { grid-column: span 2; }

.gallery__note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ===========================
   TESTIMONIALS
=========================== */
.testimonials {
  padding: 8rem 6vw;
  background: var(--brown-dark);
}

.testimonials .section-header h2 { color: var(--cream); }
.testimonials .label { color: var(--gold-light); }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 4px;
}

.stars {
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.review-card p {
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.review-card span {
  font-size: 0.8rem;
  color: var(--gold);
}

/* ===========================
   CONTACT
=========================== */
.contact {
  padding: 8rem 6vw;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
  background: var(--warm-white);
}

.contact__info h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: var(--brown-dark);
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.icon { font-size: 1.2rem; margin-top: 0.1rem; }

.info-item strong {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--brown-dark);
  margin-bottom: 0.2rem;
}

.info-item p, .info-item a {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.info-item a:hover { color: var(--gold); }

.contact__form h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--brown-dark);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  direction: rtl;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,153,58,0.1);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--brown-dark);
  color: var(--cream);
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.5rem;
}

.submit-btn:hover { background: var(--brown-mid); transform: translateY(-1px); }

.form-success {
  margin-top: 1rem;
  padding: 1rem;
  background: #f0faf4;
  border: 1px solid #a8d5b5;
  border-radius: var(--radius);
  color: #2d7a4f;
  font-size: 0.9rem;
  text-align: center;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--brown-dark);
  color: var(--cream);
  padding: 4rem 6vw 2rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.footer__brand h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.footer__brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.footer__links h4,
.footer__social h4 {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer__links ul { display: flex; flex-direction: column; gap: 0.6rem; }

.footer__links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--gold-light); }

.social-links { display: flex; flex-direction: column; gap: 0.6rem; }

.social-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.social-links a:hover { color: var(--gold-light); }

.footer__bottom {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-10px); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .nav { padding: 1rem 1.5rem; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }

  .hero__btns { justify-content: center; }
  .hero__content { text-align: center; max-width: 100%; }
  .hero__desc { margin: 0 auto 2.5rem; }

  .about {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 5rem 5vw;
  }

  .about__img { order: -1; max-width: 400px; margin: 0 auto; }

  .contact {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 5rem 5vw;
  }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gal-item--tall { grid-row: span 1; }
  .gal-item--wide { grid-column: span 2; }
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gal-item--wide { grid-column: span 1; }
  .menu-tabs { flex-wrap: wrap; }
}
