/* =========================================================
   VantigoMarkets — Theme Pink/Purple (Part 1/2)
   NOTE: Only color values changed in :root, variable names kept.
   Sections included in Part 1:
   - Root & Reset
   - Typography
   - Utilities
   - Layout (container, grid, flex)
   - Components: Buttons, Cards, Badges
   - Header & Navigation
   - Hero
   - About (Our Story)
   - Why Choose Us
   - Catalog (Categories + Products) — base styles
   - Gallery (Moments) — base styles
   ========================================================= */

/* =========================
   1) ROOT VARIABLES (THEME)
   ========================= */
:root {
  /* === COLOR PALETTE: Pink/Purple ===
     Keep var names; update values only.
  */
  --primary: #7b3ea1;          /* main purple */
  --primary-dark: #5a2f7a;     /* darker purple */
  --secondary: #f3a2c0;        /* soft pink badge/background */
  --secondary-light: #fde7f1;  /* pastel pink background */
  --accent: #ff4fa3;           /* magenta/pink CTA */
  --text-dark: #2a2433;        /* deep eggplant */
  --text-light: #fff7fb;       /* off-white with pink tint */

  /* === SPACING & RADII === */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  --border-radius: 0.8rem;    /* slightly rounder for floral vibe */

  /* === EFFECTS === */
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* === SHADOWS === */
  --shadow-sm: 0 6px 16px rgba(123, 62, 161, 0.12);
  --shadow-md: 0 12px 30px rgba(123, 62, 161, 0.15);
  --shadow-lg: 0 24px 60px rgba(90, 47, 122, 0.18);

  /* === OUTLINES / FOCUS === */
  --focus-ring: 0 0 0 3px rgba(255, 79, 163, 0.25);

  /* === CONTAINER WIDTH === */
  --container-max: 1400px;

  /* === Z-INDEX === */
  --z-header: 1000;
  --z-drawer: 1100;
  --z-overlay: 1200;
}

/* =========================
   2) RESET & BASE
   ========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 10px = 1rem */
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
  font-size: 1.6rem;
  line-height: 1.65;
  color: var(--text-dark);
  background-color: var(--text-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* Remove default focus and rebuild */
:focus {
  outline: none;
}

/* Custom focus visible for keyboard users */
:focus-visible {
  box-shadow: var(--focus-ring);
  border-radius: 6px;
}

/* =========================
   3) TYPOGRAPHY
   ========================= */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  letter-spacing: -0.01em;
  color: var(--text-dark);
}

h1 {
  font-size: 7.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 5.2rem;
}

h3 {
  font-size: 3.6rem;
}

h4 {
  font-size: 2.4rem;
}

h5 {
  font-size: 2rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

p {
  margin-bottom: var(--spacing-md);
  color: #3a3344; /* slightly softer than var(--text-dark) for paras */
}

.subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: var(--spacing-xs);
}

.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-left   { text-align: left;  }

/* =========================
   4) UTILITIES
   ========================= */
.hide     { display: none !important; }
.show     { display: block !important; }
.m-0      { margin: 0 !important; }
.mb-0     { margin-bottom: 0 !important; }
.mb-xs    { margin-bottom: var(--spacing-xs) !important; }
.mb-sm    { margin-bottom: var(--spacing-sm) !important; }
.mb-md    { margin-bottom: var(--spacing-md) !important; }
.mb-lg    { margin-bottom: var(--spacing-lg) !important; }
.mb-xl    { margin-bottom: var(--spacing-xl) !important; }
.mt-lg    { margin-top: var(--spacing-lg) !important; }
.p-0      { padding: 0 !important; }
.px-md    { padding-left: var(--spacing-md) !important; padding-right: var(--spacing-md) !important; }
.py-md    { padding-top: var(--spacing-md) !important; padding-bottom: var(--spacing-md) !important; }
.rounded  { border-radius: var(--border-radius) !important; }
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

