/* Make sure html and body take full height */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1; /* Pushes footer to the bottom */
}

/* Hero Section */
.hero {
  position: relative;
  min-width: 300px;
  overflow: hidden;
  height: auto; 
}
.image-box {
  margin-top: 1%;
  position: relative;
  width: 100%;
  
}

.image-box img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: unset; 
}

.image-box .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 15px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 1px rgba(0,0,0,0.7);
}

.image-box .overlay h1 {
  font-size: clamp(1.5rem, 4vw, 3rem); /* scales with screen width */
  margin: 0;
  word-wrap: break-word;
}

@media (max-width: 765px) {
  .image-box .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    font-size: 0.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.347);
    margin-bottom: 0.0rem;
  }
  
  .image-box .overlay h1 {
    font-size: 1rem; /* aggressively smaller on phones */
  }
}


/* @media (min-width: 992px) {
  .hero {
    height: 70vh;
  }
}

@media (min-width: 1200px) {
  .hero {
    height: 60vh;
  }
} */

/*NAVBAR SECTION*/
.navbar-nav .nav-link {
  font-size: 1.1rem;
  font-weight: 500;
}

.navbar-brand {
  font-size: 1.5rem;
}

/*About section*/
#about p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.swiper-slide img {
  width: auto;
  max-height: 400px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
}