/* ===== LUCY CAFE — Premium UI/UX Concept by Servlexy ===== */
:root {
  --cream: #F7F2E9;
  --espresso: #35251F;
  --coffee-beige: #C6A582;
  --caramel: #A8754E;
  --white: #FFFFFF;
  --sage: #92927A;
  --text-dark: #2C2019;
  --text-light: #6B5B50;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-arabic: 'Cairo', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--cream);
  color: var(--text-dark);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}


.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* ═══ Navigation ═══ */
.nav {
  position: sticky; top: 0; z-index: 900;
  background: rgba(247,242,233,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(198,165,130,0.3);
  transition: all 0.3s ease;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }

.logo {
  font-family: var(--font-serif); font-size: 1.5rem;
  font-weight: 600; letter-spacing: 0.05em; color: var(--espresso);
}
.menu { display: flex; gap: 2rem; }
.menu a {
  text-decoration: none; color: var(--espresso);
  font-weight: 500; font-size: 0.9rem; letter-spacing: 0.05em;
  position: relative;
}
.menu a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--caramel);
  transition: width 0.3s ease;
}
.menu a:hover::after { width: 100%; }

.lang-switch {
  background: none; border: 1px solid var(--coffee-beige);
  padding: 0.4rem 0.9rem; cursor: pointer; border-radius: 2rem;
  font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.05em;
  transition: all 0.3s ease;
}
.lang-switch:hover { background: var(--coffee-beige); color: var(--white); }

/* ═══ Hero ═══ */
.hero {
  position: relative; height: 90vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(247,242,233,0.2), rgba(53,37,31,0.55));
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: -2; transition: transform 0.08s linear;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 500; line-height: 1.15;
  color: var(--espresso); margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-light); margin-bottom: 2.5rem;
  max-width: 600px; margin-left: auto; margin-right: auto;
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 0.9rem 2.2rem;
  border-radius: 50rem; text-decoration: none;
  font-weight: 500; letter-spacing: 0.05em;
  transition: all 0.3s ease;
}
.btn.primary { background: var(--espresso); color: var(--white); }
.btn.primary:hover { background: var(--caramel); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(168,117,78,0.35); }
.btn.ghost { background: transparent; border: 1px solid var(--espresso); color: var(--espresso); }
.btn.ghost:hover { background: var(--espresso); color: var(--white); transform: translateY(-3px); }

/* ═══ Sections ═══ */
.section { padding: 6rem 0; }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 500;
  text-align: center; color: var(--espresso); margin-bottom: 0.5rem;
}
.section-sub {
  text-align: center; color: var(--text-light); margin-bottom: 3rem;
  max-width: 600px; margin-left: auto; margin-right: auto;
}
.note { font-size: 0.85rem; color: var(--sage); font-style: italic; margin-top: 1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

/* ═══ Intro ═══ */
.intro-text h2 {
  font-family: var(--font-serif); font-size: 2.5rem;
  margin-bottom: 1.5rem; color: var(--espresso);
}
.intro-text p { color: var(--text-light); margin-bottom: 1rem; font-size: 1.05rem; }
.intro-media img { width: 100%; height: 500px; object-fit: cover; border-radius: 8px; background: var(--coffee-beige); }

/* ═══ Stats ═══ */
.stats { padding: 4rem 0; background: var(--espresso); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-item { color: var(--cream); }
.stat-number { display: block; font-family: var(--font-serif); font-size: 3rem; font-weight: 600; color: var(--coffee-beige); }
.stat-label { font-size: 0.95rem; color: rgba(247,242,233,0.7); margin-top: 0.3rem; }

/* ═══ Menu Tabs ═══ */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 3rem; }
.tab {
  background: none; border: 1px solid var(--coffee-beige);
  padding: 0.55rem 1.4rem; border-radius: 50rem;
  cursor: pointer; font-family: var(--font-sans); font-size: 0.9rem;
  transition: all 0.3s ease;
}
.tab.active, .tab:hover { background: var(--coffee-beige); color: var(--white); }

.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }
.card {
  background: var(--white); border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(53,37,31,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease; will-change: transform;
}
.card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 15px 40px rgba(53,37,31,0.18);
}
.card img { width: 100%; height: 220px; object-fit: cover; display: block; background: var(--coffee-beige); }
.card-body { padding: 1.5rem; }
.card-body h3 { font-family: var(--font-serif); font-size: 1.2rem; margin-bottom: 0.4rem; color: var(--espresso); }
.card-body p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 1rem; }
.price { font-weight: 600; color: var(--caramel); }

