/* ====================================
   PALETAS DINOS - ESTILOS MODERNOS
   ==================================== */

:root {
  --primary: #F39C12;      /* Naranja intenso - Acento principal */
  --secondary: #F39C12;    /* Naranja (mismo que primary) */
  --accent: #27AE60;       /* Verde jungla - Contraste */
  --success: #27AE60;      /* Verde jungla */
  --dark: #5D4037;         /* Marrón tierra - Texto principal */
  --light: #FFEDDA;        /* Durazno suave - Fondo */
  --gray: #7D5C50;         /* Marrón más claro para textos secundarios */
  --radius: 16px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

/* ====== PALETAS DE FONDO ====== */
.paletas-fondo {
  position: absolute;
  top: 0;
  left: 1.5rem;
  width: calc(100% - 3rem);
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.paleta {
  position: absolute;
  opacity: 0.12;
  object-fit: contain;
  animation: float-dinamic 20s infinite ease-in-out;
}

@keyframes float-dinamic {
  0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
  25% { transform: translateY(-30px) translateX(20px) rotate(10deg); }
  50% { transform: translateY(-50px) translateX(-20px) rotate(-10deg); }
  75% { transform: translateY(-25px) translateX(15px) rotate(8deg); }
}

body {
  font-family: 'Fredoka', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: linear-gradient(135deg, #FFEDDA 0%, #FFE4C4 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.container {
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  overflow: hidden;
}

/* ====== NAVBAR ====== */
.navbar {
  background: linear-gradient(90deg, #F39C12, #E67E22);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 101;
  box-shadow: 0 4px 20px rgba(243, 156, 18, 0.25);
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: white;
  padding: 4px;
}

.brand-name {
  font-family: 'Pacifico', cursive;
  font-size: 1.5rem;
  font-weight: 700;
}

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

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  transition: var(--transition);
  position: relative;
}

.nav-menu a:hover {
  transform: translateY(-2px);
  color: var(--accent);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-menu a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Menu */
@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-menu.open {
    max-height: 500px;
  }

  .nav-menu li {
    padding: 0.8rem 0;
  }

  .nav-menu a {
    display: block;
  }

  .menu-toggle {
    display: inline-flex;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }
}

/* ====== HERO SECTION ====== */
.hero {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.08) 0%, rgba(230, 126, 34, 0.08) 100%);
  z-index: 2;
  width: 100%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-family: 'Pacifico', cursive;
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.tagline {
  font-size: 1.5rem;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.description {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 2rem;
  max-width: 45ch;
}

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

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  max-width: 80%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(255, 22, 84, 0.2));
  animation: pulse 3s ease-in-out infinite;
}

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

/* ====== BUTTONS ====== */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(243, 156, 18, 0.4);
}

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

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

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

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

/* ====== PRODUCTOS SECTION ====== */
.productos {
  padding: 5rem 0;
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
}

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

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  width: 100%;
  overflow: hidden;
}

.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(243, 156, 18, 0.2);
}

.product-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, #FFEDDA, #FFE4C4);
}

.product-info {
  padding: 1.5rem;
}

.product-card h3 {
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.product-card p {
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 1rem;
}

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

.product-card .btn {
  width: 100%;
  text-align: center;
}

.loading {
  grid-column: 1 / -1;
  padding: 3rem;
  text-align: center;
  color: var(--gray);
}

.pdf-link-section-top {
  text-align: center;
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.btn-pdf-download {
  display: inline-block;
  padding: 3.2rem 3rem !important;
  background: linear-gradient(135deg, #E74C3C, #C0392B) !important;
  color: white !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4) !important;
  transition: var(--transition) !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
}

.btn-pdf-download:hover {
  transform: translateY(-5px) scale(1.05) !important;
  box-shadow: 0 12px 40px rgba(231, 76, 60, 0.6) !important;
}

/* ====== BEST SELLERS SECTION ====== */
.best-sellers {
  padding: 5rem 0;
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
}

.best-sellers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  width: 100%;
  overflow: hidden;
}

.narrow-grid {
  max-width: 800px;
  margin: 0 auto;
}

.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(243, 156, 18, 0.2);
}

.best-seller-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #F39C12, #E67E22);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.product-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, #FFEDDA, #FFE4C4);
}

.product-info {
  padding: 1.5rem;
}

.product-card h3 {
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.product-card p {
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 1rem;
}

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

.product-card .btn {
  width: 100%;
  text-align: center;
}

.cta-button {
  text-align: center;
  padding: 1rem 0;
}

.cta-button .btn {
  padding: 1rem 2.5rem;
}

.pdf-link-section {
  text-align: center;
  padding: 2rem 0;
}

/* ====== FEATURES SECTION ====== */
.features {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.08) 0%, rgba(243, 156, 18, 0.08) 100%);
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
}

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

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.1);
}

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

.feature-card h3 {
  color: var(--dark);
  margin-bottom: 0.8rem;
}

.feature-card p {
  color: var(--gray);
  line-height: 1.8;
  font-size: 1.2rem;
}

/* ====== NOSOTROS SECTION ====== */
.nosotros {
  padding: 5rem 0;
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
}

.nosotros-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.nosotros-text h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.nosotros-text p {
  color: var(--gray);
  margin-bottom: 1rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

.stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
}

.stat h3 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat p {
  color: var(--gray);
  margin: 0;
}

.nosotros-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ====== TEMPORADA SECTION ====== */
.temporada {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.08) 0%, rgba(230, 126, 34, 0.08) 100%);
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
}

.temporada-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
  overflow: hidden;
}

.temporada-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.temporada-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(243, 156, 18, 0.2);
}

.badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
}

.badge-new {
  background: var(--success);
  color: white;
}

.badge-hot {
  background: var(--primary);
  color: white;
}

