/* ============================================
   HAREER - Authentic Syrian Cuisine
   Brand Colors: Gold, Deep Navy, Cream
   ============================================ */

:root {
  --gold: #C6A455;
  --gold-light: #D4B96E;
  --gold-dark: #A8893A;
  --navy: #1A1D2E;
  --navy-light: #252940;
  --cream: #FAF6F0;
  --cream-dark: #F0EAE0;
  --text: #2C2C2C;
  --text-light: #6B6B6B;
  --white: #FFFFFF;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-arabic: 'Noto Naskh Arabic', serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.nav.scrolled {
  background: rgba(26, 29, 46, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-img {
  height: 60px;
  width: auto;
  border-radius: 4px;
  transition: height 0.3s ease;
}

.nav.scrolled .nav-logo-img {
  height: 44px;
}

.nav.scrolled .nav-logo-img {
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color 0.3s ease;
  position: relative;
}

.nav.scrolled .nav-links a:not(.nav-cta) {
  color: rgba(255, 255, 255, 0.85);
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

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

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 10px 24px;
  border-radius: 2px;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  transition: all 0.3s ease !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--navy);
  transition: all 0.3s ease;
}

.nav.scrolled .nav-toggle span {
  background: var(--white);
}

.nav-toggle.active span:first-child {
  transform: rotate(45deg) translate(5px, 5px);
}

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

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
}

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

.mobile-menu .nav-cta {
  font-size: 1rem;
  margin-top: 16px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.hero-logo {
  max-width: clamp(200px, 35vw, 380px);
  height: auto;
  margin: 0 auto 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease 0.3s forwards;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 1s ease 0.7s forwards;
}

.hero-divider .line {
  width: 60px;
  height: 1px;
  background: var(--gold);
}

.hero-divider .diamond {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

.hero-sub {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-light);
  letter-spacing: 0.05em;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease 0.9s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease 1.1s forwards;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(198, 164, 85, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(26, 29, 46, 0.25);
}

.btn-outline:hover {
  border-color: var(--navy);
  background: rgba(26, 29, 46, 0.05);
  transform: translateY(-2px);
}

/* Hero Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeUp 1s ease 1.5s forwards;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold-dark), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  position: relative;
  padding-left: 40px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-title em {
  font-style: italic;
  color: var(--gold-dark);
}

.section-desc {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 550px;
}

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

.section-header .section-tag {
  padding-left: 0;
}

.section-header .section-tag::before {
  display: none;
}

.section-header .section-desc {
  margin: 0 auto;
}

/* ============================================
   STORY SECTION
   ============================================ */
.story {
  padding: 120px 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.story-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 16px;
}

.story-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(198, 164, 85, 0.2);
}

.signature-logo {
  height: 36px;
  width: auto;
}

.story-signature span {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text-light);
}

.story-image {
  position: relative;
}

.story-image img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: 4px;
}

.story-accent {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--gold);
  border-radius: 4px;
  z-index: -1;
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
  padding: 20px 0;
  background: var(--navy);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  padding: 0 16px;
}

/* ============================================
   MENU SECTION
   ============================================ */
.menu {
  padding: 120px 0;
  background: var(--white);
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.menu-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--cream);
  transition: transform 0.4s ease;
}

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

.menu-card-large {
  grid-column: 1 / -1;
}

.menu-card-img {
  overflow: hidden;
}

.menu-card-img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.menu-card-large .menu-card-img img {
  height: 450px;
}

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

.menu-card-content {
  padding: 28px 32px;
}

.menu-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.menu-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--navy);
  margin: 8px 0;
}

.menu-card-content p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  padding: 120px 0 0;
  background: var(--cream);
}

.gallery-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 24px 80px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gallery-strip::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex-shrink: 0;
  scroll-snap-align: start;
  border-radius: 4px;
  overflow: hidden;
}

.gallery-item img {
  width: 360px;
  height: 440px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 120px 0;
  background: var(--navy);
  color: var(--white);
}

.contact .section-title {
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(198, 164, 85, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.contact-item a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

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

.contact-image {
  border-radius: 4px;
  overflow: hidden;
}

.contact-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 40px 0;
  background: #14162240;
  background: #111322;
  border-top: 1px solid rgba(198, 164, 85, 0.15);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo img {
  height: 32px;
  opacity: 0.6;
  border-radius: 4px;
}

.footer-text {
  text-align: center;
}

.footer-arabic {
  font-family: var(--font-arabic);
  font-size: 1.2rem;
  color: var(--gold);
  opacity: 0.4;
  margin-bottom: 4px;
}

.footer-text p:last-child {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.08em;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
}

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

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .story-accent {
    display: none;
  }

  .story-image img,
  .contact-image img {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-arabic {
    font-size: clamp(3.5rem, 15vw, 6rem);
  }

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

  .menu-card-img img,
  .menu-card-large .menu-card-img img {
    height: 280px;
  }

  .gallery-item img {
    width: 280px;
    height: 350px;
  }

  .story,
  .menu,
  .gallery,
  .contact {
    padding: 80px 0;
  }

  .gallery {
    padding-bottom: 0;
  }

  .story-image img {
    height: 350px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
  }

  .footer-logo {
    display: none;
  }

  .contact-image img {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    letter-spacing: 0.3em;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.7rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .menu-card-content {
    padding: 20px 24px;
  }

  .gallery-item img {
    width: 240px;
    height: 300px;
  }
}
