/* ============================================
   CityKids Shoes — citykids.com.sg
   Clean minimal, warm neutral palette
   ============================================ */

:root {
  --bg: #faf9f7;
  --bg-alt: #f3f1ed;
  --text: #2d2926;
  --text-light: #6b6560;
  --accent: #c4a882;
  --accent-dark: #a8885e;
  --white: #ffffff;
  --radius: 12px;
  --max-w: 1120px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ---------- Navigation ---------- */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color 0.2s;
}

nav a:hover {
  color: var(--text);
}

/* ---------- Sections ---------- */

section {
  padding: 5rem 1.5rem;
}

section:nth-child(even) {
  background: var(--bg-alt);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 640px;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ---------- Hero / About ---------- */

.hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-logo {
  margin-bottom: 2rem;
}

.hero-logo img {
  width: 100%;
  max-width: 220px;
}

.hero-text h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-text h1 strong {
  color: var(--accent-dark);
}

.hero-text p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-text a.shop-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 500;
  color: var(--accent-dark);
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 2px;
}

.hero-text a.shop-link:hover {
  color: var(--text);
  border-color: var(--text);
}

/* ---------- Mission ---------- */

.mission {
  text-align: center;
}

.mission .section-subtitle {
  margin: 0 auto;
  max-width: 640px;
  font-size: 1.1rem;
}

/* ---------- Brands ---------- */

.brand-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s;
}

.brand-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.brand-card:nth-child(even) {
  direction: rtl;
}

.brand-card:nth-child(even) > * {
  direction: ltr;
}

.brand-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.brand-origin {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-dark);
  margin-bottom: 1rem;
}

.brand-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.75;
}

.brand-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.brand-images img {
  border-radius: 8px;
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  background: var(--bg-alt);
}

/* ---------- Stores ---------- */

.stores-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.store-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.store-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.store-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0.5rem;
}

.store-card .label {
  font-weight: 500;
  color: var(--text);
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.online-note {
  text-align: center;
  color: var(--text-light);
  font-size: 1rem;
  margin-top: 1rem;
}

.online-note a {
  font-weight: 500;
}

/* ---------- Contact ---------- */

.contact {
  text-align: center;
}

.contact-details {
  max-width: 480px;
  margin: 0 auto;
}

.contact-details p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.contact-details .label {
  font-weight: 500;
  color: var(--text);
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-details a {
  font-weight: 500;
}

/* ---------- Footer ---------- */

footer {
  text-align: center;
  padding: 2rem 1.5rem;
  color: var(--text-light);
  font-size: 0.8rem;
  background: var(--bg-alt);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
  nav ul {
    gap: 1rem;
    padding: 1rem;
    flex-wrap: wrap;
  }

  nav a {
    font-size: 0.8rem;
  }

  section {
    padding: 3.5rem 1.25rem;
  }

  .hero {
    padding-top: 6.5rem;
  }

  .hero-logo img {
    max-width: 180px;
  }

  .brand-card {
    grid-template-columns: 1fr;
    padding: 1.75rem;
    gap: 1.5rem;
  }

  .brand-card:nth-child(even) {
    direction: ltr;
  }

  .stores-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  nav ul {
    gap: 0.6rem;
    justify-content: center;
  }

  nav a {
    font-size: 0.75rem;
    letter-spacing: 0.02em;
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .brand-card {
    padding: 1.25rem;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .brand-images {
    gap: 0.5rem;
  }
}
