/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: #2d2d2d;
  background: #ffffff;
}

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

/* Header Styles */
header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: #7c3aed;
  text-decoration: none;
  letter-spacing: -0.5px;
}

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

nav a {
  color: #2d2d2d;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover,
nav a.active {
  color: #7c3aed;
}

/* Hero Section */
.hero {
  /* added hero background image with gradient overlay */
  background: linear-gradient(135deg, rgba(106, 63, 181, 0.95) 0%, rgba(139, 92, 246, 0.9) 100%),
    url("../images/hero-background.jpg") center / cover;
  color: #fff; /* Added for text contrast */
  padding: 100px 0; /* Updated padding */
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  /* updated hero heading color for contrast on image background */
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-description {
  /* updated hero description color for contrast */
  font-size: 1.25rem;
  color: #f3f0ff;
  line-height: 1.6;
}

/* Section Styles */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: #f9f9f9;
}

.section-title {
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 2rem;
  text-align: center;
}

/* Nutritionist Intro */
.nutritionist-intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}

.nutritionist-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* added object-fit for proper image scaling */
  object-fit: cover;
  max-height: 500px;
}

.nutritionist-text h2 {
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.nutritionist-text p {
  margin-bottom: 1rem;
  color: #555;
  font-size: 1.1rem;
}

/* Product Showcase */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.product-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* added object-fit for product images */
  object-fit: contain;
  max-height: 600px;
}

.product-info h3 {
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.product-subtitle {
  color: #7c3aed;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.product-description p {
  margin-bottom: 1rem;
  color: #555;
}

.benefits-list {
  list-style: none;
  margin: 1.5rem 0;
}

.benefits-list li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #555;
}

.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #7c3aed;
  font-weight: bold;
  font-size: 1.2rem;
}

.product-note {
  background: #f3f0ff;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #7c3aed;
  margin-top: 1.5rem;
}

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

.care-card {
  text-align: center;
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.care-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.15);
}

.care-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.care-card h3 {
  font-size: 1.25rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.care-card p {
  color: #555;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.benefit-item {
  padding: 2rem;
}

.benefit-number {
  font-size: 3rem;
  font-weight: 700;
  color: #e9d5ff;
  margin-bottom: 1rem;
}

.benefit-item h3 {
  font-size: 1.25rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.benefit-item p {
  color: #555;
}

/* Disclaimer Section */
.disclaimer-section {
  background: #fff5f5;
}

.disclaimer-box {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 12px;
  border: 2px solid #dc2626;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.1);
}

.disclaimer-title {
  color: #dc2626;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.disclaimer-content p {
  margin-bottom: 1rem;
  color: #2d2d2d;
  font-size: 1.1rem;
}

.disclaimer-main {
  font-size: 1.3rem;
  text-align: center;
  color: #dc2626;
  padding: 1rem;
  background: #fee2e2;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

/* Newsletter Box */
.newsletter-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: #ffffff;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.newsletter-box h2 {
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.newsletter-box p {
  color: #555;
  margin-bottom: 2rem;
}

/* Forms */
.newsletter-form,
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #2d2d2d;
  font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"] {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.checkbox-group label {
  display: flex;
  align-items: start;
  gap: 0.5rem;
  cursor: pointer;
}

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

.checkbox-group span {
  font-size: 0.9rem;
  color: #555;
}

.checkbox-group a {
  color: #7c3aed;
  text-decoration: underline;
}

.btn-primary {
  background: #7c3aed;
  color: #ffffff;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover {
  background: #6d28d9;
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: #1a1a1a;
  color: #ffffff;
  padding: 3rem 0 1rem;
}

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

.footer-col h3,
.footer-col h4 {
  margin-bottom: 1rem;
  color: #7c3aed;
}

.footer-col p {
  margin-bottom: 0.5rem;
  color: #d1d5db;
  font-size: 0.95rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul a:hover {
  color: #7c3aed;
}

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a1a;
  color: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: none;
}

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

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

.cookie-content p {
  flex: 1;
  margin: 0;
}

.cookie-content a {
  color: #7c3aed;
  text-decoration: underline;
}

.btn-cookie {
  background: #7c3aed;
  color: #ffffff;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s;
}

.btn-cookie:hover {
  background: #6d28d9;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #f3f0ff 0%, #ffffff 100%);
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: #555;
  font-size: 1.1rem;
}

/* About Page Styles */
.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 100px;
  /* added object-fit for about page image */
  object-fit: cover;
  max-height: 700px;
}

.about-text h2 {
  font-size: 2rem;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.about-subtitle {
  color: #7c3aed;
  font-weight: 600;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.about-section {
  margin-bottom: 2.5rem;
}

.about-section h3 {
  font-size: 1.5rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.about-section p {
  color: #555;
  margin-bottom: 1rem;
}

.qualifications-list {
  list-style: none;
}

.qualifications-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #555;
}

.qualifications-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #7c3aed;
  font-weight: bold;
  font-size: 1.5rem;
}

.disclaimer-inline {
  background: #fff3cd;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #ffc107;
}

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

.value-card {
  text-align: center;
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.value-card h3 {
  font-size: 1.25rem;
  color: #7c3aed;
  margin-bottom: 1rem;
}

.value-card p {
  color: #555;
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h2,
.contact-form-wrapper h2 {
  font-size: 1.75rem;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

.contact-form-wrapper p {
  color: #555;
  margin-bottom: 2rem;
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item h3 {
  font-size: 1.1rem;
  color: #7c3aed;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #555;
}

/* Thank You Page */
.thank-you-section {
  padding: 4rem 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.thank-you-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  background: #7c3aed;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 2rem;
  font-weight: bold;
}

.thank-you-content h1 {
  font-size: 2.5rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.thank-you-message {
  font-size: 1.25rem;
  color: #555;
  margin-bottom: 1rem;
}

.thank-you-content p {
  color: #555;
  margin-bottom: 2rem;
}

.thank-you-info {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
}

.thank-you-info h2 {
  font-size: 1.5rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.thank-you-info ul {
  list-style: none;
  text-align: left;
}

.thank-you-info li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #555;
}

.thank-you-info li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #7c3aed;
  font-weight: bold;
}

/* Legal Content */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-text h2 {
  font-size: 1.75rem;
  color: #1a1a1a;
  margin: 2rem 0 1rem;
}

.legal-text h3 {
  font-size: 1.25rem;
  color: #2d2d2d;
  margin: 1.5rem 0 0.75rem;
}

.legal-text p {
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-text ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.legal-text ul li {
  color: #555;
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.legal-text a {
  color: #7c3aed;
  text-decoration: underline;
}

.warning-box {
  background: #fff5f5;
  border-color: #dc2626;
}

.large-text {
  font-size: 1.5rem;
}

.small-text {
  font-size: 0.9rem;
  color: #6b7280;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    gap: 1rem;
  }

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

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

  .nutritionist-intro,
  .product-showcase,
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image img {
    position: static;
  }

  .care-grid,
  .benefits-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 2rem 0;
  }

  .newsletter-box {
    padding: 2rem 1.5rem;
  }
}

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

  nav ul {
    gap: 0.75rem;
  }

  nav a {
    font-size: 0.9rem;
  }

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

  .section-title {
    font-size: 1.5rem;
  }
}
