/* Cotton & Indigo — Artisan Textile Shop */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Karla:wght@300;400;500;600&display=swap');

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

:root {
  --indigo: #2C3E6B;
  --indigo-dark: #1A2744;
  --indigo-light: #4A6FA5;
  --cream: #FAF8F3;
  --warm-white: #FFFDF8;
  --linen: #F0EBE0;
  --copper: #B87333;
  --slate: #5A5A6E;
  --text: #2E2E38;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Karla', 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }

/* ---- HEADER / NAV ---- */
header {
  background: var(--warm-white);
  border-bottom: 1px solid var(--linen);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--indigo);
}
.brand-icon { width: 24px; height: 24px; flex-shrink: 0; vertical-align: middle; margin-right: 6px; }


.nav-links { display: flex; gap: 2rem; list-style: none; }

.nav-links a {
  text-decoration: none;
  color: var(--slate);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--indigo); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,39,68,0.7) 0%, rgba(44,62,107,0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 3rem;
  max-width: 600px;
}

.hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 1rem;
  font-weight: 400;
}

.hero-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.7rem 1.8rem;
  background: var(--copper);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s;
}

.btn:hover { background: #9A5F28; }

.btn-outline {
  background: transparent;
  border: 1.5px solid #fff;
  color: #fff;
  margin-left: 0.8rem;
}

.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* ---- SECTIONS ---- */
section { padding: 5rem 0; }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--indigo);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--slate);
  font-size: 1rem;
  margin-bottom: 3rem;
}

.bg-linen { background: var(--linen); }

/* ---- PRODUCT GRID ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--warm-white);
  border: 1px solid rgba(44,62,107,0.08);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.product-card:hover { box-shadow: 0 8px 24px rgba(44,62,107,0.1); }

.product-card img { width: 100%; height: 260px; object-fit: cover; }

.product-card-body { padding: 1.25rem 1.5rem; }

.product-card-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--indigo-dark);
  margin-bottom: 0.4rem;
}

.product-card-body p { color: var(--slate); font-size: 0.92rem; }

/* ---- TWO-COL FEATURE ---- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.feature-row img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

.feature-row h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--indigo);
  margin-bottom: 1rem;
}

.feature-row p { color: var(--slate); margin-bottom: 1rem; }

/* ---- ARTICLE ---- */
.article-header {
  text-align: center;
  padding: 4rem 1.5rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.article-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--indigo-dark);
  margin-bottom: 0.5rem;
}

.article-header .meta {
  color: var(--slate);
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}

.article-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.article-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--indigo);
  margin: 2.5rem 0 0.8rem;
}

.article-body p { margin-bottom: 1.2rem; color: var(--slate); }

.article-body img {
  width: 100%;
  margin: 2rem 0;
}

.article-body ul, .article-body ol {
  margin: 0 0 1.2rem 1.5rem;
  color: var(--slate);
}

.article-body li { margin-bottom: 0.5rem; }

.article-body blockquote {
  border-left: 3px solid var(--copper);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--indigo);
  background: var(--linen);
}

/* ---- TESTIMONIAL ---- */
.testimonial-section {
  background: var(--indigo);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.testimonial-section blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-style: italic;
  max-width: 640px;
  margin: 0 auto 1rem;
  line-height: 1.5;
}

.testimonial-section cite {
  font-style: normal;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ---- CTA ---- */
.cta-section {
  background: var(--indigo-dark);
  color: #fff;
  text-align: center;
  padding: 4rem 1.5rem;
}

.cta-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
}

.cta-section p { opacity: 0.85; max-width: 480px; margin: 0 auto 1.5rem; }

.cta-section .btn { background: var(--copper); }

.cta-section .btn:hover { background: #9A5F28; }

/* ---- FOOTER ---- */
footer {
  background: var(--indigo-dark);
  color: rgba(255,255,255,0.65);
  padding: 3rem 0 2rem;
}

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

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

footer p { font-size: 0.88rem; margin-bottom: 0.5rem; }

footer a { color: var(--linen); text-decoration: none; }

footer a:hover { text-decoration: underline; }

footer h4 { color: #fff; font-size: 0.88rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.8rem; }

footer ul { list-style: none; }

footer li { margin-bottom: 0.4rem; font-size: 0.88rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--warm-white);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--linen);
    gap: 0.8rem;
  }

  .nav-links.open { display: flex; }

  .hero { min-height: 400px; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content { padding: 2rem 1.5rem; }

  .feature-row { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .btn-outline { margin-left: 0; margin-top: 0.5rem; display: inline-block; }
}
