/* ============================================
   Ramstore Mall — styles.css
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Manrope', sans-serif;
  background: #fff;
  color: hsl(0, 0%, 12%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

/* ---------- Design Tokens ---------- */
:root {
  /* --primary: hsl(330, 68%, 50%); */
  --primary: #8d0e57;
  --primary-dark: hsl(330, 72%, 42%);
  --primary-fg: #fff;
  --fg: hsl(0, 0%, 12%);
  --fg-muted: hsl(0, 0%, 42%);
  --bg: #fff;
  --bg-secondary: hsl(0, 0%, 97%);
  --border: hsl(0, 0%, 92%);
  --radius: 0.75rem;
  --shadow-card: 0 2px 16px -4px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 8px 30px -8px rgba(0, 0, 0, 0.1);
  --shadow-header: 0 1px 12px -2px rgba(0, 0, 0, 0.08);
  --container: 1320px;
  --amber: #eb9800;
  --teal: #31a5a1;
--background: #ffffff;
  --foreground: #22252a;
  --card: #ffffff;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

.mt-8 {
  margin-top: 2rem;
}

.mb-14 {
  margin-bottom: 3.5rem;
}

.desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .desktop-only {
    display: flex;
  }
}

/* ---------- Animations ---------- */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Section Helpers ---------- */
.section-label {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 1.875rem;
  color: var(--fg);
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s, box-shadow 0.3s;
}

/* Homepage header (#site-header): frosted white bar over the light hero image */
#site-header {
  background: hsla(0, 0%, 100%, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-header.scrolled,
.site-header.on-page {
  background: hsla(0, 0%, 100%, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-header);
}

#site-header.scrolled {
  background: hsla(0, 0%, 100%, 0.95);
}

.site-header.scrolled .nav-link,
.site-header.on-page .nav-link,
.site-header.scrolled .mobile-menu-btn,
.site-header.on-page .mobile-menu-btn {
  color: var(--fg);
}

/* Hovering the hero swaps in the darker image with white text, so the bar goes transparent */
#site-header.hero-hover:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#site-header.hero-hover:not(.scrolled) .nav-link,
#site-header.hero-hover:not(.scrolled) .mobile-menu-btn {
  color: #fff;
  transition: color 0.3s ease;
}

