/* ===== Mi Cartel — homepage ===== */
:root {
  --ink: #14120f;
  --ink-soft: #2a2622;
  --cream: #f6f1e8;
  --cream-dim: #e8e0d2;
  --accent: #d95d39;      /* terracota */
  --accent-soft: #e9805f;
  --green: #7a8c5f;       /* agave */
  --shadow: 0 20px 60px rgba(0,0,0,.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--ink);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.marker { font-family: 'Permanent Marker', cursive; font-weight: 400; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ===== Navbar ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  transition: background .35s, box-shadow .35s, padding .35s;
}
.nav.scrolled {
  background: rgba(20,18,15,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0,0,0,.4);
  padding: 12px 28px;
}
.nav-brand {
  font-family: 'Permanent Marker', cursive;
  font-size: 1.5rem; text-decoration: none; letter-spacing: .02em;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  text-decoration: none; font-weight: 600; font-size: .95rem;
  opacity: .85; transition: opacity .2s, color .2s;
}
.nav-links a:hover { opacity: 1; color: var(--accent-soft); }
.nav-ig { display: inline-flex; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center;
}
.hero-slides, .slide { position: absolute; inset: 0; }
.slide {
  background-size: cover; background-position: center 35%;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s ease;
}
.slide.active {
  opacity: 1;
  animation: kenburns 8s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,18,15,.55) 0%, rgba(20,18,15,.35) 40%, rgba(20,18,15,.78) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 100px 20px 60px; }
.hero-kicker {
  text-transform: uppercase; letter-spacing: .35em; font-weight: 700;
  font-size: .85rem; color: var(--cream-dim); margin-bottom: 10px;
}
.hero-title {
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(4rem, 13vw, 8.5rem);
  line-height: .95; text-shadow: 0 8px 40px rgba(0,0,0,.55);
}
.hero-tagline {
  font-family: 'Permanent Marker', cursive;
  font-size: clamp(1.1rem, 3vw, 1.7rem);
  color: var(--accent-soft); margin-top: 8px;
  text-shadow: 0 4px 20px rgba(0,0,0,.5);
}
.hero-badges {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 28px;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(246,241,232,.12); border: 1px solid rgba(246,241,232,.25);
  backdrop-filter: blur(6px);
  padding: 8px 16px; border-radius: 999px;
  font-size: .9rem; font-weight: 600;
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #6fcf6f; box-shadow: 0 0 8px #6fcf6f;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 999px;
  text-decoration: none; font-weight: 700; font-size: 1rem;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 28px rgba(217,93,57,.45); }
.btn-primary:hover { background: var(--accent-soft); }
.btn-ghost { border: 2px solid rgba(246,241,232,.55); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(246,241,232,.1); }
.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; width: 28px; height: 46px; border: 2px solid rgba(246,241,232,.5);
  border-radius: 16px; display: flex; justify-content: center;
}
.hero-scroll span {
  width: 4px; height: 10px; background: var(--cream); border-radius: 2px;
  margin-top: 8px; animation: scrollcue 1.6s infinite;
}
@keyframes scrollcue {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}

/* ===== Secțiuni ===== */
section { padding: 90px 0; }
.section-kicker {
  text-transform: uppercase; letter-spacing: .3em; font-weight: 700;
  font-size: .8rem; color: var(--accent-soft); margin-bottom: 12px;
}
h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); line-height: 1.2; margin-bottom: 18px; }

/* Despre */
.despre { background: var(--cream); color: var(--ink); text-align: center; }
.despre .section-kicker { color: var(--accent); }
.despre h2.marker { font-size: clamp(1.9rem, 5vw, 3rem); }
.despre-text { max-width: 640px; margin: 0 auto 50px; font-size: 1.1rem; color: var(--ink-soft); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature {
  background: #fff; border-radius: 20px; padding: 34px 26px;
  box-shadow: 0 10px 34px rgba(20,18,15,.08);
  transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 16px 44px rgba(20,18,15,.13); }
.feature-emoji { font-size: 2.2rem; margin-bottom: 12px; }
.feature h3 { margin-bottom: 8px; font-size: 1.15rem; }
.feature p { font-size: .95rem; color: var(--ink-soft); }

/* Galerie */
.galerie { background: var(--ink); text-align: center; }
.ig-link { color: var(--accent-soft); text-decoration: none; }
.ig-link:hover { text-decoration: underline; }
.gallery-grid {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.gallery-item {
  position: relative; border-radius: 14px; overflow: hidden;
  aspect-ratio: 4 / 5; display: block;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20,18,15,.65));
  opacity: 0; transition: opacity .3s;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item .gi-ig {
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  opacity: 0; transition: opacity .3s; color: #fff;
}
.gallery-item:hover .gi-ig { opacity: 1; }
.btn-instagram {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 38px; padding: 14px 34px; border-radius: 999px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff; text-decoration: none; font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 10px 32px rgba(220, 39, 67, .4);
  transition: transform .15s, box-shadow .2s;
}
.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(220, 39, 67, .55);
}