/* =========================
   5) LAYOUT
   ========================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.section-dark {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-light);
}

.section-light {
  background-color: var(--secondary-light);
}

/* Grid helpers */
.grid {
  display: grid;
  gap: var(--spacing-md);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Flex helpers */
.flex { display: flex; }
.flex-column { flex-direction: column; }
.flex-center { justify-content: center; align-items: center; }
.flex-between { justify-content: space-between; align-items: center; }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }

/* =========================
   6) COMPONENTS — BUTTONS
   ========================= */
.btn {
  display: inline-block;
  padding: 1.6rem 3.2rem;
  background-color: var(--accent);
  color: var(--text-light);
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: var(--shadow-sm);
  will-change: transform, box-shadow;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before { width: 100%; }
.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border: 2px solid currentColor;
  color: var(--text-light);
}

.section-dark .btn-outline {
  border-color: var(--text-light);
  color: var(--text-light);
}

.btn-outline:hover {
  color: var(--text-light);
}

.btn-dark {
  background-color: var(--primary);
}
.btn-dark::before {
  background: linear-gradient(90deg, var(--accent) 0%, #ff7ac0 100%);
}

/* =========================
   7) COMPONENTS — CARDS
   ========================= */
.card {
  background-color: #ffffff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.card-img {
  height: 25rem;
  overflow: hidden;
  background: #f7eff7; /* faint purple bg while image loads */
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  transform: scale(1.02);
}

.card:hover .card-img img {
  transform: scale(1.06);
}

.card-content {
  padding: var(--spacing-md);
  background: #fff;
}

.badge {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: var(--secondary);
  color: var(--primary-dark);
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 100px;
  margin-bottom: var(--spacing-sm);
  letter-spacing: 0.08em;
}

/* =========================
   8) HEADER & NAVIGATION
   ========================= */
.header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: var(--z-header);
  padding: var(--spacing-sm) 0;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background-color: #fff;
  box-shadow: 0 8px 24px rgba(42, 36, 51, 0.08);
  padding: calc(var(--spacing-sm) - 4px) 0;
}

.logo {
  display: flex; align-items: center; gap: var(--spacing-xs);
}
.logo h2 {
  font-size: 2.8rem;
  margin: 0;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.nav .mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2.6rem;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}
.header.scrolled .mobile-nav-toggle { color: var(--primary); }

.nav-list {
  display: flex; gap: var(--spacing-md);
}
.nav-link {
  font-size: 1.6rem;
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
  color: var(--text-light);
  text-transform: none;
  letter-spacing: 0.03em;
}

.header.scrolled .nav-link { color: var(--primary); }

.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), #ff7ac0);
  transition: var(--transition);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* =========================
   9) HERO
   ========================= */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background-color: var(--primary-dark);
}

.hero-bg {
  position: absolute; inset: 0;
  background-image: var(--hero-img, none);
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
  z-index: 0;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  /* color wash to pink/purple */
  background: radial-gradient(60% 60% at 20% 20%, rgba(123,62,161,0.45) 0%, rgba(90,47,122,0.55) 50%, rgba(42,36,51,0.7) 100%),
              linear-gradient(180deg, rgba(90,47,122,0.35) 0%, rgba(42,36,51,0.55) 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--text-light);
  max-width: 840px;
}

.hero-title {
  font-size: 9.2rem;
  line-height: 1;
  margin-bottom: var(--spacing-md);
  color: #fff;
  position: relative;
}
.hero-title::after {
  content: '';
  position: absolute;
  bottom: -18px; left: 0;
  width: 160px; height: 6px;
  background: linear-gradient(90deg, var(--accent), #ff7ac0);
  border-radius: 6px;
}

.hero-subtitle {
  font-size: 2.2rem;
  margin: 0 0 var(--spacing-lg) 0;
  max-width: 640px;
  color: #ffe9f5;
}

.hero-actions {
  display: flex; gap: var(--spacing-md);
}

.hero-scroll {
  position: absolute;
  bottom: var(--spacing-lg);
  left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  color: var(--text-light);
  font-size: 1.4rem; letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0.9;
}

.hero-scroll-icon {
  margin-top: var(--spacing-xs);
  width: 30px; height: 50px;
  border: 2px solid var(--text-light);
  border-radius: 20px; position: relative;
}
.hero-scroll-icon::before {
  content: '';
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px; background-color: var(--text-light);
  border-radius: 50%;
  animation: gfScrollDown 2s infinite;
}
@keyframes gfScrollDown {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

/* =========================
   10) ABOUT — OUR STORY
   ========================= */
.about-img-container {
  position: relative; height: 100%;
}
.about-img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--border-radius);
  filter: saturate(1.05) contrast(1.02);
}
.about-img-accent {
  position: absolute;
  bottom: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, rgba(255,79,163,0.22), rgba(123,62,161,0.22));
  z-index: -1;
  box-shadow: var(--shadow-sm);
}

