/* ActiveLifePoland - Educational Nutrition Website */
/* Brand Color: #356B4E (Deep Green) */

:root {
  --primary-green: #356B4E;
  --light-gray: #F8F9FA;
  --dark-gray: #2C3E50;
  --text-dark: #1A1A1A;
  --text-light: #666666;
  --border-color: #E0E0E0;
}

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

html, body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans', Arial, sans-serif;
  line-height: 1.75;
  color: var(--text-dark);
  background-color: #FFFFFF;
}

body {
  padding-top: 80px;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-green);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo:hover {
  color: var(--dark-gray);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 16px;
  transition: color 0.4s ease;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
  color: var(--text-dark);
}

h1 {
  font-size: 48px;
  margin-bottom: 24px;
}

h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--primary-green);
}

h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
  color: var(--text-light);
}

/* Container and Grid */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 48px 0;
}

.section-white {
  background-color: #FFFFFF;
}

.section-light {
  background-color: var(--light-gray);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Hero Block */
.hero {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
}

.hero h1 {
  color: var(--text-dark);
  margin-bottom: 24px;
}

.hero p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  margin-top: 32px;
}

/* Cards */
.card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 32px;
  transition: all 0.4s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.card:hover {
  box-shadow: 0 8px 24px rgba(53, 107, 78, 0.1);
  border-color: var(--primary-green);
}

.card h3 {
  color: var(--primary-green);
  margin-bottom: 12px;
}

.card-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
  display: block;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.image-left {
  float: left;
  margin: 0 32px 24px 0;
  width: 45%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.image-right {
  float: right;
  margin: 0 0 24px 32px;
  width: 45%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Buttons and CTAs */
.cta-button {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--primary-green);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.4s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.cta-button:hover {
  background-color: var(--dark-gray);
  box-shadow: 0 6px 16px rgba(53, 107, 78, 0.2);
  transform: translateY(-2px);
}

.cta-button-text {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.4s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-button-text:hover {
  color: var(--dark-gray);
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: #FFFFFF;
  padding: 48px 0 24px;
  margin-top: 64px;
}

footer .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

footer h4 {
  color: #FFFFFF;
  margin-bottom: 16px;
  font-size: 16px;
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.8;
  transition: color 0.4s ease;
}

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

footer p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* Cookie Banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-dark);
  color: #FFFFFF;
  padding: 20px 32px;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  max-height: 120px;
}

#cookie-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  margin: 0;
  flex: 1;
}

#cookie-banner button {
  background-color: var(--primary-green);
  color: #FFFFFF;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.4s ease;
  white-space: nowrap;
  margin-left: 20px;
}

#cookie-banner button:hover {
  background-color: var(--dark-gray);
}

/* Disclaimer Box */
.disclaimer-box {
  background-color: #F0F4F2;
  border-left: 4px solid var(--primary-green);
  padding: 24px 32px;
  margin: 32px 0;
  border-radius: 6px;
}

.disclaimer-box p {
  margin: 0;
  color: var(--text-dark);
  font-size: 14px;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 32px auto 0;
}

.form-group {
  margin-bottom: 24px;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: inherit;
  font-size: 16px;
  transition: all 0.4s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(53, 107, 78, 0.1);
}

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

/* Responsive */
@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  header {
    height: 70px;
  }

  .navbar-container {
    padding: 0 20px;
  }

  nav ul {
    gap: 16px;
    font-size: 14px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  .section {
    padding: 36px 0;
  }

  .container {
    padding: 0 20px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .image-left,
  .image-right {
    float: none;
    width: 100%;
    margin: 16px 0;
  }

  .hero {
    padding: 48px 0;
  }

  footer .container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    max-height: none;
  }

  #cookie-banner button {
    margin-left: 0;
    width: 100%;
  }
}
