@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Playfair+Display:wght@700&display=swap');

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

:root {
  --primary: #2E8B57;
  --accent-1: #F4A261;
  --accent-2: #E9C46A;
  --dark: #264653;
  --light-gray: #f8f9fa;
  --text-dark: #264653;
  --text-light: #666;
}

html, body {
  height: 100%;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  letter-spacing: -1px;
}

h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.75rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

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

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  width: 32px;
  height: 32px;
}

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

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

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

/* Hero Section */
.hero {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 5%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  min-height: 500px;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(46, 139, 87, 0.15);
}

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

/* Sections */
section {
  padding: 4rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

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

.section-text p {
  color: var(--text-light);
  line-height: 1.8;
}

.section-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.section-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

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

.card {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(46, 139, 87, 0.15);
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

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

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Two Column with Images */
.two-col-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.img-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.img-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* CTA Buttons */
.cta-btn {
  display: inline-block;
  background-color: var(--accent-1);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-1);
  cursor: pointer;
  text-decoration: none;
  margin-top: 1rem;
}

.cta-btn:hover {
  background-color: var(--accent-2);
  border-color: var(--accent-2);
  color: var(--text-dark);
}

.cta-btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.cta-btn-secondary:hover {
  background-color: var(--primary);
  color: #fff;
}

/* Disclaimer Box */
.disclaimer-box {
  background-color: #f0f8f5;
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.disclaimer-box h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.disclaimer-box p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: #fff;
  padding: 3rem 5%;
  margin-top: 4rem;
}

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

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

.footer-section p, .footer-section a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer-section a {
  display: block;
}

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

.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 Banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark);
  color: #fff;
  padding: 1.5rem 5%;
  z-index: 999;
  display: none;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.cookie-text {
  flex: 1;
}

.cookie-text p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 0.95rem;
}

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

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

.cookie-btn-accept {
  background-color: var(--accent-1);
  color: #fff;
}

.cookie-btn-accept:hover {
  background-color: var(--accent-2);
}

.cookie-btn-decline {
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.cookie-btn-decline:hover {
  border-color: #fff;
}

.cookie-btn-learn {
  background-color: transparent;
  color: var(--accent-1);
  text-decoration: underline;
}

/* Forms */
form {
  max-width: 600px;
  margin: 2rem 0;
}

.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 #ddd;
  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 0 3px rgba(46, 139, 87, 0.1);
}

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

/* Thank You Page */
.thank-you-message {
  text-align: center;
  padding: 4rem 2rem;
}

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

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

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fadeIn 0.8s ease-out;
}

.card {
  animation: slideUp 0.8s ease-out backwards;
}

.card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }

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

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  nav {
    padding: 1rem 3%;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background-color: #fff;
    border-bottom: 1px solid #eee;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 1rem 3%;
    border-bottom: 1px solid #eee;
  }

  .mobile-toggle {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 3%;
    margin-top: 70px;
  }

  .hero-image img {
    height: 300px;
  }

  section {
    padding: 2rem 3%;
  }

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

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

  .section-image img {
    height: 250px;
  }

  .three-col-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .img-card img {
    height: 250px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

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

  .cookie-btn {
    width: 100%;
  }
}

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

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  nav {
    padding: 0.75rem 2%;
  }

  .logo {
    font-size: 1.2rem;
  }

  .hero {
    padding: 1.5rem 2%;
    margin-top: 60px;
  }

  section {
    padding: 1.5rem 2%;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    font-size: 0.8rem;
  }
}
