/* Estilos principales para Monkey Power */

/* Variables de colores */
:root {
  --color-fucsia: #FF0066;
  --color-amarillo: #FFCC00;
  --color-negro: #000000;
  --color-naranja: #FF6600;
  --color-blanco: #FFFFFF;
  --color-gris-claro: #CCCCCC;
}

/* Reseteo básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Estilos generales */
body {
  font-family: 'Poppins', 'Montserrat', sans-serif;
  color: var(--color-negro);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--color-fucsia);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--color-amarillo);
}

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

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--color-fucsia);
  color: var(--color-blanco);
  border: none;
  border-radius: 5px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--color-amarillo);
  color: var(--color-negro);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: var(--color-amarillo);
  color: var(--color-negro);
}

.btn-secondary:hover {
  background-color: var(--color-fucsia);
  color: var(--color-blanco);
}

/* Header y navegación */
header {
  background-color: var(--color-negro);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

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

.logo {
  height: 60px;
}

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

.nav-item {
  margin-left: 30px;
}

.nav-link {
  color: var(--color-blanco);
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
}

.nav-link:hover {
  color: var(--color-amarillo);
}

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

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

.hamburger {
  display: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background-color: var(--color-amarillo);
  background-image: url('../images/MOTIVO.png');
  background-blend-mode: overlay;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/MOTIVO.png');
  background-size: contain;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
  background-color: rgba(255, 204, 0, 0.8);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-title {
  font-size: 4rem;
  color: var(--color-negro);
  margin-bottom: 20px;
  text-shadow: 2px 2px 0 var(--color-fucsia);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.hero-image {
  position: absolute;
  right: 5%;
  bottom: 0;
  max-height: 80%;
  max-width: 40%;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
  opacity: 0.9;
}

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

/* Sección de Presentación del Producto */
.product {
  background: linear-gradient(135deg, var(--color-negro) 0%, var(--color-fucsia) 100%);
  color: var(--color-blanco);
  padding: 100px 0;
  position: relative;
}

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

.product-content {
  flex: 1;
  padding-right: 50px;
}

.product-title {
  font-size: 3rem;
  margin-bottom: 30px;
  color: var(--color-amarillo);
}

.product-image {
  flex: 1;
  text-align: center;
}

.product-image img {
  max-width: 100%;
  transform: rotate(-5deg);
  transition: transform 0.5s ease;
}

.product-image img:hover {
  transform: rotate(5deg) scale(1.05);
}

.features-list {
  margin-top: 30px;
}

.feature-item {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.feature-item::before {
  content: '✓';
  color: var(--color-amarillo);
  font-weight: bold;
  margin-right: 10px;
}

/* Sección de Variedad de Productos */
.varieties {
  padding: 100px 0;
  background-color: var(--color-blanco);
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 50px;
  color: var(--color-fucsia);
}

.varieties-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.variety-card {
  width: calc(33.333% - 20px);
  margin-bottom: 30px;
  border: 3px solid var(--color-fucsia);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.variety-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.variety-image {
  width: 100%;
  height: 300px;
  object-fit: contain;
  background-color: var(--color-amarillo);
  padding: 20px;
}

.variety-content {
  padding: 20px;
}

.variety-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--color-fucsia);
}

/* Sección de Beneficios */
.benefits {
  background-color: var(--color-negro);
  color: var(--color-blanco);
  padding: 100px 0;
  background-image: url('../images/MOTIVOconfondo.jpg');
  background-size: cover;
  background-blend-mode: overlay;
  background-position: center;
}

.benefits-title {
  color: var(--color-amarillo);
}

.benefits-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.benefit-item {
  width: calc(50% - 20px);
  margin-bottom: 40px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.7);
  border-left: 5px solid var(--color-fucsia);
  border-radius: 5px;
}

.benefit-title {
  font-size: 1.5rem;
  color: var(--color-amarillo);
  margin-bottom: 15px;
}

/* Galería Visual */
.gallery {
  padding: 100px 0;
  background-color: var(--color-blanco);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 250px;
}

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 0, 102, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

.gallery-icon {
  color: var(--color-blanco);
  font-size: 2rem;
}

/* Sección de Merchandising */
.merch {
  padding: 100px 0;
  background-color: var(--color-negro);
  color: var(--color-blanco);
}

.merch-title {
  color: var(--color-amarillo);
}

.merch-slider {
  position: relative;
  overflow: hidden;
}

.merch-slides {
  display: flex;
  transition: transform 0.5s ease;
}

.merch-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
}

.merch-image {
  width: 50%;
  padding: 20px;
}

.merch-image img {
  width: 100%;
  border-radius: 10px;
}

.merch-content {
  width: 50%;
  padding: 20px;
}

.merch-controls {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.merch-control {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--color-gris-claro);
  margin: 0 5px;
  cursor: pointer;
}

.merch-control.active {
  background-color: var(--color-fucsia);
}

/* Sección de Puntos de Venta */
.locations {
  padding: 100px 0;
  background-color: var(--color-blanco);
}

.map-container {
  height: 400px;
  margin-bottom: 50px;
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid var(--color-fucsia);
}

.locations-info {
  display: flex;
  justify-content: space-between;
}

.location-item {
  width: calc(33.333% - 20px);
  padding: 20px;
  background-color: var(--color-amarillo);
  border-radius: 10px;
  text-align: center;
}

.location-icon {
  font-size: 2rem;
  color: var(--color-fucsia);
  margin-bottom: 15px;
}

.location-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* Contacto y Footer */
.contact {
  padding: 100px 0;
  background-color: var(--color-negro);
  color: var(--color-blanco);
  background-image: url('../images/MOTIVO.png');
  background-size: contain;
  background-blend-mode: overlay;
}

.contact-container {
  display: flex;
  justify-content: space-between;
}

.contact-info {
  width: 40%;
}

.contact-title {
  color: var(--color-amarillo);
  margin-bottom: 30px;
}

.contact-item {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.contact-icon {
  color: var(--color-fucsia);
  font-size: 1.5rem;
  margin-right: 15px;
}

.social-links {
  display: flex;
  margin-top: 30px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-fucsia);
  color: var(--color-blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--color-amarillo);
  color: var(--color-negro);
  transform: translateY(-5px);
}

.contact-form {
  width: 55%;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 5px;
  color: var(--color-amarillo);
}

.form-input {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-blanco);
  border: 1px solid var(--color-fucsia);
}

