:root {
  --primary: #c45b41;
  --primary-hover: #a34830;
  --accent: #4a6350;
  --bg-light: #fdfaf6;
  --bg-paper: #f4eee6;
  --text-dark: #3a322d;
  --text-light: #fdfaf6;
  --border-color: #e2d7cb;
  
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Nunito', sans-serif;
  
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

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

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

/* Typography */
.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 32px;
  background-color: var(--primary);
  color: var(--text-light);
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
  text-align: center;
  font-family: var(--font-body);
}

.btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  color: var(--text-light);
}

.btn-large {
  font-size: 1.125rem;
  padding: 16px 40px;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(253, 250, 246, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: box-shadow var(--transition), padding var(--transition);
  padding: 20px 0;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(58, 50, 45, 0.08);
  padding: 15px 0;
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}

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

.nav-links a {
  font-size: 1rem;
  font-weight: 600;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-dark);
  margin: 5px 0;
  transition: 0.3s;
}

/* Hero */
.hero {
  height: 100vh;
  min-height: 600px;
  background-image: linear-gradient(rgba(58, 50, 45, 0.6), rgba(58, 50, 45, 0.7)), url('./images/hero.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  padding-top: 80px;
}

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

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Target Audience */
.target-audience {
  background-color: var(--bg-paper);
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.target-card {
  background-color: var(--bg-light);
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(58, 50, 45, 0.05);
}

.target-card h3 {
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

/* Outcomes */
.outcomes-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}

.outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background-color: var(--bg-paper);
  padding: 20px;
  border-radius: 8px;
}

.outcome-icon {
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1;
}

/* Modules */
.modules {
  background-color: var(--bg-light);
}

.modules-container {
  max-width: 800px;
  margin: 0 auto;
}

.module-card {
  background-color: var(--bg-paper);
  border-left: 4px solid var(--primary);
  padding: 25px 30px;
  margin-bottom: 20px;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 4px 15px rgba(58, 50, 45, 0.03);
}

.module-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.module-card p {
  color: #665d56;
}

/* Format */
.format {
  background-color: var(--bg-paper);
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.format-item h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--accent);
}

/* Gallery */
.gallery {
  background-color: var(--bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(58, 50, 45, 0.08);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  padding: 15px;
  text-align: center;
  background-color: var(--bg-paper);
  font-style: italic;
  color: #665d56;
}

/* Author */
.author {
  background-color: var(--bg-paper);
}

.author-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.author-image {
  flex: 1;
  max-width: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(58, 50, 45, 0.1);
}

.author-image img {
  aspect-ratio: 1/1;
  object-fit: cover;
}

.author-text {
  flex: 1;
}

.author-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.author-text p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

/* FAQ */
.faq {
  background-color: var(--bg-light);
}

.faq-item {
  background-color: var(--bg-paper);
  margin-bottom: 15px;
  padding: 20px 30px;
  border-radius: 8px;
  cursor: pointer;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  user-select: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease, opacity 0.3s ease;
  color: #665d56;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  margin-top: 15px;
  opacity: 1;
}

.faq-icon {
  transition: transform 0.3s ease;
  font-size: 1.5rem;
  font-weight: 400;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Lead Form */
.lead-section {
  background-color: var(--accent);
  color: var(--text-light);
  text-align: center;
}

.lead-section .section-title {
  color: var(--text-light);
}

.lead-form {
  max-width: 500px;
  margin: 0 auto;
  background-color: var(--bg-light);
  padding: 40px;
  border-radius: 8px;
  color: var(--text-dark);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--bg-light);
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

.form-control.error {
  border-color: #d32f2f;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: #665d56;
}

.checkbox-group input {
  margin-top: 4px;
  cursor: pointer;
}

.checkbox-group a {
  color: var(--primary);
  text-decoration: underline;
}

.lead-form .btn {
  width: 100%;
  margin-top: 10px;
}

.form-error {
  color: #d32f2f;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

/* Footer */
.footer {
  background-color: var(--text-dark);
  color: rgba(253, 250, 246, 0.7);
  padding: 60px 0 30px;
  font-size: 0.9rem;
}

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

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 20px;
  display: block;
}

.footer h4 {
  color: var(--text-light);
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(253, 250, 246, 0.1);
}

/* Legal Pages */
.legal-main {
  padding: 140px 0 80px;
  min-height: calc(100vh - 300px);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-paper);
  padding: 50px;
  border-radius: 8px;
}

.legal-content h1 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 30px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 30px 0 15px;
  color: var(--accent);
}

.legal-content p, .legal-content ul {
  margin-bottom: 15px;
}

.legal-content ul {
  padding-left: 20px;
}

/* Success Page */
.success-main {
  min-height: calc(100vh - 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
}

.success-content {
  background-color: var(--bg-paper);
  padding: 60px;
  border-radius: 8px;
  max-width: 600px;
}

.success-content h1 {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.success-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-paper);
  box-shadow: 0 -4px 20px rgba(58, 50, 45, 0.1);
  padding: 20px;
  z-index: 9999;
  display: none;
  transform: translateY(100%);
  transition: transform 0.5s ease;
  border-top: 1px solid var(--border-color);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-text {
  font-size: 0.9rem;
  color: var(--text-dark);
}

.cookie-text a {
  color: var(--primary);
  text-decoration: underline;
}

.cookie-banner .btn {
  padding: 8px 24px;
  white-space: nowrap;
}

/* 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);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-light);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    text-align: center;
    box-shadow: 0 10px 10px rgba(58, 50, 45, 0.05);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.3s ease;
  }
  
  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .mobile-menu-btn {
    display: block;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .author-content {
    flex-direction: column;
  }
  
  .cookie-container {
    flex-direction: column;
    text-align: center;
  }
  
  .legal-content, .success-content {
    padding: 30px 20px;
  }
  
  .lead-form {
    padding: 30px 20px;
  }
}
