/* ===========================================================
   HaleXport.com -- Main Stylesheet
   Design: Neo-JDM Futurism (2030 aesthetic)
   Palette derived from logo: teal, deep navy, warm orange, cream
   =========================================================== */

/* --- FONT FACES ---------------------------------------- */
@font-face {
  font-family: 'Bebas Neue';
  src: url('/fonts/bebas-neue-regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('/fonts/space-mono-regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('/fonts/space-mono-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Sans JP';
  src: url('/fonts/noto-sans-jp-regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

/* --- CSS VARIABLES ------------------------------------- */
:root {
  /* Logo-derived palette */
  --teal:           #5AAFA6;
  --teal-light:     #7ECEC6;
  --teal-dark:      #3D8A82;
  --teal-bg:        #E8F5F3;
  --navy:           #1A3A5C;
  --navy-deep:      #0F2440;
  --navy-mid:       #264A6E;
  --orange:         #E8842A;
  --orange-light:   #F5A54A;
  --orange-hot:     #FF6B1A;
  --cream:          #F0E8D8;
  --cream-light:    #FAF6EE;
  --cream-dark:     #D4C9B5;

  /* Semantic */
  --bg-primary:     #0C1A2A;
  --bg-secondary:   #112236;
  --bg-card:        #162B42;
  --bg-card-hover:  #1B3350;
  --text-primary:   #F0E8D8;
  --text-secondary: #9BB0C4;
  --text-muted:     #5E7A92;
  --accent:         var(--orange);
  --accent-hover:   var(--orange-hot);
  --success:        #4ADE80;
  --sold-red:       #EF4444;

  /* Typography */
  --font-display:   'Bebas Neue', sans-serif;
  --font-body:      'Space Mono', 'Noto Sans JP', monospace;
  --font-ui:        'DM Sans', 'Noto Sans JP', sans-serif;

  /* Spacing */
  --gap:            clamp(1rem, 3vw, 2rem);
  --gap-lg:         clamp(2rem, 5vw, 4rem);
  --radius:         8px;
  --radius-lg:      16px;

  /* Transitions */
  --ease-out:       cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-light); text-decoration: none; transition: color 0.3s var(--ease-out); }
a:hover { color: var(--orange); }

/* --- UTILITY CLASSES ----------------------------------- */
.container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 var(--gap);
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* --- ANIMATED BACKGROUND GRID -------------------------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(90,175,166,0.03) 1px, transparent 1px),
    linear-gradient(rgba(90,175,166,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* --- NOISE TEXTURE OVERLAY ----------------------------- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  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");
  pointer-events: none;
  z-index: 0;
}

/* Everything above the overlays */
body > * { position: relative; z-index: 1; }


/* ===========================================================
   NAVIGATION
   =========================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(12, 26, 42, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(90,175,166,0.12);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.site-nav.scrolled {
  background: rgba(12, 26, 42, 0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 var(--gap);
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--teal);
  transition: transform 0.3s var(--ease-spring);
}
.nav-logo:hover img { transform: rotate(-5deg) scale(1.05); }
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--cream);
}
.nav-logo-text span { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease-out);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--cream);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* WhatsApp CTA in nav */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff !important;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 100px;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,0.3);
  color: #fff !important;
}
.nav-cta svg { width: 18px; height: 18px; }

/* Hamburger for mobile */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: all 0.3s var(--ease-out);
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background: rgba(12, 26, 42, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
}


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

/* Animated gradient background */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(90,175,166,0.15), transparent),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(232,132,42,0.08), transparent),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--navy-deep) 100%);
}

/* Decorative Fuji silhouette */
.hero-fuji {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  max-width: 1600px;
  opacity: 0.06;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 var(--gap);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: center;
}

.hero-text { animation: fadeSlideUp 1s var(--ease-out) both; }

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(90,175,166,0.12);
  border: 1px solid rgba(90,175,166,0.25);
  border-radius: 100px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 1.5rem;
}
.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.hero h1 .accent { color: var(--orange); }
.hero h1 .teal { color: var(--teal-light); }

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 2rem;
}

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

