/* Pepperell Airport Custom Styles */

:root {
  /* Aviation-themed color palette */
  --primary: #0087ff;
  --primary-dark: #0066cc;
  --secondary: #263d83;
  --accent: #1a578e;
  --text-primary: #333333;
  --text-light: #6e6e6e;
  --bg-light: #f8f9fa;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background: var(--white);
}

/* Navigation */
.navbar {
  background: var(--primary) !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white) !important;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.9) !important;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: var(--white) !important;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 4rem 0;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero .lead {
  font-size: 1.2rem;
  opacity: 0.95;
}

/* Page Header */
.page-header {
  background: var(--bg-light);
  padding: 2rem 0;
  margin-bottom: 2rem;
  border-bottom: 3px solid var(--primary);
}

.page-header h1 {
  color: var(--secondary);
  font-weight: 700;
}

/* Cards */
.card {
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 2rem;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card-title {
  color: var(--secondary);
  font-weight: 600;
}

/* Alerts - Aviation themed */
.alert {
  border-left: 4px solid;
  border-radius: 4px;
}

.alert-warning {
  border-left-color: #ffc107;
  background-color: #fff3cd;
}

.alert-danger {
  border-left-color: #dc3545;
  background-color: #f8d7da;
}

.alert-info {
  border-left-color: var(--primary);
  background-color: #d1ecf1;
}

/* Tables */
.table {
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.table thead {
  background: var(--secondary);
  color: var(--white);
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.img-hero {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin: 2rem 0;
}

/* Footer */
footer {
  background: var(--secondary);
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

footer h5 {
  font-weight: 600;
  margin-bottom: 1rem;
}

footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  color: rgba(255,255,255,0.7);
}

/* List styles */
ul.list-unstyled li {
  padding: 0.3rem 0;
}

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

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

/* Utility classes */
.text-primary-custom {
  color: var(--primary) !important;
}

.text-secondary-custom {
  color: var(--secondary) !important;
}

.bg-primary-custom {
  background-color: var(--primary) !important;
}

.bg-secondary-custom {
  background-color: var(--secondary) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero .lead {
    font-size: 1rem;
  }

  .img-hero {
    height: 250px;
  }
}