.form-input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.2);
}

.form-textarea {
  height: 150px;
  resize: none;
}

footer {
  background-color: var(--color-negro);
  padding: 30px 0;
  text-align: center;
  color: var(--color-gris-claro);
}

.footer-logo {
  height: 50px;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-link {
  margin: 0 15px;
  color: var(--color-gris-claro);
}

.footer-link:hover {
  color: var(--color-fucsia);
}

/* Nuevos estilos para los enlaces legales en el footer */
.footer-legal-links {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-legal-link {
  margin: 0 15px;
  color: var(--color-gris-claro);
  font-size: 0.9rem;
  position: relative;
}

.footer-legal-link:hover {
  color: var(--color-fucsia);
}

.footer-legal-link:not(:last-child)::after {
  content: '|';
  position: absolute;
  right: -15px;
  color: var(--color-gris-claro);
}

.copyright {
  font-size: 0.9rem;
}

/* Animaciones y efectos */
.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);
}

/* Media Queries */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .product-container {
    flex-direction: column;
  }
  
  .product-content {
    padding-right: 0;
    margin-bottom: 50px;
  }
  
  .variety-card {
    width: calc(50% - 15px);
  }
  
  .benefit-item {
    width: 100%;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .merch-slide {
    flex-direction: column;
  }
  
  .merch-image, .merch-content {
    width: 100%;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .contact-info, .contact-form {
    width: 100%;
  }
  
  .contact-info {
    margin-bottom: 50px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 80%;
    height: calc(100vh - 80px);
    background-color: var(--color-negro);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    transition: right 0.5s ease;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-item {
    margin: 15px 0;
  }
  
  /* Ocultar la imagen de portada en móvil como solicitó el usuario */
  .hero-image {
    display: none;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
    padding: 50px 0;
  }
  
  .variety-card {
    width: 100%;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .locations-info {
    flex-direction: column;
  }
  
  .location-item {
    width: 100%;
    margin-bottom: 20px;
  }
  
  .footer-links, .footer-legal-links {
    flex-direction: column;
  }
  
  .footer-link, .footer-legal-link {
    margin: 5px 0;
  }
  
  .footer-legal-link:not(:last-child)::after {
    display: none;
  }
}

/* Animaciones adicionales */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(5px);
  }
}

.shake:hover {
  animation: shake 0.5s;
}