/* Logo display in hero */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeSlideUp 1s 0.3s var(--ease-out) both;
}
.hero-visual img {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.4));
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-visual img { max-width: 320px; }
}


/* ===========================================================
   BUTTONS
   =========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-hot));
  color: #fff;
  box-shadow: 0 4px 20px rgba(232,132,42,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232,132,42,0.4);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--teal-light);
  border: 2px solid var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: var(--navy-deep);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.25);
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.35);
  color: #fff;
}

.btn-sold {
  background: var(--sold-red);
  color: #fff;
  pointer-events: none;
  opacity: 0.9;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.78rem;
}


/* ===========================================================
   SECTION STYLING
   =========================================================== */
.section {
  padding: var(--gap-lg) 0;
}
.section-header {
  text-align: center;
  margin-bottom: var(--gap-lg);
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0.06em;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.section-header p {
  font-family: var(--font-ui);
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
}
.section-header .accent-line {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--orange);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* Alternating section bg */
.section-alt {
  background: var(--bg-secondary);
}


/* ===========================================================
   VEHICLE CARDS GRID
   =========================================================== */
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--gap);
}

.vehicle-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(90,175,166,0.08);
  transition: all 0.4s var(--ease-out);
  position: relative;
}
.vehicle-card:hover {
  transform: translateY(-6px);
  border-color: rgba(90,175,166,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(90,175,166,0.1);
}

.vehicle-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.vehicle-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.vehicle-card:hover .vehicle-card-img img {
  transform: scale(1.05);
}

/* Badges */
.badge {
  position: absolute;
  top: 12px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  z-index: 2;
}
.badge-4wd {
  left: 12px;
  background: var(--teal);
  color: var(--navy-deep);
}
.badge-dump {
  left: 80px;
  background: var(--navy-mid);
  color: var(--cream);
}
.badge-sold {
  right: 12px;
  background: var(--sold-red);
  color: #fff;
  font-size: 0.85rem;
  padding: 6px 18px;
}
.badge-new {
  right: 12px;
  background: var(--orange);
  color: #fff;
}

/* Sold overlay */
.vehicle-card.sold .vehicle-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.vehicle-card-body {
  padding: 1.25rem;
}
.vehicle-card-title {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.vehicle-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.vehicle-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.vehicle-card-meta svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

.vehicle-card-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--orange);
  letter-spacing: 0.02em;
}
.vehicle-card-price.tbd {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.vehicle-card-footer {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}


/* ===========================================================
   VEHICLE DETAIL PAGE
   =========================================================== */
.vehicle-detail {
  padding-top: calc(72px + var(--gap-lg));
}
.vehicle-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--gap-lg);
  align-items: start;
}
@media (max-width: 900px) {
  .vehicle-detail-grid { grid-template-columns: 1fr; }
}

.vehicle-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.vehicle-gallery .swiper-slide img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.vehicle-info h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.04em;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.vehicle-info .price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

.vehicle-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 0.85rem;
}
.spec-item .label { color: var(--text-muted); }
.spec-item .value { color: var(--cream); font-weight: 600; }


/* ===========================================================
   INFO STRIPS (features/trust section)
   =========================================================== */
.info-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap);
}
.info-card {
  padding: 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(90,175,166,0.08);
  text-align: center;
  transition: border-color 0.3s;
}
.info-card:hover {
  border-color: rgba(90,175,166,0.2);
}
.info-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(90,175,166,0.1);
  border-radius: 50%;
  color: var(--teal-light);
}
.info-card-icon svg { width: 28px; height: 28px; }
.info-card h3 {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.info-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ===========================================================
   CONTACT / FORMS
   =========================================================== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid rgba(90,175,166,0.15);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(90,175,166,0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239BB0C4' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Checkbox styling */
.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.form-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--teal);
  cursor: pointer;
}

