/*
Theme Name: Defenders Theme
Theme URI: http://localhost/defenders
Author: Victor Andrade
Description: Tema personalizado basado en el sitio HTML de Defenders
Version: 1.0
*/

/* ======== GLOBAL ======== */
body {
  font-family: Arial, sans-serif;
  background-color: #fff;
  color: #000;
  font-size: 18px;
  margin: 0;
  padding: 0;
}

/* ======== NAVBAR ======== */
.navbar {
  background-color: #000 !important;
  padding: 0.5rem 1rem;
  min-height: 90px;
  position: relative;
  z-index: 10;
}

.navbar-logo {
  height: 80px;
  width: auto;
  margin-right: 10px;
  transition: 0.3s ease;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: #FFB603 !important;
  text-decoration: none;
}

.nav-link {
  color: #FFB603 !important;
  font-weight: 500;
  transition: 0.3s ease;
}

.nav-link:hover {
  color: #fff !important;
}

.navbar-toggler {
  border: none;
  background: transparent;
  outline: none;
}

.navbar-toggler-icon {
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,182,3,1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
  .navbar-logo {
    height: 60px;
  }
  .navbar-brand {
    font-size: 1.4rem;
  }
  .navbar-collapse {
    background-color: #000;
    text-align: center;
    padding: 1rem 0;
  }
  .nav-link {
    display: block;
    padding: 0.5rem 1rem;
  }
}

/* ======== HERO / CARRUSEL ======== */
.hero {
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  text-align: center;
}

.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item,
.hero .carousel-item img {
  width: 100vw;
  height: 100vh; /* altura completa */
}

.hero .carousel-item img {
  object-fit: cover;
  filter: brightness(70%);
}

/* ======== TEXTO EN IMÁGENES ======== */
.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.45);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-align: center;
}

.carousel-caption h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #FFB603;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.carousel-caption p {
  font-size: 1.2rem;
  color: #CECBC7;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.7);
}

.carousel-caption .btn-custom {
  background-color: #FFB603;
  color: #000;
  font-weight: bold;
  padding: 12px 28px;
  border-radius: 30px;
  transition: 0.3s;
}

.carousel-caption .btn-custom:hover {
  background-color: #e5a700;
  color: #fff;
}

/* ======== AJUSTES PARA MÓVILES ======== */
@media (max-width: 768px) {
  .hero .carousel,
  .hero .carousel-inner,
  .hero .carousel-item,
  .hero .carousel-item img {
    height: 60vh; /* reduce altura */
  }

  .carousel-caption {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0.8rem 1rem;
  }

  .carousel-caption h1 {
    font-size: 1.8rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }
}

/* ======== SECCIONES ======== */
.section-title {
  color: #FFB603;
  font-weight: bold;
  margin-bottom: 40px;
}

.service-card {
  border: none;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card .card-body {
  background-color: #CECBC7;
  color: #000;
}

/* ======== FOOTER ======== */
.footer {
  background-color: #000;
  color: #CECBC7;
  padding: 20px 0;
  text-align: center;
}

/* ======== BOTONES ======== */
.btn-custom {
  background-color: #FFB603;
  color: #000;
  font-weight: bold;
}

.btn-custom:hover {
  background-color: #e5a700;
  color: #fff;
}
