:root {
  --bg: #0f1117;
  --accent: #6c63ff;
}

body {
  background-color: var(--bg);
  color: #fff;
}

.blur-box {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.blur-box img {
  width: 100%;
  display: block;
  transition: all 0.4s ease;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(0px);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 2;
}

.overlay-content {
  text-align: center;
  color: white;
  pointer-events: auto;
}

.overlay-content button {
  margin-top: 10px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg);  /* fondo sólido sin transparencia */
  z-index: 1000;
  display: flex;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

nav {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg) !important;
}

/* Logo */
.logo {
  font-family: 'Unbounded', Courier, monospace;
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--accent);
  text-decoration: none;
}

/* Nav Links */
.navbar-nav {
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

.nav-link {
  font-family: 'Raleway', Courier, monospace;
  text-decoration: none;
  color: #cfcfcf !important;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--accent) !important;
}

/* Dropdown menu */
.dropdown-menu {
  background-color: #100d16 !important;
  border: none;
  box-shadow: none;
}

/* Asegurar Raleway en el toggle y los ítems */
.dropdown-toggle,
.dropdown-item {
  font-family: 'Raleway', Courier, monospace !important;
  color: #cfcfcf !important;
}

.dropdown-toggle:hover,
.dropdown-item:hover {
  color: var(--accent) !important;
  background-color: transparent;
}

.imagen-rentalandia {
  display: flex;
  justify-content: center;
}

.imagen-rentalandia img {
  width: 250px;
  height: auto;
  max-width: 100%;
  display: block;
  margin-top: 5px;
}

.carousel-container {

  margin: 0 auto;
  padding-top: 2rem;
}

.carousel-inner {
height: 900px;
  width: 100%;
  max-width: none;
  min-width: 0;
}

.carousel-item img {
  object-fit: contain !important;
 height: fit-content;
width: 100% !important;
  border-radius: 10px;
  display: block;
}

/* SOLO afecta a servicios.html */
.servicios-page .carousel-inner {
  height: 400px;
}

.servicios-page .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.servicios-page .carousel-control-prev,
.servicios-page .carousel-control-next {
  width: 8%;
}
.rental-page .carousel-control-prev,
.rental-page .carousel-control-next {
  width: 8%;
}
.servicios-page h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 40px;
  margin: auto;
  font-weight: 200;
}

.servicios-page p{
  font-family: 'Montserrat', Arial, sans-serif;
  font-size:20px;
  font-weight:400;
}

.servicios-page .collapse.show {
  background-color: rgba(24, 17, 160, 0.096); /* un violeta suave */
  border-left: 4px solid var(--accent);       /* opcional: borde al abrir */
  transition: background-color 0.3s ease;
}

/* Fondos degradados para cada sección */
#cctv .caja-con-fondo {
  background: linear-gradient(135deg, #312bd443, #0d0c1298);
}

#eventos .caja-con-fondo {
  background: linear-gradient(135deg,#312bd443, #0d0c1298)
}

#fotografia .caja-con-fondo {
  background: linear-gradient(135deg,#312bd443, #0d0c1298)
}

#institucional .caja-con-fondo {
  background: linear-gradient(135deg,#312bd443, #0d0c1298)
}

#estudiosonido .caja-con-fondo {
  background: linear-gradient(135deg, #312bd443, #0d0c1298)
}

/* Opcional: agregar transición suave al hover */
.caja-con-fondo:hover {
  filter: brightness(0.90);
  transition: all 0.3s ease;
}


.index-page  h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size:20px;
  font-weight:700;
}

.index-page p{
  font-family: 'Montserrat', Arial, sans-serif;
  font-size:20px;
  font-weight:400;
  
}

.rental-page  h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size:20px;
  font-weight:700;
}

.rental-page p{
  font-family: 'Montserrat', Arial, sans-serif;
  font-size:20px;
  font-weight:400;
  
}

.blur-box .overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;      /* espacio interno para no pegar al borde */
  gap: 1.5rem;        /* espacio entre texto y botón */
  height: 100%;
  box-sizing: border-box;
  justify-content: center; /* centra todo verticalmente */
}

