/* =============================================
   Maison Conquet Boutique — Warm Organic Style
   Inspired by Kinfolk / Toast / Patagonia
   ============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

/* --- Custom Properties --- */
:root {
  --font-display: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --font-body: 'Montserrat', 'Segoe UI', sans-serif;

  /* Warm palette */
  --color-cream: #faf6f0;
  --color-linen: #f3ece1;
  --color-sand: #e8ddd0;
  --color-terracotta: #c4704b;
  --color-terracotta-dark: #a85a38;
  --color-olive: #6b7c5e;
  --color-olive-dark: #4d5c42;
  --color-charcoal: #3a3632;
  --color-warm-gray: #8a8279;
  --color-warm-black: #2c2825;
  --color-white: #fffcf8;
  --color-accent-gold: #c9a96e;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  /* Layout */
  --max-width: 1280px;
  --border-radius: 12px;
  --border-radius-lg: 20px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-charcoal);
  background-color: var(--color-cream);
}

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

a {
  color: var(--color-terracotta);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-terracotta-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-warm-black);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p {
  margin-bottom: 1em;
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* --- Decorative SVG Dividers --- */
.section-divider {
  display: flex;
  justify-content: center;
  padding: var(--space-lg) 0;
  opacity: 0.3;
}

.section-divider svg {
  width: 80px;
  height: auto;
}

/* =============================================
   HEADER / NAVIGATION
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-sand);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(58, 54, 50, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo svg {
  width: 36px;
  height: 36px;
  color: var(--color-terracotta);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-warm-black);
  letter-spacing: -0.02em;
}

.nav-main {
  display: none;
}

.nav-main.active {
  display: flex;
}

.nav-main ul {
  list-style: none;
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav-main a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-warm-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding-bottom: 2px;
}

.nav-main a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-terracotta);
  transition: width 0.3s ease;
}

.nav-main a:hover {
  color: var(--color-charcoal);
}

.nav-main a:hover::after {
  width: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-charcoal);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Desktop */
@media (min-width: 768px) {
  .nav-main {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
}

/* Mobile nav overlay */
@media (max-width: 767px) {
  .nav-main.active {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-cream);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 200;
  }

  .nav-main.active ul {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }

  .nav-main.active a {
    font-size: 1.2rem;
  }

  .nav-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-charcoal);
    font-size: 1.5rem;
  }
}

/* =============================================
   HERO / ACCROCHE
   ============================================= */
.hero {
  position: relative;
  padding: var(--space-xl) 0 var(--space-2xl);
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-sand) 0%, transparent 70%);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-terracotta);
  margin-bottom: var(--space-md);
}

.hero-kicker svg {
  width: 18px;
  height: 18px;
}

.hero h1 {
  margin-bottom: var(--space-md);
  letter-spacing: -0.03em;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--color-warm-gray);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  line-height: 1.8;
}

.hero-image {
  margin: var(--space-lg) auto 0;
  max-width: 720px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(58, 54, 50, 0.12);
}

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .hero-image img {
    height: 480px;
  }
}

/* =============================================
   SECTION — PRESENTATION
   ============================================= */
.presentation {
  padding: var(--space-xl) 0;
  background: var(--color-white);
}

.presentation-inner {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}

.presentation h2 {
  margin-bottom: var(--space-lg);
}

.presentation p {
  font-size: 1.05rem;
  color: var(--color-warm-gray);
  line-height: 1.85;
}

.presentation-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  text-align: left;
}

@media (min-width: 768px) {
  .presentation-columns {
    grid-template-columns: 1fr 1fr;
  }
}

.presentation-col {
  padding: var(--space-md);
  background: var(--color-cream);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-sand);
}

.presentation-col svg {
  width: 32px;
  height: 32px;
  color: var(--color-olive);
  margin-bottom: var(--space-sm);
}

.presentation-col h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.presentation-col p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* =============================================
   ARTICLES — MASONRY GRID
   ============================================= */
.articles-section {
  padding: var(--space-xl) 0 var(--space-2xl);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header h2 {
  margin-bottom: var(--space-xs);
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--color-warm-gray);
  font-style: italic;
  font-family: var(--font-display);
}

/* Masonry layout via CSS columns */
.masonry-grid {
  column-count: 1;
  column-gap: var(--space-md);
}

@media (min-width: 640px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (min-width: 1024px) {
  .masonry-grid {
    column-count: 3;
  }
}

/* --- Article Card --- */
.article-card {
  break-inside: avoid;
  margin-bottom: var(--space-md);
  background: var(--color-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--color-sand);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(58, 54, 50, 0.1);
}

.article-card-image {
  width: 100%;
  overflow: hidden;
}

.article-card-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.article-card:hover .article-card-image img {
  transform: scale(1.04);
}

/* Vary image heights for masonry effect */
.article-card:nth-child(odd) .article-card-image img {
  aspect-ratio: 4 / 3;
}

.article-card:nth-child(even) .article-card-image img {
  aspect-ratio: 3 / 2;
}

.article-card:nth-child(3n) .article-card-image img {
  aspect-ratio: 1 / 1;
}

.article-card-body {
  padding: var(--space-md) var(--space-md) var(--space-lg);
}

.article-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-linen);
  color: var(--color-terracotta);
  margin-bottom: var(--space-sm);
}

