@charset "UTF-8";
/* 1. VARIABLES Y MAPAS (Configuración centralizada) */
/* 3. EXTEND (Para reducir el CSS FINAL compartiendo estilos) */
@import url("https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@700&family=Inter:wght@400;500;600&family=Roboto+Mono:wght@700&display=swap");
.carousel-btn, .alternar-menu {
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu a:hover, .barra-lateral nav ul li a:hover,
.barra-lateral .iconos-utilidad li a:hover {
  transform: translateX(-4px);
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
}

/* =========================================
   ESTILOS GENERALES
   ========================================= */
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

h1 {
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

h2 {
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

h3 {
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

h4 {
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

h5 {
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

h6 {
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

body {
  background: #fff;
  color: #1a1a1a;
  overflow-x: hidden;
  background: linear-gradient(90deg, #ffb981, #83c5ff);
}

/* =========================================
   ESTRUCTURA (ANIDACIÓN)
   ========================================= */
.banner {
  background: linear-gradient(90deg, #FF6B00, #ff7b1d);
  color: #fff;
  height: 40px;
  display: grid;
  place-items: center;
  font-family: "Roboto Mono", monospace;
  font-weight: bold;
  overflow: hidden;
  white-space: nowrap;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
.banner-texto {
  display: inline-block;
  padding-left: 100%;
  animation: scrollText 40s linear infinite;
  color: #000;
}

.enlace-banner {
  text-decoration: none;
}

@keyframes scrollText {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}
header {
  width: 100%;
  border-bottom: 1px solid #ddd;
  overflow: hidden;
  text-align: center;
  padding: 15px 0;
  background: #fff;
}
header h1 {
  float: left;
  margin: 25px 0 0 50%;
  transform: translateX(-50%);
  font-size: 18px;
}
header img {
  float: left;
  width: 80px;
  height: 80px;
  margin-left: 20px;
  border-radius: 12px;
}

.res {
  background: linear-gradient(90deg, #FF6B00, #007BFF);
  color: black;
  padding: 0 6px;
  border-radius: 4px;
  margin-left: 5px;
}

.barra-lateral {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100%;
  background: #fff;
  color: #1a1a1a;
  padding: 2rem 1rem;
  transition: right 0.4s ease, box-shadow 0.4s ease;
  z-index: 1000;
  box-shadow: -6px 0 25px rgba(0, 0, 0, 0.08);
  border-left: 3px solid #FF6B00;
  border-radius: 16px 0 0 16px;
  overflow-y: auto;
}
.barra-lateral.activa {
  right: 0;
}
.barra-lateral nav ul li a,
.barra-lateral .iconos-utilidad li a {
  color: #222;
  text-decoration: none;
  font-weight: 500;
  display: block;
  border-radius: 10px;
  transition: all 0.3s ease;
}
.barra-lateral nav ul li a:hover,
.barra-lateral .iconos-utilidad li a:hover {
  background: linear-gradient(90deg, #007BFF, #00C6FF);
  color: #fff;
}
.barra-lateral nav ul li {
  margin: 1.2rem 0;
}
.barra-lateral nav ul li a {
  padding: 0.6rem 1rem;
  font-size: 1.1rem;
}
.barra-lateral .iconos-utilidad {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.barra-lateral .iconos-utilidad li a {
  font-size: 1.3rem;
  padding: 0.5rem 0.8rem;
}

.alternar-menu {
  position: fixed;
  top: 10px;
  right: 10px;
  background: linear-gradient(90deg, #FF6B00, #ff8c42);
  color: #fff;
  padding: 12px 16px;
  font-size: 20px;
  border-radius: 12px;
  z-index: 1100;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}
.alternar-menu:hover {
  transform: scale(1.1) rotate(3deg);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5);
}

.contenedor {
  width: 90%;
  margin: 50px auto 20px;
  overflow: hidden;
}

.menu {
  float: left;
  width: 20%;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 10px;
  background: #f9f9f9;
}
.menu ul {
  list-style: none;
}
.menu li {
  border-bottom: 1px solid #ddd;
}
.menu li:last-child {
  border-bottom: none;
}
.menu a {
  display: block;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.menu a:hover {
  background: linear-gradient(90deg, #007BFF, #00C6FF);
  color: #fff;
}

.galeria {
  float: right;
  width: 75%;
  padding-left: 20px;
}

/* =========================================
   CARRUSEL (Complejo)
   ========================================= */
.carousel {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0 40px;
}
.carousel-section {
  text-align: center;
  padding: 60px 0;
  background: linear-gradient(180deg, #fefefe, #f4f4f4);
  border-radius: 150px;
  margin-bottom: 50px;
}
.carousel-section h2 {
  font-size: 1.8rem;
  margin-bottom: 22px;
  color: #222;
}
.carousel-viewport {
  overflow: hidden;
  width: 100%;
}
.carousel-track {
  display: flex;
  align-items: center;
  transition: transform 0.6s cubic-bezier(0.22, 0.9, 0.35, 1);
  padding: 20px 0;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  display: grid;
  place-items: center;
  z-index: 40;
}
.carousel-btn:hover {
  transform: translateY(-50%) scale(1.05);
}
.carousel-btn.prev {
  left: 10px;
}
.carousel-btn.next {
  right: 10px;
}

.slide {
  flex: 0 0 auto;
  width: 480px;
  max-width: 75%;
  margin: 0 5px;
  display: grid;
  place-items: center;
}
.slide img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.5s ease, opacity 0.5s ease;
  transform: scale(0.82);
  opacity: 0.55;
  filter: saturate(0.9) contrast(0.98);
}
.slide.active img {
  transform: scale(1);
  opacity: 1;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  filter: none;
}

@media (max-width: 900px) {
  .slide {
    width: 360px;
  }
  .slide img {
    height: 240px;
  }
}
@media (max-width: 600px) {
  .slide {
    width: 260px;
  }
  .slide img {
    height: 170px;
  }
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
}

/*# sourceMappingURL=galeriaStyle.css.map */
