/* ============================================
   RICETTA - Cafe n' Restaurant
   Art Direction: Emerald, Gold, Luxury, Traditional
   ============================================ */

:root {
  --emerald: #0D4D3E;
  --emerald-light: #1A6B56;
  --emerald-dark: #082E25;
  --gold: #C8A45C;
  --gold-light: #DFC07A;
  --gold-soft: #F5EDD4;
  --cream: #FFF9F0;
  --warm-bg: #FFFAF3;
  --dark: #1A1A1A;
  --text: #2D2A26;
  --text-light: #6B6560;
  --white: #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 16px;
  --radius-lg: 24px;
}

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

html { scroll-behavior: smooth; }

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

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

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

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--emerald);
  border-bottom: 1px solid rgba(200, 164, 92, 0.15);
  transition: all 0.4s var(--ease);
}

.nav.scrolled {
  background: var(--emerald-dark);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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

.nav-logo-img {
  height: 50px;
  width: auto;
  border-radius: 8px;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

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

.nav-cta {
  background: var(--gold) !important;
  color: var(--emerald-dark) !important;
  padding: 10px 24px !important;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: all 0.3s var(--ease) !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200, 164, 92, 0.3) !important;
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s var(--ease);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

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

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--text);
  transition: color 0.3s;
}

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

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--emerald);
  color: var(--gold-light);
  border-color: var(--emerald);
}

.btn-primary:hover {
  background: var(--emerald-light);
  border-color: var(--emerald-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 77, 62, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--emerald);
  border-color: var(--emerald);
}

.btn-secondary:hover {
  background: var(--emerald);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(45, 42, 38, 0.2);
}

.btn-ghost:hover {
  border-color: var(--emerald);
  color: var(--emerald);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border-color: rgba(200, 164, 92, 0.4);
}

.btn-outline:hover {
  background: rgba(200, 164, 92, 0.12);
  border-color: var(--gold);
  color: var(--gold);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 32px 60px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  position: relative;
}

.hero-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 48vw;
  height: 100vh;
  background: linear-gradient(135deg, var(--emerald-dark) 0%, var(--emerald) 100%);
  border-radius: 0 0 0 60% / 0 0 0 25%;
  z-index: -1;
  opacity: 0.06;
}

.hero-content {
  flex: 1;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 24px;
}

.badge-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--dark);
  margin-bottom: 24px;
}

.hero-title em {
  color: var(--emerald);
  font-style: italic;
}

.dot { color: var(--gold); }

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-hours {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
  padding: 10px 20px;
  background: var(--gold-soft);
  border-radius: 50px;
}

.hours-icon { font-size: 1rem; }

.hero-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-img {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(13, 77, 62, 0.12);
}

/* ============================================
   Section Styles
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.15;
}

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

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ============================================
   Menu Section
   ============================================ */
.menu-section {
  padding: 100px 0;
  background: var(--white);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.menu-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  cursor: pointer;
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(13, 77, 62, 0.1);
}

.menu-card.featured {
  background: linear-gradient(135deg, var(--emerald-dark) 0%, var(--emerald) 100%);
}

.menu-card.featured .menu-info h3 { color: var(--gold-light); }
.menu-card.featured .menu-info p { color: rgba(255, 255, 255, 0.7); }

.menu-img {
  aspect-ratio: 1;
  overflow: hidden;
}

.menu-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.menu-info {
  padding: 18px 20px 22px;
}

.menu-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.menu-info p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ============================================
   Statement Banner
   ============================================ */
.statement {
  padding: 80px 0;
  background: var(--emerald);
  text-align: center;
  position: relative;
}

.statement-deco {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.statement-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--white);
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
}

.statement-text em {
  font-style: italic;
  color: var(--gold-light);
}

/* ============================================
   About Section
   ============================================ */
.about-section {
  padding: 100px 0;
}

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

.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-img-1 { transform: translateY(-20px); }
.about-img-2 { transform: translateY(20px); }

.about-img-1 img,
.about-img-2 img { aspect-ratio: 3/4; }

.about-content .section-label { text-align: left; }
.about-content .section-title {
  text-align: left;
  margin-bottom: 20px;
}

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

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(13, 77, 62, 0.1);
}

.stat { display: flex; flex-direction: column; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--emerald);
  line-height: 1;
}

.stat-number small {
  font-size: 1rem;
  font-weight: 500;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light);
  margin-top: 4px;
}

/* ============================================
   Ramadan Section
   ============================================ */
.ramadan-section {
  padding: 100px 0;
  background: var(--warm-bg);
  border-top: 1px solid rgba(200, 164, 92, 0.15);
  border-bottom: 1px solid rgba(200, 164, 92, 0.15);
}

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

.ramadan-content .section-label { text-align: left; }
.ramadan-content .section-title {
  text-align: left;
  margin-bottom: 20px;
}

.ramadan-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 24px;
}

.ramadan-list {
  list-style: none;
  margin-bottom: 32px;
}

.ramadan-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(13, 77, 62, 0.08);
  font-weight: 500;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ramadan-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.ramadan-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: 0 16px 40px rgba(13, 77, 62, 0.08);
}

/* ============================================
   Visit Section
   ============================================ */
.visit-section {
  padding: 100px 0;
}

.visit-card {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.visit-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visit-info {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.visit-info h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 24px;
}

.visit-detail {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.visit-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.visit-detail p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light);
}

.visit-info .btn {
  align-self: flex-start;
  margin-top: 8px;
}

/* ============================================
   Reserve CTA Section
   ============================================ */
.reserve-section {
  padding: 100px 32px;
  text-align: center;
}

.reserve-inner {
  background: linear-gradient(135deg, var(--emerald-dark) 0%, var(--emerald) 60%, var(--emerald-light) 100%);
  border-radius: 40px;
  padding: 80px 40px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.reserve-inner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(200, 164, 92, 0.08);
}

.reserve-inner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(200, 164, 92, 0.05);
}

.reserve-deco {
  font-size: 3rem;
  margin-bottom: 20px;
}

.reserve-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

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

.reserve-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
  position: relative;
}

.reserve-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.reserve-section .btn-primary {
  background: var(--gold);
  color: var(--emerald-dark);
  border-color: var(--gold);
}

.reserve-section .btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 8px 25px rgba(200, 164, 92, 0.3);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 14px;
  border-radius: 8px;
}

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

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  color: var(--gold);
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 10px;
  transition: color 0.3s;
}

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

.footer-hours {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   Scroll Animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .ramadan-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-images { order: -1; }

  .visit-card {
    grid-template-columns: 1fr;
  }

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

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

  .hero {
    flex-direction: column;
    padding: 100px 20px 60px;
    gap: 32px;
    min-height: auto;
  }

  .hero-overlay { display: none; }
  .hero-image { width: 100%; }

  .hero-img {
    max-width: 100%;
    border-radius: var(--radius);
  }

  .menu-section,
  .about-section,
  .visit-section,
  .ramadan-section {
    padding: 60px 0;
  }

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

  .visit-info {
    padding: 32px 24px;
  }

  .about-stats { gap: 24px; }

  .reserve-inner {
    padding: 60px 24px;
    border-radius: 24px;
  }

  .reserve-actions {
    flex-direction: column;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .about-images {
    grid-template-columns: 1fr;
  }

  .about-img-1,
  .about-img-2 { transform: none; }
}
