/* ============================================
   ✅ Base Body
============================================ */
body {
  font-family: Arial, sans-serif;
  background: #f8f9fa; /* Light Bootstrap gray background */
  margin: 0;
  padding: 0;
}

.container {
  margin-top: 10px;
  padding-left: 15px;
  padding-right: 15px;
}

nav {
  margin-bottom: 20px;
}

nav a {
  text-decoration: none;
  margin-right: 10px;
  color: #007BFF;
}

nav a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4, h5 {
  margin-top: 0;
}


/* ============================================
   ✅ Card Styles
============================================ */
.card {
  border: 1px solid #e0e0e0;
  border-radius: 8px; /* Unified rounded corners */
  transition: box-shadow 0.2s ease; /* Hover effect */
}

.card:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.card-body {
  padding: 1.2rem 1.5rem;
}

.card-footer {
  background: #f8f9fa;
}

.card img {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.card-title {
  font-weight: 600;
  font-size: 1.2rem;
}

.card .bi {
  color: #198754; /* Bootstrap success green */
}


/* ============================================
   ✅ Form Styles
============================================ */
input[type="text"],
input[type="number"],
input[type="file"],
textarea,
select {
  border-radius: 4px;
}

input[type="text"]:focus,
input[type="number"]:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

form .form-label {
  font-weight: 600;
}


/* ============================================
   ✅ Alerts
============================================ */
.alert {
  margin-top: 1rem;
}


/* ============================================
   ✅ Footer Styles
============================================ */
footer {
  background: #f8f9fa;
  border-top: 1px solid #ddd;
  padding: 20px 0;
  text-align: center;
  font-size: 0.8em;
  color: #666;
}

footer a {
  color: #007BFF;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}


/* ============================================
   ✅ Navbar Links
============================================ */
.navbar-dark .navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 300;
  font-size: 1.1rem;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #f8f9fa !important;
  text-decoration: underline;
}


/* ============================================
   ✅ Unit Cards & Thumbnails
============================================ */
.thumbnail {
  border: 2px solid transparent;
  transition: border 0.2s ease;
}

.thumbnail:hover {
  border: 2px solid #198754; /* Bootstrap green */
}

.card-body .row .col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

@media (max-width: 768px) {
  .card-body .row .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .thumbnail {
    width: 80px;
    height: 60px;
  }
}


/* ============================================
   ✅ Map iframe Rounded
============================================ */
iframe {
  border-radius: 6px;
}


/* ============================================
   ✅ Gallery Arrows
============================================ */
#prevBtn,
#nextBtn {
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

#prevBtn:hover,
#nextBtn:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: scale(1.05);
}


/* ============================================
   ✅ Main Image Transition
============================================ */
#currentImage {
  transition: all 0.3s ease;
}