:root {
  --primary-color: #dc3545;
  --dark-color: #212529;
  --light-color: #f8f9fa;
  --text-color: #333;
  --border-color: #dee2e6;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
}

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

a:hover {
  color: #c82333;
  text-decoration: underline;
}

.navbar {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.hero-section {
  background-color: var(--light-color);
  border-bottom: 1px solid var(--border-color);
}

.card {
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.card-img-top {
  height: 250px;
  object-fit: cover;
}

.btn-danger {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 500;
}

.btn-danger:hover {
  background-color: #c82333;
  border-color: #c82333;
}

.btn-outline-danger {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-danger:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

footer {
  border-top: 1px solid var(--border-color);
}

footer h5 {
  margin-top: 0;
}

footer a {
  transition: color 0.3s ease;
}

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

.contact-form .form-control {
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.text-sm {
  font-size: 0.95rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(33, 37, 41, 0.95);
  color: white;
  padding: 20px;
  z-index: 9999;
  display: none;
}

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

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

.cookie-content p {
  margin: 0;
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .btn {
    width: 100% !important;
  }

  .card-img-top {
    height: 200px;
  }

  .display-4 {
    font-size: 2.5rem;
  }

  .text-md-right {
    text-align: left !important;
  }

  .hero-section {
    padding: 3rem 0 !important;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.25rem;
  }

  .display-4 {
    font-size: 1.75rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  .lead {
    font-size: 1rem;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}
