:root {
  /* Primary Colors */
  --primary-color: #E63946;
  --primary-dark: #C82333;
  --primary-light: #F87A85;
  
  /* Complementary Colors */
  --complementary-color: #39E6A9;
  --complementary-dark: #28B985;
  --complementary-light: #7FEFCB;
  
  /* Neutral Colors */
  --dark: #1D3557;
  --medium: #457B9D;
  --light: #A8DADC;
  --white: #F1FAEE;
  --black: #0D1B2A;
  
  /* Accent Colors */
  --accent-1: #FFB703;
  --accent-2: #FB8500;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --shadow-brutal: 4px 4px 0px var(--dark);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  
  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Work Sans', sans-serif;
}

/* ===== GLOBAL STYLES ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-sm);
}

/* Buttons */
.button.is-primary {
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

.button.is-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button.is-outlined.is-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.button.is-outlined.is-primary:hover {
  background-color: var(--primary-color);
  color: white;
}

.button.is-outlined.is-white {
  border-color: white;
  color: white;
}

.button.is-outlined.is-white:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

/* General Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HEADER ===== */
.navbar {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.navbar.is-scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-item {
  font-family: var(--font-heading);
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-item:hover {
  color: var(--primary-color) !important;
}

.navbar-burger {
  height: 4rem;
}

.navbar-burger span {
  height: 2px;
  width: 20px;
  left: calc(50% - 10px);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
  z-index: 1;
}

.hero-body {
  position: relative;
  z-index: 2;
  padding: var(--space-xl) var(--space-md);
}

.hero .title, 
.hero .subtitle, 
.hero p {
  color: white !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.icon-scroll {
  width: 30px;
  height: 50px;
  margin: 0 auto;
  border: 2px solid white;
  border-radius: 25px;
  position: relative;
}

.icon-scroll::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background-color: white;
  border-radius: 50%;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(20px); }
}

/* ===== VISION SECTION ===== */
#vision {
  padding: var(--space-lg) 0;
}

#vision .card {
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#vision .card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

#vision .card-image {
  overflow: hidden;
  height: 250px;
}

#vision .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

#vision .card:hover .card-image img {
  transform: scale(1.1);
}

#vision .card-content {
  padding: var(--space-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

#vision .title {
  margin-bottom: var(--space-sm);
  color: var(--dark);
}

/* ===== RECIPES/FEATURES SECTION ===== */
#recetas {
  padding: var(--space-lg) 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.recipe-card {
  background-color: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-md);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.image-container {
  height: 250px;
  overflow: hidden;
  width: 100%;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.recipe-card:hover .image-container img {
  transform: scale(1.1);
}

.recipe-content {
  padding: var(--space-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.recipe-toggle {
  margin-top: auto;
}

.recipe-details {
  display: none;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--light);
}

.recipe-details ul, 
.recipe-details ol {
  margin-left: var(--space-md);
  margin-bottom: var(--space-sm);
}

.toggle-recipe {
  cursor: pointer;
  transition: all 0.3s ease;
}

/* ===== BLOG SECTION ===== */
#blog {
  padding: var(--space-lg) 0;
  background-color: var(--white);
}

#blog .card {
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#blog .card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

#blog .card-image {
  overflow: hidden;
  height: 250px;
}

#blog .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

#blog .card-content {
  padding: var(--space-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

#blog .card-content .button {
  margin-top: auto;
}

/* ===== RECURSOS EXTERNOS ===== */
#recursos {
  padding: var(--space-lg) 0;
}

.resource-card {
  background-color: white;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  margin-bottom: var(--space-md);
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.resource-card h3 {
  margin-bottom: var(--space-sm);
}

.resource-card a {
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.resource-card a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ===== EVENTS CALENDAR ===== */
#eventos {
  padding: var(--space-lg) 0;
}

.event-card {
  background-color: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-md);
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.event-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
  transform: scale(1.1);
}

