/* ================================================================
   COCOA BUTTER — Landing Page Stylesheet
   Methodology: BEM (Block__Element--Modifier)
   Theme: Elegant Black & White with Cream Warmth
   ================================================================ */

:root {
  /* Colors */
  --black: #0d0d0d;
  --black-soft: #1a1a1a;
  --black-mid: #2a2a2a;
  --white: #ffffff;
  --off-white: #faf9f7;
  --cream: #f5efe6;
  --cream-deep: #ede3d5;
  --cream-warm: #e8dece;
  --gray-light: #f0eeeb;
  --gray-mid: #b8b0a8;
  --gray-dark: #6b6460;
  --accent: #c4956a;
  --accent-light: #dab896;
  --accent-dark: #9b6e45;

  /* Typography */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-accent: "Playfair Display", Georgia, serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.14);
  --shadow-xl: 0 32px 80px rgba(0, 0, 0, 0.18);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --tr-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --max-w: 1200px;
  --nav-h: 72px;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--off-white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ================================================================
   UTILITY CLASSES
   ================================================================ */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: var(--space-4);
}

.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-dark);
  max-width: 520px;
  line-height: 1.7;
}

/* ================================================================
   BUTTONS (BEM)
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn--dark {
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
}
.btn--dark:hover {
  background: var(--black-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.btn--outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}
.btn--outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}

/* ================================================================
   NAVBAR (BEM)
   ================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition:
    background 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.navbar--scrolled {
  background: rgba(250, 249, 247, 0.98);
  box-shadow: var(--shadow-md);
}

.navbar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1002;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.navbar__logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cream-deep);
}

.navbar__logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--black);
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.navbar__list {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.navbar__link {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--black-soft);
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.2s var(--ease);
  padding-bottom: 2px;
}

.navbar__link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}

.navbar__link:hover {
  color: var(--accent);
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: transparent;
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 3px;
  flex-shrink: 0;
  position: relative;
  z-index: 1003;
}

.navbar__hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transform-origin: center;
  transition:
    transform 0.35s var(--ease),
    opacity 0.25s;
}

.navbar__hamburger.is-active .navbar__hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__hamburger.is-active .navbar__hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.navbar__hamburger.is-active .navbar__hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.navbar__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.navbar__overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 960px) {
  .navbar__nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(80vw, 320px);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 2rem 4rem;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.1);
  }

  .navbar__nav.is-open {
    transform: translateX(0);
  }

  .navbar__list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 1.5rem;
  }

  .navbar__link {
    font-size: 1.2rem;
  }

  .navbar__hamburger {
    display: flex;
  }

  .navbar__overlay {
    display: block;
  }
}

/* ================================================================
   HERO (BEM)
   ================================================================ */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--cream-deep) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--cream) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 20rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.025);
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 580px;
  padding: var(--space-12) var(--space-8) var(--space-12)
    clamp(var(--space-6), 6vw, 8rem);
  animation: fadeSlideUp 0.9s var(--ease) both;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--black);
  margin-bottom: var(--space-6);
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  display: block;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--gray-dark);
  line-height: 1.75;
  margin-bottom: var(--space-8);
  max-width: 440px;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-12) clamp(var(--space-6), 5vw, 6rem) var(--space-12)
    var(--space-8);
  animation: fadeSlideUp 1.1s var(--ease) 0.15s both;
}

.hero__img-wrap {
  position: relative;
  width: clamp(280px, 38vw, 480px);
  height: clamp(280px, 38vw, 480px);
}

.hero__img-blob {
  position: absolute;
  inset: -12px;
  background: var(--cream-deep);
  border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
  animation: blobMorph 8s ease-in-out infinite;
}

.hero__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50% 44% 50% 44%;
  box-shadow: var(--shadow-xl);
}

.hero__badge {
  position: absolute;
  bottom: 20px;
  left: -20px;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  animation: floatBadge 3s ease-in-out infinite;
}

.hero__badge-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--black);
}

.hero__badge-text {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-dark);
}

