/* ============================================================
   BELIM – Bake • Brew • Belong
   Premium Luxury Bakery Café Landing Page
   ============================================================ */

/* ---------- CSS Custom Properties (Design Tokens) ---------- */
:root {
  /* Brand Palette */
  --cream: #F5F0E6;
  --cream-light: #FAF8F3;
  --beige: #E8DDCB;
  --beige-dark: #D4C4AC;
  --olive: #59624A;
  --olive-light: #6E7A5E;
  --olive-dark: #434B37;
  --espresso: #2E241D;
  --espresso-light: #4A3C30;
  --gold: #C5A572;
  --gold-light: #D4BA8E;
  --gold-dark: #A88B57;
  --white: #FFFFFF;
  --black: #1A1410;

  /* Transparent overlays */
  --cream-90: rgba(245, 240, 230, 0.9);
  --cream-70: rgba(245, 240, 230, 0.7);
  --espresso-80: rgba(46, 36, 29, 0.8);
  --espresso-50: rgba(46, 36, 29, 0.5);
  --espresso-30: rgba(46, 36, 29, 0.3);
  --glass-bg: rgba(245, 240, 230, 0.15);
  --glass-border: rgba(197, 165, 114, 0.2);

  /* Typography */
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --section-padding: clamp(60px, 10vw, 140px);
  --container-max: 1320px;
  --container-narrow: 900px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-round: 50%;

  /* Shadows */
  --shadow-subtle: 0 2px 20px rgba(46, 36, 29, 0.06);
  --shadow-card: 0 8px 40px rgba(46, 36, 29, 0.08);
  --shadow-elevated: 0 16px 60px rgba(46, 36, 29, 0.12);
  --shadow-gold: 0 4px 30px rgba(197, 165, 114, 0.25);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--espresso);
  background-color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Noise/grain texture overlay */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol { list-style: none; }

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
  background: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--espresso);
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.35rem); }