.event-date {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: white;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.event-date .day {
  font-size: 1.5rem;
  font-weight: bold;
  display: block;
  line-height: 1;
}

.event-date .month {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.event-content {
  padding: var(--space-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.event-details {
  margin: var(--space-sm) 0;
}

.event-details p {
  margin-bottom: var(--space-xs);
}

.event-content .button {
  margin-top: auto;
}

/* ===== TESTIMONIALS ===== */
#testimonios {
  padding: var(--space-lg) 0;
}

.testimonial-slider {
  position: relative;
  margin: 0 auto;
  max-width: 800px;
}

.testimonial-slide {
  display: none;
}

.testimonial-slide:first-child {
  display: block;
}

.testimonial-card {
  background-color: white;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  margin-bottom: var(--space-md);
}

.testimonial-image {
  flex: 0 0 100px;
  margin-right: var(--space-md);
}

.testimonial-image img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.testimonial-content {
  flex: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--space-sm);
  position: relative;
  padding-left: var(--space-md);
}

.testimonial-text::before {
  content: """;
  font-size: 4rem;
  position: absolute;
  left: -5px;
  top: -20px;
  color: var(--light);
  font-family: serif;
}

.testimonial-author {
  font-weight: bold;
  color: var(--medium);
}

.testimonial-controls {
  margin-top: var(--space-md);
}

.testimonial-controls .button {
  margin: 0 var(--space-xs);
}

/* ===== FAQ SECTION ===== */
#faq {
  padding: var(--space-lg) 0;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: white;
}

.faq-question {
  padding: var(--space-md);
  background-color: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.faq-question h3 {
  margin: 0;
}

.faq-question .icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--space-md);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 var(--space-md) var(--space-md);
  max-height: 500px;
}

/* ===== COMMUNITY SECTION ===== */
#comunidad {
  padding: var(--space-lg) 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.community-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: var(--space-md);
  backdrop-filter: blur(5px);
  height: 100%;
}

.community-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.community-icon {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
  color: var(--complementary-color);
}

.community-card h3 {
  margin-bottom: var(--space-sm);
}

.community-card p {
  font-size: 1rem;
}

/* ===== MEDIA/GALLERY SECTION ===== */
#media {
  padding: var(--space-lg) 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ===== CONTACT SECTION ===== */
#contacto {
  padding: var(--space-lg) 0;
}

.contact-form {
  background-color: white;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.contact-form .label {
  color: var(--dark);
}

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
  border-radius: var(--radius-sm);
  border: 2px solid var(--light);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .input:focus,
.contact-form .textarea:focus,
.contact-form .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-light);
}

.contact-info {
  padding: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.contact-item .icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: var(--space-sm);
}

.contact-item .info {
  flex: 1;
}

.contact-item h3 {
  margin-bottom: var(--space-xs);
}

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-map img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer .title {
  color: white;
}

.footer p {
  color: var(--light);
}

.social-links {
  margin-bottom: var(--space-md);
}

.social-links a {
  color: var(--light);
  margin-right: var(--space-sm);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: var(--light);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.newsletter-form .input {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.newsletter-form .input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal a {
  color: var(--light);
  margin: 0 var(--space-xs);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* ===== INNER PAGES ===== */
.inner-page {
  padding-top: 100px;
  min-height: 100vh;
}

.inner-page .title {
  margin-bottom: var(--space-md);
}

/* ===== SUCCESS PAGE ===== */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.success-content {
  max-width: 600px;
  padding: var(--space-lg);
  background-color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.success-icon {
  font-size: 5rem;
  color: var(--complementary-color);
  margin-bottom: var(--space-md);
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
  }
  
  .hero-body {
    padding: var(--space-lg) var(--space-sm);
  }
  
  .testimonial-card {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial-image {
    margin-right: 0;
    margin-bottom: var(--space-sm);
  }
  
  .testimonial-text::before {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .testimonial-text {
    padding-left: 0;
    padding-top: var(--space-md);
  }
}

@media screen and (max-width: 768px) {
  .contact-map {
    margin-top: var(--space-md);
  }
  
  .community-card,
  .event-card,
  .recipe-card,
  #blog .card,
  #vision .card {
    margin-bottom: var(--space-md);
  }
  
  .footer {
    text-align: center;
  }
  
  .social-links,
  .footer-links {
    margin-bottom: var(--space-md);
  }
}

/* ===== SPECIAL EFFECTS AND ANIMATIONS ===== */
/* Parallax Effect */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Neo-Brutalism Elements */
.brutal-box {
  background-color: white;
  border: 3px solid var(--dark);
  box-shadow: var(--shadow-brutal);
  transform: rotate(-1deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brutal-box:hover {
  transform: rotate(0deg) translateY(-5px);
  box-shadow: 6px 6px 0px var(--dark);
}

/* Button Micro-Interactions */
.button {
  position: relative;
  overflow: hidden;
}

.button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.button:hover::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  100% {
    transform: scale(20, 20);
    opacity: 0;
  }
}

/* Cookie Popup Styles */
#cookie-popup {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#accept-cookies {
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#accept-cookies:hover {
  background-color: #45a049;
  transform: scale(1.05);
}
p{
  color: #0D1B2A!important;
}