/* Variables de colores Hello Kitty */
:root {
  --pink-primary: #ff6b9d;
  --pink-light: #ffb6c1;
  --pink-soft: #fff0f5;
  --pink-dark: #e91e7b;
  --red-accent: #ff4757;
  --white: #ffffff;
  --gray-light: #f8f9fa;
  --gray-medium: #6b7280;
  --gray-dark: #374151;
  --shadow: 0 4px 20px rgba(255, 107, 157, 0.15);
  --shadow-hover: 0 8px 30px rgba(255, 107, 157, 0.25);
  --radius: 16px;
  --radius-small: 8px;
}

/* Reset y estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Nunito", sans-serif;
  background-color: var(--pink-soft);
  color: var(--gray-dark);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  font-size: 28px;
}

.logo-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--pink-primary);
}

/* Menú hamburguesa */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.hamburger-line {
  width: 28px;
  height: 3px;
  background-color: var(--pink-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Navegación */
.nav-list {
  display: flex;
  gap: 8px;
}

.nav-link {
  padding: 10px 16px;
  border-radius: var(--radius-small);
  font-weight: 600;
  color: var(--gray-dark);
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  background-color: var(--pink-light);
  color: var(--pink-dark);
}

/* Main */
.main {
  flex: 1;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--pink-primary), var(--pink-light));
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

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

.hero-decoration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 120px;
  opacity: 0.1;
  white-space: nowrap;
}

.decoration-heart,
.decoration-star {
  margin: 0 20px;
}

/* Botones */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--pink-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Sección de características */
.features {
  padding: 80px 20px;
  background-color: var(--white);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--pink-primary);
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background-color: var(--pink-soft);
  padding: 32px;
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pink-dark);
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--gray-medium);
}

/* Sección de noticias */
.news {
  padding: 80px 20px;
  background-color: var(--pink-soft);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.news-card {
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.news-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

.news-content {
  padding: 24px;
}

.news-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 8px;
}

.news-content p {
  color: var(--gray-medium);
  margin-bottom: 16px;
}

.link {
  color: var(--pink-primary);
  font-weight: 600;
  transition: color 0.3s ease;
}

.link:hover {
  color: var(--pink-dark);
}

/* Breadcrumbs */
.breadcrumbs {
  background-color: var(--white);
  padding: 16px 20px;
  border-bottom: 1px solid var(--pink-light);
}

.breadcrumbs-container {
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumbs-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs-link {
  color: var(--pink-primary);
  font-weight: 600;
  transition: color 0.3s ease;
}

.breadcrumbs-link:hover {
  color: var(--pink-dark);
}

.breadcrumbs-separator {
  color: var(--gray-medium);
}

.breadcrumbs-current {
  color: var(--gray-medium);
  font-weight: 600;
}

/* Página de contenido */
.page-content {
  padding: 60px 20px;
}

.page-header {
  text-align: center;
  margin-bottom: 48px;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--pink-primary);
  margin-bottom: 16px;
}

.page-description {
  font-size: 1.125rem;
  color: var(--gray-medium);
  max-width: 600px;
  margin: 0 auto;
}

/* Grid de productos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.product-image {
  height: 200px;
  background-color: var(--pink-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

.product-info {
  padding: 20px;
}

.product-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 8px;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--pink-primary);
}

/* Grid de galería */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  aspect-ratio: 1;
  background-color: var(--pink-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
}

/* Página Nosotros */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-card {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

.about-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pink-primary);
  margin-bottom: 16px;
}

.about-card p {
  color: var(--gray-medium);
  line-height: 1.8;
}

/* Formulario de contacto */
.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.form-label {
  display: block;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--pink-light);
  border-radius: var(--radius-small);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--pink-primary);
}

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

.btn-submit {
  width: 100%;
  background-color: var(--pink-primary);
  color: var(--white);
}

.btn-submit:hover {
  background-color: var(--pink-dark);
}

/* Mapa del sitio */
.sitemap-container {
  max-width: 1000px;
  margin: 0 auto;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.sitemap-section {
  background-color: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.sitemap-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pink-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--pink-light);
}

.sitemap-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sitemap-link {
  color: var(--gray-dark);
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 8px 0;
}

.sitemap-link:hover {
  color: var(--pink-primary);
  padding-left: 8px;
}

/* Página de error */
.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 40px 20px;
}

.error-content {
  text-align: center;
  max-width: 500px;
}

.error-icon {
  font-size: 120px;
  margin-bottom: 24px;
}

.error-code {
  font-size: 6rem;
  font-weight: 800;
  color: var(--pink-primary);
  line-height: 1;
  margin-bottom: 16px;
}

.error-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 16px;
}

.error-description {
  color: var(--gray-medium);
  margin-bottom: 32px;
  font-size: 1.125rem;
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.btn-secondary:hover {
  background-color: var(--pink-light);
}

/* Footer */
.footer {
  background-color: var(--gray-dark);
  color: var(--white);
  padding-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
}

.footer-section .footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-section .logo-text {
  color: var(--white);
}

.footer-description {
  color: #9ca3af;
  line-height: 1.7;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--pink-light);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-contact li {
  color: #9ca3af;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--pink-light);
}

.footer-bottom {
  border-top: 1px solid #4b5563;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: #9ca3af;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: #9ca3af;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--pink-light);
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    padding: 80px 24px 24px;
  }

  .nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 8px;
  }

  .nav-link {
    display: block;
    padding: 14px 16px;
  }

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

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

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

  .page-title {
    font-size: 1.75rem;
  }

  .error-code {
    font-size: 4rem;
  }

  .error-icon {
    font-size: 80px;
  }

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

  .footer-legal {
    flex-direction: column;
    gap: 12px;
  }
}

/* Overlay para móvil */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}



/* NUEVO */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-img {
  width: 40px;
  height: auto;
}

.footer-logo .logo-img {
  width: 50px;
}


.error-icon {
  margin-bottom: 1rem;
}

.error-gif {
  width: 300px;
  height: auto;
}

.error-gif {
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
