/* Estilos generales */
* {
  margin: 0;
  padding: 0;
}

body {
  font-family: Verdana;
  color: #333;
  padding-top: 56px;
}

section {
  padding: 80px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Verdana;
  color: #333;
}

/* Navbar personalizada */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  height: 40px;
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
}

/* Hero section */
.carousel-item img {
  object-fit: cover;
  height: 400px;
}

.carousel-caption {
  bottom: 30%;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 80vh;
  min-height: 500px;
  background: linear-gradient(
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.7)
    ),
    url("https://images.unsplash.com/photo-1594824476967-48c8b964273f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1280&q=80")
      no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 100px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3);
}

.hero-title {
  font-size: 3rem;
  font-weight: 400;
  color: #333;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #555;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.btn-hero {
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 50px;
  padding: 12px 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  animation: fadeIn 1s ease-out 0.6s both;
  background-color: #ff9ff3;
  border-color: #ff9ff3;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background-color: #ff7fe5;
  border-color: #ff7fe5;
}

/* Animaciones para el hero */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    height: 70vh;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    height: 60vh;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn-hero {
    font-size: 1rem;
    padding: 10px 20px;
  }
}

/* Productos */
.card-product {
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 30px;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  width: 200px;
  height: 268px;
}

.card-product:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-img-top {
  height: 250px;
  object-fit: cover;
}

.btn-add-to-cart {
  position: relative;
  overflow: hidden;
}

.btn-add-to-cart i {
  margin-right: 8px;
}

/* Modal de producto */
.modal-content {
  border: none;
  border-radius: 15px;
  overflow: hidden;
}

.modal-header {
  border-bottom: none;
}

.modal-body {
  padding: 30px;
}



/* Testimonios */
.card-testimonial {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.card-testimonial:hover {
  transform: translateY(-5px);
}

/* Formularios */
.form-control,
.form-select {
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.form-control:focus,
.form-select:focus {
  border-color: #ff9ff3;
  box-shadow: 0 0 0 0.25rem rgba(255, 159, 243, 0.25);
}

/* Rating */
.rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.rating input {
  display: none;
}

.rating label {
  color: #ddd;
  font-size: 2rem;
  padding: 0 5px;
  cursor: pointer;
}

.rating input:checked ~ label {
  color: #ffc107;
}

.rating label:hover,
.rating label:hover ~ label {
  color: #ffc107;
}

/* Footer */
footer {
  background-color: #2c3e50;
}

footer a {
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: #ff9ff3 !important;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s;
}

.social-icons a:hover {
  background-color: #ff9ff3;
  color: #fff !important;
  transform: translateY(-3px);
}

.payment-methods i {
  opacity: 0.8;
  transition: opacity 0.3s;
}

.payment-methods i:hover {
  opacity: 1;
}

/* Colores personalizados */
.bg-primary {
  background-color: #ff9ff3 !important;
}

.bg-secondary {
  background-color: #feca57 !important;
}

.text-primary {
  color: #ff9ff3 !important;
}

.text-secondary {
  color: #feca57 !important;
}

.btn-primary {
  background-color: #ff9ff3;
  border-color: #ff9ff3;
}

.btn-primary:hover {
  background-color: #ff7fe5;
  border-color: #ff7fe5;
}

.btn-outline-primary {
  color: #ff9ff3;
  border-color: #ff9ff3;
}

.btn-outline-primary:hover {
  background-color: #ff9ff3;
  border-color: #ff9ff3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  body {
    padding-top: 56px;
  }

  section {
    padding: 60px 0;
  }

  .carousel-item img {
    height: 300px;
  }

  .carousel-caption {
    bottom: 20%;
  }

  .navbar-brand span {
    display: none;
  }
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-in;
}