p {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  color: var(--espresso-light);
  max-width: 65ch;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.section-heading {
  margin-bottom: 20px;
}

.section-desc {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.8;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.container--narrow {
  max-width: var(--container-narrow);
}

section {
  padding: var(--section-padding) 0;
  position: relative;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 60px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn--primary {
  background: var(--espresso);
  color: var(--cream);
  box-shadow: var(--shadow-card);
}

.btn--primary:hover {
  background: var(--olive-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.btn--secondary {
  background: transparent;
  color: var(--espresso);
  border: 1.5px solid var(--espresso-light);
}

.btn--secondary:hover {
  background: var(--espresso);
  color: var(--cream);
  border-color: var(--espresso);
  transform: translateY(-2px);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(197, 165, 114, 0.35);
}

.btn--icon {
  width: 52px; height: 52px;
  padding: 0;
  border-radius: var(--radius-round);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-smooth);
}

.navbar.scrolled {
  padding: 12px 0;
  background: var(--cream-90);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 2px 30px rgba(46, 36, 29, 0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo-container {
  display: flex;
  align-items: center;
  height: 48px;
}

.navbar__logo-container img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.navbar__logo-container .logo-dark {
  display: none;
}

.navbar__logo-container .logo-light {
  display: block;
}

.navbar.scrolled .navbar__logo-container .logo-light {
  display: none;
}

.navbar.scrolled .navbar__logo-container .logo-dark {
  display: block;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar__link {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
  position: relative;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition-smooth);
}

.navbar__link:hover::after,
.navbar__link.active::after {
  width: 100%;
}

.navbar.scrolled .navbar__link {
  color: var(--espresso-light);
}

.navbar__link:hover {
  color: var(--gold);
}

.navbar__cta {
  padding: 10px 24px;
  font-size: 0.75rem;
  background: var(--gold);
  color: var(--white);
  border-radius: 60px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--transition-smooth);
}

.navbar__cta:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

/* Mobile hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.navbar__hamburger span {
  width: 26px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: all var(--transition-smooth);
}

.navbar.scrolled .navbar__hamburger span {
  background: var(--espresso);
}

.navbar__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: var(--cream);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--espresso);
  transition: color var(--transition-fast);
}

.mobile-menu a:hover {
  color: var(--gold);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.hero__bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(26, 20, 16, 0.6) 0%,
    rgba(26, 20, 16, 0.5) 50%,
    rgba(26, 20, 16, 0.8) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 0 20px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 60px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold-light);
  margin-bottom: 32px;
  animation: fadeInDown 0.8s ease 0.3s both;
}

.hero__badge svg {
  width: 14px; height: 14px;
  fill: var(--gold);
}

.hero__title {
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--cream);
  margin-bottom: 24px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  animation: fadeInUp 1s ease 0.5s both;
}

.hero__title span {
  color: var(--gold);
  font-style: italic;
}

.hero__dot {
  display: inline-block;
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: var(--radius-round);
  margin: 0 4px;
  vertical-align: middle;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: rgba(245, 240, 230, 0.8);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
  animation: fadeInUp 1s ease 0.7s both;
}

.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.9s both;
}

.hero .btn--primary {
  background: var(--gold);
  color: var(--espresso);
  font-weight: 700;
}

.hero .btn--primary:hover {
  background: var(--gold-light);
  box-shadow: var(--shadow-gold);
}

.hero .btn--secondary {
  border-color: rgba(245, 240, 230, 0.4);
  color: var(--cream);
}

.hero .btn--secondary:hover {
  background: var(--cream);
  color: var(--espresso);
  border-color: var(--cream);
}


/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 1s ease 1.2s both;
}

.hero__scroll span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(245, 240, 230, 0.5);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  background: var(--cream);
  overflow: hidden;
}

.about__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  position: relative;
}

.about__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}

.about__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about__img:hover img {
  transform: scale(1.05);
}

.about__img:first-child {
  grid-row: 1 / 3;
  min-height: 420px;
}

.about__img:nth-child(2) { min-height: 200px; }
.about__img:nth-child(3) { min-height: 200px; }

.about__img-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px; height: 120px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about__content {
  padding-right: 20px;
}

.about__text {
  margin-bottom: 32px;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.about__feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about__feature-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about__feature-icon svg {
  width: 20px; height: 20px;
  fill: var(--white);
}

.about__feature h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.about__feature p {
  font-size: 0.8rem;
  color: var(--espresso-light);
  line-height: 1.5;
}

/* ============================================================
   SIGNATURE OFFERINGS
   ============================================================ */
.offerings {
  background: var(--espresso);
  position: relative;
  overflow: hidden;
}

.offerings::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at 20% 50%, rgba(89, 98, 74, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 80%, rgba(197, 165, 114, 0.08) 0%, transparent 50%);
}

.offerings .section-label { color: var(--gold-light); }
.offerings .section-heading { color: var(--cream); }
.offerings .section-desc { color: rgba(245, 240, 230, 0.65); }

.offerings__header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.offerings__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.offering-card {
  background: rgba(245, 240, 230, 0.04);
  border: 1px solid rgba(245, 240, 230, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  position: relative;
}

.offering-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(197, 165, 114, 0.08), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.offering-card:hover {
  transform: translateY(-8px);
  border-color: rgba(197, 165, 114, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.offering-card:hover::before {
  opacity: 1;
}

.offering-card__img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.offering-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.offering-card:hover .offering-card__img img {
  transform: scale(1.08);
}

.offering-card__img-overlay {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, var(--espresso), transparent);
}

.offering-card__body {
  padding: 28px 24px;
  position: relative;
  z-index: 1;
}

.offering-card__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(197, 165, 114, 0.12);
  position: absolute;
  top: -10px;
  right: 20px;
}

.offering-card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 10px;
}

.offering-card__text {
  font-size: 0.85rem;
  color: rgba(245, 240, 230, 0.55);
  line-height: 1.6;
}

.offering-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  transition: gap var(--transition-smooth);
}

.offering-card__link:hover {
  gap: 14px;
}

.offering-card__link svg {
  width: 16px; height: 16px;
  fill: var(--gold);
  transition: transform var(--transition-smooth);
}

.offering-card:hover .offering-card__link svg {
  transform: translateX(4px);
}

/* ============================================================
   EXPERIENCE SECTION
   ============================================================ */
.experience {
  background: var(--cream-light);
  overflow: hidden;
}

.experience__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.experience__content {
  order: 1;
}

.experience__image {
  order: 2;
  position: relative;
}

.experience__img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.experience__img-main img {
  width: 100%; height: auto;
  object-fit: cover;
}

.experience__img-float {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 180px;
  padding: 20px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
  z-index: 2;
}

.experience__img-float .stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.experience__img-float .stat-text {
  font-size: 0.75rem;
  color: var(--espresso-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.experience__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.experience__feature {
  padding: 24px;
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--beige);
  transition: all var(--transition-smooth);
}

.experience__feature:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.experience__feature-icon {
  width: 40px; height: 40px;
  margin-bottom: 14px;
  color: var(--gold);
}

.experience__feature-icon svg {
  width: 100%; height: 100%;
  fill: var(--gold);
}

.experience__feature h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.experience__feature p {
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ============================================================
   BEST SELLERS
   ============================================================ */
.bestsellers {
  background: var(--cream);
  overflow: hidden;
}

.bestsellers__header {
  text-align: center;
  margin-bottom: 60px;
}

.bestsellers__carousel {
  position: relative;
  overflow: hidden;
}

.bestsellers__track {
  display: flex;
  gap: 28px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bestseller-card {
  min-width: calc(25% - 21px);
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--beige);
  transition: all var(--transition-smooth);
  flex-shrink: 0;
}

.bestseller-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
  border-color: var(--gold);
}

.bestseller-card__img {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: var(--cream-light);
}

.bestseller-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.bestseller-card:hover .bestseller-card__img img {
  transform: scale(1.06);
}

.bestseller-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 14px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 60px;
}

.bestseller-card__body {
  padding: 24px;
}

.bestseller-card__category {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 8px;
}

.bestseller-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.bestseller-card__desc {
  font-size: 0.82rem;
  color: var(--espresso-light);
  margin-bottom: 16px;
  line-height: 1.5;
}

.bestseller-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bestseller-card__price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--espresso);
}

.bestseller-card__price span {
  font-size: 0.85rem;
  color: var(--espresso-light);
  font-family: var(--font-body);
  font-weight: 400;
}

.bestseller-card__add {
  width: 42px; height: 42px;
  background: var(--espresso);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-smooth);
}