.contact-info-sidebar {
  padding: 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(90,175,166,0.08);
}
.contact-info-sidebar h3 {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--teal-light);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-item a {
  color: var(--teal-light);
}
.contact-item strong {
  color: var(--cream);
  display: block;
  margin-bottom: 2px;
}
.contact-preferred {
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.2);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.contact-preferred .label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #25D366;
  margin-bottom: 4px;
}


/* ===========================================================
   ABOUT PAGE
   =========================================================== */
.about-hero {
  text-align: center;
  padding: calc(72px + var(--gap-lg)) 0 var(--gap-lg);
}
.about-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-secondary);
}
.about-content p {
  margin-bottom: 1.5rem;
}
.about-content strong {
  color: var(--cream);
}


/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(90,175,166,0.08);
  padding: var(--gap-lg) 0 2rem;
  margin-top: var(--gap-lg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--gap-lg);
  margin-bottom: 3rem;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand p {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--teal-light); }

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(90,175,166,0.1);
  color: var(--text-muted);
  transition: all 0.3s var(--ease-spring);
}
.footer-social a:hover {
  background: var(--teal);
  color: var(--navy-deep);
  transform: translateY(-3px);
}
.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(90,175,166,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-bottom a {
  color: var(--text-muted);
}
.footer-bottom a:hover {
  color: var(--teal-light);
}


/* ===========================================================
   LEGAL PAGES (Terms, Privacy)
   =========================================================== */
.legal-page {
  padding-top: calc(72px + var(--gap-lg));
  padding-bottom: var(--gap-lg);
}
.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.legal-page .date {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.legal-content {
  max-width: 800px;
}
.legal-content h2 {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--cream);
  margin: 2rem 0 0.75rem;
}
.legal-content p,
.legal-content li {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}


/* ===========================================================
   ADMIN PAGES
   =========================================================== */
.admin-page {
  padding-top: calc(72px + 2rem);
  min-height: 100vh;
}
.admin-page h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--cream);
  margin-bottom: 2rem;
}
.admin-form {
  max-width: 800px;
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(90,175,166,0.08);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-ui);
  font-size: 0.85rem;
}
.admin-table th {
  text-align: left;
  padding: 12px 16px;
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(90,175,166,0.06);
  color: var(--text-secondary);
}
.admin-table tr:hover td {
  background: var(--bg-card-hover);
}


/* ===========================================================
   SCROLLBAR
   =========================================================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: var(--navy-mid);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--teal-dark); }

/* --- PAGE TRANSITIONS ---------------------------------- */
.fade-in {
  animation: fadeIn 0.6s var(--ease-out) both;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Stagger children */
.stagger > * {
  animation: fadeSlideUp 0.6s var(--ease-out) both;
}
.stagger > *:nth-child(1) { animation-delay: 0.05s; }
.stagger > *:nth-child(2) { animation-delay: 0.1s; }
.stagger > *:nth-child(3) { animation-delay: 0.15s; }
.stagger > *:nth-child(4) { animation-delay: 0.2s; }
.stagger > *:nth-child(5) { animation-delay: 0.25s; }
.stagger > *:nth-child(6) { animation-delay: 0.3s; }
.stagger > *:nth-child(7) { animation-delay: 0.35s; }
.stagger > *:nth-child(8) { animation-delay: 0.4s; }
.stagger > *:nth-child(9) { animation-delay: 0.45s; }

/* --- TOAST / FLASH MESSAGES ---------------------------- */
.flash {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}
.flash-success {
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.3);
  color: var(--success);
}
.flash-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: var(--sold-red);
}

/* --- IMAGE UPLOAD DROPZONE ----------------------------- */
.dropzone {
  border: 2px dashed rgba(90,175,166,0.25);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-family: var(--font-ui);
  transition: all 0.3s;
  cursor: pointer;
}
.dropzone:hover,
.dropzone.dragover {
  border-color: var(--teal);
  background: rgba(90,175,166,0.05);
}
.dropzone input[type="file"] {
  display: none;
}
.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.image-preview-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid transparent;
}
.image-preview-grid img.featured {
  border-color: var(--orange);
}