.hero__float {
  position: absolute;
  font-size: 1.8rem;
  user-select: none;
  pointer-events: none;
}
.hero__float--1 {
  top: 15%;
  right: 5%;
  animation: floatEmoji 4s ease-in-out infinite;
}
.hero__float--2 {
  bottom: 25%;
  right: -5%;
  animation: floatEmoji 5s ease-in-out 1s infinite;
}
.hero__float--3 {
  top: 60%;
  left: 0%;
  animation: floatEmoji 3.5s ease-in-out 0.5s infinite;
}

.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  opacity: 0.4;
}

.hero__scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--black), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

/* ================================================================
   FEATURES STRIP (BEM)
   ================================================================ */
.features-strip {
  background: var(--black);
  padding: var(--space-4) 0;
  overflow: hidden;
  width: 100vw;
}

.features-strip__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.features-strip__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.features-strip__icon {
  font-size: 1.1rem;
}

.features-strip__sep {
  color: var(--accent);
  font-size: 0.45rem;
}

/* ================================================================
   MENU SECTION (BEM)
   ================================================================ */
.menu {
  padding: var(--space-24) 0;
  background: var(--white);
}

.menu__header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-6);
  margin-bottom: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.menu__tabs {
  max-width: var(--max-w);
  margin: 0 auto var(--space-10);
  padding: 0 var(--space-6);
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-10);
}

.menu__tab {
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray-dark);
  border: 1.5px solid var(--gray-light);
  background: transparent;
  transition: all 0.22s var(--ease);
}

.menu__tab:hover {
  border-color: var(--black);
  color: var(--black);
}

.menu__tab--active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.menu__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-6);
}

.menu-card {
  background: var(--off-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--cream-deep);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.menu-card--hidden {
  display: none;
}

.menu-card__img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.menu-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.menu-card:hover .menu-card__img {
  transform: scale(1.05);
}

.menu-card__badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--black);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.menu-card__badge--special {
  background: var(--accent);
}

.menu-card__body {
  padding: var(--space-5) var(--space-6);
}

.menu-card__name {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.menu-card__desc {
  font-size: 0.85rem;
  color: var(--gray-dark);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.menu-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.menu-card__price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--black);
}

.menu__cta-wrap {
  max-width: var(--max-w);
  margin: var(--space-12) auto 0;
  padding: 0 var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
}

.menu__cta-text {
  color: var(--gray-dark);
  font-size: 1rem;
}

/* ================================================================
   STORY SECTION (BEM)
   ================================================================ */
.story {
  padding: var(--space-24) 0;
  background: var(--cream);
  overflow: hidden;
}

.story__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.story__visual {
  position: relative;
}

.story__img-stack {
  position: relative;
  height: 500px;
}

.story__img {
  position: absolute;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.story__img--back {
  width: 75%;
  height: 80%;
  top: 0;
  right: 0;
}

.story__img--front {
  width: 55%;
  height: 55%;
  bottom: 0;
  left: 0;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-xl);
}

.story__quote-bubble {
  position: absolute;
  top: -20px;
  left: -10px;
  background: var(--black);
  color: var(--cream);
  padding: var(--space-4) var(--space-5);
  border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.5;
  max-width: 220px;
  box-shadow: var(--shadow-md);
}

.story__quote-bubble em {
  color: var(--accent-light);
  font-style: italic;
}

.story__content {
  padding: var(--space-4) 0;
}

.story__text {
  font-size: 1rem;
  color: var(--gray-dark);
  line-height: 1.8;
  margin-bottom: var(--space-8);
}

.story__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.story__pillar {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.story__pillar-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.story__pillar strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 2px;
}

.story__pillar p {
  font-size: 0.8rem;
  color: var(--gray-dark);
  line-height: 1.5;
}

/* ================================================================
   LOCATION SECTION (BEM)
   ================================================================ */
.location {
  padding: var(--space-24) 0;
  background: var(--off-white);
}

.location__header {
  max-width: var(--max-w);
  margin: 0 auto var(--space-12);
  padding: 0 var(--space-6);
  text-align: center;
}

