/* 
    MANG Styles - Modern General Aviation Design
    Color scheme inspired by modern GA websites (Piper, Diamond Aircraft)
*/

/* Modern typography - using system fonts for better performance */
body {
  background-color: #f7fafc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 1em;
  color: #2d3748;
  line-height: 1.6;
}

h1 {
  font-size: 262%;
  color: #1a3a5f;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 162%;
  color: #2c5282;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  color: #2c5282;
  font-weight: 600;
}

.photo-card {
  background: #ffffff;
  border-radius: 0.75em;
  padding: 1.5em;
  box-shadow: 0 4px 6px rgba(26, 58, 95, 0.1), 0 2px 4px rgba(26, 58, 95, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: center;
  transition: box-shadow 0.3s ease;
}

.photo-card:hover {
  box-shadow: 0 10px 15px rgba(26, 58, 95, 0.15), 0 4px 6px rgba(26, 58, 95, 0.1);
}

.photo-card img {
  max-width: 100%;
  border-radius: 8px;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5em;
  place-content: center;
}

@media screen and (min-width: 481px) {
  .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5em;
    place-content: center;
  }
}

@media screen and (min-width: 769px) {
  .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
    place-content: center;
    max-width: 1200px;
    margin: auto;
  }
}

/* Modern color scheme */
body {
  background-color: #f7fafc;
}

.jumbotron {
  background: linear-gradient(135deg, #1a3a5f 0%, #2c5282 100%);
  color: #ffffff;
  padding: 4rem 2rem;
  margin-bottom: 2rem;
  border-radius: 0;
}

.jumbotron h1 {
  color: #ffffff;
  font-weight: 700;
}

.jumbotron p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
}

a {
  color: #2c5282;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #1a3a5f;
  text-decoration: underline;
}

a:focus {
  outline: 2px solid #2c5282;
  outline-offset: 2px;
}

/* Navbar styling */
.navbar-dark {
  background-color: #1a3a5f !important;
}

.navbar-dark .navbar-brand {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.25rem;
}

.navbar-dark .navbar-brand:hover {
  color: rgba(255, 255, 255, 0.9);
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  transition: color 0.2s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #ffffff;
}

.navbar-dark .navbar-nav .nav-link:focus {
  color: #ffffff;
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* Table styling */
.table {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}

.table thead {
  background-color: #1a3a5f;
  color: #ffffff;
}

.table thead th {
  border: none;
  font-weight: 600;
  padding: 1rem;
}

.table tbody tr {
  transition: background-color 0.2s ease;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: #f7fafc;
}

.table tbody tr:hover {
  background-color: #e8f0f7;
}

/* Form styling */
.form-control {
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  padding: 0.625rem 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: #2c5282;
  box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
  outline: none;
}

.btn {
  border-radius: 6px;
  font-weight: 500;
  padding: 0.625rem 1.25rem;
  transition: all 0.2s ease;
}

.btn-default, .btn-secondary {
  background-color: #2c5282;
  color: #ffffff;
  border: none;
}

.btn-default:hover, .btn-secondary:hover {
  background-color: #1a3a5f;
  color: #ffffff;
}

.btn-default:focus, .btn-secondary:focus {
  box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.3);
  outline: none;
}

/* Featurette styling */
.featurette-heading {
  color: #1a3a5f;
  font-weight: 600;
}

.text-muted {
  color: #718096 !important;
}

.featurette-divider {
  border-top: 1px solid #e2e8f0;
  margin: 4rem 0;
}

/* Container improvements */
.container {
  max-width: 1140px;
}

/* Accessibility improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Ensure sufficient color contrast */
p, li {
  color: #2d3748;
}

strong {
  color: #1a3a5f;
  font-weight: 600;
}

/* Call to Action Section */
.cta-section {
  background: linear-gradient(135deg, #1a3a5f 0%, #2c5282 100%);
  color: #ffffff;
  padding: 3rem 1rem;
  margin-bottom: 3rem;
}

.cta-content {
  text-align: center;
}

.cta-heading {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-subheading {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.contact-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15), 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e8f0f7;
}

.contact-header h3 {
  color: #1a3a5f;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-name {
  color: #2d3748;
  font-size: 1rem;
  margin: 0;
}

.contact-name strong {
  color: #1a3a5f;
  font-size: 1.125rem;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  color: #ffffff;
}

.btn-contact:focus {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.btn-call {
  background-color: #2c5282;
}

.btn-call:hover {
  background-color: #1a3a5f;
  color: #ffffff;
  text-decoration: none;
  transform: scale(1.02);
}

.btn-text {
  background-color: #48bb78;
}

.btn-text:hover {
  background-color: #38a169;
  color: #ffffff;
  text-decoration: none;
  transform: scale(1.02);
}

.contact-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.contact-action-text {
  font-size: 1rem;
  font-weight: 600;
}

.contact-phone {
  font-size: 0.875rem;
  opacity: 0.9;
  font-weight: 500;
}

.cta-email {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-email p {
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  font-size: 1rem;
}

.cta-email .email-link {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 600;
}

.cta-email .email-link:hover {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

/* Desktop layout for contact cards */
@media screen and (min-width: 768px) {
  .cta-section {
    padding: 4rem 2rem;
  }

  .cta-heading {
    font-size: 2.5rem;
  }

  .cta-subheading {
    font-size: 1.25rem;
  }

  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .contact-actions {
    flex-direction: row;
    gap: 1rem;
  }

  .btn-contact {
    flex: 1;
    padding: 1.125rem 1.5rem;
  }

  .contact-action-text {
    display: block;
  }

  .contact-phone {
    display: block;
    margin-top: 0.25rem;
  }
}

/* Large desktop - make buttons side by side */
@media screen and (min-width: 992px) {
  .contact-card {
    padding: 2rem;
  }

  .btn-contact {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem 1.5rem;
  }

  .contact-icon {
    font-size: 1.5rem;
  }
}


