/* Chioma Esthetique - Style CSS */
:root {
  --primary: #8B6F5C;
  --primary-light: #C4A882;
  --primary-dark: #5D4635;
  --accent: #D4A574;
  --accent-light: #F0DCC8;
  --bg: #FDF9F5;
  --bg-alt: #F5EDE4;
  --text: #3A2E28;
  --text-light: #7A6B62;
  --white: #FFFFFF;
  --gold: #C9A96E;
  --shadow: 0 4px 20px rgba(93, 70, 53, 0.1);
  --shadow-lg: 0 8px 40px rgba(93, 70, 53, 0.15);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Lora', 'Georgia', serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.8;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); margin-bottom: 0.8rem; }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: 0.6rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 249, 245, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196, 168, 130, 0.2);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo img { height: 45px; width: auto; }
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--primary-dark);
  font-weight: 700;
}

/* Navigation */
.nav { display: flex; align-items: center; }

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

.nav-list a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
  background: var(--accent-light);
  color: var(--primary-dark);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--primary-dark);
  margin: 6px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 70px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(58, 46, 40, 0.85) 0%, rgba(93, 70, 53, 0.80) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 2rem 1.5rem;
  max-width: 800px;
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  opacity: 0.95;
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 165, 116, 0.5);
  color: var(--white);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* Sections */
.section {
  padding: 5rem 0;
}

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

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 3px;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 1.5rem auto 0;
}

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

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  margin-bottom: 0.8rem;
}

.card-body p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(196, 168, 130, 0.15);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Text Content */
.text-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.text-content h2 {
  margin-top: 2rem;
}

.text-content ul, .text-content ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.text-content li {
  margin-bottom: 0.5rem;
}

/* Two Column Layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.two-col img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-body .date {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card-body h3 {
  margin: 0.5rem 0;
  font-size: 1.2rem;
}

.blog-card-body p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Blog Article */
.article-hero {
  position: relative;
  height: 50vh;
  min-height: 350px;
  background-size: cover;
  background-position: center;
  margin-top: 70px;
}

.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(58, 46, 40, 0.6) 0%, rgba(58, 46, 40, 0.85) 100%);
}

.article-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 3rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  color: var(--white);
}

.article-hero-content h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.article-hero-content .date {
  color: var(--accent-light);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.article-content img {
  border-radius: var(--radius);
  margin: 2rem 0;
  box-shadow: var(--shadow);
  width: 100%;
  max-height: 450px;
  object-fit: cover;
}

.article-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.article-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-light);
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1.2rem;
  border: 2px solid rgba(196, 168, 130, 0.3);
  border-radius: 8px;
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.2);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info {
  padding: 2rem 0;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-info-item .icon {
  font-size: 1.3rem;
  color: var(--accent);
  min-width: 30px;
  text-align: center;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer h4 {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer a:hover {
  color: var(--accent-light);
}

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

/* Page Hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 8rem 0 4rem;
  text-align: center;
  margin-top: 70px;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 0.5rem; }

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sitemap */
.sitemap-list {
  list-style: none;
  padding: 0;
}

.sitemap-list li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.sitemap-list li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.sitemap-list ul {
  list-style: none;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

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

  .nav-list {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: var(--transition);
    z-index: 999;
  }

  .nav-list.active {
    transform: translateY(0);
  }

  .nav-list a {
    padding: 0.8rem 1rem;
    font-size: 1.05rem;
  }

  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .two-col.reverse { direction: ltr; }

  .hero { min-height: 80vh; }

  .section { padding: 3rem 0; }

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

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

@media (max-width: 480px) {
  html { font-size: 15px; }

  .hero { min-height: 70vh; }

  .cards-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .container { padding: 0 1rem; }
}

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-3 { margin-bottom: 3rem; }

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 4rem 0;
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* Testimonials */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid rgba(196, 168, 130, 0.15);
}

.testimonial .stars {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial p {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.testimonial .author {
  font-weight: 700;
  color: var(--primary-dark);
}

/* Price list */
.price-list {
  max-width: 700px;
  margin: 0 auto;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px dashed rgba(196, 168, 130, 0.3);
}

.price-item .name { font-weight: 600; }
.price-item .price { color: var(--accent); font-weight: 700; font-size: 1.1rem; }
