/* ==========================================================================
   Kids Cargo — Cape Cod toy store
   Fonts: Baloo 2 (display/headings) + Nunito Sans (body)
   Palette: teal + coral + sunshine yellow, cream background
   ========================================================================== */

:root {
  --teal: #0f7a75;
  --teal-dark: #0a5652;
  --coral: #ff6b52;
  --coral-dark: #e5503a;
  --yellow: #ffc94a;
  --cream: #fff8ec;
  --cream-alt: #fdf1de;
  --ink: #26333a;
  --ink-soft: #56636a;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background-color: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.font-display {
  font-family: 'Baloo 2', 'Nunito Sans', sans-serif;
  font-weight: 700;
}

a {
  color: var(--teal);
}

a:hover {
  color: var(--coral);
}

.section-eyebrow {
  display: inline-block;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--coral-dark);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--teal-dark);
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 640px;
}

.bg-cream-alt {
  background-color: var(--cream-alt);
}

.btn-coral {
  background-color: var(--coral);
  border-color: var(--coral);
  color: #fff;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  padding: 0.7rem 1.75rem;
  border-radius: 50px;
  box-shadow: 0 6px 18px rgba(255, 107, 82, 0.35);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn-coral:hover {
  background-color: var(--coral-dark);
  border-color: var(--coral-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-teal {
  background-color: transparent;
  border: 2px solid var(--teal);
  color: var(--teal);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  padding: 0.65rem 1.75rem;
  border-radius: 50px;
  transition: all 0.15s ease;
}

.btn-outline-teal:hover {
  background-color: var(--teal);
  color: #fff;
}

.btn-outline-light-pill {
  background-color: rgba(255, 255, 255, 0.15);
  border: 2px solid #fff;
  color: #fff;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  padding: 0.65rem 1.75rem;
  border-radius: 50px;
  backdrop-filter: blur(4px);
  transition: all 0.15s ease;
}

.btn-outline-light-pill:hover {
  background-color: #fff;
  color: var(--teal-dark);
}

/* ---------- Navbar ---------- */
.navbar-kc {
  background-color: rgba(255, 248, 236, 0.97);
  box-shadow: 0 2px 12px rgba(15, 122, 117, 0.08);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.navbar-brand-kc {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--teal-dark) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand-kc .brand-dot {
  color: var(--coral);
}

.navbar-kc .nav-link {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  color: var(--ink) !important;
  margin: 0 0.35rem;
}

.navbar-kc .nav-link:hover {
  color: var(--coral) !important;
}

.navbar-kc .btn-coral {
  padding: 0.5rem 1.3rem;
  font-size: 0.95rem;
}

/* ---------- Hero (duotone / color-wash) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/hero.webp') center/cover no-repeat;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 65% at 50% 48%, rgba(15, 40, 38, 0.45) 0%, rgba(15, 40, 38, 0.10) 100%),
              linear-gradient(to bottom, rgba(15, 86, 82, 0.35) 0%, rgba(255, 107, 82, 0.18) 45%, rgba(10, 40, 38, 0.55) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 2.5rem 2rem;
  margin: 0 1rem;
  background: rgba(10, 40, 38, 0.22);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 24px;
}

.hero-eyebrow {
  color: var(--yellow);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.hero-title {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1.05;
  margin: 0.5rem 0 0.75rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}

.hero-subtitle {
  color: #fff;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 600;
  margin-bottom: 0.4rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}

.hero-tagline {
  color: #ffe9c7;
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- About ---------- */
.about-photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 122, 117, 0.2);
}

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

.about-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.about-stat {
  background: var(--white);
  border-radius: 14px;
  padding: 1rem 1.3rem;
  box-shadow: 0 6px 16px rgba(15, 122, 117, 0.1);
  min-width: 140px;
}

.about-stat .num {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--coral);
  display: block;
}

.about-stat .label {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- Departments ---------- */
.dept-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 8px 22px rgba(38, 51, 58, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dept-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(38, 51, 58, 0.14);
}

.dept-card-photo {
  height: 190px;
  overflow: hidden;
}

.dept-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dept-card-icon {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  color: #fff;
}

.dept-card-body {
  padding: 1.1rem 1.2rem 1.3rem;
}

.dept-card-body h3 {
  font-size: 1.05rem;
  color: var(--teal-dark);
  margin-bottom: 0.25rem;
}

.dept-card-body p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.dept-icon-teal { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); }
.dept-icon-coral { background: linear-gradient(135deg, var(--coral), var(--coral-dark)); }
.dept-icon-yellow { background: linear-gradient(135deg, #ffd975, var(--yellow)); color: var(--ink); }

/* ---------- Featured products ---------- */
.feat-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 8px 22px rgba(38, 51, 58, 0.08);
}

.feat-card-media {
  height: 170px;
  overflow: hidden;
}

.feat-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feat-card-media.icon-only {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #fff;
}

.feat-card-body {
  padding: 1rem 1.15rem 1.2rem;
}

.feat-card-body h3 {
  font-size: 1rem;
  color: var(--teal-dark);
  margin-bottom: 0.2rem;
}

.feat-card-body p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.feat-price {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  color: var(--coral);
  font-size: 1.05rem;
}

.feat-price.tbd {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Nunito Sans', sans-serif;
  font-style: italic;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cream-alt);
  border: 1px dashed var(--coral);
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
  color: var(--coral-dark);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 1.5rem;
}

/* ---------- Gallery ---------- */
.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  height: 260px;
  box-shadow: 0 8px 20px rgba(38, 51, 58, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* ---------- Location / Contact ---------- */
.location-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(15, 122, 117, 0.1);
  height: 100%;
}

.location-card h3 {
  color: var(--teal-dark);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.hours-table {
  width: 100%;
  font-size: 0.95rem;
}

.hours-table td {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--cream-alt);
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--teal-dark);
}

.hours-table tr.closed td:last-child {
  color: var(--coral);
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  font-size: 1rem;
}

.contact-line i {
  color: var(--coral);
  font-size: 1.15rem;
  width: 1.4rem;
  text-align: center;
}

.map-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 122, 117, 0.15);
  height: 100%;
  min-height: 320px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* ---------- Footer ---------- */
.footer-kc {
  background: var(--teal-dark);
  color: #d7ece9;
  padding: 3.5rem 0 1.5rem;
}

.footer-kc h5 {
  font-family: 'Baloo 2', sans-serif;
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.footer-kc a {
  color: #d7ece9;
  text-decoration: none;
}

.footer-kc a:hover {
  color: var(--yellow);
}

.footer-brand {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  margin-right: 0.5rem;
  font-size: 1.1rem;
  transition: background 0.2s ease;
}

.social-icons a:hover {
  background: var(--coral);
  color: #fff;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.15);
  margin: 2rem 0 1.25rem;
}

.powered-by {
  font-size: 0.9rem;
  color: #a9d1cc;
}

.powered-by a {
  font-weight: 700;
  color: var(--yellow);
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 767.98px) {
  .hero {
    min-height: 92vh;
  }
  .hero-content {
    padding: 2rem 1.25rem;
  }
  .about-stats {
    justify-content: center;
  }
  .navbar-kc .btn-coral {
    display: none;
  }
}
