@charset "UTF-8";

/* ===== ROOT & BOOTSTRAP VARIABLES ===== */
:root {
  --bs-primary: #ee0979;
  --bs-secondary: #ff6a00;
  --bs-dark: #212529;
  --bs-light: #f8f9fa;
  --bs-white: #fff;
  --bs-black: #000;
  --bs-body-font-family: Lato, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
  --bs-body-color: #212529;
  --bs-body-bg: #fff;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--bs-body-font-family);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
}

/* ===== HEADINGS ===== */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

h1 { font-size: 2.5rem;}
    
h2 { font-size: 2rem;}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== CONTAINER & GRID ===== */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container { max-width: 540px; }
}

@media (min-width: 768px) {
  .container { max-width: 720px; }
}

@media (min-width: 992px) {
  .container { max-width: 960px; }
}

@media (min-width: 1200px) {
  .container { max-width: 1140px; }
}

@media (min-width: 1400px) {
  .container { max-width: 1320px; }
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-lg-6 {
  flex: 0 0 auto;
  width: 50%;  /* cambiar de 50% a 100% */
  padding-right: 15px;
  padding-left: 15px;
}

@media (max-width: 991.98px) {
  .col-lg-6 {
    width: 100%;
  }
}

.gx-5 {
  --bs-gutter-x: 3rem;
  margin-left: calc(var(--bs-gutter-x) * -0.5);
  margin-right: calc(var(--bs-gutter-x) * -0.5);
}

.gx-5 > * {
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  padding-right: calc(var(--bs-gutter-x) * 0.5);
}

.order-lg-1 {
  order: -1;
}

.order-lg-2 {
  order: 2;
}

.align-items-center {
  align-items: center;
}

/* ===== UTILITIES ===== */
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.p-5 { padding: 3rem !important; }
.ms-auto { margin-left: auto !important; }
.m-0 { margin: 0 !important; }

.d-flex { display: flex; }
.h-100 { height: 100%; }
.justify-content-center { justify-content: center; }

.text-white { color: #fff !important; }
.text-center { text-align: center; }
.fw-bold { font-weight: 700 !important; }

.bg-black { background-color: #000 !important; }

.img-fluid { max-width: 100%; height: auto; }
.rounded-circle { border-radius: 50%; }

.small { font-size: 0.875em; }
.lead { font-size: 1.25rem; font-weight: 300; }
.display-4 { font-size: 3.5rem; font-weight: 300; line-height: 1.2; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===== NAVBAR ===== */
.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.navbar > .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: inline-block;
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  text-decoration: none;
  white-space: nowrap;
  color: inherit;
}

.navbar-brand:hover, .navbar-brand:focus {
  text-decoration: none;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

.nav-link:hover, .nav-link:focus {
  color: inherit;
}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}

.collapse:not(.show) {
  display: none;
}

.collapse.show {
  display: block !important;
}

.navbar-toggler {
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  transition: box-shadow 0.15s ease-in-out;
  cursor: pointer;
}

.navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(238, 9, 121, 0.25);
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.navbar-dark {
  background-color: #212529;
}

.navbar-dark .navbar-brand {
  color: #fff;
}

.navbar-dark .nav-link {
  color: rgba(255, 255, 255, 0.55);
}

.navbar-dark .nav-link:hover, .navbar-dark .nav-link:focus {
  color: rgba(255, 255, 255, 0.75);
}

.navbar-dark .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.1);
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

@media (min-width: 992px) {
  .navbar-expand-lg {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }

  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }

  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
}

/* ===== CUSTOM NAVBAR ===== */
.navbar-custom {
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
}

/* ===== CAROUSEL ===== */
.carousel {
  position: relative;
  width: 100%;
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-item {
  position: relative;
  display: none;
  width: 100%;
  height: 600px;
  background-color: #f5f5f5;
}

.carousel-item.active {
  display: block;
}

/* Carousel video: ocupa todo y mantiene cover */
.carousel-item { position: relative; overflow: hidden; }
.carousel-item video.carousel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.bg-cover {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 20px;
  text-align: center;
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1035;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15%;
  padding: 0;
  color: #fff;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  cursor: pointer;
  transition: none;    /* quitar animación en hover que añade sensación de retraso */
  pointer-events: auto; /* asegurar que responden inmediatamente */
}

.carousel-control-prev:hover, .carousel-control-next:hover {
  opacity: 0.8;
}

.carousel-control-prev:focus, .carousel-control-next:focus {
  outline: 0;
}

.carousel-control-prev {
  left: 0;
}

.carousel-control-next {
  right: 0;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.slide .carousel-item {
  transition: opacity 0.12s ease-out;
}

.slide .carousel-item.active {
  opacity: 1;
}

/* ===== CUSTOM TEXT CLASSES ===== */
.avivaudio {
  font-family: 'Catamaran', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
}

.sonido-iluminacion {
  font-family: 'Catamaran', sans-serif;
  letter-spacing: 1px;
}

/* ===== SECTIONS ===== */
section {
  padding: 5rem 0;
}

header {
  width: 100%;
}

footer {
  background-color: #000;
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
  section {
    padding: 3rem 0;
  }

  .px-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .p-5 {
    padding: 1.5rem !important;
  }

  .carousel-item {
    height: 400px;
  }

  .display-4 {
    font-size: 2.5rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    z-index: 1000; /* Menor que el navbar (1030) */
  }
}

@media (max-width: 576px) {
  .px-5 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  .p-5 {
    padding: 1rem !important;
  }

  .display-4 {
    font-size: 2rem;
  }

  .carousel-item {
    height: 300px;
  }
}

/* Forzar imágenes */
.p-5 > img.img-fluid {
  width: 500px;
  height: 400px;
  object-fit: cover;
  border-radius: 0.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* responsive pantallas pequeñas*/
@media (max-width: 991.98px) {
  .p-5 > img.img-fluid {
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 576px) {
  .p-5 > img.img-fluid {
    width: 160px;
    height: 160px;
  }
}

.p-5 > video, video.img-fluid, .video-responsive {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
}

@media (max-width: 991.98px) {
  .p-5 > video, video.img-fluid {
    max-height: 400px;
  }
}

@media (max-width: 576px) {
  .p-5 > video, video.img-fluid {
    max-height: 280px;
  }
}
