/* =============================================================
   SALUSA – Global Aviation Aftermarket Solutions
   style.css
============================================================= */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0a1628;
  --blue:      #1a3a6b;
  --blue-mid:  #1e4d9b;
  --blue-lite: #2563eb;
  --accent:    #1d6fd8;
  --gray-dark: #1e293b;
  --gray:      #64748b;
  --gray-lite: #f1f5f9;
  --white:     #ffffff;
  --shadow:    0 4px 24px rgba(10,22,40,.10);
  --shadow-md: 0 8px 32px rgba(10,22,40,.14);
  --radius:    10px;
  --transition: .25s ease;
  --header-h:  72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ── Layout helpers ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

/* ── Section labels / titles ──────────────────────────────── */
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-label.light { color: rgba(255,255,255,.55); }

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title.light { color: var(--white); }

.about-divider {
  width: 52px;
  height: 3px;
  background: var(--blue-lite);
  border-radius: 2px;
  margin-bottom: 32px;
}
.about-divider.light { background: rgba(255,255,255,.4); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 14px 36px;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn:hover { transform: translateY(-2px); }

.btn-hero {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.btn-hero:hover {
  background: var(--gray-lite);
  box-shadow: 0 8px 24px rgba(0,0,0,.30);
}

.btn-primary {
  background: var(--blue-lite);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,99,235,.30);
}
.btn-primary:hover {
  background: var(--blue-mid);
  box-shadow: 0 8px 24px rgba(37,99,235,.40);
}

/* =============================================================
   HEADER / NAV
============================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,.07);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(10,22,40,.06);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(10,22,40,.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; }
.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: .04em;
}
.logo-accent { color: var(--blue-lite); }

/* Desktop nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-desktop a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-dark);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--blue-lite);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-desktop a:hover,
.nav-desktop a.active { color: var(--blue-lite); }
.nav-desktop a:hover::after,
.nav-desktop a.active::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,.07);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.nav-mobile.open {
  max-height: 260px;
  padding: 12px 0 20px;
}
.nav-mobile a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-dark);
  padding: 14px 24px;
  transition: background var(--transition), color var(--transition);
}
.nav-mobile a:hover {
  background: var(--gray-lite);
  color: var(--blue-lite);
}

/* =============================================================
   HERO
============================================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /*
    Hero background image.
    To use a local file: background-image: url('assets/hero.jpg');
    Current: Unsplash aviation photo via CDN.
  */
  background-image: url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?w=1800&q=85');
  background-size: cover;
  background-position: center 40%;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,22,40,.72) 0%,
    rgba(26,58,107,.55) 60%,
    rgba(10,22,40,.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  max-width: 760px;
}

.hero-est {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(52px, 10vw, 96px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: .06em;
  line-height: 1;
  margin-bottom: 20px;
  text-shadow: 0 4px 24px rgba(0,0,0,.35);
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 300;
  color: rgba(255,255,255,.85);
  letter-spacing: .04em;
  margin-bottom: 40px;
}

/* =============================================================
   ABOUT
============================================================= */
.about { background: var(--white); }

.about-body {
  max-width: 960px;
}
.about-body p {
  color: var(--gray);
  font-size: 16px;
  margin-bottom: 16px;
}
.about-body p:last-child { margin-bottom: 40px; }

.about-stats {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 36px;
  border-top: 1px solid rgba(0,0,0,.07);
}

.stat { text-align: left; }
.stat-number {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13px;
  color: var(--gray);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(0,0,0,.10);
  flex-shrink: 0;
}

/* =============================================================
   SERVICES
============================================================= */
.services { background: var(--gray-lite); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card-img-wrap {
  height: 190px;
  overflow: hidden;
  flex-shrink: 0;
}
.card-img-wrap img {
  transition: transform .45s ease;
}
.service-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.card-body {
  padding: 24px 22px 28px;
}
.card-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}
.card-body p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
}

/* =============================================================
   CONTACT
============================================================= */
.contact {
  background: var(--navy);
  background-image: linear-gradient(135deg, #0a1628 0%, #1a3a6b 100%);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}

.contact-company {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.contact-tagline {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,.80);
}
.contact-details svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--blue-lite);
}
.contact-details a:hover { color: var(--white); text-decoration: underline; }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.60);
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.30); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue-lite);
  background: rgba(255,255,255,.10);
}

.form-success {
  display: none;
  font-size: 14px;
  color: #4ade80;
  padding: 12px 0 0;
}
.form-success.visible { display: block; }

/* =============================================================
   FOOTER
============================================================= */
.site-footer {
  background: #060f1e;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .04em;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,.40);
}

.footer-nav {
  display: flex;
  gap: 24px;
}
.footer-nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  transition: color var(--transition);
}
.footer-nav a:hover { color: rgba(255,255,255,.85); }

/* =============================================================
   RESPONSIVE
============================================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .nav-mobile { display: flex; }

  .about-stats { gap: 24px; }
  .stat-divider { display: none; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: center; text-align: center; }

  .hero { background-attachment: scroll; }
}

@media (max-width: 520px) {
  .section { padding: 72px 0; }
  .services-grid { grid-template-columns: 1fr; }
}
