/* 
  Fire Department Website Styles
  Colors:
  - Red: #e63946 (primary)
  - Blue: #1d3557 (secondary)
  - Black: #212529 (dark)
*/

/* Global Styles */
:root {
  --primary: #e63946;
  --secondary: #1d3557;
  --dark: #212529;
  --light: #f8f9fa;
  --gray: #6c757d;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--dark);
}

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

a:hover {
  color: #c1272d;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #c1272d;
  border-color: #c1272d;
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--primary);
  border-color: var(--primary);
}

.section-heading {
  color: var(--secondary);
  font-weight: 700;
}

.divider {
  max-width: 3.25rem;
  border-width: 0.2rem;
  border-color: var(--primary);
}

/* Navigation */
.navbar-brand {
  font-weight: 700;
}

.navbar-dark .navbar-nav .nav-link.active {
  color: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  background-image: url("/images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  color: white;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -2;
}

/* Card Styles */
.card {
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.board-img {
  height: 250px;
  object-fit: cover;
}

/* Gallery */
.gallery-card {
  position: relative;
  overflow: hidden;
}

.gallery-img {
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-caption {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-caption {
  opacity: 1;
}

/* Events */
.event-date {
  background-color: var(--primary);
  color: white;
  text-align: center;
  padding: 1rem;
  border-radius: 0.5rem;
}

.event-day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.event-month {
  font-size: 1.2rem;
  text-transform: uppercase;
}

/* Apparatus */
.apparatus-item {
  margin-bottom: 2rem;
}

.apparatus-img {
  height: 300px;
  object-fit: cover;
}

/* Hall Rental */
.pricing-card {
  text-align: center;
  padding: 2rem;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.pricing-card-header {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing-card-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

/* Contact */
.map-container {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.social-icons a {
  color: var(--secondary);
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--primary);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    height: 60vh;
  }

  .card-img-top,
  .board-img,
  .gallery-img {
    height: 180px;
  }

  .apparatus-img {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 50vh;
  }
}