.location__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.location-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--cream-deep);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.location-card__img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.location-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.location-card:hover .location-card__img {
  transform: scale(1.04);
}

.location-card__city-badge {
  position: absolute;
  bottom: var(--space-3);
  left: var(--space-4);
  background: var(--black);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
}

.location-card__body {
  padding: var(--space-6);
}

.location-card__name {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: var(--space-3);
}

.location-card__address {
  font-size: 0.87rem;
  color: var(--gray-dark);
  line-height: 1.7;
  margin-bottom: var(--space-2);
}

.location-card__email {
  font-size: 0.85rem;
  color: var(--gray-dark);
  margin-bottom: var(--space-5);
  min-height: 1.4em;
}

.location-card__email a {
  color: var(--accent-dark);
  transition: color 0.2s;
}

.location-card__email a:hover {
  color: var(--black);
}

.location-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.location-card__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  border: 1.5px solid transparent;
  transition: all 0.22s var(--ease);
  white-space: nowrap;
}

.location-card__btn--wa {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
}
.location-card__btn--wa:hover {
  background: #1ebe5c;
  transform: translateY(-2px);
}

.location-card__btn--grab {
  background: var(--white);
  color: #00b14f;
  border-color: #00b14f;
}
.location-card__btn--grab:hover {
  background: #00b14f;
  color: var(--white);
  transform: translateY(-2px);
}

.location-card__btn--shopee {
  background: var(--white);
  color: #ee4d2d;
  border-color: #ee4d2d;
}
.location-card__btn--shopee:hover {
  background: #ee4d2d;
  color: var(--white);
  transform: translateY(-2px);
}

/* ================================================================
   CONNECT / SOCIALS SECTION (BEM)
   ================================================================ */
.connect {
  padding: var(--space-24) 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.connect::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(196, 149, 106, 0.12) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.connect__header {
  max-width: var(--max-w);
  margin: 0 auto var(--space-12);
  padding: 0 var(--space-6);
  text-align: center;
}

.connect__header .section-title {
  color: var(--white);
}

.connect__header .section-desc,
.connect__desc {
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.connect__grid {
  max-width: var(--max-w);
  margin: 0 auto var(--space-12);
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-4);
}

.connect__grid--3 {
  max-width: 900px;
  grid-template-columns: repeat(3, 1fr);
}

.social-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.25s var(--ease);
  cursor: pointer;
}

.social-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

.social-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-card--instagram .social-card__icon {
  background: linear-gradient(
    135deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  color: var(--white);
}

.social-card--instagram-wedding .social-card__icon {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: var(--white);
}

.social-card--tiktok .social-card__icon {
  background: var(--black-soft);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.social-card__content {
  flex: 1;
  min-width: 0;
}

.social-card__platform {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 2px;
}

.social-card__handle {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-card__desc {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

.social-card__arrow {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.1rem;
  transition: all 0.2s var(--ease);
  flex-shrink: 0;
}

.social-card:hover .social-card__arrow {
  color: var(--accent-light);
  transform: translateX(4px);
}

/* ================================================================
   FOOTER (BEM)
   ================================================================ */
.footer {
  background: var(--black-soft);
  padding: var(--space-16) 0 0;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-6) var(--space-12);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-10);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.footer__tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--cream);
  letter-spacing: 0.05em;
}

.footer__tagline-sub {
  font-size: 0.8rem;
  color: var(--gray-mid);
  letter-spacing: 0.06em;
}

.footer__heading {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: var(--space-4);
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__links li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s var(--ease);
  line-height: 1.4;
}

.footer__links li a:hover {
  color: var(--cream);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-5) var(--space-6);
  text-align: center;
}

.footer__bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ================================================================
   SCROLL TO TOP (BEM)
   ================================================================ */
.scroll-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease-spring);
  z-index: 900;
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--accent-dark);
  transform: translateY(-3px) scale(1.05);
}

