/* ============================================================
   FLEETPRO MOBILITY & HAULAGE LIMITED
   Main Stylesheet — Layout, Utilities, Global Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');
@import 'variables.css';
@import 'reset.css';
@import 'components.css';
@import 'navigation.css';
@import 'sections.css';
@import 'responsive.css';

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding-x);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--text {
  max-width: var(--container-text);
}

.section {
  padding-block: var(--section-padding-y);
}

.section--lg {
  padding-block: var(--section-padding-y-lg);
}

.section--sm {
  padding-block: var(--section-padding-y-sm);
}

.section-header {
  margin-bottom: var(--space-16);
}

.section-header--center {
  text-align: center;
}

.section-header--center p {
  margin-inline: auto;
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-blue-500);
  margin-bottom: var(--space-4);
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: currentColor;
  flex-shrink: 0;
}

.eyebrow--light {
  color: var(--color-blue-200);
}

.eyebrow--light::before {
  background: var(--color-blue-200);
}

.heading-display {
  font-size: clamp(var(--fs-4xl), 6vw, var(--fs-7xl));
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}

.heading-h1 {
  font-size: clamp(var(--fs-3xl), 5vw, var(--fs-6xl));
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-snug);
}

.heading-h2 {
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-4xl));
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-snug);
}

.heading-h3 {
  font-size: clamp(var(--fs-xl), 2.5vw, var(--fs-3xl));
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
}

.heading-h4 {
  font-size: clamp(var(--fs-lg), 2vw, var(--fs-xl));
  font-weight: var(--fw-semibold);
  line-height: var(--lh-snug);
}

.text-lead {
  font-size: clamp(var(--fs-md), 1.5vw, var(--fs-xl));
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  color: var(--color-grey-600);
}

.text-body {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--color-grey-600);
}

.text-small {
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  color: var(--color-grey-500);
}

.text-navy     { color: var(--color-navy-900); }
.text-blue     { color: var(--color-blue-500); }
.text-white    { color: var(--color-white); }
.text-grey     { color: var(--color-grey-600); }
.text-muted    { color: var(--color-grey-400); }
.text-silver   { color: var(--color-silver); }

.bg-white       { background-color: var(--color-white); }
.bg-navy        { background-color: var(--color-navy-900); }
.bg-grey-50     { background-color: var(--color-grey-50); }
.bg-grey-100    { background-color: var(--color-grey-100); }
.bg-blue-50     { background-color: var(--color-blue-50); }
.bg-bluegrey    { background-color: var(--color-bluegrey-50); }

.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }

/* ============================================================
   FLEX & GRID UTILITIES
   ============================================================ */

.flex           { display: flex; }
.flex-col       { flex-direction: column; }
.flex-wrap      { flex-wrap: wrap; }
.items-center   { align-items: center; }
.items-start    { align-items: flex-start; }
.items-end      { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between{ justify-content: space-between; }
.justify-end    { justify-content: flex-end; }
.gap-2          { gap: var(--space-2); }
.gap-4          { gap: var(--space-4); }
.gap-6          { gap: var(--space-6); }
.gap-8          { gap: var(--space-8); }
.gap-12         { gap: var(--space-12); }

/* ============================================================
   IMAGE UTILITIES
   ============================================================ */

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.img-contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================================
   DIVIDERS
   ============================================================ */

.divider {
  width: 100%;
  height: 1px;
  background: var(--border-color);
}

.divider--navy {
  background: var(--border-color-navy);
}

/* ============================================================
   ACCENT LINE
   ============================================================ */

.accent-line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-blue-500);
  margin-bottom: var(--space-6);
  border-radius: var(--radius-full);
}

.accent-line--light {
  background: var(--color-blue-300);
}

.accent-line--center {
  margin-inline: auto;
}

/* ============================================================
   SECTION COLORS
   ============================================================ */

#hero          { background-color: var(--bg-hero); }
#trust         { background-color: var(--bg-trust); }
#services      { background-color: var(--bg-services); }
#about         { background-color: var(--bg-about); }
#founder       { background-color: var(--bg-founder); }
#fleet         { background-color: var(--bg-fleet); }
#airport       { background-color: var(--bg-airport); }
#testimonials  { background-color: var(--bg-testimonials); }
#faq           { background-color: var(--bg-faq); }
#cta           { background-color: var(--bg-cta); }
#contact       { background-color: var(--bg-contact); }

/* ============================================================
   LAZY LOADING
   ============================================================ */

img[loading="lazy"] {
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Fallback: ensure images without JS are visible after 2s */
@keyframes reveal-image {
  from { opacity: 0; }
  to   { opacity: 1; }
}

img[loading="lazy"] {
  animation: reveal-image 0.35s ease 2s forwards;
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   CLIENT REVIEWS
   ============================================================ */

.reviews-action {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-10);
}

.all-reviews-dialog {
  width: min(100%, 900px);
}

.all-reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.load-more-reviews {
  display: flex;
  margin: var(--space-8) auto 0;
}

.load-more-reviews[hidden],
#view-all-reviews[hidden] {
  display: none;
}

@media (max-width: 700px) {
  .all-reviews-grid {
    grid-template-columns: 1fr;
  }

  .reviews-action {
    flex-direction: column;
  }

  .reviews-action .btn {
    width: 100%;
    justify-content: center;
  }
}


.review-character-info {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-2);
  color: var(--color-grey-500);
}
.review-security {
  margin-bottom: var(--space-5);
}

