@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --bg-cream: #fdfbf7;
  --text-forest: #1f362b;
  --accent-red: #c93a3e;
  --accent-red-hover: #a52b2f;
  --gold: #d4af37;
  --gold-light: #f5eedc;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-forest);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  padding: 20px 0;
  border-bottom: 1px solid var(--gold-light);
  position: sticky;
  top: 0;
  background-color: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(5px);
  z-index: 100;
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-red);
}

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

nav a {
  font-weight: 500;
  font-size: 0.95rem;
}

.btn {
  display: inline-block;
  background-color: var(--accent-red);
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
}

.btn:hover {
  background-color: var(--accent-red-hover);
  color: #fff;
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background-color: var(--text-forest);
  color: var(--bg-cream);
}

.hero {
  padding: 80px 0;
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-text {
  flex: 1;
}

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

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #4a5d53;
}

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

.hero-image img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(31, 54, 43, 0.1);
  border: 4px solid #fff;
}

.hero-image::after {
  content: '';
  position: absolute;
  top: 20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  border-radius: 8px;
  z-index: -1;
}

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

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

.feature-card {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  border-top: 3px solid var(--gold);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

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

.gallery-item img {
  border-radius: 8px;
  transition: transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

.format {
  background-color: var(--text-forest);
  color: var(--bg-cream);
}

.format .section-title {
  color: var(--gold-light);
}

.format-list {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
}

.format-list li {
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-left: 30px;
  position: relative;
}

.format-list li::before {
  content: '✦';
  color: var(--gold);
  position: absolute;
  left: 0;
  top: 0;
}

.instructor {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 900px;
  margin: 0 auto;
}

.instructor-image {
  flex: 0 0 350px;
}

.instructor-image img {
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.instructor-text h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.instructor-text h3 {
  color: var(--accent-red);
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 500;
}

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

.faq-item {
  border-bottom: 1px solid var(--gold-light);
  padding: 20px 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;
}

.faq-answer {
  margin-top: 10px;
  color: #4a5d53;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.lead-section {
  background-color: var(--gold-light);
  text-align: center;
  padding: 80px 20px;
}

.lead-form {
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  text-align: left;
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
}

.form-group input:focus {
  outline: none;
  border-color: var(--text-forest);
}

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

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

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

.form-group.has-error .error-message {
  display: block;
}

.form-group.has-error input {
  border-color: var(--accent-red);
}

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

footer {
  background-color: var(--text-forest);
  color: var(--bg-cream);
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

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

.footer-col h4 {
  color: var(--gold-light);
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-size: 1.1rem;
}

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

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

.footer-col ul a {
  color: #a0b3a9;
}

.footer-col ul a:hover {
  color: #fff;
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

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

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.legal-content {
  max-width: 800px;
  margin: 60px auto;
  background: #fff;
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.legal-content h1 {
  margin-bottom: 30px;
  font-size: 2.5rem;
}

.legal-content h2 {
  margin: 30px 0 15px;
  font-size: 1.5rem;
}

.legal-content p, .legal-content ul {
  margin-bottom: 15px;
  color: #4a5d53;
}

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

.success-content {
  text-align: center;
  padding: 100px 20px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.success-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #4a5d53;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 0;
  }

  .hero-image::after {
    display: none;
  }

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

  .instructor {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    display: none;
  }
}
