/* =========================================
   LA NEA ILIE — Restaurant Website Styles
   Design: Rustic Romanian, Warm & Traditional
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Lora:ital,wght@0,400;0,600;1,400&family=Open+Sans:wght@300;400;600&display=swap');

/* ── CSS Variables ─────────────────────── */
:root {
  --rosu:      #7a1518;
  --rosu-dark: #4e0c0e;
  --rosu-light:#a52527;
  --maro:      #5c3317;
  --maro-light:#8b5e3c;
  --crem:      #f5eed8;
  --crem-dark: #e8d9b5;
  --alb:       #fdf8ef;
  --text-dark: #2c1a0e;
  --text-mid:  #5c3317;
  --gold:      #c9973c;
  --shadow:    rgba(44,26,14,0.18);
  --radius:    8px;
  --transition:0.3s ease;
}

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

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

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--alb);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ── Typography ────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--rosu-dark);
  line-height: 1.25;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-align: center;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  font-family: 'Lora', serif;
  font-style: italic;
  text-align: center;
  color: var(--maro-light);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0.8rem auto 2.8rem;
  max-width: 280px;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold);
}
.divider span {
  color: var(--gold);
  font-size: 1.3rem;
}

/* ── Buttons ───────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 40px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--rosu);
  color: #fff;
  box-shadow: 0 4px 18px rgba(122,21,24,0.35);
}
.btn-primary:hover {
  background: var(--rosu-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(122,21,24,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--rosu);
  border: 2px solid var(--rosu);
}
.btn-outline:hover {
  background: var(--rosu);
  color: #fff;
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--rosu-dark);
  box-shadow: 0 4px 14px rgba(201,151,60,0.35);
}
.btn-gold:hover {
  background: #b5832d;
  color: #fff;
  transform: translateY(-2px);
}

/* ── NAVIGATION ────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 5%;
  background: rgba(78,12,14,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 0.55rem 5%;
  background: rgba(78,12,14,1);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--crem);
  padding: 4px;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}
.nav-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--crem);
  line-height: 1.1;
}
.nav-brand-sub {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--crem);
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  padding: 0.5rem 1.3rem !important;
  background: var(--gold) !important;
  color: var(--rosu-dark) !important;
  border-radius: 30px;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--crem) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--crem);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 66px; left: 0; right: 0;
  background: var(--rosu-dark);
  padding: 1.5rem 5%;
  flex-direction: column;
  gap: 1.2rem;
  z-index: 999;
  border-top: 1px solid rgba(201,151,60,0.3);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--crem);
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(245,238,216,0.12);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--gold); }

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(78,12,14,0.88) 0%, rgba(44,26,14,0.75) 50%, rgba(92,51,23,0.82) 100%),
    url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?w=1600&q=80') center/cover no-repeat;
  z-index: 0;
}

/* Texture overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  animation: fadeUp 0.9s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,151,60,0.2);
  border: 1px solid rgba(201,151,60,0.5);
  color: var(--gold);
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.88rem;
  padding: 0.4rem 1.1rem;
  border-radius: 30px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

.hero-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  background: rgba(245,238,216,0.12);
  border: 2px solid rgba(201,151,60,0.4);
  border-radius: 50%;
  padding: 12px;
  margin: 0 auto 1.5rem;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--crem);
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  margin-bottom: 0.5rem;
  font-weight: 900;
}

.hero-tagline {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--gold);
  margin-bottom: 1.2rem;
  letter-spacing: 0.03em;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(245,238,216,0.85);
  max-width: 540px;
  margin: 0 auto 2.2rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(245,238,216,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: bounce 2s infinite;
}
.hero-scroll::before {
  content: '⌄';
  font-size: 1.4rem;
  color: var(--gold);
}

/* ── STATS BAR ─────────────────────────── */
.stats-bar {
  background: var(--rosu-dark);
  padding: 1.4rem 5%;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--crem);
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,238,216,0.7);
  margin-top: 0.25rem;
}

/* ── SECTIONS ──────────────────────────── */
section {
  padding: 5rem 5%;
}

.section-crem  { background: var(--crem); }
.section-white { background: var(--alb); }
.section-dark  { background: var(--rosu-dark); }

