/* 2025-05-24 - Custom styles for homepage layout */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');
/* Orange Theme */
.bg-orange {
  background-color: #fd7e14 !important;
}
.btn-orange {
  background-color: #fd7e14;
  color: white;
}
.btn-orange:hover {
  background-color: #e36400;
  color: white;
}

.fa,
.fas,
.far,
.fal,
.fab {
  color: #fd7e14;
}

.nav-link {
  color: white;
}

/* h1 font */
.hero-image h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
}

/* Hero Image with Overlay */
.hero-image {
  position: relative;
  background-image: url('images/1000004308-rotated.jpg');
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  flex-direction: column; /* stack h1 and p vertically */
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 0 20px; /* horizontal padding for smaller screens */
}
.hero-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* 40% black overlay */
  z-index: 1;
}
.hero-image > * {
  position: relative;
  z-index: 2;
}
.hero-image h1 {
  margin-bottom: 0.5rem;
}
.hero-image p {
  max-width: 600px;
  font-size: 1.2rem;
  margin: 0;
}

/* 2025-05-24 18:15 - Adjusted heading styles */

/* Default h2 styles: keep as inline-block, no centering */
h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: bold;
  color: #333;
}
h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #f57c00; /* strong orange */
  margin-top: 0.5rem;
  border-radius: 2px;
}

/* Center only .accent-title heading */
.accent-title {
  position: relative;
  display: block;         /* block so margin auto works */
  margin: 0 auto 1.5rem auto; /* center horizontally and add bottom margin */
  font-weight: bold;
  color: #333;
  text-align: center;     /* center text */
}
.accent-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #f57c00; /* strong orange */
  margin: 0.5rem auto 0 auto; /* center underline */
  border-radius: 2px;
}

.img-fluid {
  border: 3px solid rgba(245, 124, 0, 0.4); /* light orange border */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(245, 124, 0, 0.2);
  transition: transform 0.3s ease;
}
.img-fluid:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(245, 124, 0, 0.4);
}

/* 2025-05-24 19:10 - Uniform responsive images for sections (except hero) */

.image-container {
  overflow: hidden;
  max-height: none; /* default no limit */
}

.img-height {
  width: 100%;
  height: auto;       /* natural height on small screens */
  object-fit: cover;  /* crop nicely when height restricted */
  display: block;
}

/* Tablet and up - limit image height */
@media (min-width: 768px) {
  .image-container {
    max-height: 320px; /* your chosen max height */
  }
  .about-img {
    height: 100%; /* fill container's height */
  }
}
