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

:root {
  --primary-green: #4CAF50;
  --secondary-orange: #FF9800;
  --accent-blue: #003366;
  --text-dark: #333333;
  --bg-light-gray: #f5f5f5;
  --bg-white: #ffffff;
  --border-radius: 14px;
  --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

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

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

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

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

h2 {
  font-size: 2rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.4;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

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

.container-fluid {
  width: 100%;
}

header {
  background-color: var(--bg-white);
  border-bottom: 1px solid #e0e0e0;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo img {
  width: 40px;
  height: 40px;
  margin-right: 0.5rem;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.25rem;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-green);
  border-bottom-color: var(--primary-green);
}

.hero {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/hero-main.jpg') no-repeat center/cover;
  color: white;
  padding: 100px 20px;
  text-align: center;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 28px;
  font-size: 1rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background-color: var(--primary-green);
  color: white;
}

.btn-primary:hover {
  background-color: #45a049;
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-secondary {
  background-color: var(--secondary-orange);
  color: white;
}

.btn-secondary:hover {
  background-color: #e68900;
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

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

.btn-outline:hover {
  background-color: var(--accent-blue);
  color: white;
}

.promo-strip {
  background-color: var(--bg-light-gray);
  padding: 2rem 20px;
}

.promo-strip .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

.promo-item {
  padding: 1.5rem;
}

.promo-item h4 {
  margin-bottom: 0.5rem;
  color: var(--accent-blue);
}

section {
  padding: 4rem 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

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

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.card p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  min-height: 3em;
}

.card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.badge {
  display: inline-block;
  background-color: var(--accent-blue);
  color: white;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.badge-format {
  background-color: var(--primary-green);
}

.badge-packaging {
  background-color: var(--secondary-orange);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: start;
}

.column-content h3 {
  margin-bottom: 1.5rem;
  color: var(--accent-blue);
}

.column-content ol {
  margin-left: 1.5rem;
  line-height: 2;
}

.column-content li {
  margin-bottom: 0.75rem;
}

.bg-photo {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/background-format.jpg') no-repeat center/cover;
  color: white;
  padding: 5rem 20px;
  text-align: center;
  border-radius: var(--border-radius);
}

.bg-photo h2 {
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.bg-photo p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
}

table thead {
  background-color: var(--accent-blue);
  color: white;
}

table th,
table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

table tr:nth-child(even) {
  background-color: var(--bg-light-gray);
}

table tr:hover {
  background-color: #eeeeee;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.faq-card {
  background-color: var(--bg-light-gray);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--accent-blue);
}

.faq-card h4 {
  color: var(--accent-blue);
  margin-bottom: 1rem;
}

.faq-card p {
  color: #666;
  margin-bottom: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  height: 200px;
  box-shadow: var(--box-shadow);
}

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

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

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.chip {
  background-color: var(--bg-light-gray);
  color: var(--text-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 20px;
  font-size: 0.95rem;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.chip:hover {
  background-color: var(--accent-blue);
  color: white;
  border-color: var(--accent-blue);
}

.legend {
  background-color: var(--bg-light-gray);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

.legend h4 {
  margin-bottom: 1rem;
  color: var(--accent-blue);
}

.legend-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.legend-item {
  display: flex;
  gap: 0.75rem;
}

.legend-item strong {
  color: var(--accent-blue);
  min-width: 100px;
}

footer {
  background-color: var(--text-dark);
  color: white;
  padding: 3rem 20px;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section a {
  color: #ccc;
  display: block;
  margin-bottom: 0.5rem;
}

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

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-dark);
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  z-index: 2000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-consent p {
  margin: 0;
  font-size: 0.95rem;
}

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

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
  cursor: pointer;
}

.checkbox-group label {
  margin: 0;
  font-weight: 400;
  cursor: pointer;
}

.thank-you {
  text-align: center;
  padding: 4rem 20px;
  background-color: var(--bg-light-gray);
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

.thank-you h1 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.thank-you p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .hero {
    padding: 60px 20px;
    min-height: 300px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }

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

  .btn {
    width: 100%;
  }

  section {
    padding: 2.5rem 20px;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .cookie-consent {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  table {
    font-size: 0.9rem;
  }

  table th,
  table td {
    padding: 0.75rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .promo-strip .container {
    grid-template-columns: 1fr;
  }

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

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

  .legend-items {
    grid-template-columns: 1fr;
  }
}
