/* =========================================
   🌽 ESTILOS GLOBALES - ELOTES Y ESQUITES LA FRANJA
   ========================================= */

/* ======= VARIABLES DE COLOR ======= */
:root {
  --primary-color: #439CD6;
  --secondary-color: #2B7CB0;
  --light-bg: #f9fafc;
  --dark-text: #333;
  --light-text: #f8f9fa;
}

/* ======= FONDO GENERAL ======= */
body {
  background: linear-gradient(180deg, #d6ebf8 0%, #ffffff 100%) !important;
  font-family: 'Poppins', sans-serif;
  color: var(--dark-text);
  margin: 0;
  padding: 0;
}

/* ======= CONTENEDOR ======= */
.container {
  max-width: 1100px;
}

/* =========================================
   HEADER / NAVEGACIÓN
   ========================================= */
.site-header {
  background-color: var(--primary-color) !important;
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.site-header a {
  color: var(--light-text) !important;
  transition: color 0.2s ease-in-out;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.site-header a:hover {
  color: #fff !important;
  text-decoration: underline;
}

.nav-link.active {
  font-weight: 600;
  text-decoration: underline;
}

/* =========================================
   HERO LANDING SECTION
   ========================================= */
.hero-section {
  background: linear-gradient(180deg, #ffffff 0%, #e3f2fb 100%) !important;
  padding: 5rem 0;
}

.hero-section h1 {
  color: var(--primary-color);
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.05);
}

.hero-section p {
  color: #555;
  font-size: 1.05rem;
}

.hero-section .btn-primary {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)) !important;
  border: none;
  font-weight: 500;
  border-radius: 50px;
  transition: transform 0.3s ease, background 0.3s ease;
  padding: 0.75rem 2rem;
}

.hero-section .btn-primary:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color)) !important;
}

/* ======= CARRUSEL ======= */
.hero-section .carousel img {
  object-fit: cover;
  height: 360px;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* =========================================
   PRODUCT CARDS (BENEFICIOS)
   ========================================= */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-left 0.3s ease;
  background-color: #ffffff;
  border-left: 4px solid transparent;
  border-radius: 0.5rem;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-4px);
  border-left-color: var(--primary-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.product-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 0.5rem 0 0 0.5rem;
}

.product-card .card-body {
  padding: 1rem;
}

.product-card h5,
.product-card h6 {
  font-weight: 600;
  color: var(--dark-text);
}

.product-card p {
  color: #666;
  font-size: 0.9rem;
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9f2f9 100%) !important;
}

.contact-section h2 {
  font-size: 2rem;
  color: var(--primary-color);
  letter-spacing: 0.5px;
}

.contact-section form {
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-section form:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-section .btn-primary {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)) !important;
  border: none;
  transition: background 0.3s ease;
}

.contact-section .btn-primary:hover {
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color)) !important;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  background-color: var(--primary-color) !important;
  color: var(--light-text) !important;
  padding: 2rem 0;
  text-align: center;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1);
}

footer a {
  color: var(--light-text) !important;
  font-size: 1.2rem;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

footer small {
  color: rgba(255, 255, 255, 0.8);
}

/* =========================================
   BOTONES GENERALES
   ========================================= */
.btn-primary {
  background: var(--primary-color) !important;
  border: none;
}

.btn-primary:hover {
  background: var(--secondary-color) !important;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
  .hero-section {
    text-align: center;
    padding: 3rem 1rem;
  }

  .hero-section .carousel img {
    height: 260px;
  }

  .product-card img {
    border-radius: 0.5rem 0.5rem 0 0;
    height: 180px;
  }

  .product-card {
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-section .carousel img {
    height: 220px;
  }

  .product-card img {
    height: 140px;
  }

  .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
  }
}
/* =========================================
   TESTIMONIOS
   ========================================= */
.testimonios-section {
  background: linear-gradient(180deg, #f9fbfd 0%, #eef5fa 100%);
}

.testimonial-card {
  transition: all 0.3s ease-in-out;
  background-color: #ffffff;
  border-top: 4px solid transparent;
  border-radius: 1rem;
  padding: 1.5rem 1rem;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-top-color: var(--primary-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.testimonial-card img {
  object-fit: cover;
  border: 3px solid var(--primary-color);
  transition: transform 0.3s ease;
}

.testimonial-card img:hover {
  transform: scale(1.1);
}

.testimonial-card h5 {
  font-weight: 600;
  margin-top: 0.5rem;
}

.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-card {
    margin-bottom: 1rem;
  }
}
