:root {
  --primary: #8B3A3A;
  --primary-dark: #6B2C2C;
  --accent: #D4A574;
  --neutral-light: #F5F5F5;
  --neutral-medium: #E8E8E8;
  --text-dark: #2C2C2C;
  --text-light: #FFFFFF;
}

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

html, body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background-color: var(--text-light);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

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

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.navbar {
  background-color: var(--text-light);
  border-bottom: 1px solid var(--neutral-medium);
  padding: 1.5rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  color: var(--primary) !important;
  font-weight: 700;
}

.navbar-brand:hover {
  color: var(--primary-dark) !important;
}

.nav-link {
  margin-left: 2rem;
  color: var(--text-dark) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.hero-section {
  position: relative;
  height: 400px;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.hero-title {
  font-size: 3rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.5;
}

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

.page-header h1 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.page-header .lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
}

main {
  min-height: 60vh;
}

.content-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
}

.content-section ul,
.content-section ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.content-section li {
  margin-bottom: 0.5rem;
}

.list-section {
  list-style: none;
  margin-left: 0;
}

.list-section li {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
}

.list-section li:before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.final-section {
  background-color: var(--neutral-light);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.cta-section {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}

.cta-section h3 {
  color: var(--text-light);
  margin-top: 0;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
}

.btn-primary {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: var(--text-light) !important;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(139, 58, 58, 0.2);
}

.btn-outline-secondary {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
  background-color: transparent !important;
  border-color: var(--primary-dark) !important;
  color: var(--primary-dark) !important;
}

.contact-form {
  background-color: var(--neutral-light);
  padding: 2rem;
  border-radius: 8px;
}

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

.form-control {
  border: 1px solid var(--neutral-medium);
  border-radius: 4px;
  padding: 0.75rem;
  transition: border-color 0.3s ease;
}

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

.form-check-label {
  margin-left: 0.5rem;
  color: var(--text-dark);
}

.form-check-input {
  border-color: var(--primary);
  margin-top: 0.3rem;
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.footer {
  background-color: var(--neutral-light);
  border-top: 1px solid var(--neutral-medium);
  padding: 3rem 0 1rem 0;
  margin-top: 4rem;
}

.footer h5 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-dark);
}

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

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

.footer-links a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary);
  color: var(--text-light);
  padding: 1.5rem;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  display: none;
}

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

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content h6 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.cookie-content p {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

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

.cookie-buttons .btn {
  min-width: 120px;
}

#cookie-accept,
#cookie-reject {
  cursor: pointer;
  border: none;
}

#cookie-accept {
  background-color: var(--accent) !important;
  color: var(--text-dark) !important;
  font-weight: 600;
}

#cookie-accept:hover {
  background-color: #C89860 !important;
}

#cookie-reject {
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: var(--text-light) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

#cookie-reject:hover {
  background-color: rgba(255, 255, 255, 0.25) !important;
}

img.img-fluid {
  max-height: 500px;
  object-fit: cover;
  border-radius: 6px;
}

.rounded {
  border-radius: 6px !important;
}

.alert {
  border: none;
  border-left: 4px solid var(--primary);
}

.alert-info {
  background-color: #E8F4F8;
  color: var(--text-dark);
}

.alert-warning {
  background-color: #FFF8E1;
  color: var(--text-dark);
}

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

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

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .page-header {
    padding: 2.5rem 1.5rem;
  }

  .navbar {
    padding: 1rem 0;
  }

  .nav-link {
    margin-left: 0;
    padding: 0.5rem 0;
  }

  .footer {
    text-align: center;
  }

  .footer-links {
    margin-top: 1rem;
  }

  .col-md-6:last-child {
    text-align: center;
  }

  .cookie-buttons {
    flex-direction: column;
  }

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

  .contact-form {
    padding: 1.5rem;
  }

  main.container {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    height: 300px;
  }

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

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

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  p {
    font-size: 0.95rem;
  }

  .content-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

  .final-section {
    padding: 1.5rem;
  }

  .cta-section {
    padding: 1.5rem;
  }

  .cookie-content p {
    font-size: 0.9rem;
  }
}
