/* =========================================================
   ESTILOS GENERALES
   ========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f8f9fa;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: #212529;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  background-color: #111;
  transition: top 0.4s ease-in-out, background-color 0.3s ease;
  padding: 0.8rem 0;
  z-index: 1000;
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 50px;
  width: auto;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.navbar-brand span {
  color: #ffc107;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.tagline {
  font-size: 0.8rem;
  color: #bbb;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.navbar-nav .nav-link {
  color: #ddd !important;
  font-weight: 500;
  margin-left: 1rem;
  transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ffc107 !important;
}

/* Navbar en móviles */
.navbar-toggler {
  border: none;
  outline: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* =========================================================
   ENCABEZADO PRINCIPAL
   ========================================================= */
.header {
  background: linear-gradient(135deg, #222, #000);
  color: white;
  text-align: center;
  padding: 7rem 1rem 6rem;
}

.header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffc107;
  margin-bottom: 0.8rem;
}

.header p {
  font-size: 1.1rem;
  color: #ddd;
  max-width: 700px;
  margin: 0 auto;
}

/* =========================================================
   PRODUCTOS Y CONTENIDO
   ========================================================= */
#product-container {
  margin-top: 6rem;
}

#product-container img {
  max-height: 400px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.breadcrumb {
  background: none;
  padding-left: 0;
}

.breadcrumb-item a {
  text-decoration: none;
  color: #0d6efd;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

/* =========================================================
   CARDS Y LISTADOS
   ========================================================= */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.card-text {
  font-size: 0.95rem;
}

/* =========================================================
   BOTONES
   ========================================================= */
.btn {
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
  background-color: #ffc107;
  color: #000;
  border-color: #ffc107;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background-color: #111;
  color: #ccc;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 4rem;
}

footer p {
  margin-bottom: 0.3rem;
}

footer small {
  color: #777;
}

/* =========================================================
   SCROLLBAR PERSONALIZADO
   ========================================================= */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: #444;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #666;
}

/* =========================================================
   ANIMACIONES Y EFECTOS
   ========================================================= */
.fade-in {
  animation: fadeIn 0.8s ease-in-out both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */
@media (max-width: 992px) {
  .navbar-brand span {
    font-size: 1.1rem;
  }
  .tagline {
    font-size: 0.7rem;
  }
  .logo-img {
    height: 42px;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 5rem 1rem;
  }
  .header h1 {
    font-size: 2rem;
  }
  .header p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .navbar-nav .nav-link {
    margin-left: 0;
    padding: 0.5rem 0;
  }
  .tagline {
    display: none; /* Oculta texto secundario en pantallas pequeñas */
  }
  .logo-img {
    height: 38px;
  }
}