.bestseller-card__add svg {
  width: 18px; height: 18px;
  fill: var(--cream);
}

.bestseller-card__add:hover {
  background: var(--gold);
  transform: scale(1.1);
}

/* Carousel controls */
.bestsellers__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

.carousel-btn {
  width: 52px; height: 52px;
  border-radius: var(--radius-round);
  border: 1.5px solid var(--beige-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-smooth);
  background: var(--white);
}

.carousel-btn:hover {
  border-color: var(--gold);
  background: var(--gold);
}

.carousel-btn svg {
  width: 20px; height: 20px;
  fill: var(--espresso);
  transition: fill var(--transition-fast);
}

.carousel-btn:hover svg {
  fill: var(--white);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px; height: 8px;
  border-radius: var(--radius-round);
  background: var(--beige-dark);
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.carousel-dot.active {
  width: 32px;
  border-radius: 4px;
  background: var(--gold);
}

/* ============================================================
   STATS SECTION (Why People Love Belim)
   ============================================================ */
.stats {
  background: var(--olive);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at center, rgba(197, 165, 114, 0.1) 0%, transparent 70%);
}

.stats__header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.stats .section-label { color: var(--gold-light); }
.stats .section-heading { color: var(--cream); }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.stat-card {
  text-align: center;
  padding: 40px 20px;
  background: rgba(245, 240, 230, 0.06);
  border: 1px solid rgba(245, 240, 230, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(197, 165, 114, 0.3);
  background: rgba(245, 240, 230, 0.1);
}

.stat-card__icon {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-card__icon svg {
  width: 26px; height: 26px;
  fill: var(--white);
}

.stat-card__number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 8px;
}

.stat-card__text {
  font-size: 0.82rem;
  color: rgba(245, 240, 230, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   INSTAGRAM GALLERY
   ============================================================ */
.instagram {
  background: var(--cream-light);
  overflow: hidden;
}

.instagram__header {
  text-align: center;
  margin-bottom: 60px;
}

.instagram__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}

.instagram__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 1;
}

.instagram__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.instagram__item:hover img {
  transform: scale(1.08);
}

.instagram__item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(46, 36, 29, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.instagram__item:hover .instagram__item-overlay {
  opacity: 1;
}

.instagram__item-overlay svg {
  width: 32px; height: 32px;
  fill: var(--white);
}

.instagram__cta {
  text-align: center;
  margin-top: 48px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--cream);
  overflow: hidden;
}

.testimonials__header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--beige);
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-smooth);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
  border-color: var(--gold);
}

