/* ===== Google Fonts ===== */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

/* ===== CSS Variables ===== */
:root {
  --primary: #ff6b35;
  --primary-hover: #e55a2b;
  --primary-light: rgba(255, 107, 53, 0.15);
  --secondary: #ffd166;
  --accent: #06d6a0;
  --text: #1a1a2e;
  --text-light: #666;
  --bg: #ffffff;
  --bg-alt: #f8f7ff;
  --bg-card: #ffffff;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.15);
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --big-font: 3.8rem;
  --h2-font: 2.2rem;
  --h3-font: 1.15rem;
  --p-font: 0.95rem;
  --radius: 1rem;
  --radius-sm: 0.5rem;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Dark Mode ===== */
body.dark {
  --text: #e8e8e8;
  --text-light: #a0a0b0;
  --bg: #0f0e17;
  --bg-alt: #1a1930;
  --bg-card: #1e1d30;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.5);
  --glass: rgba(30, 29, 48, 0.8);
  --glass-border: rgba(255, 255, 255, 0.08);
}

body.dark .gradient-text {
  filter: brightness(1.3);
}

body.dark .hero-img-glow {
  opacity: 0.6;
}

/* ===== Reset ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { border: none; outline: none; cursor: pointer; font-family: inherit; }
section { padding: 5rem 8%; }

/* ===== Reusable ===== */
.section-label {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title {
  font-size: var(--h2-font);
  margin-top: 0.25rem;
  font-weight: 700;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.gradient-text {
  color: var(--primary);
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: var(--p-font);
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-glow {
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-full {
  width: 100%;
  text-align: center;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all var(--transition);
}

.btn-full:hover { background: var(--primary-hover); }

/* ===== Glass Card ===== */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}

/* ===== Promo Banner ===== */
.promo-bar {
  background: linear-gradient(90deg, var(--primary), #ff8c42, var(--secondary));
  color: #fff;
  padding: 0.6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.promo-bar.hidden { display: none; }

.promo-content {
  display: flex;
  gap: 3rem;
  animation: promo-scroll 20s linear infinite;
  white-space: nowrap;
}

@keyframes promo-scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.promo-close {
  position: absolute;
  right: 1rem;
  background: rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 2;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.8rem 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
  padding: 0.6rem 8%;
}

.logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.logo-icon { font-size: 1.6rem; }
.logo-accent { color: var(--primary); }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-list a {
  padding: 0.5rem 0.9rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
  border-radius: 50px;
  transition: all var(--transition);
  position: relative;
}

.nav-list a:hover, .nav-list a.active-link {
  color: var(--primary);
  background: var(--primary-light);
}

.darkmode-toggle {
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text);
  margin-left: 0.3rem;
  transition: all var(--transition);
  padding: 0.4rem;
  border-radius: 50%;
}

.darkmode-toggle:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.menu-toggle {
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text);
  display: none;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-toggle {
  background: var(--primary);
  color: #fff;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all var(--transition);
}

.lang-toggle:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}

.cart-trigger {
  position: relative;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  padding: 0.3rem;
  transition: color var(--transition);
}

.cart-trigger:hover { color: var(--primary); }

.cart-count {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Cart Sidebar ===== */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  background: var(--bg);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 30px rgba(0,0,0,0.15);
  transition: right var(--transition);
}

.cart-sidebar.open { right: 0; }

.cart-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
}

.cart-header h3 { font-size: 1.2rem; }
.cart-close { font-size: 1.5rem; cursor: pointer; color: var(--text-light); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.cart-empty {
  text-align: center;
  color: var(--text-light);
  padding: 3rem 0;
  font-size: 0.95rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--glass-border);
}

.cart-item-info h4 { font-size: 0.95rem; }
.cart-item-info span { font-size: 0.85rem; color: var(--primary); font-weight: 600; }

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-item-actions button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.cart-item-actions button:hover { background: var(--primary); color: #fff; }
.cart-item-qty { font-weight: 600; min-width: 20px; text-align: center; }

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--glass-border);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
}

.cart-overlay.show { display: block; }

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: var(--bg);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 9999;
  transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.toast.show { bottom: 2rem; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding-top: 8rem;
  position: relative;
  overflow: hidden;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 250px;
  height: 250px;
  background: var(--secondary);
  bottom: 10%;
  left: -50px;
  animation: float 6s ease-in-out infinite reverse;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: var(--accent);
  top: 40%;
  left: 50%;
  animation: float 10s ease-in-out infinite;
}

.hero-shapes::before,
.hero-shapes::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.3;
  box-shadow:
    80px 40px 0 var(--secondary),
    200px 120px 0 var(--primary),
    320px 60px 0 var(--accent),
    460px 180px 0 var(--secondary),
    60px 220px 0 var(--primary),
    240px 280px 0 var(--accent),
    400px 100px 0 var(--secondary),
    550px 240px 0 var(--primary);
  animation: sparkle-move 10s ease-in-out infinite;
}

.hero-shapes::after {
  box-shadow:
    40px 90px 0 var(--accent),
    160px 200px 0 var(--secondary),
    300px 30px 0 var(--primary),
    430px 140px 0 var(--accent),
    100px 300px 0 var(--secondary),
    500px 70px 0 var(--primary);
  animation: sparkle-move 10s ease-in-out infinite;
  animation-delay: -5s;
  animation-direction: reverse;
}

@keyframes sparkle-move {
  0% { opacity: 0.2; transform: translate(0, 0); }
  25% { opacity: 0.45; transform: translate(15px, -12px); }
  50% { opacity: 0.2; transform: translate(0, 5px); }
  75% { opacity: 0.45; transform: translate(-12px, -8px); }
  100% { opacity: 0.2; transform: translate(0, 0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-text,
.hero-img {
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-size: var(--big-font);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-stats-mini {
  display: flex;
  gap: 2rem;
}

.hero-stats-mini div {
  display: flex;
  flex-direction: column;
}

.hero-stats-mini strong {
  font-size: 1.3rem;
  color: var(--primary);
}

.hero-stats-mini span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.hero-img {
  position: relative;
  display: flex;
  justify-content: center;
}

/* 3D Hero Image */
.hero-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 450px;
}

.hero-img-wrapper img {
  width: 100%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 8s ease-in-out infinite;
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.25);
}

@keyframes morph {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
  50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
  75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

.hero-img-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.1); opacity: 0.7; }
}

.hero-float-card {
  display: none;
}

.float-card-1 {
  top: 15%;
  right: 0;
  color: var(--secondary);
}

.float-card-2 {
  bottom: 20%;
  left: 0;
  animation-delay: -2s;
  color: var(--accent);
}

/* ===== Stats ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  background: linear-gradient(135deg, var(--primary), #e85d2a);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  margin: 0 8%;
  transform: translateY(-2rem);
  position: relative;
  z-index: 10;
}

.stat-item {
  text-align: center;
  color: #fff;
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
}

.stat-item p {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* ===== About ===== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img {
  display: flex;
  justify-content: center;
}

.about-img-inner {
  position: relative;
  display: inline-block;
  overflow: visible;
  margin-bottom: 1rem;
  margin-right: 1rem;
}

.about-img-inner img {
  width: 100%;
  max-width: 450px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.about-experience {
  position: absolute;
  bottom: 1.2rem;
  right: -1rem;
  background: var(--primary);
  color: #fff;
  padding: 1rem 1.3rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 25px rgba(255,107,53,0.4);
  z-index: 2;
}

.about-experience h2 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.about-experience p {
  font-size: 0.75rem;
  opacity: 0.9;
}

.about-text .section-label {
  display: block;
  margin-bottom: 0.5rem;
}

.about-text h2 {
  font-size: var(--h2-font);
  margin-bottom: 1rem;
  font-weight: 700;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.about-feature i {
  color: var(--accent);
  font-size: 1.2rem;
}

/* ===== Menu ===== */
.menu-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  background: var(--bg-alt);
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.menu-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all var(--transition);
  perspective: 1000px;
}