.about-content { padding: var(--spacing-lg); }
.about-content h2 { color: var(--primary-dark); }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 4.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0;
  text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}
.stat-text {
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b5a82;
}

/* =========================
   11) WHY CHOOSE US
   ========================= */
.cards-why .card {
  background: #ffffff;
}
.section-dark .cards-why .card {
  background: #fff;
}
.cards-why .card-content h4 {
  color: var(--primary-dark);
}

/* badge already themed; tweak in dark section */
.section-dark .badge {
  background: #ffe0ef;
  color: var(--primary);
}

/* =========================
   12) CATALOG — CATEGORY TABS
   ========================= */
.menu-tabs {
  display: flex; justify-content: center; gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
}

.menu-tab {
  padding: 1rem 2rem;
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.06em;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}

.menu-tab:hover,
.menu-tab.active {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-light);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

/* =========================
   13) CATALOG — PRODUCT GRID
   ========================= */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--spacing-md);
}

/* Each card spans auto-fit to 3/4 columns based on width (no media in Part 1) */
.menu-item {
  grid-column: span 6;     /* 2-per-row on large, will adjust in Part 2 responsive */
  background-color: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.menu-item:nth-child(3n) { grid-column: span 6; }
.menu-item:nth-child(2n) { grid-column: span 6; }

.menu-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.menu-item-img {
  height: 260px;
  overflow: hidden;
  background: #fdf1f8;
}
.menu-item-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: var(--transition);
  transform: scale(1.02);
}
.menu-item:hover .menu-item-img img { transform: scale(1.06); }

.menu-item-content {
  padding: var(--spacing-md);
}
.menu-item-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: var(--spacing-sm);
}
.menu-item-title {
  font-size: 2.2rem; margin-bottom: 0;
  color: var(--primary-dark);
}
.menu-item-price {
  font-size: 2.2rem; font-weight: 800;
  color: var(--accent);
}
.menu-item-desc {
  margin-bottom: var(--spacing-sm);
  color: #6c5b82;
}
.menu-item-footer {
  display: flex; justify-content: space-between; align-items: center;
}
.menu-item-tags {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
}
.menu-item-tag {
  padding: 0.4rem 0.9rem;
  background-color: var(--secondary-light);
  color: var(--primary-dark);
  font-size: 1.2rem; font-weight: 600;
  border-radius: 999px;
  border: 1px solid rgba(123,62,161,0.15);
}

/* =========================
   14) GALLERY — MOMENTS
   ========================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: var(--spacing-sm);
}

.gallery-item {
  position: relative; overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.gallery-item:nth-child(1) {
  grid-column: 1 / 3; grid-row: 1 / 3;
}
.gallery-item:nth-child(2) {
  grid-column: 3 / 4; grid-row: 1 / 2;
}
.gallery-item:nth-child(3) {
  grid-column: 4 / 5; grid-row: 1 / 2;
}
.gallery-item:nth-child(4) {
  grid-column: 3 / 5; grid-row: 2 / 3;
}

.gallery-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: var(--transition);
  transform: scale(1.02);
}
.gallery-item:hover .gallery-img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: var(--spacing-md);
  background: linear-gradient(to top, rgba(42,36,51,0.65), rgba(42,36,51,0));
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-caption {
  color: var(--text-light);
  font-size: 1.8rem; font-weight: 700;
  transform: translateY(14px);
  transition: var(--transition);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* =========================================================
   VantigoMarkets — Theme Pink/Purple (Part 2/2)
   Sections in Part 2:
   - Testimonials
   - Contact / Form
   - Map
   - Footer
   - Mobile Navigation Drawer
   - Animations & Transitions
   - Responsive (1200 / 992 / 768 / 576)
   ========================================================= */