.top-bar {
  display: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

#site-header.hero-hover:not(.scrolled) .top-bar {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

#site-header.hero-hover:not(.scrolled) .top-bar-inner {
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 1024px) {
  .top-bar {
    display: block;
  }
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 0.5rem 0;
  font-size: 0.75rem;
  color: var(--fg-muted);
  transition: color 0.3s ease;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.site-header.scrolled .top-bar,
.site-header.on-page .top-bar {
  display: none;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 1024px) {
  .header-main {
    height: 4.5rem;
  }
}

.logo-link {
  flex-shrink: 0;
}

.logo {
  height: 2.5rem;
  width: auto;
}

.logo--white { display: none; }
#site-header.hero-hover:not(.scrolled) .logo--white { display: block; }
#site-header.hero-hover:not(.scrolled) .logo--color { display: none; }

@media (min-width: 1024px) {
  .logo {
    height: 4rem;
  }
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: block;
  color: var(--fg);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  background: var(--bg);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

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

.mobile-menu-nav {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu-nav .nav-link,
.mobile-menu-nav .nav-link:hover {
  color: var(--fg);
}

.mobile-nav-link {
  color: var(--fg);
  font-weight: 500;
  font-size: 1.125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-nav-link:hover {
  color: var(--primary);
}

.mobile-menu-info {
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.mobile-menu-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 600px;
  height: 90vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

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

.hero-bg__img {
  position: absolute;
  inset: 0;
}

.hero-bg__img--base {
  z-index: 1;
}

.hero-bg__img--hover {
  z-index: 2;
  opacity: 0;
  transition: opacity 0.7s ease-out;
}

.hero:hover .hero-bg__img--hover {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

/* Default (light image, dark text): white scrim from the left and bottom, behind the text */
.hero-overlay::before,
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  transition: opacity 0.7s ease-out;
}

.hero-overlay::before {
  background:
    linear-gradient(to top, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 45%),
    linear-gradient(to right, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 45%);
}

/* Hover (darker image, white text): original dark gradient */
.hero-overlay::after {
  background: linear-gradient(to top, hsla(0, 0%, 12%, 0.8), hsla(0, 0%, 12%, 0.3) 50%, hsla(0, 0%, 12%, 0.1));
  opacity: 0;
}

.hero:hover .hero-overlay::before {
  opacity: 0;
}

.hero:hover .hero-overlay::after {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-bottom: 5rem;
  /* max-width: 42rem; */
}



@media (min-width: 1024px) {
  .hero-content {
    padding-bottom: 7rem;
  }
  .hero-title{
    max-width: 42rem;
  }
}

.hero-label {
  /* color: var(--primary); */
  color: var(--fg);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.hero-title {
  color: var(--fg);
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-wrap: balance;
  transition: color 0.3s ease;
}

.hero:hover .hero-label,
.hero:hover .hero-title {
  color: #fff;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-subtitle {
  color: var(--fg);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 32rem;
  transition: color 0.3s ease;
}

.hero:hover .hero-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* Soft white glow keeps the dark text readable over the light photo without a heavy overlay */
.hero-label,
.hero-title,
.hero-subtitle {
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.9), 0 0 5px rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.hero:hover .hero-label,
.hero:hover .hero-title,
.hero:hover .hero-subtitle {
  text-shadow: none;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: var(--radius);
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* In the hero the default image is light: dark outline, switching to white on hover */
.hero .btn-outline-light {
  border-color: rgba(0, 0, 0, 0.3);
  color: var(--fg);
}

.hero .btn-outline-light:hover {
  background: rgba(0, 0, 0, 0.05);
}

.hero:hover .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.hero:hover .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  transition: gap 0.2s;
}

.link-arrow:hover {
  gap: 0.75rem;
}

/* ============ QUICK INFO ============ */
.quick-info {
  background: var(--bg-secondary);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.quick-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .quick-info-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.quick-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

a.quick-info-item {
  transition: opacity 0.2s;
}

a.quick-info-item:hover {
  opacity: 0.7;
}

.quick-info-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: hsla(330, 68%, 50%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.quick-info-label {
  font-size: 0.6875rem;
  color: var(--fg-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quick-info-value {
  font-weight: 600;
  color: var(--fg);
  font-size: 0.875rem;
}

.quick-info-sub {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* ============ BRAND LOGO MARQUEE ============ */
.brand-marquee {
  padding: 2rem 0;
  overflow: hidden;
}

.brand-marquee__label {
  text-align: center;
  margin-bottom: 2rem;
}

.brand-marquee__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.brand-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 2rem;
  animation-name: brand-marquee-scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.brand-marquee__track:hover {
  animation-play-state: paused;
}

.brand-marquee__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 100px;
  border-radius: var(--radius);
  background: var(--bg-secondary);
  padding: 1rem 1.5rem;
  transition: background 0.2s, box-shadow 0.2s;
}

.brand-marquee__logo:hover {
  background: var(--bg);
  box-shadow: var(--shadow-card);
}

.brand-marquee__logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.25s, opacity 0.25s;
}

.brand-marquee__logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@keyframes brand-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .brand-marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }
}

/* ============ CATEGORY GRID ============ */
.categories {
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .categories {
    padding: 7rem 0;
  }
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
  }

  .category-card--large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .category-card--wide {
    grid-column: span 2;
  }
}

.category-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 240px;
}

@media (min-width: 1024px) {
  .category-card {
    min-height: 280px;
  }
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.category-card:hover img {
  transform: scale(1.03);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(0, 0%, 12%, 0.7), hsla(0, 0%, 12%, 0.2) 50%, transparent);
}

.category-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.category-card-title {
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.category-card-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.category-card-arrow {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.3s;
}

.category-card:hover .category-card-arrow {
  background: var(--primary);
}

/* ============ EVENTS ============ */
.events-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

.events-section + .events-section {
  padding-top: 0;
}

@media (min-width: 1024px) {
  .events-section {
    padding: 7rem 0;
  }
}

.events-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .events-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.event-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s;
}

.event-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.event-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.event-card:hover .event-card-image img {
  transform: scale(1.03);
}

.event-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
}

.event-card-body {
  padding: 1.5rem;
}

.event-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fg-muted);
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

.event-card-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--fg);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.event-card:hover .event-card-title {
  color: var(--primary);
}

.event-card-desc {
  color: var(--fg-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ============ STORES PREVIEW ============ */
.stores-preview {
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .stores-preview {
    padding: 7rem 0;
  }
}

.stores-preview-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .stores-preview-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.stores-preview-header .section-title {
  margin-bottom: 0;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .brands-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

.brand-chip {
  background: var(--bg-secondary);
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--fg);
  transition: all 0.2s;
  cursor: pointer;
}

.brand-chip:hover {
  background: var(--primary);
  color: var(--primary-fg);
  transform: translateY(-2px);
}

/* ============ FOOD ============ */
.food-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

@media (min-width: 1024px) {
  .food-section {
    padding: 7rem 0;
  }
}

.ramstore-market-section {
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .ramstore-market-section {
    padding: 7rem 0;
  }
}

.ramstore-market__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .ramstore-market__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.ramstore-market__col { display: flex; flex-direction: column; }
.ramstore-market__col .btn { align-self: flex-start; margin-bottom: 2rem; }

.ramstore-market__img {
  border-radius: var(--radius);
  overflow: hidden;
}

.ramstore-market__img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ramstore-market__img--wide { aspect-ratio: 4 / 3; }
.ramstore-market__img--tall { aspect-ratio: 3 / 4; }

.food-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .food-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.food-hours {
  color: var(--fg-muted);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.food-hours strong {
  color: var(--fg);
}

.food-desc {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.restaurants-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.restaurant-card {
  background: var(--bg);
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: var(--shadow-card);
  transition: all 0.2s;
  cursor: pointer;
}

.restaurant-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.restaurant-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--fg);
  transition: color 0.2s;
}

.restaurant-card:hover .restaurant-name {
  color: var(--primary);
}

.restaurant-type {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

.food-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.food-img-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
}

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

.food-img-offset {
  margin-top: 2rem;
}

/* ============ SERVICES ============ */
.services-section {
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .services-section {
    padding: 7rem 0;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s;
}

.service-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background: var(--amber);
  color: var(--primary);
  transition: color 0.2s;
}

.service-card:hover .service-icon {
  color: var(--primary-fg);
}

.service-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.25rem;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
}

/* ============ ABOUT ============ */
.about-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

@media (min-width: 1024px) {
  .about-section {
    padding: 7rem 0;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-text {
  color: var(--fg-muted);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-text-secondary {
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.about-stats {
  display: flex;
  gap: 3rem;
}

.about-stat-number {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.875rem;
  color: var(--primary);
}

.about-stat-label {
  font-size: 0.875rem;
  color: var(--fg-muted);
}

/* ============ STORE DIRECTORY ============ */
.store-directory {
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .store-directory {
    padding: 7rem 0;
  }
}

.store-directory-subtitle {
  color: var(--fg-muted);
  font-size: 1.125rem;
  max-width: 36rem;
  margin-bottom: 2rem;
}

/* ============ STORES PAGE (standalone) ============ */
.stores-page-header {
  padding-top: 7rem;
  padding-bottom: 3rem;
  background: var(--bg-secondary);
}

.hero-title-sm {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 2.25rem;
  color: var(--fg);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-title-sm {
    font-size: 3rem;
  }
}

.stores-sticky-filters {
  position: sticky;
  top: 4rem;
  z-index: 30;
  background: hsla(0, 0%, 100%, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

@media (min-width: 1024px) {
  .stores-sticky-filters {
    top: 4.5rem;
  }
}

.stores-sticky-filters .store-filters {
  margin-bottom: 0;
  border-bottom: none;
}

.stores-page-grid {
  padding: 3rem 0;
}

.store-filters {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

/* @media (min-width: 1024px) {
  .store-filters {
    flex-direction: row;
    align-items: center;
  }
} */

.store-search-wrapper {
  position: relative;
  flex: 1;
  max-width: 28rem;
}

.store-search-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fg-muted);
}

.store-search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  color: var(--fg);
  font-size: 0.875rem;
  font-family: 'Manrope', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.store-search-input::placeholder {
  color: var(--fg-muted);
}

.store-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(330, 68%, 50%, 0.15);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-icon {
  color: var(--fg-muted);
  margin-right: 0.25rem;
}

.filter-chip,
.floor-chip {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--bg-secondary);
  color: var(--fg);
  transition: all 0.2s;
}

.filter-chip:hover,
.floor-chip:hover {
  background: hsl(0, 0%, 96%);
}

.filter-chip.active {
  background: var(--primary);
  color: var(--primary-fg);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.floor-chip.active {
  background: var(--fg);
  color: var(--primary-fg);
}

.store-count {
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}

.store-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .store-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .store-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* @media (min-width: 1280px) {
  .store-grid {
    grid-template-columns: repeat(4, 1fr);
  }
} */

.store-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.2s;
  cursor: pointer;
}

.store-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.store-card.hidden {
  display: none;
}

.store-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.store-initial {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--fg);
}

.store-floor-badge {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg-muted);
  background: var(--bg-secondary);
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
}

.store-card-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--fg);
  margin-bottom: 0.25rem;
  transition: color 0.2s;
}

.store-card:hover .store-card-name {
  color: var(--primary);
}

.store-card-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
}

.store-category-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: hsla(330, 68%, 50%, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
}

.store-empty {
  text-align: center;
  padding: 5rem 0;
}

.store-empty p {
  color: var(--fg-muted);
  font-size: 1.125rem;
}

.reset-filters-btn {
  margin-top: 1rem;
  color: var(--primary);
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
}

.reset-filters-btn:hover {
  text-decoration: underline;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--fg);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-logo {
  height: 3rem;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

.footer-about {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social { display: flex; gap: .75rem; margin-top: 1.25rem; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.8);
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: var(--primary); color: #fff; }

.footer-heading {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.8125rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: #fff;
}

/* ---------- Focus states ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}


/* ═══ Campaign Popup ═══ */
.campaign-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 37, 42, 0.4);
  backdrop-filter: blur(4px);
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.campaign-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.campaign-popup {
  position: relative;
  background: var(--card);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.2);
  max-width: 28rem;
  width: 100%;
  transform: scale(0.92) translateY(1.5rem);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.campaign-overlay.is-open .campaign-popup {
  transform: scale(1) translateY(0);
}

/* .campaign-popup__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  padding: 0.375rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  color: var(--foreground);
} */

.campaign-popup__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;

  width: 32px;
  height: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  color: var(--foreground);
}

.campaign-popup__close:hover {
  background: var(--background);
}

.campaign-slide__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

.campaign-slide__body {
  padding: 1.5rem;
}

.campaign-slide__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.campaign-slide__desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

/* .campaign-popup__arrow {
  position: absolute;
  top: 22%;
  transform: translateY(-50%);
  padding: 0.375rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.7);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  color: var(--foreground);
  z-index: 5;
} */

.campaign-popup__arrow {
    position: absolute;
    top: 22%;
    transform: translateY(-50%);
    
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    color: var(--foreground);
    z-index: 5;
}

.campaign-popup__arrow:hover {
  background: var(--background);
}

.campaign-popup__arrow--prev {
  left: 0.5rem;
}

.campaign-popup__arrow--next {
  right: 0.5rem;
}

.campaign-popup__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0 1.5rem 1.25rem;
}

.campaign-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}

