/* =============================================
   AnimiS – Legendary Food | style.css
   #3a7c80 turcoaz  |  #ffbd59 galben
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --turcoaz:       #3a7c80;
  --turcoaz-dark:  #2c5f62;
  --turcoaz-mid:   #326e72;
  --turcoaz-light: #4e9da1;
  --galben:        #ffbd59;
  --galben-dark:   #e6a030;
  --galben-pale:   #fff3d6;
  --dark:          #1a2e2f;
  --text-on-dark:  rgba(255,255,255,0.90);
  --text-muted:    rgba(255,255,255,0.60);
  --card-bg:       #2c6467;
  --radius:        16px;
  --shadow:        0 8px 32px rgba(0,0,0,0.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--turcoaz-dark);
  color: var(--text-on-dark);
  overflow-x: hidden;
}

/* ─── NAVBAR ─────────────────────────────── */
.navbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 60px;
  z-index: 100;
}

/* ─── LOGO / AnimiS — o singură culoare ─── */
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--galben);
  letter-spacing: 2px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.4);
}

.nav-links { list-style: none; display: flex; gap: 36px; }
.nav-links a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--galben);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--galben); }
.nav-links a:hover::after { width: 100%; }

/* ─── HERO ───────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(145deg, var(--dark) 0%, var(--turcoaz-dark) 45%, var(--turcoaz) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(255,189,89,0.10) 0%, transparent 55%),
    radial-gradient(circle at 85% 20%, rgba(255,255,255,0.05) 0%, transparent 40%);
}
.hero::after {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(255,189,89,0.12);
  top: -150px; right: -200px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 10;
  padding: 20px;
}

.hero-sub {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: var(--galben);
  margin-bottom: 6px;
  animation: fadeDown 0.7s ease both;
}

/* ─── HERO TITLE — AnimiS o singură culoare */
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(5rem, 15vw, 12rem);
  font-weight: 900;
  color: var(--galben);
  line-height: 0.9;
  letter-spacing: 4px;
  text-shadow: 4px 6px 30px rgba(0,0,0,0.35);
  animation: fadeDown 0.7s 0.1s ease both;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-on-dark);
  margin-top: 18px;
  font-weight: 600;
  animation: fadeDown 0.7s 0.2s ease both;
}

.hero-badges {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
  animation: fadeDown 0.7s 0.3s ease both;
}
.badge {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,189,89,0.35);
  color: #fff;
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
}

.btn-hero {
  display: inline-block;
  margin-top: 36px;
  background: var(--galben);
  color: var(--dark);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 52px;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(255,189,89,0.35);
  animation: fadeDown 0.7s 0.4s ease both;
}
.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(255,189,89,0.45);
  background: var(--galben-dark);
}

.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 80px; }

/* ─── BANNER ─────────────────────────────── */
.banner-livrare {
  background: var(--galben);
  color: var(--dark);
  text-align: center;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.banner-livrare .sep { opacity: 0.35; }

/* ─── SECTION MENIU ──────────────────────── */
.section-meniu {
  padding: 72px 48px;
  max-width: 1340px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: var(--galben);
  letter-spacing: 2px;
}
/* em în titluri — AnimiS tot galben */
.section-header h2 em { font-style: italic; color: var(--galben); }

.section-header h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--galben);
  margin: 12px auto 0;
  border-radius: 2px;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 10px;
  font-weight: 600;
}

/* ─── CATEGORY ───────────────────────────── */
.category { margin-bottom: 68px; }

.category-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--dark);
  background: var(--galben);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 40px 10px 28px;
  border-radius: 0 50px 50px 0;
  margin-bottom: 32px;
  margin-left: -48px;
  box-shadow: 4px 4px 20px rgba(0,0,0,0.20);
  position: relative;
}
.category-title::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--turcoaz-light);
  border-radius: 3px 0 0 3px;
}
.cat-icon { font-size: 1.5rem; }

