/* ===========================
   AFD Transport Ltd — Stylesheet
   Clean, modern, personal
   =========================== */

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

:root {
  --navy: #1a2638;
  --navy-light: #243447;
  --amber: #d4a843;
  --amber-dark: #b8922e;
  --white: #ffffff;
  --off-white: #f7f7f5;
  --grey-light: #e8e8e6;
  --grey: #6b7280;
  --grey-dark: #374151;
  --text: #1f2937;
  --text-light: #6b7280;
  --max-width: 1200px;
  --header-height: 80px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
}
.btn-primary:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-dark:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
}

/* --- Top Bar --- */
.top-bar {
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: var(--amber); }
.top-bar-left {
  display: flex;
  gap: 20px;
  align-items: center;
}
.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- Header --- */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--grey-light);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.header-logo img {
  height: 50px;
  width: auto;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-phone a {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.header-phone .phone-label {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 400;
  display: block;
  line-height: 1;
}
.header-phone-icon {
  width: 42px;
  height: 42px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.header-phone-icon svg { width: 20px; height: 20px; }

/* --- Nav --- */
.nav {
  background: var(--navy);
}
.nav ul {
  display: flex;
  justify-content: center;
  gap: 0;
}
.nav a {
  display: block;
  padding: 14px 24px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: background 0.2s;
}
.nav a:hover,
.nav a.active {
  background: var(--navy-light);
  color: var(--amber);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 14px 24px;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.35;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  max-width: 650px;
}
.hero-content .container {
  padding: 0;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}
.hero h1 span {
  color: var(--amber);
}
.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--grey-light);
  padding: 20px 0;
}
.trust-bar .container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 48px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--grey-dark);
  font-weight: 500;
}
.trust-icon {
  width: 36px;
  height: 36px;
  background: var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Services Section --- */
.services {
  padding: 80px 0;
}
.services .section-header {
  text-align: center;
  margin-bottom: 48px;
}
.services .section-header h2 { margin-bottom: 12px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--grey-light);
  transition: transform 0.2s, box-shadow 0.2s;
  background: var(--white);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}
.service-card-img {
  height: 200px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.service-card:hover .service-card-img img {
  transform: scale(1.05);
}
.service-card-body {
  padding: 24px;
}
.service-card-body h3 {
  margin-bottom: 8px;
}
.service-card-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.service-card-link {
  color: var(--amber-dark);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card-link:hover { gap: 10px; }

/* --- About Preview --- */
.about-preview {
  padding: 80px 0;
  background: var(--off-white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-image {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/5;
  max-width: 380px;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-text h2 { margin-bottom: 16px; }
.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.about-text .btn { margin-top: 8px; }

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  margin-bottom: 24px;
}
.stat {
  text-align: center;
}
.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber-dark);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--navy);
  padding: 60px 0;
  text-align: center;
}
.cta-banner h2 {
  color: var(--white);
  margin-bottom: 12px;
}
.cta-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 28px;
}
.cta-banner .cta-phone {
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber);
  display: block;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

/* --- Area Section --- */
.areas {
  padding: 80px 0;
}
.areas .section-header {
  text-align: center;
  margin-bottom: 40px;
}
.areas .section-header h2 { margin-bottom: 12px; }
.area-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}
.area-tag {
  background: var(--off-white);
  border: 1px solid var(--grey-light);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.9rem;
  color: var(--grey-dark);
  font-weight: 500;
  transition: transform 0.2s ease;
  display: inline-block;
  cursor: default;
}
.area-tag:hover {
  transform: scale(1.08);
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-brand img {
  height: 40px;
  filter: brightness(0) invert(1);
}
.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer ul a:hover { color: var(--amber); }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
}
.footer-contact svg {
  width: 16px;
  height: 16px;
  stroke: var(--amber);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
}
.footer-licence {
  font-size: 0.8rem;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: var(--navy);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.page-hero * { position: relative; z-index: 1; }
.page-hero h1 {
  color: var(--white);
  margin-bottom: 8px;
}
.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
}

/* --- Content Sections (service pages) --- */
.content-section {
  padding: 60px 0;
}
.content-section:nth-child(even) {
  background: var(--off-white);
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }
.content-text h2 { margin-bottom: 16px; }
.content-text p {
  color: var(--text-light);
  margin-bottom: 16px;
}
.content-image {
  border-radius: 10px;
  overflow: hidden;
}
.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Feature list */
.feature-list {
  margin: 16px 0;
}
.feature-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-light);
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  background: var(--amber);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%231a2638' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* --- Contact Form --- */
.contact-section {
  padding: 60px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--grey-dark);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--grey-light);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--amber);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* --- About Page --- */
.about-story {
  padding: 80px 0;
}
.about-story-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 48px;
  align-items: center;
}
.about-story-text h2 { margin-bottom: 16px; }
.about-story-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-grid,
  .content-grid,
  .contact-grid,
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .content-grid.reverse { direction: ltr; }
  .about-image { max-height: 400px; }
}

@media (max-width: 768px) {
  .top-bar-left { display: none; }

  .header-phone a { font-size: 1.1rem; }
  .header-logo img { height: 40px; }

  /* Mobile nav */
  .nav-toggle { display: block; }
  .nav ul {
    display: none;
    flex-direction: column;
  }
  .nav ul.open { display: flex; }
  .nav a {
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .hero { min-height: 420px; }
  .hero-content { padding: 48px 0; }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .trust-bar .container {
    gap: 16px 24px;
  }

  .about-stats {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .cta-banner .cta-phone { font-size: 1.5rem; }
}