.testimonial-card__quote {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.15;
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-card__stars svg {
  width: 16px; height: 16px;
  fill: var(--gold);
}

.testimonial-card__text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--espresso-light);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--beige);
}

.testimonial-card__avatar {
  width: 48px; height: 48px;
  border-radius: var(--radius-round);
  background: linear-gradient(135deg, var(--gold), var(--olive));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--espresso);
}

.testimonial-card__role {
  font-size: 0.75rem;
  color: var(--espresso-light);
}

/* ============================================================
   VISIT / CONTACT SECTION
   ============================================================ */
.visit {
  background: var(--espresso);
  position: relative;
  overflow: hidden;
}

.visit::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at 30% 30%, rgba(89, 98, 74, 0.2) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 70%, rgba(197, 165, 114, 0.1) 0%, transparent 50%);
}

.visit .section-label { color: var(--gold-light); }
.visit .section-heading { color: var(--cream); }
.visit .section-desc { color: rgba(245, 240, 230, 0.6); }

.visit__header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.visit__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.visit__map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--espresso-light);
  min-height: 360px;
  position: relative;
  border: 1px solid rgba(245, 240, 230, 0.1);
}

.visit__map-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  color: rgba(245, 240, 230, 0.3);
}

.visit__map-placeholder svg {
  width: 48px; height: 48px;
  fill: var(--gold);
  opacity: 0.5;
}