/* ─── MENU CARDS ─────────────────────────── */
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.menu-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(255,255,255,0.07);
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.35);
}

.card-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 60%;
  background: linear-gradient(135deg, #245456 0%, #1d3d3f 100%);
  overflow: hidden;
}
.card-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.menu-card:hover .card-img { transform: scale(1.06); }

.img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  opacity: 0.25;
}

.card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-name {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.35;
}
.gram { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); }
.card-desc {
  font-size: 0.80rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 14px;
}
.card-price {
  display: inline-block;
  background: var(--galben);
  color: var(--dark);
  font-family: 'Arial Black', 'Helvetica Neue', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 5px 20px;
  border-radius: 50px;
  align-self: flex-start;
}

/* ─── EXTRAS (Băuturi & Sosuri) ──────────── */
.extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.extras-box {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 4px solid var(--galben);
}
.extras-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--galben);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─── SOSURI EXTRA BADGE — alb, vizibil ──── */
.extras-note-badge {
  display: inline-block;
  background: #ffffff;
  color: var(--dark);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.20);
  white-space: nowrap;
}

.extras-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.extras-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255,255,255,0.12);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-on-dark);
}
.extras-list.no-price li {
  justify-content: flex-start;
}
.extras-list.no-price li::before {
  content: '▸';
  color: var(--galben);
  margin-right: 10px;
}
.extras-price {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--galben);
}
.alergen-note {
  margin-top: 18px;
  font-size: 0.73rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-style: italic;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 12px;
}

/* ─── DESPRE NOI ─────────────────────────── */
.section-despre {
  background: var(--turcoaz-mid);
  padding: 80px 60px;
  border-top: 4px solid var(--galben);
  border-bottom: 4px solid var(--galben);
}
.despre-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.despre-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--galben);
  margin-bottom: 20px;
}
/* AnimiS în "Despre AnimiS" — tot galben */
.despre-text h2 em { font-style: italic; color: var(--galben); }
.despre-text p {
  color: var(--text-on-dark);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 14px;
}
.despre-list { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.despre-list li { color: var(--galben); font-weight: 700; font-size: 0.95rem; }

/* ─── PATRON ─────────────────────────────── */
.patron-wrap { text-align: center; flex-shrink: 0; }
.patron-frame {
  width: 220px; height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--galben);
  box-shadow: 0 0 0 10px rgba(255,189,89,0.15), 0 20px 50px rgba(0,0,0,0.35);
  background: var(--turcoaz-dark);
  position: relative;
  animation: float 4s ease-in-out infinite;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.patron-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.patron-fallback { font-size: 5rem; }
.patron-label { color: var(--text-muted); margin-top: 14px; font-size: 0.88rem; }
.patron-label strong { color: var(--galben); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* ─── CONTACT ────────────────────────────── */
.section-contact {
  background: var(--turcoaz-dark);
  padding: 80px 40px;
}
.section-contact .section-header { margin-bottom: 44px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}
.contact-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 34px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.07);
  border-bottom: 4px solid var(--galben);
  transition: transform 0.25s;
}
.contact-card:hover { transform: translateY(-4px); }
.contact-icon {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  min-height: 2.2rem;
}

/* ─── TIKTOK ICON ────────────────────────── */
.tiktok-icon {
  color: var(--galben);
}
.tiktok-icon svg {
  display: block;
}

.contact-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--galben);
  margin-bottom: 8px;
}
.contact-card a, .contact-card p {
  color: var(--text-on-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}
.contact-card a:hover { color: var(--galben); }

/* ─── FOOTER ─────────────────────────────── */
.footer {
  background: var(--dark);
  text-align: center;
  padding: 40px 24px;
  border-top: 3px solid var(--galben);
}
/* AnimiS în footer — tot galben */
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--galben);
  letter-spacing: 3px;
  margin-bottom: 8px;
}
.footer-tag { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 10px; }
.footer-small { color: rgba(255,255,255,0.25); font-size: 0.73rem; max-width: 580px; margin: 0 auto; line-height: 1.6; }

