@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg-color: #FAF7F2;
  --text-color: #2C1F14;
  --primary-color: #4A7C59;
  --secondary-color: #C8A97E;
  --border-color: #E8E0D4;
  --white: #FFFFFF;
  --error: #D9534F;

  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: all 0.3s ease;
  --shadow-sm: 0 4px 6px rgba(44, 31, 20, 0.05);
  --shadow-md: 0 8px 15px rgba(44, 31, 20, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

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

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

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }

p {
  margin-bottom: 1.5rem;
}

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

a:hover {
  opacity: 0.8;
}

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

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

section {
  padding: 5rem 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-family: var(--font-body);
  font-weight: 500;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background-color: #3b6347;
  color: var(--white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-color);
  border-color: var(--secondary-color);
}

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

.btn-block {
  display: block;
  width: 100%;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-color);
  z-index: 1000;
  transition: var(--transition);
  padding: 1.5rem 0;
}

header.scrolled {
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
  background-color: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(10px);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: 0.5px;
}

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

.nav-links a {
  color: var(--text-color);
  font-size: 0.95rem;
  font-weight: 500;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

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

/* Hero Section */
.hero {
  padding-top: 10rem;
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  flex: 1;
}

.hero-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.lead-form {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
  border: 1px solid var(--border-color);
}

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

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

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(74, 124, 89, 0.1);
}

.form-control.error {
  border-color: var(--error);
}

.error-message {
  color: var(--error);
  font-size: 0.85rem;
  margin-top: 0.4rem;
  display: none;
}

.form-control.error + .error-message {
  display: block;
}

/* Sections */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  color: var(--secondary-color);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* Gallery/Results */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background-color: var(--white);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.gallery-caption {
  padding: 1.5rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

/* Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
}

/* Author */
.author-section {
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.author-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.author-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
}

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

.author-text {
  flex: 1.5;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-color);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  opacity: 0;
}

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

/* Footer */
footer {
  background-color: #1A120B;
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-col p {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-col a:hover {
  color: var(--secondary-color);
}

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
  padding: 1.5rem 0;
  z-index: 2000;
  transition: bottom 0.5s ease;
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-content p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Simple Pages (Privacy, Terms, etc) */
.page-content {
  padding-top: 10rem;
  padding-bottom: 5rem;
  max-width: 800px;
  margin: 0 auto;
}

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

.page-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

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

/* Whom grid and process layout */
.whom-grid {
  grid-template-columns: repeat(3, 1fr);
}

.process-layout {
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Responsive */
@media (max-width: 1200px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2.2rem; }
  .hero { gap: 2rem; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .whom-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  section { padding: 3rem 0; }
  
  .mobile-menu-btn { display: flex; }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    padding: 5rem 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .hero {
    flex-direction: column;
    padding-top: 7rem;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .author-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .whom-grid {
    grid-template-columns: 1fr !important;
  }

  .process-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}
