@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --color-cream: #FAF7F2;
  --color-beige: #E8DED1;
  --color-rose: #D9A5B3;
  --color-gold: #B59A72;
  --color-gold-hover: #9E8461;
  --color-text-dark: #332C2A;
  --color-text-light: #6C5B56;
  --color-white: #FFFFFF;
  --font-heading: 'Lora', serif;
  --font-body: 'Montserrat', sans-serif;
  --container-width: 1100px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

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

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  background-color: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-beige);
  padding: 1rem 0;
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-text-dark);
}

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

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--color-gold);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
}

.btn:hover {
  background-color: var(--color-gold-hover);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 90%;
}

.hero-image {
  flex: 1;
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(51, 44, 42, 0.1);
  object-fit: cover;
  aspect-ratio: 4/5;
}

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

.section-light {
  background-color: var(--color-white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  margin-bottom: 1rem;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

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

/* Feature/Program Cards */
.card {
  background: var(--color-cream);
  padding: 2.5rem;
  border-radius: 4px;
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid var(--color-beige);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--color-rose);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-text-dark);
}

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

/* Image gallery/results */
.result-img {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
  aspect-ratio: 1/1;
  margin-bottom: 1.5rem;
}

/* Form Section */
.form-section {
  background-color: var(--color-beige);
  padding: 6rem 0;
}

.form-wrapper {
  background: var(--color-white);
  padding: 4rem;
  border-radius: 4px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(51, 44, 42, 0.05);
}

.form-wrapper h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.form-wrapper .subtitle {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-text-dark);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background-color: #FAFAFA;
}

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

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-error {
  color: #c94c4c;
  font-size: 0.85rem;
  margin-top: 0.4rem;
  display: none;
}

.btn-submit {
  width: 100%;
  margin-top: 1rem;
}

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

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

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

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-gold);
  transition: transform 0.3s ease;
}

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

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

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

/* Footer */
.site-footer {
  background-color: var(--color-text-dark);
  color: #E8DED1;
  padding: 4rem 0 2rem 0;
  font-size: 0.9rem;
}

.site-footer a {
  color: #E8DED1;
  opacity: 0.8;
}

.site-footer a:hover {
  color: var(--color-gold);
  opacity: 1;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(232, 222, 209, 0.2);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.footer-legal-info p {
  margin-bottom: 0.25rem;
  color: rgba(232, 222, 209, 0.7);
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  color: rgba(232, 222, 209, 0.5);
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-beige);
  padding: 1.5rem;
  box-shadow: 0 -5px 20px rgba(51, 44, 42, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

.cookie-text {
  font-size: 0.9rem;
  margin-bottom: 0;
  max-width: 800px;
}

.cookie-banner .btn {
  padding: 0.75rem 1.5rem;
  margin-left: 2rem;
  flex-shrink: 0;
}

/* Legal Pages */
.legal-page {
  padding: 4rem 0 6rem;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-white);
  padding: 4rem;
  border-radius: 4px;
  box-shadow: 0 5px 20px rgba(51, 44, 42, 0.05);
}

.legal-content h1 {
  margin-bottom: 2rem;
  font-size: 2.25rem;
  border-bottom: 1px solid var(--color-beige);
  padding-bottom: 1rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content p, .legal-content li {
  margin-bottom: 1rem;
}

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

/* Success Page */
.success-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.success-page .container {
  display: flex;
  justify-content: center;
}

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

.success-icon {
  font-size: 4rem;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

.success-content h1 {
  margin-bottom: 1rem;
}

.success-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .hero {
    flex-direction: column;
    padding: 4rem 0;
    gap: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .form-wrapper {
    padding: 2.5rem 1.5rem;
  }
  
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .cookie-banner .btn {
    margin-left: 0;
    width: 100%;
  }
  
  .legal-content {
    padding: 2rem 1.5rem;
  }
  
  .main-nav ul {
    gap: 1rem;
  }
}
