/*-- Reset --*/
html,
body {
  overflow-x: hidden;
  height: 100%;
  width: 100%;
  font-family: 'Roboto', sans-serif;
  font-size: large;
}

/*============= NAVIGATION =============*/

.navbar-brand img {
  height: 6rem;
}
.navbar {
  background: black;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .1rem;
  box-shadow: 0 .5rem .5rem rgba(0, 0, 0, .2);
}

.navbar-toggler.custom-toggler {
  background-color: #7f9e23 !important;
}

.navbar-toggler-icon {
  color: black !important;
}
.nav-item {
  padding: .4rem;
}

.nav-link {
  color: white !important;
}

.nav-link.active,
.nav-link:hover {
  color: #7f9e23 !important;
}

.navbar-nav {
  align-items: flex-start !important;
}

/*============= CAROUSEL =============*/
#carousel {
  max-height: 38rem !important;
  overflow: hidden; /* Hide any content that overflows the container */
}

.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
  width: 100%; /* Make the images fill the width of their container */
  height: 40rem; /* Maintain the aspect ratio */
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-item img {
  width: 100%;
  height: auto;
}

.carousel-indicators li {
  width: 40px;
  height: 6px;
  margin-right: 4px;
  margin-left: 4px;
}
/*---Change Carousel Transition Speed --*/


/*-- Carousel Content --*/


.carousel-caption {
  position: absolute;
  top: 47%;
  transform: translateY(-50%);
}

.bg-dark {
  background-color: rgba(0, 0, 0, .7) !important;
  border-radius: 1.5rem;
  padding: 1rem;
}

.bg-white {
  background-color: rgba(255, 255, 255, .65) !important;
  border-radius: 1.5rem;
  padding: 1rem;

}

p.lead {
  font-size: 1.4rem;
}

.carousel-caption H3 {
  font-size: 2.3rem;
  font-weight: 300;
}

/*============= SOCIAL MEDIA STICKY BAR =============*/

.jumbotron {
  background: linear-gradient(to right, #f2f2f2, #FBFBFB);
  padding: 1rem 0 .5rem;
  margin-bottom: 0;
  border-radius: 0;
  box-shadow: 0 .5rem .5rem rgba(0, 0, 0, .1);
}

ul.social {
  list-style-type: none;
  display: flex;
  padding: 0;
  margin: 0 auto;
}

ul.social li {
  margin: 0 auto;

}

.jumbotron .svg-inline--fa {
  font-size: 2rem;
  margin: 0 1rem;
}

.jumbotron .svg-inline--fa:hover {
  color: grey !important;
}

/*============= COLUMN CONTENT =============*/


.fa-square {
  opacity: .08;
}

.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/*============= LIGHTBOX =============*/
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
  transition: opacity 0.3s ease;
}

.lightbox-close:hover {
  opacity: 0.7;
}
.footer-ad-image {
  width: 120px !important;
  height: 120px !important;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 1rem;
}

.footer-ad-image:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
/*===== FIXED BACKGROUND IMG =====*/

.fixed {
  background-image: url('../img/carousel/foto13.jpg');
  position: fixed;
}


/*============= FOOTER =============*/

footer {
  background-color: black !important;
  padding: 1rem 2rem 3rem;
}

footer img {
  height: 6rem;
  margin: 1.5rem auto;
}

footer a,
.socket a {
  color: rgb(28, 199, 28) !important;
  text-decoration: none;
}

footer a:hover,
.socket a:hover {
  color: #7f9e23 !important;
  text-decoration: none;
}

/*============= SOCKET =============*/



/*============= MEDIA QUERIES =============*/

/* Devices under 1199px (xl) */
@media (max-width: 1199.98px) {
  .carousel-caption h3 {
    font-size: 1.8rem;
  }
  .navbar-brand img {
    height: 5rem;
  }
}


/* Devices under 992px (xl) */
@media (max-width: 991.98px) {

  p.lead {
    font-size: 1.2rem;
  }

  .carousel-indicators li {
    width: 30px;
    height: 4px;
    margin-right: 3px;
    margin-left: 3px;
  }
  .navbar-brand img {
    height: 4rem;
  }

  .jumbotron .svg-inline--fa {
    font-size: 2rem;
    margin: 0 1rem;
  }

  .navbar-toggler {
    transform: scale(.9);
  }
}


/* Devices under 768px (md) */
@media (max-width: 767.98px) {
  p.lead {
    font-size: 1.1rem;
  }

  .navbar-brand img {
    height: 3rem;
  }

  .navbar {
    font-size: 1rem;
    padding: .4rem .6rem;
  }

  .jumbotron .svg-inline--fa {
    font-size: 1.6rem;
    margin: 0 .8rem;
  }


}

.footer-images {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-images img {
  margin: 0 1rem;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.footer-images p {
  margin: 0;
}

/* Devices under 576px (sm) */
@media (max-width: 575.98px) {
  .navbar-brand img {
    height: 2rem;
  }

  .navbar {
    font-size: .9rem;
    padding: .3rem .6rem;
  }
  
  .jumbotron .svg-inline--fa {
    font-size: 1.4rem;
    margin: 0 .5rem;
  }
  #carousel {
    max-height: 20rem !important; /* Adjust the height for mobile screens */
  }

  .carousel-item-next,
  .carousel-item-prev,
  .carousel-item.active {
    height: 20rem; /* Adjust the height for mobile screens */
  }
}


/*============ BOOTSTRAP BREAK POINTS:

Extra small (xs) devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap

Small (sm) devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

Medium (md) devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

Large (lg) devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

Extra (xl) large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

=============*/

/*-- Bootstrap Mobile Gutter Fix --*/
.row,
.container-fluid {
  margin-left: 0px !important;
  margin-right: 0px !important;
}

/*-- Fixed Background Image --*/
.fixed-background {
  position: relative;
  width: 100%;
  z-index: 1000 !important;
  padding: 12rem 0;
  border-top: .05rem solid black;
  border-bottom: .05rem solid black;
  margin-bottom: 2px;
  height: 50vh;
  overflow: hidden;
}

.fixed-wrap {
  clip: rect(0, auto, auto, 0);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -999 !important;
}

.fixed {
  z-index: -999 !important;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}