﻿:root {
  --primary-color: #8B6F47;
  --secondary-color: #6B5435;
  --accent-color: #A0826D;
  --light-bg: #F5F1ED;
  --text-dark: #2C2416;
  --text-light: #6B5435;
  --white: #FFFFFF;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 17px;
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, serif;
  font-weight: 600;
  color: var(--secondary-color);
  line-height: 1.3;
}

h1 { font-size: 3.2rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.2rem; }
h3 { font-size: 1.8rem; margin-bottom: 1rem; }
h4 { font-size: 1.4rem; margin-bottom: 0.8rem; }

p {
  margin-bottom: 1.2rem;
  font-size: 17px;
}

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

.bg-light-custom {
  background-color: var(--light-bg);
}

/* Navigation */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
}

.navbar-brand {
  font-family: Georgia, serif;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--secondary-color);
}

.navbar-brand img {
  height: 50px;
  margin-right: 10px;
}

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

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

/* Hero Section */
.hero-section {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

.hero-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Buttons */
.btn-primary-custom {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 14px 35px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary-custom:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 111, 71, 0.3);
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--primary-color);
  padding: 14px 35px;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

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

/* Cards */
.card-custom {
  background: var(--white);
  border: none;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  overflow: hidden;
}

.card-custom:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-custom img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-custom .card-body {
  padding: 2rem;
}

.card-custom h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card-custom p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.6;
}

/* Feature Cards */
.feature-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background-color: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 35px;
  height: 35px;
  fill: var(--primary-color);
}

.feature-card h4 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.feature-card p {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 0;
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 5rem;
  color: var(--accent-color);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 16px;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.author-info h5 {
  margin: 0;
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.author-info p {
  margin: 0;
  color: var(--text-light);
  font-size: 14px;
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

/* Footer */
.footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
}

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

.footer ul li {
  margin-bottom: 0.8rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 1.5rem 0;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  display: none;
}

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

.cookie-banner p {
  margin-bottom: 0;
  font-size: 16px;
}

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

.cookie-banner .btn {
  margin-left: 1rem;
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.8rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.form-control {
  border: 2px solid #E5DDD5;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 16px;
  margin-bottom: 1.5rem;
}

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

.form-label {
  font-weight: 500;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

/* Contact Info */
.contact-info-card {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--primary-color);
}

.contact-info-card h4 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.contact-info-card p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-size: 16px;
}

/* Course Cards */
.course-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.course-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.course-card-body {
  padding: 2rem;
}

.course-price {
  font-size: 1.8rem;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 1rem;
}

.course-duration {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 1rem;
}

.course-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.course-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #E5DDD5;
  font-size: 16px;
}

.course-features li:last-child {
  border-bottom: none;
}

/* About Section */
.about-image {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-content {
  padding: 2rem;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 17px;
  margin-bottom: 1.5rem;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 5rem 0;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: bold;
  color: var(--white);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Policy Pages */
.policy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 15px;
}

.policy-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.policy-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-content ul,
.policy-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.policy-content li {
  margin-bottom: 0.8rem;
  font-size: 16px;
}

/* Thank You Page */
.thank-you-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 15px;
}

.thank-you-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.thank-you-content p {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* 404 Page */
.error-404-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 15px;
}

.error-404-content h1 {
  font-size: 8rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: bold;
}

.error-404-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.error-404-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }

  .hero-section {
    min-height: auto;
    padding: 3rem 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-image img {
    height: 400px;
    margin-top: 2rem;
  }

  .section-spacing {
    padding: 3rem 0;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .error-404-content h1 {
    font-size: 5rem;
  }
}