/* =========================
   15) TESTIMONIALS
   ========================= */
.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(110% 90% at 10% 10%, rgba(255,79,163,0.07) 0%, rgba(123,62,161,0.08) 40%, rgba(42,36,51,0.12) 100%);
  pointer-events: none;
  z-index: 0;
}

.testimonial-container {
  position: relative;
  z-index: 1;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.testimonial-card {
  grid-column: span 4;
  background: #fff;
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(123,62,161,0.08);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 12px;
  left: 18px;
  font-size: 8rem;
  font-family: 'Playfair Display', serif;
  color: var(--secondary);
  line-height: 1;
  opacity: 0.35;
  pointer-events: none;
}

.testimonial-content {
  position: relative;
  z-index: 1;
  font-style: italic;
  margin-bottom: var(--spacing-md);
  color: #5a4a70;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h5 {
  margin: 0 0 0.2rem 0;
  font-size: 1.8rem;
  color: var(--primary-dark);
}

.testimonial-info p {
  margin: 0;
  font-size: 1.4rem;
  color: #7b6a92;
}


/* =========================
   16) CONTACT / FORM
   ========================= */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  background: #ffffff;
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  border: 1px solid rgba(123,62,161,0.08);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  font-size: 2.4rem;
  color: var(--accent);
  min-width: 40px;
  line-height: 1;
}

.contact-text h5 {
  margin: 0 0 0.4rem 0;
  font-size: 1.8rem;
  color: var(--primary-dark);
}
.contact-text p {
  margin: 0.2rem 0;
  color: #6c5b82;
}

.contact-form {
  background: #ffffff;
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(123,62,161,0.08);
}

