/* 
   ProSeries Ultra Health Pet Food - CSS Estilos Premium
   Desarrollado con arquitectura moderna y responsive (CSS Grid, Flexbox, Variables CSS)
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&family=Raleway:wght@300;400;500;600&display=swap');

:root {
  /* Paleta de colores */
  --primary-color: #0d233a;       /* Azul marino profundo de la marca */
  --primary-light: #163354;
  --accent-color: #f1b827;        /* Dorado/Amarillo corporativo */
  --accent-hover: #d9a21b;
  --bg-light: #f8fafc;            /* Gris claro para secciones alternas */
  --bg-white: #ffffff;
  --text-dark: #1e293b;           /* Gris muy oscuro para texto principal */
  --text-muted: #64748b;          /* Gris medio para descripciones */
  --text-light: #f8fafc;          /* Blanco roto para textos en fondo oscuro */
  --border-color: #e2e8f0;
  
  /* Fuentes */
  --font-title: 'Montserrat', sans-serif;
  --font-body: 'Raleway', sans-serif;

  /* Transiciones y Sombras */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 2px 4px rgba(13, 35, 58, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(13, 35, 58, 0.1), 0 4px 6px -2px rgba(13, 35, 58, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(13, 35, 58, 0.15), 0 10px 10px -5px rgba(13, 35, 58, 0.04);
}

/* 1. Estilos Globales y Reseteo */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(241, 184, 39, 0.4);
}

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

.btn-secondary:hover {
  background-color: var(--bg-white);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 50px;
  font-weight: 300;
}

/* 2. Header & Navegación (Glassmorphism) */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(13, 35, 58, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

header.scrolled {
  background-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo img {
  height: 50px;
  transition: var(--transition);
}

nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
  position: relative;
  padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-color);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--bg-white);
  border-radius: 2px;
  transition: var(--transition);
}

/* 3. Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(13, 35, 58, 0.75), rgba(13, 35, 58, 0.9)), url('../images/hero-bg.png') no-repeat center center/cover;
  color: var(--text-light);
  padding-top: 80px;
  text-align: left;
}

.hero-content {
  max-width: 650px;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--bg-white);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--accent-color);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 35px;
  font-weight: 300;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

/* 4. Historia de ProSeries */
.history {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.history-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.history-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: var(--transition);
}

.history-image:hover img {
  transform: scale(1.05);
}

.history-content h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.history-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.history-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 400;
}

/* 5. Sección Productos para Perro */
.products {
  padding: 100px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.product-card {
  background-color: var(--bg-white);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(241, 184, 39, 0.3);
}

.product-image {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

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

.product-image img {
  max-height: 100%;
  object-fit: contain;
}

.product-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.product-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
}

/* Especial Holistic Badge */
.product-card.holistic {
  position: relative;
  border: 2px solid var(--accent-color);
  background: linear-gradient(var(--bg-white), #fffbf0);
}

.holistic-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--accent-color);
  color: var(--primary-color);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

/* 6. Sección CoreyTec (Innovaciones) */
.coreytec {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-light);
  padding: 100px 0;
}

.coreytec .section-title {
  color: var(--bg-white);
}

.coreytec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.coreytec-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.coreytec-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-color);
}

.coreytec-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 24px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.coreytec-card:hover .coreytec-icon {
  background-color: var(--accent-color);
  transform: rotate(5deg);
}

.coreytec-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.coreytec-card:hover .coreytec-icon img {
  filter: none;
}

.coreytec-card h3 {
  color: var(--bg-white);
  font-size: 1.4rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.coreytec-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 7. Localizador de Tiendas (Locator) */
.locator {
  padding: 100px 0;
  text-align: center;
}

.locator-content {
  max-width: 650px;
  margin: 0 auto;
}

.locator h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.locator p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 35px;
}

/* 8. Footer (Pie de página) */
footer {
  background-color: #071422;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 45px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--bg-white);
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.footer-contact a {
  color: var(--accent-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.footer-socials a:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* 9. Estilos Responsivos (Media Queries) */
@media (max-width: 1024px) {
  .coreytec-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--primary-color);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: var(--transition);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    font-size: 1.2rem;
  }

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

  .history-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .history-image img {
    height: 350px;
  }

  .coreytec-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

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

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

/* Animaciones de Entrada (Scroll) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