/* ── ABOUT ─────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-image-wrap {
  position: relative;
}
.about-image-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px var(--shadow);
}
.about-image-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: var(--rosu);
  color: var(--crem);
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  padding: 1rem 1.3rem;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(122,21,24,0.4);
  text-align: center;
  line-height: 1.3;
}
.about-image-badge strong {
  display: block;
  font-size: 1.6rem;
  color: var(--gold);
}

.about-text h2 { margin-bottom: 0.4rem; }
.about-text .section-subtitle { text-align: left; margin-bottom: 1.2rem; }
.about-text p {
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.85;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.5rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-mid);
  font-weight: 600;
}
.feature-item span:first-child {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rosu);
  color: #fff;
  border-radius: 50%;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ── FOOD GALLERY ──────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 28px var(--shadow);
  cursor: pointer;
  group: true;
}

.gallery-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-card:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(78,12,14,0.88) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-card:hover .gallery-overlay { opacity: 1; }

.gallery-overlay h3 {
  color: var(--crem);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.gallery-overlay p {
  color: rgba(245,238,216,0.75);
  font-size: 0.82rem;
  font-style: italic;
}
.gallery-price {
  display: inline-block;
  background: var(--gold);
  color: var(--rosu-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  margin-top: 0.4rem;
  width: fit-content;
}

/* ── CONTACT & LOCATION ────────────────── */
.contact-section {
  background: var(--crem);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--rosu-dark);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.4rem;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--rosu);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(122,21,24,0.3);
}
.contact-detail strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--maro-light);
  margin-bottom: 0.2rem;
}
.contact-detail span {
  font-family: 'Lora', serif;
  font-size: 0.98rem;
  color: var(--text-dark);
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 36px var(--shadow);
  height: 340px;
  border: 3px solid var(--crem-dark);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── FOOTER ────────────────────────────── */
footer {
  background: var(--rosu-dark);
  color: rgba(245,238,216,0.8);
  text-align: center;
  padding: 2.2rem 5%;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1rem;
}
.footer-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: rgba(245,238,216,0.1);
  border: 1px solid rgba(201,151,60,0.3);
  border-radius: 50%;
  padding: 4px;
}
.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--crem);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 0.8rem 0 1rem;
}
.footer-links a {
  color: rgba(245,238,216,0.65);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.78rem;
  color: rgba(245,238,216,0.4);
  border-top: 1px solid rgba(245,238,216,0.12);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

/* ── MENU PAGE ─────────────────────────── */
.menu-hero {
  background:
    linear-gradient(135deg, rgba(78,12,14,0.9) 0%, rgba(92,51,23,0.85) 100%),
    url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=1400&q=80') center/cover no-repeat;
  padding: 8rem 5% 5rem;
  text-align: center;
  color: var(--crem);
}

.menu-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--crem);
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
  margin-bottom: 0.6rem;
}
.menu-hero p {
  font-family: 'Lora', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
}

.menu-page { padding: 4rem 5%; max-width: 1100px; margin: 0 auto; }

.menu-category {
  margin-bottom: 3.5rem;
}
.category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 1.8rem;
}
.category-icon {
  width: 52px;
  height: 52px;
  background: var(--rosu);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(122,21,24,0.3);
}
.category-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--rosu-dark);
  margin: 0;
}
.category-line {
  flex: 1;
  height: 1px;
  background: var(--crem-dark);
}

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

.menu-item-card {
  background: var(--alb);
  border: 1px solid var(--crem-dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(44,26,14,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.menu-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(44,26,14,0.15);
}

.menu-item-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.menu-item-body {
  padding: 1.2rem 1.3rem 1.3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.menu-item-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--rosu-dark);
  margin-bottom: 0.4rem;
}
.menu-item-desc {
  font-family: 'Lora', serif;
  font-size: 0.88rem;
  color: var(--maro-light);
  font-style: italic;
  flex: 1;
  line-height: 1.6;
}
.menu-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--crem-dark);
}
.menu-item-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--rosu);
}
.menu-item-price span {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--maro-light);
}
.menu-item-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  background: rgba(122,21,24,0.1);
  color: var(--rosu);
}

/* Nota alergen */
.alergen-nota {
  background: rgba(201,151,60,0.12);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.3rem;
  margin: 1rem 0 2rem;
  font-size: 0.85rem;
  color: var(--maro);
  font-style: italic;
}

/* ── 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(8px); }
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ────────────────────────── */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-image-badge { bottom: 10px; right: 10px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .stats-bar { gap: 1.5rem; }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .stats-bar { gap: 1rem; }
  .stat-number { font-size: 1.4rem; }
  .menu-items-grid { grid-template-columns: 1fr; }
}
