/* ============================================================
   FOOTHILS SPORTSWEAR CO — MASTER STYLESHEET
   Cream / Warm Brown Athletic Theme
   ============================================================ */

:root {
  --cream:     #FAF7F2;
  --parchment: #F0E8DC;
  --card:      #FFFFFF;
  --card-h:    #FEF9F4;
  --brown:     #7C5230;
  --tan:       #B8895A;
  --sand:      #D4A878;
  --dark:      #231508;
  --text:      #3D2A18;
  --muted:     #8A7060;
  --border:    rgba(124,82,48,0.15);
  --star:      #D97706;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html   { scroll-behavior: smooth; overflow-x: hidden; }
body   { background: var(--cream); color: var(--text); font-family: 'Inter', sans-serif; overflow-x: hidden; }
img    { display: block; max-width: 100%; }
a      { text-decoration: none; }

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar            { width: 5px; }
::-webkit-scrollbar-track      { background: var(--parchment); }
::-webkit-scrollbar-thumb      { background: var(--tan); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover{ background: var(--brown); }

/* ── Typography ───────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6,.font-heading {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  color: var(--dark);
}

/* ── Gradient Text ────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--brown) 0%, var(--sand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--brown);
  color: #FFFFFF;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 36px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  background: var(--tan);
  box-shadow: 0 6px 24px rgba(124,82,48,0.3);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--brown);
  border: 2px solid var(--brown);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 11px 34px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-outline:hover {
  background: var(--brown);
  color: #FFFFFF;
}

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,247,242,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-link {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--brown); }

#mobile-menu a {
  display: block;
  padding: 10px 20px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
#mobile-menu a:hover { color: var(--brown); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 6rem 1.5rem 4rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 12s ease;
}
.hero-section:hover .hero-bg { transform: scale(1.0); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(250,247,242,0.82) 0%, rgba(240,232,220,0.65) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 800px; margin: 0 auto;
}
.hero-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 1;
  color: var(--dark);
  margin-bottom: 1.5rem;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ── Announce Bar ─────────────────────────────────────────── */
.announce-bar {
  background: var(--brown);
  color: #FFFFFF;
  text-align: center;
  padding: 10px 16px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* ── Section ──────────────────────────────────────────────── */
.section-heading {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.05;
}
.section-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.75rem;
  line-height: 1.7;
}
.section-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 0.75rem;
}

/* ── Category Card ────────────────────────────────────────── */
.cat-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--card);
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(60,30,10,0.07);
}
.cat-card img {
  width: 100%; height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cat-card:hover img { transform: scale(1.06); }
.cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(35,21,8,0.75) 0%, transparent 55%);
  display: flex; align-items: flex-end;
  padding: 1.5rem;
}
.cat-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.cat-count {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
}

/* ── Product Card ─────────────────────────────────────────── */
.product-card {
  background: var(--card);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(60,30,10,0.07);
  transition: box-shadow 0.3s, transform 0.3s;
  border: 1px solid var(--border);
}
.product-card:hover {
  box-shadow: 0 8px 32px rgba(124,82,48,0.15);
  transform: translateY(-3px);
}

/* ── Image Gallery ────────────────────────────────────────── */
.gallery-wrap {
  position: relative;
  overflow: hidden;
}
.g-img {
  display: none;
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: opacity 0.3s;
}
.g-img.active { display: block; }
.g-nav {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 8px 0 2px;
  background: var(--card);
}
.g-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--parchment);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}
.g-dot.active {
  background: var(--brown);
  border-color: var(--brown);
}
.g-dot:hover { background: var(--tan); border-color: var(--tan); }

