/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Montserrat:wght@600;700&display=swap");

/* Tailwind CSS CDN */
@import url("https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css");

/* Custom Styles */
body {
  font-family: "Lato", sans-serif;
  background-color: #f8fafc;
  color: #064e3b;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

header h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.5rem; /* 24px */
}

.primary-color {
  color: #064e3b;
}

.accent-color {
  color: #d97706;
}

.bg-primary {
  background-color: #064e3b;
}

.bg-accent {
  background-color: #d97706;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    height: 50vh;
    position: relative;
    z-index: 1;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom animations */
.hover-scale:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Mobile menu toggle */
.nav-menu {
  display: none;
}

.nav-menu.active {
  display: block;
}

/* Hero section overlay */
.hero-section::before {
  /* content: ""; */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay */
  z-index: 1;
}

.hero-section > div {
  position: relative;
  z-index: 2;
}

/* Carousel Styles */
.carousel-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
  overflow: hidden;
  border: 2px solid #ddd;
}

.mySlides {
  display: none;
}

/* Caption styling */
.text-block {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px 25px;
  text-align: center;
  /* width: 70%; */
  border-radius: 5px;
}

/* Responsive adjustment */
@media screen and (max-width: 600px) {
  .text-block {
    width: 90%;
    bottom: 2%;
    padding: 10px;
  }
  .text-block h2 {
    font-size: 1.2rem;
  }
  .text-block p {
    font-size: 0.9rem;
  }
}

/* Gallery Section Styles */
.gallery-section .row {
  display: flex;
  flex-wrap: wrap;
  margin: -15px; /* Spacing adjustment */
}

/* Grid Layout mimicking Bootstrap columns */
.gallery-section [class*="col-"] {
  padding: 20px;
  box-sizing: border-box;
}

.gallery-section .col-6 {
  width: 100%;
}

@media (min-width: 768px) {
  .gallery-section .col-md-4 {
    width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .gallery-section .col-lg-3 {
    width: 25%;
  }
}

/* Card Styling */
.gallery-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%; /* Ensures equal height cards */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 220px; /* Fixed height for all images */
  object-fit: cover; /* Ensures image looks good and fills the area */
  display: block;
  border-bottom: 1px solid #f0f0f0;
}

.image-name {
  padding: 15px;
  text-align: center;
  font-weight: 600;
  color: #064e3b;
  background-color: #fff;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
}
