:root {
  --primary-color: #8b5a8c;
  --secondary-color: #d4a5d6;
  --accent-color: #f8bbd9;
  --rose-gold: #e8b4b8;
  --deep-purple: #6b4c93;
  --light-lavender: #e6d7ff;
  --cream: #fff8f0;
  --text-dark: #2c1810;
  --gradient-primary: linear-gradient(
    135deg,
    #8b5a8c 0%,
    #d4a5d6 50%,
    #f8bbd9 100%
  );
  --gradient-secondary: linear-gradient(45deg, #6b4c93 0%, #8b5a8c 100%);
}

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

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

.cursive {
  font-family: "Dancing Script", cursive;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: var(--gradient-primary);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hearts" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10,6 C10,6 4,0 0,6 C0,12 10,20 10,20 C10,20 20,12 20,6 C16,0 10,6 10,6 Z" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23hearts)"/></svg>')
    repeat;
  opacity: 0.3;
}

.hero-content {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
}

.hero-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-description {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  opacity: 0.8;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button {
  background: var(--gradient-secondary);
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease-out 0.9s both;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
  color: white;
}

/* Floating elements */
.floating-element {
  position: absolute;
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

/* Navigation */
.navbar {
  background: rgba(139, 90, 140, 0.95) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 2rem;
  font-weight: 700;
  color: white !important;
}

.navbar-nav .nav-link {
  color: white !important;
  font-weight: 500;
  margin: 0 15px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

/* Products Section */
.products-section {
  padding: 100px 0;
  background: var(--cream);
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 80px;
}

.section-title h2 {
  font-size: 3.5rem;
  color: var(--deep-purple);
  margin-bottom: 20px;
}

.section-title p {
  font-size: 1.2rem;
  color: var(--primary-color);
  max-width: 600px;
  margin: 0 auto;
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.product-image {
  height: 250px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.product-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: all 0.3s ease;
}

.product-card:hover .product-image::after {
  opacity: 0.7;
}

.product-info {
  padding: 30px;
}

.product-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--deep-purple);
  margin-bottom: 15px;
}

.product-description {
  color: var(--text-dark);
  opacity: 0.8;
  line-height: 1.6;
}

.product-price {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 15px;
}

/* About Section */
.about-section {
  padding: 100px 0;
  background: var(--gradient-primary);
  color: white;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-text h2 {
  font-size: 3rem;
  margin-bottom: 30px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 25px;
  opacity: 0.9;
}

.about-features {
  list-style: none;
  padding: 0;
}

.about-features li {
  color: var(--text-dark);
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.about-features li strong {
  color: var(--deep-purple);
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.about-features li i {
  color: var(--deep-purple);
  margin-right: 15px;
  font-size: 1.2rem;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background: var(--light-lavender);
}

.contact-card {
  background: white;
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.contact-info {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.contact-item h4 {
  color: var(--deep-purple);
  margin-bottom: 10px;
}

/* Footer */
.footer {
  background: var(--deep-purple);
  color: white;
  padding: 40px 0;
  text-align: center;
}

.social-links {
  margin: 20px 0;
}

.social-links a {
  color: white;
  font-size: 1.5rem;
  margin: 0 15px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  33% {
    transform: translateY(-10px) rotate(5deg);
  }

  66% {
    transform: translateY(5px) rotate(-5deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

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

  .section-title h2 {
    font-size: 2.5rem;
  }

  .about-content {
    flex-direction: column;
  }

  .contact-info {
    flex-direction: column;
  }

  .floating-element {
    display: none;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-lavender);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--deep-purple);
}

/* Nuevas reglas para las tarjetas de producto refactorizadas */
.product-image-container {
  height: 250px;
  overflow: hidden; /* Asegura que la imagen no se desborde */
  position: relative;
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Reemplaza a background-size: cover */
  transition: transform 0.3s ease;
}

.product-card:hover .product-image-container img {
  transform: scale(1.1); /* Efecto de zoom al pasar el mouse */
}

/* Para mantener el degradado superpuesto */
.product-image-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-image-container::after {
  opacity: 0.7;
}

/* Estilo unificado para el enlace de WhatsApp */
.whatsapp-link {
  color: var(--deep-purple);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.whatsapp-link:hover {
  color: var(--primary-color);
}

figure {
  text-align: center;
}

figure img {
  width: 50%;
}

/* Estilo para landings */
.hero-landing {
  background: var(--gradient-primary);
  padding: 100px 0;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}
.gallery-item img {
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: white;
  text-align: center;
  padding: 30px 15px 15px 15px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: opacity 0.4s ease;
}
