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

:root {
  --bg-color: #FBF8F3;
  --text-color: #2C1A0E;
  --accent-color: #C4613A;
  --accent-hover: #A85231;
  --secondary-color: #6B8C6B;
  --card-bg: #F3EDE3;
  --white: #FFFFFF;
  --border-radius: 8px;
  --transition: 0.3s ease;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
}

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

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

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

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

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(251, 248, 243, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(44, 26, 14, 0.05);
}

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

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
}

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

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

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-color);
  margin-bottom: 5px;
  transition: var(--transition);
}

.hamburger span:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid rgba(44, 26, 14, 0.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  }

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

  .hamburger {
    display: block;
  }
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--white);
  padding: 14px 30px;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition);
}

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

.btn-full {
  width: 100%;
}

.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  color: var(--bg-color);
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/hero-bg.png');
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(44, 26, 14, 0.4);
  z-index: -1;
}

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

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 20px;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

section {
  padding: 100px 0;
}

section:nth-child(even) {
  background-color: var(--card-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 15px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.card {
  background-color: var(--bg-color);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(44, 26, 14, 0.03);
}

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

.module {
  border-left: 2px solid var(--secondary-color);
  padding-left: 30px;
  margin-bottom: 40px;
  position: relative;
}

.module::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--secondary-color);
}

.module h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(44, 26, 14, 0.1);
  padding-bottom: 20px;
}

.faq-question {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  margin-top: 15px;
  display: none;
  color: rgba(44, 26, 14, 0.8);
}

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

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 50px;
  border-radius: var(--border-radius);
  box-shadow: 0 15px 40px rgba(44, 26, 14, 0.05);
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

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

.form-control {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid rgba(44, 26, 14, 0.2);
  background-color: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text-color);
  transition: border-color var(--transition);
}

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

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

.error-message {
  color: #D32F2F;
  font-size: 0.8rem;
  margin-top: 5px;
  display: none;
}

.form-group.error .form-control {
  border-bottom-color: #D32F2F;
}

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

@media (max-width: 768px) {
  .form-container {
    padding: 30px 20px;
  }
}

footer {
  background-color: var(--text-color);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 40px;
}

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

.footer-col h4 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: var(--white);
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--text-color);
  color: var(--white);
  padding: 20px;
  z-index: 2000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

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

.cookie-banner p {
  font-size: 0.9rem;
  margin-right: 20px;
}

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

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

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

.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

.page-header {
  padding: 150px 0 60px;
  background-color: var(--card-bg);
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

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

.legal-content h2 {
  margin: 40px 0 20px;
}

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

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

.success-image {
  max-width: 300px;
  margin-bottom: 40px;
  border-radius: 50%;
}
