:root {
  --primary-color: #8b2e3f;
  --primary-dark: #6b1e2f;
  --primary-light: #a84455;
  --text-dark: #2c2c2c;
  --text-medium: #555555;
  --text-light: #777777;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.brand-name {
  color: var(--primary-color);
  font-weight: 700;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.hero-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 600px;
  color: var(--bg-white);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.btn-hero {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-hero:hover {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  text-decoration: none;
}

.content-section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.subsection-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-text {
  font-size: 1.1rem;
  color: var(--text-medium);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.content-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.technique-card,
.advice-card,
.principle-card,
.ingredient-card,
.product-card,
.expert-card,
.audience-card,
.dont-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.technique-card:hover,
.advice-card:hover,
.principle-card:hover,
.ingredient-card:hover,
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.ingredient-title,
.principle-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.ingredient-text,
.principle-text {
  font-size: 1rem;
  color: var(--text-medium);
  line-height: 1.6;
}

.product-card {
  border-left: 4px solid var(--primary-color);
}

.product-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.product-description {
  font-size: 1rem;
  color: var(--text-medium);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.product-note {
  font-size: 0.95rem;
  color: var(--primary-color);
  font-style: italic;
  margin-bottom: 0;
}

.expert-card {
  border-top: 3px solid var(--primary-color);
}

.expert-quote {
  font-size: 1.1rem;
  color: var(--text-medium);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1rem;
}

.expert-name {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 600;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: var(--bg-white);
  padding: 5rem 0;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.btn-cta {
  background-color: var(--bg-white);
  color: var(--primary-color);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

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

.footer {
  background-color: #2c2c2c;
  color: var(--bg-white);
  padding: 3rem 0 1.5rem;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 1rem;
}

.footer-text {
  color: #cccccc;
  line-height: 1.6;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--bg-white);
}

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

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

.footer-links a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-contact {
  color: #cccccc;
  margin-bottom: 0.5rem;
}

.footer-copyright {
  color: #999999;
  font-size: 0.9rem;
  margin-top: 2rem;
}

.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: var(--bg-white);
  padding: 4rem 0;
  text-align: center;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

.contact-form .form-group label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.contact-form .form-control {
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(139, 46, 63, 0.15);
}

.contact-form .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 2rem;
  font-weight: 600;
}

.contact-form .btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.contact-info-card {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.contact-info-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-info-text {
  font-size: 1rem;
  color: var(--text-medium);
  margin-bottom: 0;
}

.thank-you-section {
  padding: 5rem 0;
}

.thank-you-icon {
  color: var(--primary-color);
}

.thank-you-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.thank-you-text {
  font-size: 1.1rem;
  color: var(--text-medium);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.thank-you-actions .btn {
  min-width: 200px;
}

.thank-you-info {
  margin-top: 3rem;
}

.thank-you-info h3 {
  color: var(--primary-color);
  font-weight: 600;
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
}

.policy-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

.policy-content h2.policy-title:first-child {
  margin-top: 0;
}

.policy-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.policy-text {
  font-size: 1.05rem;
  color: var(--text-medium);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.policy-list {
  font-size: 1.05rem;
  color: var(--text-medium);
  margin-bottom: 1.25rem;
  line-height: 1.7;
  padding-left: 2rem;
}

.policy-list li {
  margin-bottom: 0.5rem;
}

.contact-info-box {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-box p {
  margin-bottom: 0.5rem;
  color: var(--text-medium);
}

.contact-info-box p:last-child {
  margin-bottom: 0;
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(44, 44, 44, 0.98);
  color: var(--bg-white);
  padding: 1.5rem;
  z-index: 9999;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  display: none;
}

.cookie-consent.show {
  display: block;
}

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

.cookie-content p {
  margin: 0 1rem 0 0;
  flex: 1;
  min-width: 300px;
  margin-bottom: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-buttons .btn {
  white-space: nowrap;
}

.cookie-buttons .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.cookie-buttons .btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.cookie-buttons .btn-secondary {
  background-color: #6c757d;
  border-color: #6c757d;
}

.cookie-buttons .btn-link {
  color: var(--bg-white);
  text-decoration: underline;
}

.cookie-buttons .btn-link:hover {
  color: var(--primary-light);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-section {
    height: 450px;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .cta-title {
    font-size: 1.75rem;
  }

  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-content p {
    margin-bottom: 1rem;
    min-width: 100%;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .content-section {
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}