/* ================================================================
   KEYFRAMES
   ================================================================ */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blobMorph {
  0%,
  100% {
    border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
  }
  33% {
    border-radius: 45% 55% 40% 60% / 60% 40% 55% 45%;
  }
  66% {
    border-radius: 55% 45% 60% 40% / 40% 60% 45% 55%;
  }
}

@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes floatEmoji {
  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
  }
  50% {
    transform: translateY(-12px) rotate(5deg);
  }
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ================================================================
   RESPONSIVE — TABLET (max 1024px)
   ================================================================ */
@media (max-width: 1024px) {
  .story__inner {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  .story__img-stack {
    height: 380px;
  }
  .hero {
    flex-direction: column;
    min-height: auto;
    padding-bottom: var(--space-12);
  }
  .hero__content {
    padding: var(--space-12) var(--space-6) var(--space-6);
    max-width: 100%;
    text-align: center;
  }
  .hero__subtitle {
    max-width: 100%;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__visual {
    padding: 0 var(--space-6) var(--space-8);
  }
  .hero__bg-text {
    display: none;
  }
  .location__grid {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

/* ================================================================
   RESPONSIVE — MOBILE (max 768px)
   ================================================================ */
@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }

  .hero__img-wrap {
    width: clamp(240px, 70vw, 320px);
    height: clamp(240px, 70vw, 320px);
  }

  .hero__badge {
    left: -10px;
  }

  .features-strip__sep {
    display: none;
  }

  .features-strip__inner {
    gap: var(--space-4);
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: var(--space-2);
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .menu__grid {
    grid-template-columns: 1fr;
  }

  .menu {
    padding: var(--space-16) 0;
  }

  .story {
    padding: var(--space-16) 0;
  }

  .story__pillars {
    grid-template-columns: 1fr;
  }

  .story__quote-bubble {
    position: static;
    margin-bottom: var(--space-4);
    border-radius: var(--radius-lg);
  }

  .location {
    padding: var(--space-16) 0;
  }

  .location__grid {
    grid-template-columns: 1fr;
  }

  .location-card__actions {
    flex-direction: column;
  }

  .location-card__btn {
    justify-content: center;
  }

  .connect {
    padding: var(--space-16) 0;
  }

  .connect__grid,
  .connect__grid--3 {
    grid-template-columns: 1fr;
  }

  .social-card__handle {
    font-size: 0.85rem;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer {
    padding-top: var(--space-12);
  }

  .section-title {
    font-size: clamp(1.9rem, 7vw, 2.8rem);
  }
}

/* ================================================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ================================================================ */
@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(2.4rem, 9vw, 3.2rem);
  }

  .hero__float {
    display: none;
  }

  .btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.85rem;
  }

  .menu__tabs {
    gap: var(--space-2);
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: var(--space-2);
    -webkit-overflow-scrolling: touch;
  }

  .menu__tab {
    white-space: nowrap;
  }

  .story__img-stack {
    height: 300px;
  }
}
/* ============================================================
   THE ULTIMATE MOBILE MENU FIX (TARUH PALING BAWAH)
============================================================ */
@media (max-width: 960px) {
  /* Memaksa menu jadi full satu layar dengan background warna solid */
  #navMenu.navbar__nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: #faf9f7 !important; /* Warna off-white solid 100% */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1000 !important;

    /* Animasi mulus geser dari kanan */
    transform: translateX(100%) !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  /* Saat menu diklik terbuka */
  #navMenu.navbar__nav.is-open {
    transform: translateX(0) !important;
  }

  /* Memaksa tombol Hamburger (X) selalu berada di atas menu */
  .navbar__hamburger {
    z-index: 1005 !important;
  }

  /* Merapikan jarak antar teks menu ke tengah */
  #navMenu .navbar__list {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2rem !important;
    width: 100% !important;
    margin-top: 0 !important;
  }

  #navMenu .navbar__link {
    font-size: 1.5rem !important;
    color: #0d0d0d !important;
    font-weight: 500 !important;
  }

  /* Posisi tombol Pesan Sekarang */
  #navMenu .navbar__cta {
    margin-top: 2rem !important;
  }
}
