@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:     #1e3d4a;
  --primary-lt:  #2a5364;
  --cream:       #f7f3ed;
  --warm-gray:   #6b6b6b;
  --text-dark:   #1e1e1e;
  --text-light:  #faf6f0;
  --accent:      #d4946a;
  --accent-hover:#c07d52;
  --shadow:      0 4px 24px rgba(30, 61, 74, 0.10);
  --radius:      16px;
  --font-heading: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body:    'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
}

/* ===== TOP NAV BAR ===== */
nav.top-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(247, 243, 237, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(30, 61, 74, 0.06);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav.top-bar .logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
  text-decoration: none;
}
nav.top-bar .logo span { color: var(--accent); }

nav.top-bar .tagline {
  font-size: 0.8rem;
  color: var(--warm-gray);
  display: none;
}
@media (min-width: 640px) { nav.top-bar .tagline { display: block; } }

/* ===== HERO NAV ===== */
.hero-nav {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  position: relative;
}

.hero-nav a {
  text-decoration: none;
  color: rgba(250, 246, 240, 0.7);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.hero-nav a:hover,
.hero-nav a.active {
  background: rgba(212, 148, 106, 0.2);
  color: var(--accent);
}

/* ===== HERO ===== */
.hero {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 60px;
  background: linear-gradient(160deg, var(--primary) 0%, #2a5364 40%, #35687a 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -15%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212, 148, 106, 0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -25%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212, 148, 106, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.02em;
  line-height: 1.15;
  position: relative;
}

.hero h1 span { color: var(--accent); }

.hero p {
  max-width: 560px;
  margin-top: 16px;
  font-size: 1.05rem;
  color: rgba(250, 246, 240, 0.8);
  line-height: 1.7;
  position: relative;
}

.hero .sub-brand {
  margin-top: 24px;
  display: inline-block;
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(212, 148, 106, 0.15);
  border: 1px solid rgba(212, 148, 106, 0.25);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.3px;
  position: relative;
}

/* ===== SECTION COMMON ===== */
section { padding: 80px 24px; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

.section-header p {
  margin-top: 12px;
  color: var(--warm-gray);
  font-size: 1rem;
  line-height: 1.7;
}

.section-header .badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  background: rgba(212, 148, 106, 0.12);
  color: var(--accent-hover);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1140px;
  margin: 0 auto;
}

.product-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(30, 61, 74, 0.14);
}

.product-card .image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 24px 28px;
  height: 210px;
}

.product-card .image-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.product-card:hover .image-wrap img {
  transform: scale(1.08);
}

.product-card .body {
  padding: 0 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card .body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.3;
}

.product-card .body .subtitle {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-hover);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.product-card .body p {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--warm-gray);
  line-height: 1.6;
  flex: 1;
}

.product-card .body .price {
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.product-card .body .btn-shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 11px 24px;
  border-radius: 100px;
  background: var(--primary);
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  gap: 8px;
  border: none;
  cursor: pointer;
}

.product-card .body .btn-shop:hover {
  background: var(--primary-lt);
  transform: scale(1.02);
}

.product-card .body .btn-shop svg {
  width: 15px; height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== PASTEL CARD BACKGROUNDS ===== */
.card-0  .image-wrap { background: #fde8e8; } /* soft blush  */
.card-1  .image-wrap { background: #ede4f3; } /* soft lavender */
.card-2  .image-wrap { background: #fde8d8; } /* soft peach */
.card-3  .image-wrap { background: #ddf0ea; } /* soft mint */
.card-4  .image-wrap { background: #ddeef5; } /* soft sky */
.card-5  .image-wrap { background: #faf0d8; } /* soft butter */
.card-6  .image-wrap { background: #f5e0e8; } /* soft rose */
.card-7  .image-wrap { background: #e0ede0; } /* soft sage */
.card-8  .image-wrap { background: #f5e4dc; } /* soft coral */
.card-9  .image-wrap { background: #ece0f0; } /* soft lilac */
.card-10 .image-wrap { background: #dcecf5; } /* soft baby blue */
.card-11 .image-wrap { background: #f5f0dc; } /* soft cream */
.card-12 .image-wrap { background: #f0e4ec; } /* soft plum */
.card-13 .image-wrap { background: #d8f0e8; } /* soft seafoam */
.card-14 .image-wrap { background: #f5e8d8; } /* soft apricot */
.card-15 .image-wrap { background: #e8f0f5; } /* soft powder blue */
.card-16 .image-wrap { background: #f5ede8; } /* soft cinnamon */
.card-17 .image-wrap { background: #eef5e8; } /* soft pistachio */
.card-18 .image-wrap { background: #f5eef0; } /* soft blush pink */
.card-19 .image-wrap { background: #e8f5f0; } /* soft aqua */
.card-20 .image-wrap { background: #f5f0e8; } /* soft sand */

/* ===== PHILOSOPHY ===== */
.philosophy {
  background: var(--primary);
  color: var(--text-light);
}

.philosophy .section-header h2 { color: var(--text-light); }
.philosophy .section-header p { color: rgba(250, 246, 240, 0.75); }
.philosophy .section-header .badge {
  background: rgba(212, 148, 106, 0.2);
  color: var(--accent);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-grid .item {
  padding: 24px 16px;
}

.philosophy-grid .item .icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(212, 148, 106, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.philosophy-grid .item .icon svg {
  width: 26px; height: 26px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.philosophy-grid .item h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--text-light);
}

.philosophy-grid .item p {
  font-size: 0.85rem;
  color: rgba(250, 246, 240, 0.7);
  line-height: 1.6;
}

/* ===== BRAND BANNER ===== */
.brand-banner {
  text-align: center;
  padding: 56px 24px;
  background: #f0eae2;
}

.brand-banner p {
  font-size: 0.95rem;
  color: var(--warm-gray);
  max-width: 600px;
  margin: 0 auto;
}

.brand-banner a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.brand-banner a:hover { border-bottom-color: var(--primary); }

.brand-banner .btn-outline {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 32px;
  border-radius: 100px;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.brand-banner .btn-outline:hover {
  background: var(--primary);
  color: var(--text-light);
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: rgba(250, 246, 240, 0.7);
  text-align: center;
  padding: 32px 24px;
  font-size: 0.85rem;
}

footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .philosophy-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-nav a { font-size: 0.76rem; padding: 6px 12px; }
}

@media (max-width: 560px) {
  .hero { min-height: 40vh; padding: 100px 20px 50px; }
  .hero h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  section { padding: 60px 20px; }
  .product-grid { grid-template-columns: 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .hero-nav a { font-size: 0.72rem; padding: 5px 10px; }
}