.campaign-dot.active {
  background: var(--primary);
}

/* Floating campaign widget */
.campaign-widget {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px -5px rgba(139, 34, 82, 0.3);
  transition: transform 0.2s;
}

.campaign-widget:hover {
  transform: scale(1.1);
}

.campaign-widget.is-hidden {
  display: none;
}

.campaign-widget__badge {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: #22252a;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-popup{
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ============ PAGINATION ============ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  flex-wrap: wrap;
  padding: 3rem 0 1rem;
}

.section-gap-sm {
  margin-top: 2.5rem;
}

/* Base pill — mirrors .filter-chip */
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.875rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--bg-secondary);
  color: var(--fg);
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  line-height: 1;
}

.pagination a.page-numbers:hover {
  background: hsl(0, 0%, 93%);
  color: var(--primary);
}

/* Current page — mirrors .filter-chip.active */
.pagination .page-numbers.current {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 10px -2px rgba(141, 14, 87, 0.4);
}

/* Ellipsis — no interactivity */
.pagination .page-numbers.dots {
  background: transparent;
  border-color: transparent;
  color: var(--fg-muted);
  pointer-events: none;
  min-width: auto;
  padding: 0 0.25rem;
}

/* Prev / Next — mirrors .btn outline style */
.pagination a.prev.page-numbers,
.pagination a.next.page-numbers {
  background: transparent;
  border-color: var(--border);
  color: var(--fg);
  font-weight: 600;
  padding: 0 1.25rem;
}

.pagination a.prev.page-numbers:hover,
.pagination a.next.page-numbers:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}