/* ============================================
   CHURROS CUCHITO - CUSTOM STYLES
   Paleta de colores basada en el logo
   ============================================ */

/* Nueva paleta de colores basada en el logo */
:root {
  /* Colores principales del logo */
  --orange-primary: #ff6b00;
  --orange-light: #ff8533;
  --orange-dark: #cc5500;
  --silver: #c0c0c0;
  --silver-light: #e8e8e8;
  --silver-dark: #8c8c8c;
  --cyan-accent: #5dd9e8;
  --cyan-light: #8fe5f0;
  --cyan-dark: #3bbfd1;

  /* Colores de soporte */
  --white: #ffffff;
  --black: #1a1a1a;
  --gray-100: #f5f5f5;
  --gray-200: #eeeeee;
  --gray-300: #e0e0e0;
  --gray-700: #424242;
  --gray-900: #212121;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-orange: 0 8px 24px rgba(255, 107, 0, 0.25);

  /* Transiciones */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================================
   ESTILOS GENERALES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Tipografía mejorada */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}

.display-1,
.display-2,
.display-3,
.display-4 {
  font-weight: 800;
}

/* ============================================
   NAVBAR - Diseño moderno con logo
   ============================================ */
.navbar {
  background: var(--white) !important;
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

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

/* Logo integrado en navbar */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem !important;
  font-weight: 800;
  color: var(--orange-primary) !important;
  transition: var(--transition-fast);
}

.navbar-brand img {
  height: 50px;
  width: auto;
  transition: var(--transition-fast);
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.navbar-brand:hover img {
  filter: drop-shadow(0 4px 8px rgba(255, 107, 0, 0.3));
}

/* Links de navegación modernos */
.nav-link {
  font-weight: 600;
  font-size: 1rem;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  color: var(--gray-700) !important;
  position: relative;
  transition: var(--transition-fast);
  border-radius: 8px;
}

.nav-link:hover {
  color: var(--orange-primary) !important;
  background-color: var(--gray-100);
}

.nav-link.active {
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
  box-shadow: var(--shadow-orange);
}

/* ============================================
   HERO SECTION - Diseño impactante
   ============================================ */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-dark) 100%);
  padding: 120px 0 80px;
  overflow: hidden;
}

/* Patrón decorativo en hero */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(93, 217, 232, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
  line-height: 1.1;
}

.hero-title .highlight {
  color: var(--cyan-accent);
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 600px;
}

.hero-image {
  position: relative;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-image img {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* ============================================
   BOTONES - Diseño moderno
   ============================================ */
.btn {
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  transition: var(--transition-normal);
  border: none;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
  color: var(--white);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--orange-dark), var(--orange-primary));
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 107, 0, 0.35);
}

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

.btn-outline-light:hover {
  background: var(--white);
  color: var(--orange-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.btn-cyan {
  background: linear-gradient(135deg, var(--cyan-accent), var(--cyan-dark));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(93, 217, 232, 0.25);
}

.btn-cyan:hover {
  background: linear-gradient(135deg, var(--cyan-dark), var(--cyan-accent));
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(93, 217, 232, 0.35);
}

/* ============================================
   SECCIONES
   ============================================ */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--orange-primary), var(--cyan-accent));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-700);
  margin-bottom: 3rem;
}

/* ============================================
   CARDS DE PRODUCTOS - Diseño premium
   ============================================ */
.product-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-normal);
  border: 1px solid var(--gray-200);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange-primary);
}

.product-card-image {
  position: relative;
  overflow: hidden;
  height: 280px;
  background: var(--gray-100);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, var(--cyan-accent), var(--cyan-dark));
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: var(--shadow-md);
}

.product-card-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.75rem;
}

.product-card-text {
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--orange-primary);
  margin-bottom: 1rem;
}

/* ============================================
   FEATURES / CARACTERÍSTICAS
   ============================================ */
.feature-box {
  text-align: center;
  padding: 2rem;
  border-radius: 16px;
  background: var(--white);
  transition: var(--transition-normal);
  border: 1px solid var(--gray-200);
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--cyan-accent);
}

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

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.75rem;
}

.feature-text {
  color: var(--gray-700);
}

/* ============================================
   GALERÍA
   ============================================ */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  height: 300px;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.9), rgba(93, 217, 232, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: 3rem;
  color: var(--white);
}

/* ============================================
   FORMULARIO DE CONTACTO
   ============================================ */
.form-control,
.form-select {
  padding: 0.875rem 1.25rem;
  border-radius: 12px;
  border: 2px solid var(--gray-300);
  transition: var(--transition-fast);
  font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--orange-primary);
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 0, 0.15);
  outline: none;
}

.form-label {
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

/* ============================================
   CONTACT INFO CARDS
   ============================================ */
.contact-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  transition: var(--transition-normal);
  text-align: center;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-primary);
}

.contact-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-accent), var(--cyan-dark));
  color: var(--white);
  font-size: 1.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 3rem 0 1.5rem;
}

footer h5 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

footer a {
  color: var(--gray-300);
  text-decoration: none;
  transition: var(--transition-fast);
  display: inline-block;
}

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

.social-links a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gray-700);
  color: var(--white);
  margin: 0 0.25rem;
  transition: var(--transition-fast);
}

.social-links a:hover {
  background: linear-gradient(135deg, var(--orange-primary), var(--orange-light));
  transform: translateY(-3px);
}

/* ============================================
   UTILIDADES
   ============================================ */
.bg-orange {
  background: linear-gradient(135deg, var(--orange-primary), var(--orange-light)) !important;
}

.bg-cyan {
  background: linear-gradient(135deg, var(--cyan-accent), var(--cyan-dark)) !important;
}

.bg-silver {
  background-color: var(--silver-light) !important;
}

.text-orange {
  color: var(--orange-primary) !important;
}

.text-cyan {
  color: var(--cyan-accent) !important;
}

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease-out;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }

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

@media (max-width: 768px) {
  .hero-section {
    padding: 80px 0 60px;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
  }

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

  .section {
    padding: 60px 0;
  }

  .navbar-brand img {
    height: 40px;
  }

  .gallery-item {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
  }

  .product-card-body {
    padding: 1.5rem;
  }
}