.visit__map-placeholder span {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.visit__info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.visit__info-card {
  padding: 28px;
  background: rgba(245, 240, 230, 0.05);
  border: 1px solid rgba(245, 240, 230, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all var(--transition-smooth);
}

.visit__info-card:hover {
  border-color: rgba(197, 165, 114, 0.3);
  background: rgba(245, 240, 230, 0.08);
}

.visit__info-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.visit__info-icon svg {
  width: 22px; height: 22px;
  fill: var(--white);
}

.visit__info-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 600;
}

.visit__info-text {
  font-size: 0.92rem;
  color: rgba(245, 240, 230, 0.7);
  line-height: 1.7;
}

.visit__socials {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.visit__social-link {
  width: 44px; height: 44px;
  border-radius: var(--radius-round);
  border: 1px solid rgba(245, 240, 230, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-smooth);
}

.visit__social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.visit__social-link svg {
  width: 18px; height: 18px;
  fill: rgba(245, 240, 230, 0.6);
  transition: fill var(--transition-fast);
}

.visit__social-link:hover svg {
  fill: var(--white);
}

.visit__cta-section {
  text-align: center;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  padding: 60px 0 30px;
  position: relative;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(245, 240, 230, 0.08);
}

.footer__brand-logo {
  height: 56px;
  margin-bottom: 16px;
}

.footer__brand-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.footer__tagline {
  font-size: 0.85rem;
  color: rgba(245, 240, 230, 0.45);
  margin-bottom: 24px;
  font-style: italic;
}

.footer__desc {
  font-size: 0.85rem;
  color: rgba(245, 240, 230, 0.35);
  line-height: 1.7;
  max-width: 320px;
}

.footer__col-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 24px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__link {
  font-size: 0.85rem;
  color: rgba(245, 240, 230, 0.4);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--gold);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
}

.footer__copyright {
  font-size: 0.75rem;
  color: rgba(245, 240, 230, 0.25);
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-link {
  font-size: 0.75rem;
  color: rgba(245, 240, 230, 0.25);
  transition: color var(--transition-fast);
}

.footer__bottom-link:hover {
  color: var(--gold);
}

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.5; transform: scaleY(0.6); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes counterUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1200px) {
  .offerings__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bestseller-card {
    min-width: calc(33.333% - 19px);
  }
}

@media (max-width: 992px) {
  .navbar__links { display: none; }
  .navbar__hamburger { display: flex; }
  .mobile-menu { display: flex; }
  
  .about__wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .about__images { order: -1; }
  
  .experience__wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .experience__image { order: -1; }
  .experience__content { order: 1; }
  
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bestseller-card {
    min-width: calc(50% - 14px);
  }
  
  .testimonials__grid {
    grid-template-columns: 1fr;
  }
  
  .visit__grid {
    grid-template-columns: 1fr;
  }
  
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .instagram__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .instagram__item:nth-child(1) {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 1;
  }
}

@media (max-width: 768px) {
  .hero__title {
    font-size: clamp(2.4rem, 8vw, 3.5rem);
  }
  
  .offerings__grid {
    grid-template-columns: 1fr;
  }
  
  .about__features {
    grid-template-columns: 1fr;
  }
  
  .experience__features {
    grid-template-columns: 1fr;
  }
  
  .bestseller-card {
    min-width: calc(80% - 14px);
  }
  
  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  
  .instagram__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .hero__ctas .btn {
    width: 100%;
  }
  
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .stat-card {
    padding: 20px 12px;
  }
  
  .instagram__grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .bestseller-card {
    min-width: calc(90% - 14px);
  }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================================
   BEST SELLERS GRID (Sub-Hero)
   ============================================================ */
.bestsellers-grid {
  background: var(--cream);
  padding: clamp(40px, 6vw, 80px) 0;
  overflow: hidden;
}

.bestsellers-grid__header {
  text-align: center;
  margin-bottom: 40px;
}

.bestsellers-grid__mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.grid-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 1;
  cursor: pointer;
}

.grid-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.grid-item:hover img {
  transform: scale(1.08);
}

.grid-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(46, 36, 29, 0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.grid-item:hover .grid-item__overlay {
  opacity: 1;
}

.grid-item__overlay span {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.02em;
}

@media (max-width: 992px) {
  .bestsellers-grid__mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .bestsellers-grid__mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 8px;
  }

  .grid-item__overlay span {
    font-size: 0.8rem;
  }
}

/* ============================================================
   SHOP SECTION (Parallax)
   ============================================================ */
.shop {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
  overflow: hidden;
}

.shop__parallax-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 120%;
  z-index: 0;
}

.shop__parallax-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}

.shop__overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(46, 36, 29, 0.75) 0%,
    rgba(46, 36, 29, 0.65) 50%,
    rgba(46, 36, 29, 0.8) 100%
  );
  z-index: 1;
}

.shop__header {
  text-align: center;
  margin-bottom: 60px;
}

.shop__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.shop-card {
  display: block;
  background: rgba(245, 240, 230, 0.06);
  border: 1px solid rgba(245, 240, 230, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  text-decoration: none;
  position: relative;
}

/* Glass shine/glare sweep effect */
.shop-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 2;
  pointer-events: none;
}

.shop-card:hover::before {
  left: 150%;
}