/* Contact */
.contact { background: var(--cream); color: var(--ink); }
.contact .section-kicker { color: var(--accent); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: start; }
.contact-list { list-style: none; margin-top: 26px; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.ci-icon { font-size: 1.4rem; line-height: 1.4; }
.contact-list strong { display: block; margin-bottom: 2px; }
.contact-list a { color: var(--ink-soft); text-decoration: none; }
.contact-list a:hover { color: var(--accent); }
.socials { display: flex; gap: 16px; margin-top: 30px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--cream);
  transition: background .2s, transform .15s;
}
.socials a:hover { background: var(--accent); transform: translateY(-2px); }
.contact-map { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.contact-map iframe { width: 100%; height: 440px; border: 0; display: block; }

/* ===== Pagina meniu ===== */
.page-menu { background: var(--cream); }
.menu-hero {
  position: relative; padding: 150px 24px 60px; text-align: center;
  background: url('../img/sign.webp') center 40% / cover no-repeat;
}
.menu-hero-overlay { position: absolute; inset: 0; background: rgba(20,18,15,.72); }
.menu-hero-content { position: relative; z-index: 1; color: var(--cream); }
.menu-hero h1 { font-size: clamp(3rem, 9vw, 5rem); line-height: 1; }
.menu-hero-sub { margin-top: 10px; color: var(--cream-dim); }
.menu-hero-sub strong { color: var(--accent-soft); }
.menu-tabs {
  position: sticky; top: 54px; z-index: 40;
  display: flex; gap: 8px; justify-content: safe center; flex-wrap: nowrap;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding: 14px 18px;
  background: rgba(246,241,232,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(20,18,15,.08);
}
.menu-tabs a {
  flex: 0 0 auto;
  padding: 8px 18px; border-radius: 999px;
  background: #fff; color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: .9rem;
  border: 1px solid rgba(20,18,15,.1);
  transition: background .2s, color .2s;
}
.menu-tabs a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.menu-wrap { max-width: 820px; margin: 0 auto; padding: 30px 24px 80px; color: var(--ink); }
.menu-section { padding: 44px 0 10px; }
.menu-section h2 {
  font-size: clamp(1.8rem, 5vw, 2.4rem); color: var(--ink);
  margin-bottom: 6px;
}
.menu-section { scroll-margin-top: 125px; }
.menu-section-note {
  color: var(--accent); font-weight: 700; text-transform: uppercase;
  letter-spacing: .15em; font-size: .8rem; margin-bottom: 10px;
}
.menu-item { padding: 14px 0; border-bottom: 1px dashed rgba(20,18,15,.12); }
.menu-item:last-of-type { border-bottom: 0; }
.mi-head { display: flex; align-items: baseline; gap: 10px; }
.mi-name { font-weight: 800; font-size: 1.02rem; }
.mi-tag {
  font-size: .7rem; font-weight: 700; vertical-align: middle;
  background: rgba(122,140,95,.15); color: var(--green);
  padding: 2px 7px; border-radius: 999px; margin-left: 4px;
}
.mi-dots { flex: 1; border-bottom: 2px dotted rgba(20,18,15,.22); transform: translateY(-4px); min-width: 24px; }
.mi-price { font-weight: 800; color: var(--accent); white-space: nowrap; }
.mi-desc { color: var(--ink-soft); font-size: .92rem; margin-top: 3px; max-width: 620px; }
.menu-veggie-note, .menu-footnote {
  margin-top: 22px; padding: 16px 20px; border-radius: 14px;
  background: #fff; color: var(--ink-soft); font-size: .95rem;
  box-shadow: 0 6px 20px rgba(20,18,15,.06);
}
.menu-footnote { font-size: .85rem; }
.menu-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 50px; }
.btn-ghost-dark { border: 2px solid rgba(20,18,15,.5); color: var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: var(--cream); }

/* Footer */
.footer { background: #0e0c0a; padding: 60px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 46px;
}
.footer-brand { font-size: 2rem; margin-bottom: 4px; }
.f-tagline { color: var(--accent-soft); font-size: 1rem; margin-bottom: 14px; }
.f-desc { color: rgba(246,241,232,.6); font-size: .95rem; }
.f-col h4 {
  text-transform: uppercase; letter-spacing: .2em; font-size: .78rem;
  color: rgba(246,241,232,.5); margin-bottom: 14px;
}
.f-col ul { list-style: none; display: grid; gap: 8px; }
.f-col li, .f-col a { color: var(--cream-dim); font-size: .95rem; text-decoration: none; }
.f-col a:hover { color: var(--accent-soft); }
.f-social { display: flex; gap: 12px; margin-top: 18px; }
.f-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(246,241,232,.1); color: var(--cream);
  transition: background .2s;
}
.f-social a:hover { background: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(246,241,232,.1);
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap;
  max-width: 1100px; margin: 0 auto; padding: 18px 24px;
  font-size: .85rem; color: rgba(246,241,232,.45);
}
.f-nav { display: flex; gap: 18px; }
.f-nav a { color: rgba(246,241,232,.6); text-decoration: none; }
.f-nav a:hover { color: var(--accent-soft); }

/* Nav pagina meniu: săgeata înapoi */
.nav-left { display: flex; align-items: center; gap: 14px; }
.nav-back {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--cream); text-decoration: none;
  font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em;
  background: rgba(246,241,232,.12); border: 1px solid rgba(246,241,232,.22);
  padding: 7px 14px; border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav-back:hover { background: var(--accent); border-color: var(--accent); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: left; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-map iframe { height: 340px; }
}
@media (max-width: 640px) {
  .nav { padding: 14px 18px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: .9rem; }
  /* pe mobil rămân doar Meniu și Contact, ca brandul să nu se rupă pe 2 rânduri */
  .nav-links .nav-extra { display: none; }
  .nav-back span { display: none; }
  .nav-back { padding: 7px 10px; }
  section { padding: 70px 0; }
}
