/* ============================================================
   Cinco Aero Components — Brand CSS
   Extends Material Kit Pro / Bootstrap 5
   ============================================================ */

:root {
  --aero-primary: #000000;
  --aero-accent: #B34212;
  --aero-accent-lt: #ED5829;
  --aero-navy: #2B328C;
  --aero-white: #FFFFFF;
  --aero-gray-light: #F1F0EF;
  --aero-gray-mid: #8D8D8D;
  --aero-gray-dark: #212121;
  --aero-font: 'Poppins', sans-serif;
  --aero-section-py: 80px;
}

/* ---- Global body override for Aero pages ---- */
body.aero-homepage {
  font-family: var(--aero-font);
  color: var(--aero-gray-dark);
  background: var(--aero-white);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.aero-navbar {
  background-color: var(--aero-primary) !important;
  padding: 16px 24px;
}

.aero-navbar .navbar-brand {
  color: var(--aero-white) !important;
  font-family: var(--aero-font);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.aero-navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.4);
}

.aero-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.aero-navbar .navbar-collapse {
  background-color: var(--aero-primary);
}

.aero-navbar .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-family: var(--aero-font);
  font-weight: 400;
  transition: color 0.2s ease;
}

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

.btn-aero-contact {
  background-color: var(--aero-primary);
  color: var(--aero-white);
  border: 1px solid var(--aero-white);
  border-radius: 300px;
  padding: 8px 22px;
  font-family: var(--aero-font);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
}

.btn-aero-contact:hover {
  background-color: var(--aero-white);
  color: var(--aero-primary);
  border-color: var(--aero-white);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.aero-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* background-color: var(--aero-primary); */
  background-color: var(--aero-white);
}

.aero-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.aero-hero__content {
  position: relative;
  z-index: 2;
  padding: var(--aero-section-py) 0;
}

.aero-hero__eyebrow {
  font-family: var(--aero-font);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aero-accent-lt);
  margin-bottom: 16px;
}

.aero-hero__title {
  font-family: var(--aero-font);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.15;
  /* color: var(--aero-white); */
  color: var(--aero-primary);
  margin-bottom: 24px;
}

.aero-hero__subtitle {
  font-family: var(--aero-font);
  font-weight: 200;
  font-size: 1.1rem;
  line-height: 1.6;
  /* color: rgba(255, 255, 255, 0.75); */
  color: var(--aero-gray-dark);
  max-width: 520px;
  margin-bottom: 36px;
}

.btn-aero-primary {
  background-color: var(--aero-accent);
  color: var(--aero-white);
  border: none;
  border-radius: 300px;
  padding: 12px 32px;
  font-family: var(--aero-font);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}

.btn-aero-primary:hover {
  background-color: var(--aero-accent-lt);
  color: var(--aero-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(179, 66, 18, 0.4);
}

.btn-aero-outline {
  background-color: transparent;
  color: var(--aero-white);
  color: var(--aero-gray-dark);
  /* border: 1px solid rgba(255, 255, 255, 0.5) !important; */
  border: 1px solid var(--aero-gray-dark) !important;
  border-radius: 300px;
  padding: 12px 32px;
  font-family: var(--aero-font);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}

.btn-aero-outline:hover {
  border-color: var(--aero-white);
  background-color: rgba(255, 255, 255, 0.1);
  /* color: var(--aero-white); */
  color: var(--aero-primary);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(179, 66, 18, 0.4);
}

.aero-hero__image-col img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  max-height: 480px;
}

/* ============================================================
   PRODUCTS / TRUSTED BY GALLERY
   ============================================================ */
.aero-products {
  padding: 60px 0;
  background-color: var(--aero-gray-light);
}

.aero-products__heading {
  font-family: var(--aero-font);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aero-gray-mid);
  text-align: center;
  margin-bottom: 36px;
}

/* Glide override for logo carousel */

/* Wrapper gives room for the arrows to sit outside the track on all widths */
.aero-glide-wrapper {
  position: relative;
  padding: 0 52px;   /* reserve space left + right for arrow buttons */
}

/* Keep Glide's position:relative intact — slide layout depends on it.
   Arrows escape the track via negative left/right offsets instead. */
.aero-glide {
  overflow: visible;
}

/* Slides */
.aero-glide .glide__track {
  overflow: hidden; /* clip slides, not arrows */
}

.aero-glide .glide__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  /* Prevent slides collapsing to zero-width before Glide JS runs */
  min-width: 0;
}

.aero-glide .glide__slide img {
  max-height: 48px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: all 0.2s ease;
}

.aero-glide .glide__slide img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Arrow buttons — offset outside the track via negative inset values.
   .aero-glide (position:relative) is the anchor; the wrapper's padding
   ensures they are never clipped at any screen width. */
.aero-glide .glide__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #E2E2E2;
  background-color: var(--aero-white);
  color: var(--aero-gray-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.2s ease;
  z-index: 10;
}

.aero-glide .glide__arrow:hover {
  border-color: var(--aero-navy);
  color: var(--aero-navy);
  box-shadow: 0 4px 16px rgba(43,50,140,0.15);
}

/* Negative offsets push arrows outside the .aero-glide box.
   Value must be <= wrapper padding so they stay visible. */
.aero-glide .glide__arrow--left  { left:  -44px; }
.aero-glide .glide__arrow--right { right: -44px; }

