:root {
    --dark-green: #1a3c34;
    --light-green: #4a7043;
    --white: #ffffff;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 1.5s ease-out both;
}

.image-caption {
  background: linear-gradient(to right, #f8f9fa, #ffffff);
  border: 1px solid #dee2e6;
  color: #000;
  padding: 4px 8px;
  font-size: 0.9rem;
  max-width: 100%;
  white-space: normal;
  font-family: 'Roboto', serif; /* or a modern sans like 'Poppins' or 'Roboto' */
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.5px;
  display: inline-block;
  color: #333;
  padding: 6px 10px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Optional: subtle hover highlight if you want the caption to react on hover */
.gallery-link:hover + .image-caption,
.image-caption:hover {
  background: var(--light-green);
  color: var(--white);
  box-shadow: 0 6px 12px rgb(0 0 0 / 0.15);
}


.section {
	background-color: #4a7043;
}

.section .container {
	background-color: white;
}

.main_content a{
	text-decoration: none !important;
	color: black;
}

.folder-wrapper {
  border: 2px solid #dee2e6;
  border-radius: 12px;
  padding: 20px;
  background-color: #f8f9fa;
  margin-bottom: 2rem;
}

#folder-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.folder-card {
  display: block;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease;
  background-color: #fff;
}

.folder-card:hover {
  transform: scale(1.02);
  text-decoration: none;
  border-color: #999;
}

.folder-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.folder-card .caption {
  padding: 10px;
  font-weight: 500;
}


#folder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

#folder-grid .folder-card {
  border: 1px solid #ccc;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  background: #fff;
}

#folder-grid .folder-card:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#folder-grid .folder-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #f9f9f9;
}

#folder-grid .folder-card .caption {
  padding: 0.5rem;
  text-align: center;
  font-weight: 500;
}


  .gallery-wrapper {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    background-color: #fafafa;
  }

  #gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
  }

  .gallery-link img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  .gallery-link img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  }

.pswp__button--zoom {
  display: block !important;
}


#emergencyBanner {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  z-index: 1055;
  background-color: #BBE179;
  color: #774015;
  padding: 1rem;
  text-align: center;
  font-size: 1.7rem;
  opacity: 1;
  transition: opacity 0.5s ease;
}

#emergencyBanner.fade-out {
  opacity: 0;
  pointer-events: none;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--light-green);
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

.imagetext {
    font-size: 1rem;
    color: #333;
}

  @media (max-width: 768px) {
	  
 .imagetext {
	font-size: 0.9rem !important;
}
	  
 .imagetexth {
  font-size: 1.1rem !important;
}
	  
  }

.bg-dark-green {
    background-color: var(--dark-green);
}

.bg-light-green {
    background-color: var(--light-green);
}

.section {
    padding: 60px 0;
}

.navbar-nav .nav-link {
    color: var(--white);
    font-weight: 400;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #d4a373;
}

.nav-link.active {
  color: #a66e39 !important;
}

.emergency-banner {
    background-color: white;
    color: red;
    text-align: center;
    padding: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    z-index: 1000;
}

.text-white a {
    text-decoration: none;
    color: var(--white);
}

.text-white a:hover {
    color: var(--white);
}

.animate-slide-left {
    animation: slideInLeft 1s ease-out;
}

.animate-slide-right {
    animation: slideInRight 1s ease-out;
}

.animate-slide-up {
    animation: slideInUp 1s ease-out;
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@media (max-width: 767px) {
    .navbar-nav {
        background-color: var(--dark-green);
        padding: 10px;
    }
    .section {
        padding: 30px 0;
    }
}