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

:root {
  --blue-dark: #0c3b5e;
  --blue:      #1565a0;
  --blue-mid:  #1976d2;
  --orange:    #ff6b35;
  --orange-wa: #25d366;
  --cream:     #fef7ee;
  --gray-light:#f4f6f8;
  --text:      #1a1a2e;
  --text-soft: #555;
  --radius:    14px;
  --shadow:    0 4px 24px rgba(0,0,0,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: var(--blue-dark);
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

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

.logo {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

nav a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-left: 28px;
  transition: color 0.2s;
}

nav a:hover { color: var(--orange); }

.nav-whatsapp {
  background: var(--orange-wa);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-whatsapp:hover {
  background: #1ebe5b !important;
  transform: translateY(-1px);
  color: #fff !important;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--blue-dark);
  padding: 12px 24px 20px;
  gap: 4px;
}

.mobile-menu.open { display: flex; }

.mobile-link {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-wa {
  margin-top: 12px;
  background: var(--orange-wa);
  color: #fff !important;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  border: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #0c2d4a 0%, #0d4a7a 40%, #1565a0 75%, #1a7fc0 100%);
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,0.18) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,101,160,0.4) 0%, transparent 70%);
  bottom: 60px;
  left: -80px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 0.4px;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: clamp(48px, 8vw, 82px);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.hero-content h1 .highlight {
  color: var(--orange);
}

.hero-content p {
  font-size: clamp(16px, 2.2vw, 20px);
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(255,107,53,0.35);
}

.btn-primary:hover {
  background: #e05522;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,53,0.45);
}

.btn-large { font-size: 18px; padding: 16px 40px; }

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-wa);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(37,211,102,0.35);
}

.btn-wa:hover {
  background: #1ebe5b;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
}

.btn-wa-sm { font-size: 14px; padding: 10px 22px; margin-top: 12px; }

.btn-maps {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-mid);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 50px;
  text-decoration: none;
  margin-top: 12px;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(25,118,210,0.35);
}

.btn-maps:hover {
  background: #1565a0;
  transform: translateY(-1px);
}

.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  line-height: 0;
}

.hero-wave svg { width: 100%; display: block; }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header.light h2,
.section-header.light p { color: #fff; }

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.section-header.light .section-tag { color: rgba(255,255,255,0.7); }

.section-header h2 {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  color: var(--blue-dark);
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-soft);
}

.menu {
  background: var(--cream);
  padding: 90px 24px;
}

.menu-category {
  max-width: 1100px;
  margin: 0 auto 56px;
}

.category-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--orange);
  display: inline-block;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.menu-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 0;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: default;
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.13);
}

.card-emoji {
  font-size: 32px;
  flex-shrink: 0;
  line-height: 1;
  padding: 16px 20px 0;
}

.card-body {
  flex: 1;
  padding: 8px 20px 20px;
}

.card-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.card-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-dark);
}

.card-body p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}

.badge-hot {
  font-size: 11px;
  font-weight: 700;
  background: #fff3e0;
  color: #e65100;
  padding: 3px 8px;
  border-radius: 50px;
  white-space: nowrap;
}

.badge-new {
  font-size: 11px;
  font-weight: 700;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 3px 8px;
  border-radius: 50px;
  white-space: nowrap;
}

.menu-cta {
  text-align: center;
  padding-top: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.menu-cta p {
  font-size: 20px;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 18px;
}

.trust-band {
  background: var(--blue-dark);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 40px 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 36px;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.trust-item:last-child { border-right: none; }

.trust-item span { font-size: 30px; }

.trust-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  font-weight: 600;
  line-height: 1.4;
}

.contact {
  background: linear-gradient(145deg, #0c3b5e 0%, #1565a0 100%);
  padding: 90px 24px;
}

.contact-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.contact-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  color: #fff;
  transition: background 0.2s;
}

.contact-card:hover { background: rgba(255,255,255,0.13); }

.contact-icon { font-size: 32px; margin-bottom: 12px; }

.contact-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
}

.contact-card-wa {
  border-color: rgba(37,211,102,0.4);
  background: rgba(37,211,102,0.08);
}

.contact-card-wa:hover { background: rgba(37,211,102,0.14); }

footer {
  background: #071e30;
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 32px 24px;
  font-size: 14px;
  line-height: 2;
}

footer strong { color: rgba(255,255,255,0.9); }

.footer-credit {
  font-size: 12px;
  margin-top: 6px;
  color: rgba(255,255,255,0.35);
}

.float-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  background: var(--orange-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  z-index: 200;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: pulse-cart 2.5s infinite;
  color: #fff;
  text-decoration: none;
}

.float-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.65);
  animation: none;
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--blue-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  font-family: "Poppins", Arial, sans-serif;
  pointer-events: none;
}

.cart-badge.empty { display: none; }

@keyframes pulse-cart {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,0.8); }
}

/* ===== Cart modal ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.cart-modal {
  background: #fff;
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  transform: translateY(40px);
  transition: transform 0.28s ease;
  overflow: hidden;
}

.cart-overlay.open .cart-modal {
  transform: translateY(0);
}

.cart-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #eee;
}

.cart-modal-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue-dark);
}

.cart-close {
  background: var(--gray-light);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 16px;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.cart-close:hover { background: #e0e0e0; }

.cart-modal-body {
  overflow-y: auto;
  flex: 1;
  padding: 16px 24px;
}

.cart-empty {
  text-align: center;
  padding: 40px 0;
  color: var(--text-soft);
  font-size: 15px;
}

.cart-empty span { font-size: 48px; display: block; margin-bottom: 12px; }

.cart-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.cart-row:last-child { border-bottom: none; }

.cart-row-name {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue-dark);
}

.cart-row-counter {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--gray-light);
  border-radius: 50px;
  overflow: hidden;
}

.cart-row-counter .counter-btn {
  width: 34px;
  height: 34px;
  font-size: 18px;
}

.cart-row-counter .counter-val {
  font-size: 15px;
  min-width: 24px;
}

.cart-modal-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-clear {
  background: none;
  border: 1.5px solid #ddd;
  color: var(--text-soft);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 10px;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-clear:hover { background: #f5f5f5; }

/* ===== Fade-in on scroll ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Counter ===== */
.card-footer {
  padding: 0 20px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-add {
  width: 100%;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-add:hover {
  background: #e05522;
  transform: translateY(-1px);
}

.counter {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--gray-light);
  border-radius: 50px;
  overflow: hidden;
  width: 100%;
  justify-content: space-between;
}

.counter.hidden { display: none; }
.hidden { display: none; }

.counter-btn {
  background: none;
  border: none;
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-dark);
  width: 40px;
  height: 38px;
  cursor: pointer;
  transition: background 0.15s;
  line-height: 1;
}

.counter-btn:hover { background: rgba(0,0,0,0.08); }

.counter-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-dark);
  min-width: 28px;
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  nav a:not(.nav-whatsapp) { display: none; }
  .hamburger { display: block; }

  .hero { padding: 100px 20px 70px; }

  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-primary, .btn-wa { width: 100%; max-width: 320px; justify-content: center; }

  .trust-item {
    padding: 12px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    width: 50%;
  }
  .trust-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.12); }
  .trust-item:last-child { border-bottom: none; }

  .menu-category { margin-bottom: 40px; }
}

@media (max-width: 480px) {
  .trust-item { width: 100%; border-right: none !important; }
  .float-wa { bottom: 18px; right: 18px; }
}