.article-card-icon svg {
  width: 18px;
  height: 18px;
}

.article-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.article-card h3 a {
  color: var(--color-warm-black);
}

.article-card h3 a:hover {
  color: var(--color-terracotta);
}

.article-card-excerpt {
  font-size: 0.9rem;
  color: var(--color-warm-gray);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.article-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-terracotta);
}

.article-card-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.article-card:hover .article-card-link svg {
  transform: translateX(3px);
}

/* =============================================
   CATEGORIES STRIP
   ============================================= */
.categories-strip {
  padding: var(--space-lg) 0;
  background: var(--color-linen);
  overflow: hidden;
}

.categories-inner {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.3rem;
  background: var(--color-white);
  border: 1px solid var(--color-sand);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-charcoal);
  transition: all 0.3s ease;
  cursor: default;
}

.category-pill svg {
  width: 16px;
  height: 16px;
  color: var(--color-olive);
}

.category-pill:hover {
  background: var(--color-olive);
  color: var(--color-white);
  border-color: var(--color-olive);
}

.category-pill:hover svg {
  color: var(--color-white);
}

/* =============================================
   SEO TEXT SECTION
   ============================================= */
.seo-section {
  padding: var(--space-xl) 0;
  background: var(--color-white);
}

.seo-inner {
  max-width: 740px;
  margin: 0 auto;
}

.seo-inner h2 {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.seo-inner p {
  font-size: 1rem;
  color: var(--color-warm-gray);
  line-height: 1.85;
}

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-section {
  padding: var(--space-xl) 0;
  background: var(--color-cream);
}

.faq-inner {
  max-width: 740px;
  margin: 0 auto;
}

.faq-inner h2 {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.faq-item {
  border-bottom: 1px solid var(--color-sand);
  padding: var(--space-md) 0;
}

.faq-item:first-of-type {
  border-top: 1px solid var(--color-sand);
}

.faq-question {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-warm-black);
  margin-bottom: 0.5rem;
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--color-warm-gray);
  line-height: 1.8;
}

/* =============================================
   NEWSLETTER CTA
   ============================================= */
.newsletter-section {
  padding: var(--space-xl) 0;
  background: var(--color-linen);
  text-align: center;
}

.newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
}

.newsletter-inner h2 {
  margin-bottom: var(--space-sm);
}

.newsletter-inner p {
  font-size: 0.95rem;
  color: var(--color-warm-gray);
  margin-bottom: var(--space-md);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-sand);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--color-white);
  color: var(--color-charcoal);
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
  border-color: var(--color-terracotta);
}

.newsletter-form button {
  padding: 0.75rem 1.5rem;
  background: var(--color-terracotta);
  color: var(--color-white);
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--color-terracotta-dark);
}

@media (max-width: 480px) {
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form button {
    width: 100%;
  }
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--color-warm-black);
  color: rgba(255, 252, 248, 0.7);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.4rem;
}

.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255, 252, 248, 0.6);
  transition: color 0.3s ease;
}

.footer-col ul a:hover {
  color: var(--color-accent-gold);
}

.footer-bottom {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 252, 248, 0.1);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 252, 248, 0.4);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

/* =============================================
   ARTICLE PAGE (for future article pages)
   ============================================= */
.article-page {
  padding: var(--space-xl) 0 var(--space-2xl);
}

.article-header {
  max-width: 740px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}

.article-header h1 {
  margin-bottom: var(--space-sm);
}

.article-meta {
  font-size: 0.85rem;
  color: var(--color-warm-gray);
  font-weight: 500;
}

.article-cover {
  max-width: 900px;
  margin: 0 auto var(--space-xl);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.article-cover img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.article-content {
  max-width: 740px;
  margin: 0 auto;
}

.article-content h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.article-content h3 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}

.article-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-charcoal);
}

.article-content ul,
.article-content ol {
  margin: var(--space-sm) 0 var(--space-md) var(--space-md);
  color: var(--color-charcoal);
}

.article-content li {
  margin-bottom: 0.4rem;
  line-height: 1.7;
}

.article-content blockquote {
  border-left: 3px solid var(--color-terracotta);
  padding: var(--space-sm) var(--space-md);
  margin: var(--space-md) 0;
  background: var(--color-linen);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-style: italic;
  color: var(--color-warm-gray);
}

.article-content img {
  border-radius: var(--border-radius);
  margin: var(--space-md) 0;
}

/* Breadcrumb */
.breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.82rem;
  color: var(--color-warm-gray);
}

.breadcrumb a {
  color: var(--color-warm-gray);
}

.breadcrumb a:hover {
  color: var(--color-terracotta);
}

.breadcrumb span {
  margin: 0 0.4rem;
  opacity: 0.5;
}