/* ─── ANIMATIONS ─────────────────────────── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 900px) {
  .navbar { padding: 20px 24px; }
  .nav-links { gap: 20px; }
  .section-meniu { padding: 56px 24px; }
  .category-title { margin-left: -24px; font-size: 1.4rem; }
  .despre-inner { grid-template-columns: 1fr; text-align: center; }
  .patron-wrap { margin: 0 auto; }
  .despre-list { align-items: center; }
  .section-despre { padding: 60px 24px; }
}

/* ─── HAMBURGER BUTTON ───────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  z-index: 9999;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--galben);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE DRAWER ──────────────────────── */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 240px;
  height: 100%;
  background: #1a2e2f;
  border-left: 3px solid #ffbd59;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 80px 36px 36px;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.mobile-drawer a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  width: 100%;
  transition: color 0.2s;
}
.mobile-drawer a:last-child { border-bottom: none; }
.mobile-drawer a:hover { color: #ffbd59; }

.drawer-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9997;
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-title { font-size: 5rem; }
  .banner-livrare { font-size: 0.83rem; gap: 10px; }
  .items-grid { grid-template-columns: 1fr; }
  .category-title { margin-left: 0; border-radius: 12px; }
  .section-contact { padding: 60px 20px; }
  .navbar { padding: 20px 24px; }
}

/* MENIU FOOTER - alergen + livrare CTA */
.meniu-footer {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.alergen-note-global {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  font-style: italic;
  line-height: 1.6;
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.livrare-cta {
  background: linear-gradient(135deg, #1a2e2f 0%, #2c6467 100%);
  border: 2px solid #ffbd59;
  border-radius: 20px;
  padding: 36px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  flex-wrap: wrap;
}

.livrare-cta-text {
  display: flex;
  align-items: center;
  gap: 20px;
}

.livrare-cta-icon {
  font-size: 3rem;
  animation: float 3s ease-in-out infinite;
  flex-shrink: 0;
}

.livrare-cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 6px;
}

.livrare-cta-title strong {
  color: #ffbd59;
}

.livrare-cta-sub {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  font-weight: 600;
}

.livrare-cta-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffbd59;
  color: #1a2e2f;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  padding: 18px 36px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 6px 24px rgba(255,189,89,0.4);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  letter-spacing: 1px;
}

.livrare-cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 36px rgba(255,189,89,0.5);
  background: #e6a030;
}

@media (max-width: 600px) {
  .livrare-cta {
    flex-direction: column;
    padding: 28px 24px;
    text-align: center;
    align-items: center;
  }
  .livrare-cta-text {
    flex-direction: column;
    text-align: center;
  }
  .livrare-cta-btn {
    font-size: 1.3rem;
    padding: 16px 28px;
    width: 100%;
    justify-content: center;
  }
}

/* GALERIE LOCATIE */
.galerie-section {
  max-width: 900px;
  margin: 60px auto 0;
  text-align: center;
}

.galerie-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #ffbd59;
  margin-bottom: 28px;
  letter-spacing: 2px;
}

.galerie-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.galerie-track-wrap {
  flex: 1;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.galerie-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}

.galerie-slide {
  min-width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #1a2e2f;
}

.galerie-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.galerie-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #ffbd59;
  background: rgba(26,46,47,0.85);
  color: #ffbd59;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}
.galerie-btn:hover {
  background: #ffbd59;
  color: #1a2e2f;
  transform: scale(1.1);
}

.galerie-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.galerie-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,189,89,0.3);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.galerie-dot.active {
  background: #ffbd59;
  transform: scale(1.25);
}

@media (max-width: 600px) {
  .galerie-btn { width: 36px; height: 36px; font-size: 1.4rem; }
  .galerie-section { margin-top: 40px; }
}