/*
 * Shoebox Stories — Shared Stylesheet
 * Loaded by: index.html, pricing.html, schedule.html
 *
 * Contains: design tokens, reset, nav, buttons, labels,
 *           range slider, badge, footer.
 *
 * Page-specific styles live in each HTML file's <style> block.
 */

/* ─── Design Tokens ─────────────────────────────────────────── */
:root {
  --warm-white:   #FEFCFA;
  --brown:        #3D2B1F;
  --brown-light:  #6B4C3B;
  --blush:        #F2BBAD;
  --blush-dark:   #F0A896;
  --powder-blue:  #B8D4E8;
  --powder-dark:  #A3C6DE;
  --sand:         #E8D5C0;
  --dark-navy:    #2C3E50;
  --footer-bg:    #2A1F18;
  --gray-text:    #7A6B62;
  --coral-label:  #C97A66;
  --blue-label:   #4A87AD;
  --off-white:    #FFF5EE;
  --error-red:    #d97b6c;
  --shadow-warm:  rgba(61,43,31,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-white);
  color: var(--brown);
  line-height: 1.7;
  font-size: 16px;
}

/* ─── Navigation ────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background: var(--warm-white);
  border-bottom: 1.5px solid var(--sand);
  display: flex;
  align-items: center;
  padding: 0 60px;
  gap: 40px;
}

.nav-logo {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--brown);
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
  list-style: none;
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--brown);
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-links a:hover  { opacity: 0.6; }
.nav-links a.active { font-weight: 700; opacity: 1; }

.btn-nav {
  margin-left: auto;
  background: var(--blush);
  color: var(--brown);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(242,187,173,0.5);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-nav:hover {
  background: var(--blush-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(242,187,173,0.6);
}

@media (max-width: 767px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blush);
  color: var(--brown);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 17px;
  padding: 17px 48px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(242,187,173,0.5);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.btn-primary:hover:not(:disabled) {
  background: var(--blush-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(242,187,173,0.65);
}

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--powder-blue);
  color: var(--brown);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 17px;
  padding: 17px 48px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(184,212,232,0.5);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-secondary:hover {
  background: var(--powder-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(184,212,232,0.6);
}

/* ─── Section Labels / Overlines ────────────────────────────── */
.label {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.label-blush { background: var(--blush);        color: var(--coral-label); }
.label-blue  { background: var(--powder-blue);  color: var(--blue-label);  }
.label-dark  { background: rgba(255,255,255,0.12); color: var(--off-white); border: 1px solid rgba(255,255,255,0.2); }
.label-navy  { background: rgba(184,212,232,0.18); color: var(--powder-blue); }

/* ─── Spec / Feature Badges ─────────────────────────────────── */
.badge {
  background: var(--powder-blue);
  color: var(--brown);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 999px;
}

/* ─── Range Slider ──────────────────────────────────────────── */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  cursor: pointer;
  background: linear-gradient(
    to right,
    var(--blush) 0%,
    var(--blush) var(--fill, 0%),
    var(--sand)  var(--fill, 0%),
    var(--sand)  100%
  );
  border-radius: 999px;
  outline: none;
  transition: background 0.1s;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  background: var(--brown);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(61,43,31,0.3);
  transition: transform 0.15s;
}

input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }

input[type="range"]::-moz-range-thumb {
  width: 26px;
  height: 26px;
  background: var(--brown);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(61,43,31,0.3);
}

/* ─── Footer ────────────────────────────────────────────────── */
footer {
  background: var(--footer-bg);
  padding: 56px 60px 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-logo {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--off-white);
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  list-style: none;
}

.footer-links a {
  font-size: 15px;
  color: rgba(255,245,238,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 13px;
  color: rgba(255,245,238,0.4);
  text-decoration: none;
}

.footer-bottom a:hover { color: rgba(255,245,238,0.7); }

@media (max-width: 600px) {
  footer { padding: 48px 24px 36px; }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