@media (max-width: 480px) {
  .aero-glide-wrapper {
    padding: 0 44px; /* keep in sync with arrow offset above */
  }
}

/* ============================================================
   SOLUTIONS SECTION
   ============================================================ */
.aero-solutions {
  padding: var(--aero-section-py) 0;
  background-color: var(--aero-white);
}

.aero-section-label {
  font-family: var(--aero-font);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aero-accent);
  margin-bottom: 12px;
}

.aero-section-title {
  font-family: var(--aero-font);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  color: var(--aero-primary);
  margin-bottom: 48px;
}

.aero-card {
  border: 1px solid #E2E2E2;
  border-radius: 12px;
  padding: 32px 28px;
  height: 100%;
  transition: all 0.2s ease;
  background: var(--aero-white);
}

.aero-card:hover {
  border-color: var(--aero-navy);
  box-shadow: 0 8px 32px rgba(43, 50, 140, 0.12);
  transform: translateY(-2px);
}

.aero-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: #E7E4FE;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--aero-navy);
  font-size: 1.4rem;
}

.aero-card__title {
  font-family: var(--aero-font);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--aero-primary);
  margin-bottom: 12px;
}

.aero-card__text {
  font-family: var(--aero-font);
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--aero-gray-mid);
  margin-bottom: 0;
}

/* ============================================================
   MISSION SECTION
   ============================================================ */
.aero-mission {
  padding: var(--aero-section-py) 0;
  background-color: var(--aero-primary);
}

.aero-mission__title {
  font-family: var(--aero-font);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--aero-white);
  margin-bottom: 24px;
}

.aero-mission__text {
  font-family: var(--aero-font);
  font-weight: 200;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 680px;
  margin: 0 auto;
}

/* ============================================================
   IMPACT / BENEFITS SECTION
   ============================================================ */
.aero-impact {
  padding: var(--aero-section-py) 0;
  background-color: var(--aero-white);
}

.aero-impact-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: 16px;
  background: var(--aero-gray-light);
  height: 100%;
  transition: all 0.2s ease;
}

.aero-impact-card:hover {
  background: var(--aero-navy);
}

.aero-impact-card:hover .aero-impact-card__title,
.aero-impact-card:hover .aero-impact-card__text {
  color: var(--aero-white);
}

.aero-impact-card__icon {
  font-size: 2.4rem;
  color: var(--aero-navy);
  margin-bottom: 20px;
  transition: color 0.2s ease;
}

.aero-impact-card:hover .aero-impact-card__icon {
  color: rgba(255, 255, 255, 0.8);
}

.aero-impact-card__title {
  font-family: var(--aero-font);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--aero-primary);
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.aero-impact-card__text {
  font-family: var(--aero-font);
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--aero-gray-mid);
  margin-bottom: 0;
  transition: color 0.2s ease;
}

/* ============================================================
   CONTACT FORM SECTION
   ============================================================ */
.aero-contact {
  padding: var(--aero-section-py) 0;
  background-color: var(--aero-gray-light);
}

.aero-contact__title {
  font-family: var(--aero-font);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--aero-primary);
  margin-bottom: 12px;
}

.aero-contact__subtitle {
  font-family: var(--aero-font);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--aero-gray-mid);
  margin-bottom: 40px;
}

.aero-form .form-control {
  border-radius: 8px;
  border: 1px solid #E2E2E2;
  font-family: var(--aero-font);
  font-size: 0.9rem;
  padding: 12px 16px;
  background-color: var(--aero-white);
  color: var(--aero-gray-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.aero-form .form-control:focus {
  border-color: var(--aero-navy);
  box-shadow: 0 0 0 3px rgba(43, 50, 140, 0.12);
  outline: none;
}

.aero-form label {
  font-family: var(--aero-font);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--aero-gray-dark);
  margin-bottom: 6px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.aero-footer {
  background-color: var(--aero-primary);
  padding: 48px 0 32px;
}

.aero-footer__brand {
  font-family: var(--aero-font);
  font-weight: 700;
  font-size: 1rem;
  color: var(--aero-white);
  margin-bottom: 8px;
}

.aero-footer__address {
  font-family: var(--aero-font);
  font-weight: 400;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0;
}

.aero-footer__nav a {
  font-family: var(--aero-font);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}

.aero-footer__nav a:hover {
  color: var(--aero-white);
}

.aero-footer__social a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.2rem;
  transition: color 0.2s ease;
}

.aero-footer__social a:hover {
  color: var(--aero-white);
}

.aero-footer__copy {
  font-family: var(--aero-font);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---- Product label placeholder (until real logo images are added) ---- */
.aero-product-label {
  font-family: var(--aero-font);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--aero-gray-mid);
  text-align: center;
  padding: 16px 12px;
  border: 1px solid #E2E2E2;
  border-radius: 8px;
  word-break: break-word;
  width: 100%;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.aero-divider {
  width: 48px;
  height: 3px;
  background-color: var(--aero-accent);
  border-radius: 2px;
  margin: 0 auto 32px;
}

@media (max-width: 767px) {
  .aero-hero {
    min-height: 100svh;
  }

  .aero-hero__image-col {
    margin-top: 40px;
  }

  :root {
    --aero-section-py: 56px;
  }
}
