/* VitalMen Educational Resource - Main Stylesheet */
:root {
  --primary-teal: #0d9488;
  --primary-teal-light: #14b8a6;
  --primary-teal-dark: #0f766e;
  --bg-light: #f8fafb;
  --bg-white: #ffffff;
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border-light: #e5e7eb;
  --gradient-start: #f0fdfa;
  --gradient-end: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

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

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

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

a:hover {
  color: var(--primary-teal-dark);
  text-decoration: none;
}

.navbar {
  background: var(--bg-white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-teal) !important;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary-teal) !important;
}

.hero-section {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  padding: 4rem 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.hero-section p {
  font-size: 1.125rem;
  max-width: 600px;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.content-section {
  padding: 4rem 0;
}

.content-section:nth-child(even) {
  background: var(--bg-white);
}

.content-section:nth-child(odd) {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.section-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  height: 100%;
  border: 1px solid var(--border-light);
}

.section-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.btn-teal {
  background: var(--primary-teal);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-teal:hover {
  background: var(--primary-teal-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.btn-outline-teal {
  background: transparent;
  color: var(--primary-teal);
  border: 2px solid var(--primary-teal);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-outline-teal:hover {
  background: var(--primary-teal);
  color: white;
}

.text-teal {
  color: var(--primary-teal);
}

.bg-teal-light {
  background: var(--gradient-start);
}

.icon-box {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--gradient-start) 0%, #ccfbf1 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary-teal);
  font-size: 1.5rem;
}

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

.feature-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
}

.feature-list li::before {
  content: "•";
  color: var(--primary-teal);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.info-box {
  background: linear-gradient(135deg, var(--gradient-start) 0%, #e0f7f5 100%);
  border-radius: 12px;
  padding: 1.5rem;
  border-left: 4px solid var(--primary-teal);
  margin: 1.5rem 0;
}

.info-box p {
  margin-bottom: 0;
  color: var(--text-dark);
}

.limitations-section {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid var(--border-light);
}

.limitations-section h3 {
  color: var(--primary-teal-dark);
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-dark) 100%);
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 {
  color: white;
}

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

footer {
  background: var(--text-dark);
  color: var(--text-light);
  padding: 3rem 0 1.5rem;
}

footer h3 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

footer a {
  color: var(--text-light);
  display: block;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

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

.footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-disclaimer {
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 2rem;
  font-size: 0.875rem;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
}

.page-header {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  padding: 3rem 0;
  margin-bottom: 2rem;
}

.page-content {
  padding: 2rem 0 4rem;
}

.page-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
}

.page-content h3 {
  margin-top: 1.5rem;
}

.page-content ul {
  color: var(--text-muted);
  padding-left: 1.5rem;
}

.page-content li {
  margin-bottom: 0.5rem;
}

.contact-form {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-light);
}

.form-control {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
  outline: none;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--gradient-start) 0%, #e0f7f5 100%);
  border-radius: 12px;
  padding: 2rem;
}

.thank-you-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  z-index: 9999;
  display: none;
}

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

.cookie-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-banner p {
  margin: 0;
  flex: 1;
  min-width: 250px;
}

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

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

  h2 {
    font-size: 1.5rem;
  }

  .hero-section {
    padding: 2rem 0;
    min-height: auto;
  }

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

  .content-section {
    padding: 2.5rem 0;
  }

  .section-card {
    padding: 1.5rem;
  }

  .cta-section {
    padding: 2.5rem 0;
  }

  footer {
    padding: 2rem 0 1rem;
  }

  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }
}