/* Gallery prev/next arrows */
.g-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(250,247,242,0.85);
  color: var(--brown);
  border: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  line-height: 1;
}
.g-arrow.prev { left: 8px; }
.g-arrow.next { right: 8px; }
.gallery-wrap:hover .g-arrow { opacity: 1; }
.g-arrow:hover { background: var(--brown); color: #fff; }

/* ── Badge ────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  background: var(--brown);
  color: #FFFFFF;
}
.badge-hot { background: #DC2626; }
.badge-sale { background: #B45309; }
.badge-new { background: #059669; }

/* ── Stars ────────────────────────────────────────────────── */
.stars { color: var(--star); }

/* ── Add to Cart btn ──────────────────────────────────────── */
.btn-cart {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 3px;
  background: var(--brown);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-cart:hover {
  background: var(--tan);
  transform: translateY(-1px);
}

/* ── Filter Sidebar ───────────────────────────────────────── */
.filter-sidebar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
}
.filter-heading {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.75rem;
}
.filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 7px;
  cursor: pointer;
  transition: color 0.2s;
}
.filter-check:hover { color: var(--brown); }
.filter-check input { accent-color: var(--brown); cursor: pointer; }

.size-btn {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 3px;
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.size-btn:hover, .size-btn.active {
  border-color: var(--brown);
  background: var(--brown);
  color: #fff;
}

.color-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.color-dot.active, .color-dot:hover {
  border-color: var(--brown);
  transform: scale(1.15);
}

input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: var(--parchment);
  border-radius: 2px;
  outline: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--brown);
  cursor: pointer;
}

/* ── Page Banner ──────────────────────────────────────────── */
.page-banner {
  position: relative;
  height: 280px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  margin-top: 64px;
  overflow: hidden;
}
@media (min-width:768px){ .page-banner { margin-top: 80px; } }
.page-banner-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.page-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(250,247,242,0.85) 0%, rgba(240,232,220,0.7) 100%);
}
.page-banner-content { position: relative; z-index: 2; }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb { font-size: 0.8rem; color: var(--muted); }
.breadcrumb a { color: var(--brown); }
.breadcrumb .sep { margin: 0 6px; }
.breadcrumb .cur { color: var(--dark); }

/* ── Feature / Info Cards ─────────────────────────────────── */
.feat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
}
.feat-card:hover {
  box-shadow: 0 6px 24px rgba(124,82,48,0.12);
  transform: translateY(-3px);
}
.feat-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--parchment);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.4rem;
  color: var(--brown);
}

/* ── Testimonial Card ─────────────────────────────────────── */
.testi-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
  transition: box-shadow 0.3s;
}
.testi-card:hover { box-shadow: 0 6px 24px rgba(124,82,48,0.1); }

/* ── Newsletter ───────────────────────────────────────────── */
.newsletter-section {
  background: var(--brown);
  padding: 4rem 1.5rem;
  text-align: center;
}
.newsletter-input {
  width: 100%;
  max-width: 380px;
  padding: 13px 20px;
  border-radius: 3px;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-input:focus { border-color: var(--sand); }

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 1.5rem 2rem;
}
footer h4 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
}
footer a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: color 0.2s;
}
footer a:hover { color: var(--sand); }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
  font-size: 0.9rem;
}
.footer-social a:hover {
  background: var(--brown);
  color: #fff;
}

/* ── Promo Banner ─────────────────────────────────────────── */
.promo-banner {
  background: linear-gradient(135deg, var(--brown) 0%, var(--tan) 100%);
  border-radius: 8px;
  padding: 3rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
  overflow: hidden;
  position: relative;
}
.promo-banner::before {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

/* ── Contact Form ─────────────────────────────────────────── */
.contact-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-input:focus {
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(124,82,48,0.1);
}
.contact-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

/* ── About Page ───────────────────────────────────────────── */
.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  transition: box-shadow 0.3s;
}
.value-card:hover { box-shadow: 0 6px 24px rgba(124,82,48,0.12); }
.value-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--sand);
  margin-bottom: 0.25rem;
}

/* ── Utility ──────────────────────────────────────────────── */
.divider {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 0;
}
.bg-parchment { background: var(--parchment); }
.text-brown   { color: var(--brown); }
.text-tan     { color: var(--tan); }
.text-muted   { color: var(--muted); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-section { min-height: 80vh; }
  .hero-title { font-size: 3rem; }
  .g-img { height: 220px; }
  .cat-card img { height: 200px; }
}