.menu-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.menu-card a {
  display: block;
  padding: 1rem;
  text-align: center;
}

.menu-card-img {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 0.8rem;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-card:hover .menu-card-img img {
  transform: scale(1.05);
}

.menu-card h3 {
  font-size: var(--h3-font);
  margin-bottom: 0.1rem;
  font-weight: 600;
}

.menu-card .category {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.3rem;
}

.menu-card .price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.add-to-cart-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255,107,53,0.3);
  transition: all var(--transition);
  transform: scale(0);
}

.menu-card:hover .add-to-cart-btn {
  transform: scale(1);
}

.add-to-cart-btn:hover {
  background: var(--primary-hover);
  transform: scale(1.15) !important;
}

.menu-card.hidden-card {
  display: none !important;
}

.menu-card.show-card {
  display: block !important;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.2rem;
}

.service-card h3 {
  font-size: var(--h3-font);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== Reviews ===== */
.reviews-slider {
  position: relative;
  overflow: hidden;
}

.review-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
}

.review-card {
  min-width: calc(33.333% - 1rem);
  padding: 2rem;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.review-stars {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: #f59e0b;
}

.review-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-style: italic;
  line-height: 1.7;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.review-author strong {
  display: block;
  font-size: 0.95rem;
}

.review-author span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.review-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.review-prev, .review-next {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.review-prev:hover, .review-next:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

/* ===== Newsletter ===== */
.newsletter {
  background: linear-gradient(135deg, var(--primary), #e85d2a);
  border-radius: var(--radius);
  margin: 0 8%;
  padding: 4rem;
  color: #fff;
}

.newsletter-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.newsletter .section-label {
  color: rgba(255,255,255,0.8);
}

.newsletter h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0.3rem 0 0.5rem;
}

.newsletter p {
  opacity: 0.9;
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  border-radius: 50px;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
}

.newsletter .btn-glow {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  white-space: nowrap;
}

.newsletter .btn-glow:hover {
  background: var(--text);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== Connect CTA ===== */
.connect {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 5%;
  border-radius: var(--radius);
}

.connect-text .section-label { display: block; }
.connect-text h2 { font-size: var(--h2-font); font-weight: 700; }

/* ===== Footer ===== */
.footer {
  background: var(--bg-alt);
  padding: 4rem 8% 1.5rem;
  transition: background var(--transition);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col h3 {
  font-size: var(--h3-font);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-desc {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text);
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a, .footer-col ul li {
  color: var(--text-light);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--primary); }

.footer-col.address-col i {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-light);
  font-size: 0.85rem;
}

/* ===== Mobile Bottom Bar ===== */
.bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg);
  border-top: 1px solid var(--glass-border);
  justify-content: space-around;
  align-items: center;
  padding: 0.5rem 0;
  z-index: 2000;
  box-shadow: 0 -2px 15px rgba(0,0,0,0.06);
}

.bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color var(--transition);
  position: relative;
  padding: 0.3rem 0.5rem;
}