.contact-form h4 {
  margin: 0 0 var(--spacing-md) 0;
  color: var(--primary-dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.form-control {
  width: 100%;
  padding: 1.2rem 1.2rem;
  border: 1.5px solid rgba(123,62,161,0.25);
  border-radius: var(--border-radius);
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  color: var(--text-dark);
  background: #fff;
  transition: var(--transition);
}

.form-control::placeholder {
  color: #a494b6;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--focus-ring);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Inline form validation (optional hooks) */
.form-group.is-error .form-control {
  border-color: #ff5b79;
  box-shadow: 0 0 0 3px rgba(255, 91, 121, 0.18);
}
.form-group.is-success .form-control {
  border-color: #4fd1c5;
  box-shadow: 0 0 0 3px rgba(79, 209, 197, 0.18);
}


/* =========================
   17) MAP (EMBED)
   ========================= */
.map-container {
  height: 500px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(123,62,161,0.08);
  background: #fff;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


/* =========================
   18) FOOTER
   ========================= */
.footer {
  background: linear-gradient(180deg, var(--primary-dark) 0%, #3c2453 100%);
  color: var(--text-light);
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
}
.footer-logo h3 {
  font-size: 2.8rem;
  margin: 0;
  color: var(--text-light);
}

.footer-about p {
  opacity: 0.85;
  color: #ffe9f5;
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}
.social-link {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}
.social-link:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
  color: #fff;
}

.footer-heading {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
  color: #fff;
  letter-spacing: 0.02em;
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}
.footer-links a {
  opacity: 0.85;
  transition: var(--transition);
}
.footer-links a:hover {
  opacity: 1;
  color: var(--accent);
  padding-left: 6px;
}

.footer-contact li {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  opacity: 0.9;
}
.footer-contact i {
  min-width: 20px;
}

.footer-bottom {
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  opacity: 0.85;
  font-size: 1.4rem;
}


/* =========================
   19) MOBILE NAV DRAWER
   ========================= */
.nav .mobile-nav-toggle {
  display: none;
}

@media (max-width: 992px) {
  .nav .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 10px;
    color: var(--text-light);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
  }
  .header.scrolled .mobile-nav-toggle {
    background: rgba(123,62,161,0.08);
    color: var(--primary);
  }

  .nav-list {
    position: fixed;
    top: 0; right: -100%;
    width: min(86%, 360px);
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: var(--spacing-lg) var(--spacing-md);
    gap: var(--spacing-sm);
    transition: var(--transition);
    z-index: var(--z-drawer);
    box-shadow: -16px 0 40px rgba(42,36,51,0.18);
  }
  .nav-list.active { right: 0; }

  .nav-link {
    font-size: 2rem;
    color: var(--primary);
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(123,62,161,0.1);
  }
  .nav-link::after { display: none; }
}


/* =========================
   20) ANIMATIONS / HELPERS
   ========================= */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hover-float {
  transition: var(--transition);
  will-change: transform, box-shadow;
}
.hover-float:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

@keyframes gfPulse {
  0%   { transform: scale(1);   box-shadow: 0 0 0 0 rgba(255,79,163,0.35); }
  70%  { transform: scale(1.04); box-shadow: 0 0 0 12px rgba(255,79,163,0); }
  100% { transform: scale(1);   box-shadow: 0 0 0 0 rgba(255,79,163,0); }
}
.btn.cta-pulse { animation: gfPulse 2s infinite; }


/* =========================
   21) RESPONSIVE BREAKPOINTS
   ========================= */

/* ------ ≤ 1200px ------ */
@media (max-width: 1200px) {
  html { font-size: 56.25%; } /* 9px = 1rem */

  /* Gallery rearrange to 2x2 */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 250px);
  }
  .gallery-item:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 2; }
  .gallery-item:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; }
  .gallery-item:nth-child(3) { grid-column: 1 / 2; grid-row: 2 / 3; }
  .gallery-item:nth-child(4) { grid-column: 2 / 3; grid-row: 2 / 3; }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

/* ------ ≤ 992px ------ */
@media (max-width: 992px) {
  html { font-size: 50%; } /* 8px = 1rem */

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .about-img-accent { display: none; }

  .contact-container {
    grid-template-columns: 1fr;
  }

  /* Product cards become 1-per-row (span 12) */
  .menu-grid { grid-template-columns: repeat(12, 1fr); }
  .menu-item { grid-column: 1 / -1; }
  .menu-item:nth-child(2n),
  .menu-item:nth-child(3n) { grid-column: 1 / -1; }

  /* Testimonials: 2-per-row */
  .testimonial-card { grid-column: span 6; }

  /* Header link color in mobile */
  .header.scrolled .nav-link { color: var(--primary); }
}

/* ------ ≤ 768px ------ */
@media (max-width: 768px) {
  .section { padding: var(--spacing-lg) 0; }

  .hero-title { font-size: 7.2rem; }
  .hero-subtitle { font-size: 2rem; }
  .hero-actions { flex-direction: column; gap: var(--spacing-sm); }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--spacing-md); }
  .footer-about { grid-column: 1 / -1; }
}

/* ------ ≤ 576px ------ */
@media (max-width: 576px) {
  .hero-title { font-size: 5.8rem; }
  .hero-title::after { width: 130px; height: 5px; }

  /* Gallery becomes stacked */
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 250px);
  }
  .gallery-item:nth-child(n) { grid-column: 1; }
  .gallery-item:nth-child(1) { grid-row: 1; }
  .gallery-item:nth-child(2) { grid-row: 2; }
  .gallery-item:nth-child(3) { grid-row: 3; }
  .gallery-item:nth-child(4) { grid-row: 4; }

  /* Testimonials: full width */
  .testimonial-card { grid-column: 1 / -1; }

  /* Footer: single column */
  .footer-grid { grid-template-columns: 1fr; }
}
