/* ===== Gallery Images ===== */
.gallery img {
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
  border-radius: 4px;
  object-fit: cover;
  display: block;
  padding: 5px;
  box-sizing: border-box;
}

.gallery img:hover {
  transform: scale(1.03);
  position: relative;
  z-index: 2;
}

.gallery .col-6.col-md-3 {
  padding-left: 5px;
  padding-right: 5px;
  margin-bottom: 15px;
  position: relative;
}

.gallery .row {
  overflow: visible;
}

/* Modal image overlay */
.modal-img {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-img img {
  max-width: 90%;
  max-height: 90%;
  border: 3px solid #ff9800; /* Orange border */
  border-radius: 6px;
}

/* Hero Section */
.hero {
  background: linear-gradient(
      rgba(0, 0, 0, 0.75),
      rgba(0, 0, 0, 0.75)
    ),
    url("../images/hero.jpg") center/cover no-repeat;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff9800; /* Orange text */
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
  text-align: center;
  padding: 2rem 1rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background-color: #000 !important; /* Black background */
}

/* Navbar brand text */
.navbar-brand {
  color: #ff9800 !important; /* Orange */
  font-weight: 700;
  transition: color 0.3s ease;
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: #ffa726 !important; /* Lighter orange */
}

/* Navbar links */
.navbar-nav .nav-link {
  color: #ff9800 !important; /* Orange links */
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #ffa726 !important; /* Lighter orange on hover */
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: #ff9800; /* Orange headings */
  font-weight: 700;
}

/* Paragraphs and normal text */
p, li, span {
  color: #f0f0f0; /* Light gray text */
  line-height: 1.6;
}

/* Links inside paragraphs */
p a, li a, span a {
  color: #ff9800;
  text-decoration: none;
  transition: color 0.3s ease;
}

p a:hover, li a:hover, span a:hover {
  color: #ffa726;
  text-decoration: underline;
}

/* Buttons */
.btn-warning {
  background-color: #ff9800;
  border-color: #ff9800;
  color: #000; /* Black text */
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-warning:hover,
.btn-warning:focus {
  background-color: #ffa726;
  border-color: #ffa726;
  color: #000;
}

/* Text utility classes */
.text-warning {
  color: #ff9800 !important;
}

.text-light {
  color: #f0f0f0 !important;
}

/* Footer */
footer {
  color: #f0f0f0;
  background-color: #000;
  padding: 1rem 0;
}

footer a {
  color: #ff9800;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover,
footer a:focus {
  color: #ffa726;
  text-decoration: underline;
}

/* Additional spacing */
section.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

/* Override Bootstrap bg-black and text-light */
.bg-black {
  background-color: #000 !important;
}

.text-light {
  color: #f0f0f0 !important;
}

/* Responsive image gallery adjustments */
@media (max-width: 768px) {
  .gallery .col-6.col-md-3 {
    padding-left: 3px;
    padding-right: 3px;
    margin-bottom: 10px;
  }
}
