@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

body {
  font-family: 'Roboto', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { /* Assuming your main content is within a <main> tag or similar */
  flex: 1; /* Allows the main content to grow and push the footer down */
}

footer {
  height: 35px;
}

@media (max-width: 768px) {
  footer {
    height: 100px;
  }
}

.bg-dark {
  background-color: #1837cb !important;
}

.logo {
  width: 50%;
}

@media (max-width: 576px) {
  .logo {
    width: 55%; /* or whatever size looks good on your phone */
  }
}

.navbar-toggler {
  border: none !important;
  box-shadow: none !important;
}

.navbar-toggler:focus,
.navbar-toggler:active {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

.navbar-toggler-icon {
  filter: invert(20%); /* opcional para escurecer o ícone */
}

/* Drawer (mobile only) */
@media (max-width: 768px) {
  #mainMenu {
    position: fixed;
    top: 0;
    right: -300px; /* escondido */
    width: 300px;
    height: 100vh;
    background: white;
    padding: 2rem;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
  }

  /* Quando o Bootstrap adiciona .show → desliza */
  #mainMenu.show {
    right: 0;
  }

  /* Deixar itens do menu verticais */
  #mainMenu .navbar-nav {
    flex-direction: column !important;
    gap: 1rem;
  }
}


@media (max-width: 768px) {
  #mainMenu .btn-close {
    font-size: 1.3rem;
  }
}


.call-out h1{
  font-size: 1.5rem;
  /*font-family: 'Oswald', sans-serif;*/
}

#carouselExampleSlidesOnly {
  height: 500px;                 /* Fixed height */
  overflow: hidden;              /* Hide overflow */
}

@media (max-width: 768px) {
  #carouselExampleSlidesOnly .carousel-item {
    height: 100%;
    width: 100%;
    object-fit: cover;     /* Show full image, no crop */
    object-position: center; /* Keep centered */
    background-color: #000;  /* Optional: fill gaps */
  }
}

#carouselExampleSlidesOnly .carousel-item {
  height: 100%;
  width: 100%;
  object-fit: contain;     /* Show full image, no crop */
  object-position: center; /* Keep centered */
  background-color: #000;  /* Optional: fill gaps */
}

#carouselExampleSlidesOnly img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.35); /* Optional: subtle dark layer */
  backdrop-filter: blur(1px);    /* applies blur behind the div */
}

@media (max-width: 768px) {
  .carousel-overlay {
    backdrop-filter: blur(1px);
    background-image: url(images/img1.jpg);
    background-position: top;
    background-repeat: no-repeat;
  }

  .carousel-overlay .container {
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(1px);
    align-content: center;
  }
}



.carousel-overlay h1 {
  font-size: 2rem;
  line-height: 1.3;
  color: rgb(255, 255, 255);
  text-shadow: -2px 0 7px rgba(0,0,0,0.75);
  font-weight: bold;
  text-align: center;
}

.carousel-overlay p {
  color: #ddd;
  margin-top: 1rem;
  font-size: 1.27rem;
  font-weight: bold;
  text-align: center;
  text-shadow: -2px 0 7px rgba(0,0,0,0.75);
}

.services-box {
  background-color: #ffffff;
  border-radius: 10px;
}


.services-box .col {
  color: #1837cb;
  font-size: 1.1rem;
}

.services-box i {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.services-box p {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.services-box .inner-box {
  transition: transform .12s ease, box-shadow .12s ease;
  display: flex;
  flex-direction: column;
  align-items: center;       /* centers horizontally */
  justify-content: center;   /* centers vertically */
  backdrop-filter: blur(10px);    /* applies blur behind the div */
  border-radius: 15px;
}

.services-box .inner-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 10px rgba(22,28,37,0.06);
}

.triangulo {
  width: 100%;
  max-width: 40px;
}


.plantao-24h {
  background-color: #f2b50e;
  border-radius: 15px;
  text-shadow: 0 8px 10px rgba(22,28,37,0.06);
  display: flex;
  align-items: end;
}



.plantao-24h .nav-link {
  animation: blinker 1s linear infinite;
  font-weight: 700;
  font-size: 15px;
  color: #000;
  text-shadow: 0 8px 10px rgba(22,28,37,0.06);
}

@keyframes blinker {
  1% {
    opacity: 0;
  }
}




.carousel-item img {
  width: 100%;
  /*height: 75vh;*/
  object-fit: cover;
}
.carousel-indicators [data-bs-target] {
  background-color: #fff;
}
.thumbs img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 6px;
  transition: transform 0.2s;
}
.thumbs img:hover {
  transform: scale(1.05);
}