/* ========================================
   Maya Hua — Bougies Artisanales Fleuries
   ======================================== */

:root {
  --bg: #fdf8f3;
  --bg-alt: #f5ebe0;
  --text: #3d2c1e;
  --text-light: #7a6555;
  --accent: #d4883a;
  --accent-hover: #c07530;
  --white: #ffffff;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Lato', -apple-system, sans-serif;
  --radius: 12px;
  --shadow: 0 2px 20px rgba(61, 44, 30, 0.08);
  --max-width: 1100px;
}

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

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

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

/* ---- Typography ---- */

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(61, 44, 30, 0.06);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.nav-logo-img {
  height: 28px;
  width: auto;
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.hero-content {
  max-width: 600px;
}

.hero-icon {
  width: 60px;
  height: auto;
  margin-bottom: 16px;
  opacity: 0.85;
}

.hero-logo {
  max-width: 500px;
  width: 90%;
  height: auto;
  margin-bottom: 0;
  mix-blend-mode: multiply;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 28px;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text-light);
  margin-top: -90px;
  margin-bottom: 16px;
}

/* ---- Buttons ---- */

.btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 50px;
  border: 2px solid var(--accent);
  transition: all 0.3s;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
}

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

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

.section {
  padding: 100px 0;
}

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

.section-title {
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 48px;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

.section-cta p {
  color: var(--text-light);
  margin-bottom: 16px;
}

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

.about-content {
  max-width: 700px;
  margin: 0 auto;
}

.about-text {
  text-align: center;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: var(--text-light);
}

.about-text .btn {
  margin-top: 12px;
}

/* ---- Grid ---- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* ---- Cards ---- */

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-4px);
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text);
}

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

.card-simple {
  background: var(--white);
}

.card-img-placeholder {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

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

.contact-grid {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.contact-info a {
  color: var(--accent);
}

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

.footer {
  text-align: center;
  padding: 48px 24px;
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

.footer-logo {
  height: 30px;
  width: auto;
  margin-bottom: 12px;
  opacity: 0.8;
  filter: brightness(10);
}

.footer p {
  margin-bottom: 8px;
}

.footer-legal {
  font-size: 0.78rem;
  opacity: 0.5;
}

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

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(253, 248, 243, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(61, 44, 30, 0.08);
  }

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

  .hero {
    min-height: 80vh;
    padding: 100px 24px 60px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-icon {
    width: 60px;
  }

  .hero-logo {
    max-width: 360px;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  .section {
    padding: 64px 0;
  }

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

  .grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .btn {
    padding: 12px 28px;
    font-size: 0.82rem;
  }
}
