/* Root Colors and Variables */
:root {
  --primary: #004D40;
  --accent-gold: #FFB300;
  --accent-green: #4CAF50;
  --accent-blue: #2196F3;
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: #f9f9f9;
  --white: #ffffff;
  --border-light: #e0e0e0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', 'Lato', sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

/* Typography */
h1 {
  font-family: 'Montserrat', 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--primary);
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-align: center;
}

h2 {
  font-family: 'Montserrat', 'Raleway', sans-serif;
  font-weight: 600;
  color: var(--primary);
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

h3 {
  font-family: 'Montserrat', 'Raleway', sans-serif;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

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

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

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

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

.logo img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
}

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

nav a:hover {
  color: var(--primary);
  border-bottom-color: var(--accent-gold);
}

/* Body padding for fixed header */
body {
  padding-top: 80px;
}

/* Main Content */
main {
  flex: 1;
}

/* Sections */
section {
  padding: 80px 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

section:nth-child(even) {
  background-color: var(--bg-light);
}

/* Two-Column Layout */
.section-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.section-two-column.reverse {
  direction: rtl;
}

.section-two-column.reverse > * {
  direction: ltr;
}

.section-text {
  flex: 1;
}

.section-image {
  flex: 1;
}

.section-image img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

/* Three-Column Cards */
.section-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

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

.card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  text-align: center;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-light);
  text-align: left;
}

.card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background-color: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Lists */
ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

li::marker {
  color: var(--accent-gold);
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--accent-gold);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  background-color: #e6a300;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

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

.btn-secondary:hover {
  background-color: #003a30;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(rgba(0, 77, 64, 0.7), rgba(0, 77, 64, 0.7)), url('images/hero-foods.jpg');
  background-size: cover;
  background-position: center;
  padding: 120px 2rem;
  text-align: center;
  color: var(--white);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

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

input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 5px rgba(0, 77, 64, 0.1);
}

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

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 3rem 2rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

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

.footer-disclaimer {
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

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

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-top: 2px solid var(--primary);
  padding: 1.5rem 2rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  display: none;
  gap: 1.5rem;
  align-items: center;
}

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

.cookie-text {
  flex: 1;
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.5;
}

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

.cookie-buttons button {
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-accept {
  background-color: var(--accent-gold);
  color: var(--white);
}

.cookie-accept:hover {
  background-color: #e6a300;
}

.cookie-decline {
  background-color: var(--text-light);
  color: var(--white);
}

.cookie-decline:hover {
  background-color: #555;
}

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

.cookie-learn:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Disclaimer Block */
.disclaimer-section {
  background-color: #f0f4f3;
  border-left: 4px solid var(--accent-blue);
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 4px;
}

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

.disclaimer-section p {
  color: var(--text-dark);
  margin: 0.75rem 0;
  font-size: 0.95rem;
}

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

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  section {
    padding: 50px 1rem;
  }

  .section-two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-two-column.reverse {
    direction: ltr;
  }

  .section-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .header-container {
    padding: 0.75rem 1rem;
  }

  nav ul {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .hero {
    padding: 80px 1rem;
    min-height: auto;
  }

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

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

  .cookie-banner {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .cookie-buttons {
    flex-wrap: wrap;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  body {
    padding-top: 70px;
  }

  input[type="email"],
  textarea {
    font-size: 16px;
  }
}

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

  h2 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 1rem;
  }

  section {
    padding: 30px 1rem;
  }

  nav ul {
    gap: 0.5rem;
  }

  nav a {
    font-size: 0.8rem;
  }

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

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

  .cookie-buttons button {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: slideInUp 0.6s ease-out;
}
