/* ============================================
   SHEWSON - Custom Styles
   Estilos personalizados para mejor estructura
   ============================================ */

/* ===== Global Styles ===== */
body {
  overflow-x: hidden;
}

.main {
  padding-top: 80px;
}

.section {
  position: relative;
}

/* ===== Header Styles ===== */
.header {
  z-index: 1000;
  transition: all 0.3s ease;
}

.sitename {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c3e50;
}

.navbar-toggler {
  border: 1px solid #2c3e50;
  padding: 0.5rem 0.75rem;
}

.nav-link {
  color: #2c3e50 !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #0d6efd;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-link:hover,
.nav-link.active {
  color: #0d6efd !important;
}

/* ===== Hero Section Styles ===== */
.hero {
  position: relative;
  min-height: 600px !important;
}

.hero .carousel {
  min-height: 600px !important;
}

.hero .carousel-item {
  position: relative;
  min-height: 600px !important;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero .carousel-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero .container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10 !important;
  text-align: center;
  width: 90%;
  max-width: 900px;
}

.hero h2 {
  font-size: 3rem;
  font-weight: bold;
  color: white !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  color: white !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn-get-started {
  background-color: #0d6efd;
  color: white !important;
  padding: 12px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid #0d6efd;
}

.btn-get-started:hover {
  background-color: #0b5ed7;
  border-color: #0b5ed7;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.4);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background-color: rgba(13, 110, 253, 0.7);
  border-radius: 50%;
  top: 50%;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
  background-color: rgba(13, 110, 253, 0.9);
  transform: scale(1.1);
}

.carousel-indicators {
  bottom: 20px;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.carousel-indicators [data-bs-target].active {
  background-color: #0d6efd;
  border-color: white;
  transform: scale(1.2);
}

/* ===== About Section ===== */
.about-img img {
  transition: transform 0.3s ease;
}

.about-img:hover img {
  transform: scale(1.05);
}

/* ===== Stats Section ===== */
.stats-item {
  transition: transform 0.3s ease;
}

.stats-item:hover {
  transform: translateY(-10px);
}

.counter {
  font-size: 2.5rem;
  font-weight: bold;
}

/* ===== Services Section ===== */
.service-item {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  border-color: #0d6efd;
}

.service-item .icon {
  transition: transform 0.3s ease;
}

.service-item:hover .icon {
  transform: scale(1.1);
}

/* ===== Features Section ===== */
.feature-box {
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.feature-box img {
  transition: transform 0.3s ease;
}

.feature-box:hover img {
  transform: scale(1.05);
}

/* ===== Why Choose Section ===== */
.advantage-item {
  transition: all 0.3s ease;
}

.advantage-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.advantage-item .icon {
  transition: transform 0.3s ease;
}

.advantage-item:hover .icon {
  transform: rotate(360deg) scale(1.1);
}

/* ===== Contact Section ===== */
.contact-method {
  transition: all 0.3s ease;
  padding: 15px;
  border-radius: 8px;
}

.contact-method:hover {
  background-color: #f8f9fa;
  transform: translateX(10px);
}

.contact-info {
  transition: all 0.3s ease;
}

/* ===== Scroll Top Button ===== */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background-color: #0d6efd;
  color: white;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: #0b5ed7;
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(13, 110, 253, 0.4);
}

.scroll-top i {
  font-size: 1.5rem;
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
  .hero h2 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 400px;
  }
  
  .hero .carousel-item {
    min-height: 400px;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  
  .btn-get-started {
    padding: 10px 30px;
    font-size: 0.95rem;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
  }
  
  .navbar-collapse {
    background-color: white;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .counter {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero {
    min-height: 350px;
  }
  
  .hero .carousel-item {
    min-height: 350px;
  }
  
  .hero h2 {
    font-size: 1.5rem;
  }
  
  .hero p {
    font-size: 0.85rem;
  }
  
  .btn-get-started {
    padding: 8px 25px;
    font-size: 0.9rem;
  }
  
  .sitename {
    font-size: 1.2rem;
  }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title {
  animation: fadeInUp 0.6s ease-out;
}

/* ===== Utility Classes ===== */
.text-justify {
  text-align: justify;
}

.shadow-lg {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
}

/* ===== Dark Background Override ===== */
.dark-background {
  background-color: #060606 !important;
  color: white !important;
}

.dark-background h1,
.dark-background h2,
.dark-background h3,
.dark-background h4,
.dark-background h5,
.dark-background h6 {
  color: white !important;
}