.blur-box .overlay-content .text-content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;       /* ajusta espacio entre h3 y párrafos */
  align-items: center;
}

.blur-box .overlay-content button {
  align-self: center;
  margin-top: 0;       /* botón cerca del texto */
}

/* Carousel Rental Page */
.rental-page .carousel-container {
  position: relative;
}

.rental-page .carousel-inner {
  height: 500px; /* Ajustá según el alto deseado */
}

.rental-page .carousel-inner img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.rental-page .carousel-control-prev,
.rental-page .carousel-control-next {
  width: 5%; /* reduce un poco el ancho de la zona clickeable */
  top: 50%; /* centra verticalmente */
  transform: translateY(-50%);
}

/* Iconos en navbar */
.nav-icons a {
  color: #fff !important;
  transition: color 0.3s !important;
}

.nav-icons a:hover {
  color: var(--accent) !important;
  
}

.nav-icons a{
  font-size: 1.3rem;
}

/* Footer general */
footer {
  background-color: var(--bg);
  color: #cfcfcf;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 2rem 0;
}

footer a {
  color: #cfcfcf;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--accent);
}

/* Contenedor de contacto + íconos */
footer .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

footer .footer-icons {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

footer .footer-icons a {
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Pie de página inferior */
footer .footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #aaa;
}

/* Mapa con borde redondeado y sombra */
footer iframe {
  border: 0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}


.custom-modal {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
}

.custom-modal img {
  max-width: 90%;
  max-height: 80%;
}

.custom-modal.active {
  display: flex; /* Se muestra como modal centrado */
}

.modal-prev,
.modal-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  font-size: 3rem;
  color: white;
  padding: 0 15px;
  transform: translateY(-50%);
  user-select: none;
  z-index: 1060;
}

.modal-prev {
  left: 15px;
}

.modal-next {
  right: 15px;
}

/* Botón de cerrar */
.modal-close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 1060;
} 

/* Responsive menu background */
@media (max-width: 649px) {
  .navbar-collapse {
    background-color: var(--bg);
    padding: 1rem;
  }
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #f4f4f4;
  transition: all 0.3s ease;
}

main {
  flex: 1;
  padding-top: 80px;
  background-color: var(--bg);
}

.navbar-custom {
  background-color: var(--bg);
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link,
.navbar-custom .dropdown-toggle {
  color: #f4f4f4;
  transition: color 0.3s ease, background 0.3s ease;
}

/* Hover: cambiar color de fondo o texto */
.navbar-custom .nav-link:hover,
.navbar-custom .dropdown-toggle:hover {
  color: var(--accent);
}

.navbar-custom .dropdown-menu {
  background-color: #1a1d24;
  border: none;
}

.navbar-custom .dropdown-item {
  color: #f4f4f4;
  transition: background 0.3s ease;
}

.navbar-custom .dropdown-item:hover {
  background-color: var(--accent);
  color: #fff;
}

.caja-con-fondo {
  background-image: url('https://via.placeholder.com/1200x300'); /* cambiá por tu imagen */
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border-radius: 10px;
  transition: filter 0.3s;
  min-height: 200px;
}

.caja-con-fondo:hover {
  filter: brightness(0.85);
}


.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #1ebe5d;
  text-decoration: none;
}


@media (max-width: 600px) {
  header {
    padding: 1rem 1.5rem;
  }

  nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
   .navbar-nav {
    flex-direction: column !important; /* vertical */
    gap: 1rem !important; /* espacio vertical */
  }

  .navbar-nav .nav-item {
    width: 100%; /* que cada dropdown ocupe toda la línea */
  }

  /* Opcional: que el toggle y dropdown-items se ajusten al ancho */
  .dropdown-menu {
    width: 100% !important;
  }
  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    background-color: #1a1c22;
    flex-direction: column;
    height: 100vh;
    width: 70%;
    padding-left: 2rem;
    padding-top: 5rem;
    transition: left 0.3s ease;
    z-index: 1050;
  }

  .nav-links.open {
    left: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    background-color: var(--bg);
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: none;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    margin-bottom: 1rem;
  }
}
