/* Extracted from index.html inline styles to unify design across pages */
/* RESET */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0b1120;
  color: #111827;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.5);
}
.header-inner {
  display: flex;
  justify-content: center;
  padding: 0.9rem 0.5rem;
}
nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.8rem;
  font-size: 0.9rem;
}
nav a {
  position: relative;
  color: #e5e7eb;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  padding: 0.15rem 0.4rem;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 1px;
  background: #facc15;
  transition: width 0.16s ease;
}
nav a:hover::after { width: 100%; }

@media (max-width: 640px) {
  nav { gap: 0.8rem; }
}

main { padding-bottom: 3rem; }

/* SECTION BACKGROUNDS (ALTERNATING) */
.section-light {
  background: #f5f5f7;
  color: #111827;
}
.section-dark {
  background: #020617;
  color: #e5e7eb;
}
.section-light .section-heading,
.section-light .section-subtitle { color: #111827; }
.section-dark .section-heading,
.section-dark .section-subtitle { color: #f9fafb; }
.section-light .section-intro { color: #4b5563; }
.section-dark .section-intro { color: #cbd5f5; }

section { padding: 3rem 0; }
.section-subtitle {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.2rem;
  opacity: 0.8;
}
.section-heading {
  font-size: 1.7rem;
  margin: 0 0 0.5rem;
}
.section-intro {
  max-width: 640px;
  font-size: 0.96rem;
}

/* HERO */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background-image: url("Assets/Home/hero.jpg");
  background-size: cover;
  background-position: center;
  color: #f9fafb;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 3.5rem 1.5rem 2.5rem;
  max-width: 720px;
  width: 100%;
}
.hero-center { margin-top: 1.5rem; }

.hero-logo-mark {
  width: 120px;
  height: auto;
  margin: 0 auto 1rem;
}
.hero-logo-text {
  font-family: "Audiowide", "Space Grotesk", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(1.38rem, 2.42vw, 1.96rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.hero-tagline {
  font-size: clamp(1.2rem, 2.1vw, 1.7rem);
  margin: 0;
  color: #fef9c3;
  text-shadow: 0 10px 30px rgba(0,0,0,0.9);
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    background-color 0.12s ease, color 0.12s ease, border-color 0.12s ease;
  text-decoration: none;
}
.btn-primary {
  background: #facc15;
  color: #111827;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.45);
}
.btn-secondary {
  background: transparent;
  color: #f9fafb;
  border-color: #facc15;
}
.btn-secondary:hover { background: rgba(250, 204, 21, 0.15); }

@media (max-width: 640px) {
  .hero-inner { padding-top: 4rem; }
}

/* GRID */
.grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.5rem;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* CHOOSE YOUR STORY */
.trail-card {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #f9fafb;
  display: flex;
  flex-direction: column;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.trail-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(15,23,42,0.18);
}
.trail-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}
.trail-body {
  padding: 0.9rem 1rem 1rem;
}
.trail-body h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
}
.trail-body p {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}
.section-dark .trail-card {
  background: #020617;
  border-color: rgba(148, 163, 184, 0.7);
}
.section-dark .trail-body p { color: #cbd5f5; }

/* CURATED FAVORITES */
.favorites-grid { gap: 0.8rem; }
.favorites-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0.6rem;
  object-fit: cover;
  background: linear-gradient(135deg, #1e293b, #0f172a);
}

/* STORE / FEATURED PRODUCTS */
.store-layout {
  display: grid;
  gap: 1.75rem;
  margin-top: 1.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .store-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  }
}
.store-image {
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: #000;
}

/* BACKSTORY */
.backstory-inner {
  max-width: 880px;
}

/* BLOG CARDS ON HOME */
.blog-card {
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(15,23,42,0.15);
}
.blog-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}
.blog-body {
  padding: 0.9rem 1rem 1rem;
}
.blog-meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
  margin-bottom: 0.4rem;
}
.blog-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: #111827;
}
.blog-body p {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

/* GET IN TOUCH */
.chat-layout {
  display: grid;
  gap: 1.75rem;
  margin-top: 1.5rem;
}
@media (min-width: 768px) {
  .chat-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  }
}
.map-placeholder {
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #020617;
  position: relative;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}
.map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.map-star {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #facc15;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.9);
  right: 15%;
  bottom: 20%;
}
form {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.5rem;
}
label {
  font-size: 0.8rem;
  opacity: 0.9;
  display: block;
  margin-bottom: 0.15rem;
}
input, textarea {
  width: 100%;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.55rem 0.65rem;
  background: #020617;
  color: #f9fafb;
  font: inherit;
}
textarea {
  min-height: 120px;
  resize: vertical;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #facc15;
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.6);
}

/* FOOTER */
footer {
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 2rem 0 1.5rem;
  font-size: 0.85rem;
  color: #4b5563;
}
.footer-top {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
}
.footer-brand-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.footer-cols {
  display: grid;
  gap: 1.75rem;
}
.footer-heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}
.footer-links, .footer-legal, .footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.footer-links a,
.footer-legal a,
.footer-social a {
  color: #000000;
}
.footer-links a:hover,
.footer-legal a:hover,
.footer-social a:hover {
  color: #333333;
}
.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding-top: 0.8rem;
  text-align: center;
  font-size: 0.8rem;
  color: #9ca3af;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1.4fr 2fr;
  }
  .footer-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