.shop-card:hover {
  transform: translateY(-8px);
  border-color: rgba(197, 165, 114, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  background: rgba(245, 240, 230, 0.1);
}

.shop-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.shop-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.shop-card:hover .shop-card__img img {
  transform: scale(1.06);
}

.shop-card__body {
  padding: 24px;
}

.shop-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream); /* Fallback */
  margin-bottom: 12px;
  display: block;
  width: fit-content;
  background: linear-gradient(
    120deg,
    var(--cream) 30%,
    #ffffff 50%,
    var(--cream) 70%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: cardTitleFloat 4s infinite ease-in-out, textShineSweep 8s infinite linear;
  will-change: background-position;
}

.shop-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  transition: gap var(--transition-smooth);
  animation: cardLinkFloat 4s infinite ease-in-out;
  animation-delay: 0.3s;
}

.shop-card__link-text {
  color: var(--gold); /* Fallback */
  display: inline-block;
  background: linear-gradient(
    120deg,
    var(--gold) 30%,
    #ffffff 50%,
    var(--gold) 70%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShineSweep 8s infinite linear;
  animation-delay: 0.5s;
  will-change: background-position;
}

.shop-card:hover .shop-card__link {
  gap: 14px;
}

.shop-card__link svg {
  width: 16px; height: 16px;
  fill: var(--gold);
  display: inline-block;
  animation: cardArrowNudge 2s infinite ease-in-out;
}

@keyframes cardTitleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes cardLinkFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1.5px);
  }
}

@keyframes cardArrowNudge {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(3px);
  }
}

@keyframes textShineSweep {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}

@media (max-width: 992px) {
  .shop__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ============================================================
   FOOTER — Contact Info Line Styles
   ============================================================ */
.footer__info-line {
  cursor: default;
  color: rgba(245, 240, 230, 0.4);
}

.footer__info-line:hover {
  color: rgba(245, 240, 230, 0.4);
}

/* ============================================================
   MICRO-ANIMATIONS
   ============================================================ */

/* Primary CTA Pulsing Glow */
#grid-menu-btn {
  position: relative;
  animation: btnPulseGlow 3s infinite;
}

#grid-menu-btn svg {
  display: inline-block;
  transform-origin: center;
  animation: arrowAttentionLoop 4s infinite ease-in-out;
}

/* Hover stops the loop and expands the arrow */
#grid-menu-btn:hover svg {
  animation: none;
  transform: translateX(6px) scale(1.1);
}

@keyframes btnPulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(85, 98, 77, 0.5);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(85, 98, 77, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(85, 98, 77, 0);
  }
}

@keyframes arrowAttentionLoop {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  /* Circular swinging motion */
  15% {
    transform: translate(-3px, -3px) rotate(90deg);
  }
  30% {
    transform: translate(0, -4px) rotate(180deg);
  }
  45% {
    transform: translate(3px, -3px) rotate(270deg);
  }
  60% {
    transform: translate(0, 0) rotate(360deg);
  }
  /* Straighten up and nudge right to attract clicks */
  70% {
    transform: translate(0, 0) rotate(360deg) translateX(0);
  }
  80% {
    transform: translate(0, 0) rotate(360deg) translateX(5px);
  }
  90% {
    transform: translate(0, 0) rotate(360deg) translateX(0);
  }
  95% {
    transform: translate(0, 0) rotate(360deg) translateX(5px);
  }
  100% {
    transform: translate(0, 0) rotate(360deg) translateX(0);
  }
}

/* Morphing Icon Fade States */
#grid-menu-btn svg {
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Pause loop animation when morphing is active */
#grid-menu-btn.morphing svg {
  animation: none !important;
}

#grid-menu-btn svg.fade-out {
  opacity: 0;
  transform: scale(0.4) rotate(-120deg) !important;
}

#grid-menu-btn svg.fade-prepare {
  transition: none !important;
  opacity: 0;
  transform: scale(0.4) rotate(120deg) !important;
}

/* Hero Secondary CTA Breathing */
#hero-cta-secondary {
  position: relative;
  animation: heroCtaBreath 3s infinite ease-in-out;
}

@keyframes heroCtaBreath {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(245, 240, 230, 0.15);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 15px 3px rgba(245, 240, 230, 0.15);
  }
}
