/* ==============================
   1. Base Styles and Background
   ============================== */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body.info-background {
  background: url("/images/teal_texture.jpg") repeat;
  background-size: cover;
  background-attachment: fixed;
  font-family: "Segoe UI", "Times New Roman", serif;
  color: #1b4f62;
}

.container-fluid {
  margin-bottom: 0;
  padding-bottom: 0 !important;
}

/* ==============================
   Extra Layout Gap Fixes
   ============================== */
.row {
  margin-bottom: 0 !important;
  --bs-gutter-y: 0 !important;
}

.col-md-10 {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.filtered-results-card {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ==============================
   2. Header Container & Table
   ============================== */
.header-container {
  background-color: white !important;
  font-family: "Times New Roman", Times, serif;
  width: calc(100% - 50px);
  margin: 25px 25px 0px 25px;
  padding: 10px;
  border-radius: 12px;
  position: relative;
  color: #1b4f62;
}

.header-table {
  width: 100%;
  border-collapse: collapse;
}

.header-title-cell {
  text-align: left;
  padding-left: 25px;
}

.header-title {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
  color: #1b4f62;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px 25px;
}

.header-left {
  flex-grow: 1;
}

.header-text {
  font-style: italic;
  color: #1b4f62;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  text-align: left;
}

.header-right {
  margin-left: auto;
}

.header-links {
  display: flex;
  gap: 15px;
}

.header-links a {
  color: #1b4f62;
  text-decoration: none;
  font-size: 18px;
}

.header-links a:hover {
  color: #163f52;
  text-decoration: underline;
}

/* ==============================
   3. Card Styling
   ============================== */
.card {
  border-radius: 12px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 5px;
  padding: 12px 18px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.card-text {
  margin-bottom: 8px;
  line-height: 1.4;
}

.card ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.card-body ul li {
  margin-bottom: 4px;
}

/* ==============================
   4. Aircraft Preview Row
   ============================== */
.aircraft-preview {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0 auto 10px !important;
  padding-top: 0 !important;
  max-width: 1000px;
}

.aircraft-preview img {
  width: 300px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.aircraft-preview img:hover {
  transform: scale(1.05);
}

/* ==============================
   5. Standalone Page Titles
   ============================== */
.standalone-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin: 25px 0 15px 0;
  color: #1b4f62;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* ==============================
   6. Footer Styling
   ============================== */
.footer {
  text-align: center;
  padding: 12px;
  color: white;
  font-size: 15px;
  font-style: italic;
  margin-top: 20px;
  width: calc(100% - 50px);
  margin-left: auto;
  margin-right: auto;
}

.footer a {
  color: white;
  text-decoration: underline;
}

.footer a:hover {
  color: #cce7ff;
  text-decoration: none;
}

.download-lite-btn-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.download-lite-btn {
    display: inline-block;
    font-family: "Times New Roman", Times, serif;
    font-size: 16px;
    color: black;
    text-shadow: 1px 1px 1px white;
    background-color: #008080;
    padding: 8px 24px;
    border: none;
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.download-lite-btn:hover {
    background-color: #006666;
}