.bottom-item i {
  font-size: 1.3rem;
}

.bottom-item.active {
  color: var(--primary);
}

.bottom-cart {
  position: relative;
}

.bottom-cart-count {
  position: absolute;
  top: 0;
  right: 0.2rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 1.5rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255,107,53,0.3);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
}

/* ===== Clock ===== */
.clock {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--glass);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  color: var(--text);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 999;
}

/* ===== Detail Page ===== */
.detail-page {
  padding: 7rem 8% 2rem;
}

.detail-card {
  max-width: 800px;
  margin: 0 auto 3rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.detail-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.detail-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.detail-card:hover .detail-card-img img {
  transform: scale(1.03);
}

.detail-card-body {
  padding: 2.5rem;
}

.detail-card-body h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.detail-card-body .category {
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.detail-card-body .price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: block;
}

.size-selector {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.size-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  background: var(--bg-alt);
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.size-btn.active, .size-btn:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

.detail-card-body .description {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.detail-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 600;
  transition: gap var(--transition);
}

.back-link:hover { gap: 0.8rem; }

/* ===== Map Section ===== */
.map-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  border-radius: var(--radius);
  overflow: visible;
  min-height: 400px;
}

.map-info {
  padding: 2rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-info h3 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.map-info p {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-light);
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
}

.map-info p i {
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 350px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: none;
}

/* ===== Nav Sidebar Header (mobile only, hidden on desktop) ===== */
.nav-sidebar-header {
  display: none;
}

.nav-sidebar-footer {
  display: none;
}

/* ===== Image Fallback ===== */
.img-fallback {
  width: 100%;
  height: 100%;
  min-height: 150px;
  background: linear-gradient(135deg, var(--primary-light), var(--bg-alt));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  border-radius: var(--radius);
}

/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 992px) {
  :root {
    --big-font: 2.8rem;
    --h2-font: 1.8rem;
  }

  .header { padding: 0.8rem 5%; }
  section { padding: 4rem 5%; }
  .stats { grid-template-columns: repeat(2, 1fr); margin: 0 5%; }
  .newsletter { margin: 0 5%; padding: 3rem 2rem; }
  .newsletter-content { grid-template-columns: 1fr; }
  .review-card { min-width: calc(50% - 0.75rem); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .map-container { grid-template-columns: 1fr; }
  .map-embed { min-height: 300px; }
  .map-embed iframe { min-height: 300px; }
}

/* Mobile */
@media (max-width: 768px) {
  /* Hide desktop nav, show bottom bar */
  .nav-list { display: none; }
  .bottom-bar { display: flex; }
  body { padding-bottom: 4rem; }

  /* Promo bar */
  .promo-bar { padding: 0.5rem 1rem; font-size: 0.75rem; }

  /* Header actions */
  .header-actions { gap: 0.5rem; }
  .lang-toggle { padding: 0.2rem 0.5rem; font-size: 0.7rem; }
  .cart-trigger { font-size: 1.3rem; }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: 2rem;
    gap: 1.5rem;
  }

  .hero-desc { margin: 0 auto 1.5rem; font-size: 0.95rem; }
  .hero-btns { justify-content: center; gap: 0.75rem; }
  .hero-btns .btn { padding: 0.6rem 1.3rem; font-size: 0.9rem; }
  .hero-stats-mini { justify-content: center; gap: 1.5rem; }
  .hero-img-wrapper { max-width: 260px; margin: 0 auto; }

  /* About */
  .about { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .about-img { order: 2; }
  .about-img-inner { max-width: 320px; margin: 0 auto; }
  .about-img-inner img { max-width: 100%; }
  .about-experience { bottom: 1rem; right: 0; padding: 0.7rem 1rem; }
  .about-experience h2 { font-size: 1.5rem; }
  .about-features { grid-template-columns: 1fr 1fr; justify-items: center; gap: 0.6rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Map */
  .map-container { grid-template-columns: 1fr; gap: 1.5rem; }
  .map-info { padding: 1.5rem; order: 2; }
  .map-embed { min-height: 250px; }
  .map-embed iframe { min-height: 250px; }

  /* Reviews */
  .review-card { min-width: 100%; }

  /* Newsletter */
  .newsletter-form { flex-direction: column; }

  /* Connect */
  .connect { flex-direction: column; text-align: center; gap: 1.5rem; padding: 2rem; }

  /* Cart sidebar */
  .cart-sidebar { width: 100%; max-width: 100vw; }

  /* Detail page */
  .detail-page { padding: 5.5rem 4% 2rem; }
  .detail-card-body { padding: 1.25rem; }
  .detail-card-body h1 { font-size: 1.4rem; }
  .detail-card-body .price { font-size: 1.2rem; }
  .size-selector { flex-wrap: wrap; gap: 0.5rem; }
  .size-btn { padding: 0.4rem 1rem; font-size: 0.8rem; }

  /* Footer */
  .footer { padding: 3rem 5% 4rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Move clock & back-to-top above bottom bar */
  .clock { bottom: 4.5rem; }
  .back-to-top { bottom: 4.5rem; }
}

/* Small Mobile */
@media (max-width: 480px) {
  :root {
    --big-font: 2rem;
    --h2-font: 1.3rem;
    --h3-font: 0.95rem;
    --p-font: 0.9rem;
  }

  .header { padding: 0.6rem 4%; }
  .logo { font-size: 1.1rem; }
  .logo-icon { font-size: 1.3rem; }
  section { padding: 2.5rem 4%; }

  /* Hero small */
  .hero { padding-top: 6rem; }
  .hero-text h1 { line-height: 1.2; }
  .hero-img-wrapper { max-width: 200px; }
  .hero-stats-mini { gap: 1rem; }
  .hero-stats-mini strong { font-size: 1.1rem; }
  .hero-stats-mini span { font-size: 0.7rem; }

  /* Stats */
  .stats { grid-template-columns: 1fr 1fr; gap: 0.8rem; padding: 1.5rem 0.8rem; margin: 0 4%; }
  .stat-number { font-size: 1.5rem; }
  .stat-icon { font-size: 1.5rem; }
  .stat-item p { font-size: 0.75rem; }

  /* About small */
  .about-img-inner { max-width: 250px; }
  .about-experience { bottom: 0.8rem; right: 0; padding: 0.5rem 0.7rem; }
  .about-experience h2 { font-size: 1.2rem; }
  .about-experience p { font-size: 0.6rem; }
  .about-features { grid-template-columns: 1fr; }

  /* Menu small */
  .menu-filters { gap: 0.3rem; }
  .filter-btn { padding: 0.4rem 1rem; font-size: 0.8rem; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .menu-card a { padding: 0.5rem; }
  .menu-card h3 { font-size: 0.8rem; }
  .menu-card .category { font-size: 0.7rem; }
  .menu-card .price { font-size: 0.9rem; }
  .add-to-cart-btn { width: 30px; height: 30px; font-size: 0.9rem; bottom: 0.6rem; right: 0.6rem; }

  /* Map small */
  .map-info { padding: 1.2rem; }
  .map-info h3 { font-size: 1.1rem; }
  .map-embed { min-height: 220px; }
  .map-embed iframe { min-height: 220px; }

  /* Newsletter small */
  .newsletter { margin: 0 4%; padding: 1.8rem 1.2rem; }
  .newsletter h2 { font-size: 1.2rem; }

  /* Cart small */
  .cart-header h3 { font-size: 1rem; }
  .cart-item-info h4 { font-size: 0.85rem; }

  /* Footer small */
  .footer { padding: 2.5rem 4% 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-col h3 { font-size: 1rem; margin-bottom: 0.7rem; }
  .social-links a { width: 36px; height: 36px; }

  /* Clock & back-to-top small */
  .clock { font-size: 0.75rem; padding: 0.3rem 0.7rem; bottom: 1rem; right: 1rem; }
  .back-to-top { width: 38px; height: 38px; font-size: 1.1rem; bottom: 1rem; left: 1rem; }
}

/* Extra Small */
@media (max-width: 360px) {
  :root {
    --big-font: 1.7rem;
    --h2-font: 1.15rem;
  }

  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; text-align: center; }
  .menu-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .size-selector { flex-direction: column; }
  .size-btn { width: 100%; text-align: center; }
}
