body, html {
  overflow-x: hidden;
  max-width: 100vw;
}
/* --- HERO SECTION STYLES --- */

.hero-section {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.45);
  pointer-events: none;
}

.hero-overlay {
  background: linear-gradient(0deg, rgba(34,37,41,0.38) 0%, rgba(0,0,0,0.05) 100%);
  z-index: 2;
  top: 0; left: 0;
  height: 100%;
  position: absolute;
  width: 100%;
}

.hero-content {
  z-index: 3;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-content h1 {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.46);
}

.hero-subtitle {
  margin-bottom: 2rem;
}

.hero-badge {
  display: inline-block;
  font-size: 1.15rem;
  /* background: rgba(255,255,255,0.88); */
  color: #fff;
  font-weight: 500;
  border-radius: 2rem;
  /* box-shadow: 0 2px 16px 0 rgb(255, 255, 255); */
  border: 1px solid #fff;
  padding: 0.7em 1.8em;
  letter-spacing: 0.01em;
  text-shadow: none;
}

.hero-section,
.hero-bg-img,
.hero-overlay {
  height: 100vh;
}
@media (max-width: 767px) {
  .hero-section,
  .hero-bg-img,
  .hero-overlay {
    height: 100dvh;
    max-height: 100dvh;
  }
}

@media (max-width: 575px) {
  .hero-content h1 {
    font-size: 2.1rem;
  }
  .hero-badge {
    font-size: 0.97rem;
    padding: 0.45em 0.8em;
  }
  .hero-content .btn {
    font-size: 1.08rem;
    padding: 0.5em 1.2em;
  }
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.b-example-divider {
  width: 100%;
  min-height: 1vh;
  background-color: rgba(227, 227, 227, 0.1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, 0.215), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
  --bd-violet-bg: #712cf9;
  --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--bd-violet-bg);
  --bs-btn-border-color: var(--bd-violet-bg);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: #6528e0;
  --bs-btn-hover-border-color: #6528e0;
  --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: #5a23c8;
  --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
  z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
  display: block !important;
}

.bg {
  position: absolute;
  background-image: url(./assets/bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  width: 100%;
  height: inherit;
  filter: brightness(.3);
}

.navbar-nav .nav-item .nav-link:focus {
  /* border-bottom: 2px solid yellow; */
}

.navbar {
  transition: all 0.3s ease-in-out;

}

.navbar-collapse {
  flex-grow: unset;
}

/* --- CONTACT CARD STYLES --- */
.contact-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 2rem;
  box-shadow: 0 8px 48px 0 rgba(0,0,0,0.10);
  transition: box-shadow 0.3s;
}
[data-bs-theme="dark"] .contact-glass {
  background: rgba(34, 37, 41, 0.82);
  color: #fff;
}

.contact-data-link {
  font-size: 1.1rem;
  color: #23272b;
  text-decoration: none !important;
  transition: color 0.15s;
  font-weight: 600;
}
.contact-data-link:hover, .contact-data-link:focus {
  /* color: #1ec765; */
  text-decoration: underline !important;
}
[data-bs-theme="dark"] .contact-data-link {
  color: #fff;
}
.contact-icon {
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
  font-size: 1.35rem;
  /* No yellow! */
}
.contact-icon.email {
  color: #5a5a5a;
}
.contact-icon.phone {
  /* color: #1ec765; */
}

.contact-social-btn {
  width: 62px;
  height: 62px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  background: #fff;
  color: #23272b;
  box-shadow: 0 2px 10px rgba(0,0,0,0.09);
  border: 2px solid #eee;
  transition: background 0.18s, color 0.18s, border-color 0.2s;
  margin: 0 5px;
  text-decoration: none !important;
}
.contact-social-btn:hover, .contact-social-btn:focus {
  text-decoration: none !important;
  background: #ececec;
  color: #222;
  border-color: #bbb;
}
.contact-social-btn.viber {
  color: #7360f2;
  border-color: #7360f2;
}
.contact-social-btn.viber:hover {
  background: #7360f2;
  color: #fff;
  border-color: #7360f2;
}
.contact-social-btn.whatsapp {
  color: #25D366;
  border-color: #25D366;
}
.contact-social-btn.whatsapp:hover {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}
.contact-social-btn.phone {
  color: #0099cc;
  border-color: #0099cc;
}
.contact-social-btn.phone:hover {
  background: #0099cc;
  color: #fff;
  border-color: #0099cc;
}
@media (max-width: 575px) {
  .contact-glass {
    padding: 1.5rem 0.7rem;
    border-radius: 1.2rem;
  }
  .contact-social-btn {
    width: 46px;
    height: 46px;
    font-size: 1.4rem;
  }
}


/* Small devices (landscape phones, 544px and up) */
@media (min-width: 544px) {
  h1 {
    font-size: 1.5rem;
  }

  /*1rem = 16px*/
  /* .main-text {padding-top: 5rem;} */
}

/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  /*1rem = 16px*/
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  .navbar-brand {
    color: rgba(255, 255, 255, 1);
  }
  .navbar.bg-body-tertiary .navbar-brand {
    color: var(--bs-navbar-brand-color);
  }

  .navbar-nav .nav-item .nav-link {
    color: rgba(255, 255, 255, 0.65);
  }

  .navbar-nav .nav-link.active {
    color: rgba(255, 255, 255, 1);
  }

  .navbar.bg-body-tertiary .navbar-nav .nav-item .nav-link {
    color: var(--bs-nav-link-color);
  }

  .navbar.bg-body-tertiary .navbar-nav .nav-link.active {
    color: var(--bs-navbar-active-color);
  }

  .navbar{
    border-bottom: 1px solid rgb(94, 94, 94);
    box-shadow: 1px 1px 10px rgba(114, 114, 114, 0.267);
  }
  /*1rem = 16px*/
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  h1 {
    font-size: 3rem;
  }

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 100%;
    justify-content: space-evenly !important;
  }

  /*1rem = 16px*/
}

@media (max-width: 768px) {
  .main-text {
    padding-top: 5rem;
  }
}

@media (max-width: 992px) {
  .main-text {
    padding-top: 5rem;
  }
}
/* GALLERY CAROUSEL STYLES */
#galleryCarousel .carousel-inner {
  border-radius: 2rem;
  overflow: hidden;
  background: #22252a;
  max-width: 800px;
  margin: 0 auto;
}

/* Gallery images: keep aspect ratio, fill space, rounded corners */
.gallery-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 2px 14px rgba(0,0,0,0.13);
  background: #181b20;
  transition: transform 0.22s;
}

@media (max-width: 991.98px) {
  .gallery-img {
    height: 180px;
    border-radius: 1rem;
  }
}
@media (max-width: 575.98px) {
  .gallery-img {
    height: 120px;
    border-radius: 0.7rem;
  }
  #galleryCarousel .carousel-inner {
    border-radius: 1rem;
  }
}

/* Carousel controls (arrows) style */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 60% 60%;
  background-position: center;
  background-color: rgba(40,40,40,0.56) !important;
  border-radius: 50%;
  width: 2.4rem;
  height: 2.4rem;
  box-shadow: 0 1px 8px rgba(0,0,0,0.22);
  transition: background 0.18s;
}
.carousel-control-prev,
.carousel-control-next {
  width: 6%;
}
#galleryCarousel .carousel-item {
  height: 30em !important;    /* Remove fixed height */
}
