:root {
  --primary: #ffffff;
  --secondary: #f5f5f5;
  --accent-red: #c41e3a;
  --accent-dark-red: #a01830;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --border-light: #e0e0e0;
  --bg-light: #fafafa;
}

* {
  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);
  background: var(--primary);
  line-height: 1.6;
}

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

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

header {
  background: var(--primary);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--accent-red);
}

nav {
  display: none;
}

nav.active {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--primary);
  border-top: 1px solid var(--border-light);
  padding: 1rem 1.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

nav a {
  display: block;
  padding: 0.75rem 0;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.hamburger {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-dark);
}

@media (min-width: 768px) {
  nav {
    display: block !important;
    position: static;
    background: transparent;
    border: none;
    padding: 0;
  }

  nav ul {
    flex-direction: row;
    gap: 2rem;
  }

  nav a {
    padding: 0;
  }

  .hamburger {
    display: none;
  }
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

footer {
  background: var(--text-dark);
  color: var(--primary);
  margin-top: 4rem;
  padding: 3rem 1.5rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--accent-red);
}

.footer-section ul {
  list-style: none;
}

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

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

.footer-section a:hover {
  color: var(--accent-red);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.hero {
  padding: 3rem 0;
  text-align: center;
}

/* added hero-image styling */
.hero-image {
  width: 100%;
  max-width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 2rem;
  display: block;
}

@media (min-width: 768px) {
  .hero-image {
    height: 400px;
  }
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--accent-red);
  color: var(--primary);
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  font-size: 0.95rem;
}

.btn:hover {
  background: var(--accent-dark-red);
  color: var(--primary);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-red);
  color: var(--accent-red);
}

.btn-outline:hover {
  background: var(--accent-red);
  color: var(--primary);
}

.section {
  padding: 3rem 0;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--text-dark);
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

.card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--primary);
  color: var(--text-dark);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-red);
  box-shadow: 0 0 0 2px rgba(196, 30, 58, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input[type="checkbox"] {
  margin-right: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  font-weight: normal;
  cursor: pointer;
  margin-bottom: 1rem;
}

.checkbox-label input {
  margin-top: 0.25rem;
  margin-right: 0.75rem;
  cursor: pointer;
}

.error {
  color: var(--accent-red);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.success-message {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  margin: 2rem 0;
}

.feature-list li {
  padding: 1rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-light);
}

.feature-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-red);
  font-weight: bold;
  font-size: 1.2rem;
}

.testimonial {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-red);
  margin-bottom: 2rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-dark);
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-light);
}

.cta-section {
  background: var(--accent-red);
  color: var(--primary);
  padding: 3rem 1.5rem;
  text-align: center;
  border-radius: 8px;
  margin: 3rem 0;
}

.cta-section h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

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

.cta-section .btn {
  background: var(--primary);
  color: var(--accent-red);
}

.cta-section .btn:hover {
  background: var(--secondary);
}

.legal-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section h3 {
  color: var(--accent-red);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.legal-section ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text-dark);
  color: var(--primary);
  padding: 1.5rem;
  z-index: 999;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-message {
  flex: 1;
  min-width: 200px;
  font-size: 0.9rem;
}

.cookie-message a {
  color: var(--accent-red);
}

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

.cookie-banner button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
}

.cookie-accept {
  background: var(--accent-red);
  color: var(--primary);
}

.cookie-decline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

@media (max-width: 767px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-buttons {
    width: 100%;
  }

  .cookie-banner button {
    flex: 1;
  }
}

.page-content {
  min-height: calc(100vh - 200px);
}