.badge-classic {
  background: var(--secondary);
  color: white;
}

.temporada-card h3 {
  color: var(--dark);
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.temporada-card p {
  color: var(--gray);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ====== CONTACTO SECTION ====== */
.contacto {
  padding: 5rem 0;
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contacto-item h3 {
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contacto-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.contacto-item a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.contacto-item p {
  color: var(--gray);
  margin: 0;
  line-height: 1.6;
}

.contacto-map iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contacto-address {
  text-align: center;
  margin-top: 1rem;
}

/* ====== FOOTER ====== */
.footer {
  background: linear-gradient(90deg, #F39C12, #E67E22);
  color: white;
  padding: 2rem 0;
  text-align: center;
  position: relative;
  z-index: 2;
  margin-top: 3rem;
  width: 100%;
  overflow: hidden;
}

.footer p {
  margin: 0;
}

/* ====== RESPONSIVE ====== */

/* Tablets y dispositivos pequeños */
@media (max-width: 768px) {
  * {
    font-size: 80%;
  }

  .container {
    max-width: 100%;
    padding: 0 1rem;
  }

  .paletas-fondo {
    left: 1rem;
    width: calc(100% - 3rem);
  }

  body {
    font-size: 1rem;
  }

  /* Hero Section */
  .hero-content {
    display: block;
    grid-template-columns: none;
    gap: 2rem;
  }

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

  .hero-text {
    margin-bottom: 2rem;
  }

  .hero-visual {
    width: 100%;
    margin-top: 2rem;
  }

  /* Navbar */
  .navbar-content {
    flex-wrap: wrap;
  }

  .logo-brand {
    width: 100%;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .logo {
    width: 40px;
    height: 40px;
  }

  /* Sections Layout */
  .nosotros-content {
    display: block;
    grid-template-columns: none;
    gap: 2rem;
  }

  .nosotros-text {
    margin-bottom: 2rem;
  }

  .nosotros-text h2 {
    font-size: 2rem;
  }

  .contacto-grid {
    gap: 2rem;
  }

  .contacto-item h3 {
    font-size: 1.4rem;
  }

  .contacto-item a {
    font-size: 1.1rem;
  }

  .contacto-item p {
    font-size: 1rem;
  }

  .contacto-map iframe {
    height: 300px;
  }

  /* Stats */
  .stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  /* Grids */
  .products-grid,
  .best-sellers-grid,
  .temporada-grid,
  .features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Headers */
  .section-header h2 {
    font-size: 2rem;
  }

  /* Buttons */
  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }

  .btn-pdf-download {
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
  }

  /* Product Cards */
  .product-card {
    width: 100%;
  }

  .product-img {
    height: 150px;
  }

  .product-info {
    padding: 1rem;
  }

  .product-card h3 {
    font-size: 1.2rem;
  }

  .product-card p {
    font-size: 0.95rem;
  }

  /* Feature Cards */
  .feature-card {
    padding: 1.5rem;
  }

  .feature-icon {
    font-size: 2.5rem;
  }

  .feature-card h3 {
    font-size: 1.2rem;
  }

  /* Padding/Margins */
  .hero {
    padding: 3rem 0;
  }

  .best-sellers,
  .features,
  .temporada,
  .productos,
  .contacto {
    padding: 3rem 0;
  }

  .nosotros {
    padding: 3rem 0;
  }

  /* Section Header */
  .section-header {
    margin-bottom: 2rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  /* Badge */
  .best-seller-badge {
    top: 10px;
    right: 10px;
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
  }

  /* Navigation Menu Mobile */
  .nav-menu {
    gap: 0;
  }

  .nav-menu li {
    padding: 0.6rem 0;
  }

  .nav-menu a {
    padding: 0.5rem 0;
    font-size: 0.95rem;
  }

  /* Footer */
  .footer {
    padding: 1.5rem 0;
    font-size: 0.9rem;
  }

  /* Stat */
  .stat h3 {
    font-size: 2rem;
  }

  .stat p {
    font-size: 0.9rem;
  }

  /* Tagline */
  .tagline {
    font-size: 1.1rem;
  }

  .description {
    font-size: 0.9rem;
  }

  /* CTA Button */
  .cta-button {
    padding: 1rem 0;
  }

  .cta-button .btn {
    padding: 0.8rem 2rem;
  }
}

/* Pantallas muy pequeñas */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 0.75rem;
  }

  .paletas-fondo {
    left: 0.75rem;
    width: calc(100% - 1.5rem);
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  .btn-primary {
    width: 100%;
  }

  .logo {
    width: 35px;
    height: 35px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .nav-menu {
    gap: 0;
    padding: 0.5rem;
  }

  .nav-menu li {
    padding: 0.4rem 0;
  }

  .nav-menu a {
    font-size: 0.9rem;
  }

  .hero,
  .best-sellers,
  .features,
  .temporada,
  .productos,
  .nosotros,
  .contacto {
    padding: 2rem 0;
  }

  .tagline {
    font-size: 1rem;
  }

  .description {
    font-size: 0.85rem;
  }

  .nosotros-text h2 {
    font-size: 1.5rem;
  }

  .stat h3 {
    font-size: 1.5rem;
  }

  .contacto-item h3 {
    font-size: 1.2rem;
  }

  .contacto-item a {
    font-size: 1rem;
  }

  .contacto-item p {
    font-size: 0.95rem;
  }

  .contacto-map iframe {
    height: 250px;
  }

  .feature-icon {
    font-size: 2rem;
  }

  .product-img {
    height: 120px;
  }

  .best-seller-badge {
    padding: 0.3rem 0.6rem;
    font-size: 0.65rem;
  }

  .cta-button .btn {
    padding: 0.7rem 1.5rem;
  }
}
