/* La Clave de la Carne - Wellness Center Stylesheet */

/* Import Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --primary-green: #7DBA91;
  --primary-green-hover: #5A9771;
  --beige: #F5F1E8;
  --sand: #E8DCC4;
  --white: #FFFFFF;
  --text-dark: #2C2C2C;
  --text-light: #6B6B6B;
  --shadow: rgba(0, 0, 0, 0.1);
  --max-width: 1200px;
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* Header Styles */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-green);
}

.logo span {
  font-weight: 300;
  color: var(--text-dark);
}

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

nav a {
  font-weight: 500;
  transition: color 0.3s ease;
}

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

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

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background: linear-gradient(135deg, rgba(125, 186, 145, 0.7), rgba(245, 241, 232, 0.3)), url('https://images.unsplash.com/photo-1544161515-4ab6ce6db874?w=1600') center/cover no-repeat;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.btn-primary:hover {
  background-color: var(--primary-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(125, 186, 145, 0.4);
}

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

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

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 300;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Cards */
.card {
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-content {
  padding: 2rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.card-text {
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 1rem;
}

.card-link {
  color: var(--primary-green);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.card-link:hover {
  color: var(--primary-green-hover);
}

/* Features Section */
.features {
  background-color: var(--beige);
}

.feature-box {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.feature-box h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-box p {
  color: var(--text-light);
  font-weight: 300;
}

/* Statistics Section */
.stats {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-green-hover));
  color: var(--white);
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 1.1rem;
  font-weight: 300;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, rgba(125, 186, 145, 0.1), rgba(245, 241, 232, 0.5));
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 3rem 0 1rem;
}

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

.footer-section h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-green);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  margin-bottom: 0.5rem;
  display: block;
}

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

.footer-tagline {
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info {
  background-color: var(--beige);
  padding: 2rem;
  border-radius: 12px;
}

.contact-item {
  display: flex;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-green);
}

.contact-item h4 {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.contact-item p {
  color: var(--text-light);
  font-weight: 300;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  height: 400px;
  box-shadow: 0 4px 20px var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Form Styles */
.contact-form {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-green);
}

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-dark);
  color: var(--white);
  padding: 1.5rem;
  box-shadow: 0 -4px 20px var(--shadow);
  z-index: 9999;
  display: none;
}

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

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

.cookie-text {
  flex: 1;
  font-weight: 300;
}

.cookie-text a {
  color: var(--primary-green);
  text-decoration: underline;
}

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

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

.cookie-accept {
  background-color: var(--primary-green);
  color: var(--white);
}

.cookie-accept:hover {
  background-color: var(--primary-green-hover);
}

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

.cookie-decline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Blog Styles */
.blog-preview {
  margin-bottom: 3rem;
}

.blog-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.blog-content {
  line-height: 1.8;
  color: var(--text-dark);
}

.blog-content h2 {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.blog-content h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
}

.blog-content p {
  margin-bottom: 1rem;
}

.blog-content ul,
.blog-content ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.blog-content img {
  margin: 2rem 0;
  border-radius: 12px;
}

/* FAQ Styles */
.faq-item {
  background-color: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px var(--shadow);
}

.faq-question {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 0.8rem;
}

.faq-answer {
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.8;
}

/* Legal Pages */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

.legal-content h2 {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.legal-content h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
}

.legal-content p,
.legal-content ul {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.legal-content ul {
  margin-left: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
  }

  .mobile-menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 4px 10px var(--shadow);
    display: none;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    padding: 1rem;
    gap: 0;
  }

  nav li {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
  }

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

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

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  section {
    padding: 3rem 0;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .cookie-btn {
    width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}