/* ═══ Experience Grid ═══ */
.experience h2 {
  font-family: var(--font-serif); font-size: 2.5rem;
  text-align: center; margin-bottom: 3rem; color: var(--espresso);
}
.experience-grid {
  display: grid; grid-template-columns: 2fr 1fr;
  grid-template-rows: 280px 280px; gap: 1.5rem;
}
.exp-img.large { grid-row: span 2; }
.exp-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; background: var(--coffee-beige); }

/* ═══ Gallery ═══ */
.gallery .masonry { columns: 3; column-gap: 1.5rem; }
.gallery img {
  width: 100%; break-inside: avoid; margin-bottom: 1.5rem;
  border-radius: 8px; transition: transform 0.4s ease, opacity 0.3s ease;
  display: block; background: var(--coffee-beige);
}
.gallery img:hover { transform: scale(1.03); }

/* ═══ Visit ═══ */
.visit h2 { font-family: var(--font-serif); font-size: 2.5rem; margin-bottom: 1.5rem; color: var(--espresso); }
.visit p { color: var(--text-light); margin-bottom: 1rem; font-size: 1.05rem; }
.info-list { list-style: none; margin-bottom: 2rem; }
.info-list li { padding: 0.6rem 0; border-bottom: 1px dashed rgba(198,165,130,0.5); color: var(--text-light); }

.map-placeholder {
  height: 400px; position: relative; border-radius: 8px; overflow: hidden;
  background: #e5e0d8;
}
.map-placeholder .map-box {
  position: relative; z-index: 2;
  font-size: 1.3rem; color: var(--sage); letter-spacing: 0.05em;
  background: rgba(247,242,233,0.85); padding: 1rem 2rem; border-radius: 8px;
}

/* ═══ Final CTA ═══ */
.final-cta { background: var(--espresso); color: var(--white); text-align: center; padding: 6rem 0; }
.final-cta h2 { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 2rem; }
.cta-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.final-cta .btn.primary { background: var(--coffee-beige); color: var(--espresso); }
.final-cta .btn.primary:hover { background: var(--caramel); color: var(--white); }
.final-cta .btn.ghost { border-color: var(--white); color: var(--white); }
.final-cta .btn.ghost:hover { background: var(--white); color: var(--espresso); }

/* ═══ Footer ═══ */
.footer { background: var(--espresso); color: rgba(255,255,255,0.8); padding: 3rem 0; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer .logo { color: var(--white); margin-bottom: 1rem; }
.footer nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer nav a { color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.3s ease; }
.footer nav a:hover { color: var(--coffee-beige); }
.center { text-align: center; }

/* ═══ Scroll Animations ═══ */
.animate-on-scroll {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.165,0.84,0.44,1),
              transform 0.8s cubic-bezier(0.165,0.84,0.44,1);
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ═══ Lightbox ═══ */
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(53,37,31,0.92);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; cursor: zoom-out; animation: fadeIn 0.3s ease;
}
.lightbox-img {
  max-width: 85vw; max-height: 85vh; border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5); animation: zoomIn 0.3s ease;
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes zoomIn { from { transform: scale(0.8); opacity: 0 } to { transform: scale(1); opacity: 1 } }

/* ═══ Responsive ═══ */
@media (max-width: 992px) {
  .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .experience-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .exp-img.large { grid-column: span 2; height: 300px; }
  .gallery .masonry { columns: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .menu { display: none; }
  .hero { height: 80vh; }
  .tabs { gap: 0.5rem; }
  .tab { padding: 0.5rem 1rem; font-size: 0.8rem; }
  .experience-grid { grid-template-columns: 1fr; }
  .exp-img.large { grid-column: auto; height: 280px; }
  .gallery .masonry { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-number { font-size: 2.2rem; }
}
