/* ============================================================
   DOZIER COURIER & TRANSPORTATION SERVICES
   styles.css — Plain HTML/CSS rebuild
   Fonts: Mukta 400 (body), 800 (headings/subheadings)
   Colors: #930201 (red), #00337b (navy), #ffffff (white)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@400;800&display=swap');

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

/* ── Custom Properties ───────────────────────────────────── */
:root {
  --red:    #930201;
  --navy:   #00337b;
  --white:  #ffffff;
  --light:  #f4f6f9;
  --font:   'Mukta', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 4px;
  --shadow: 0 2px 12px rgba(0, 51, 123, 0.10);
  --max-w:  1160px;
}

/* ── Base ─────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
}

img { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3, h4, h5 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
}

/* ── Utility ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-label {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0.5rem;
}

.section-label p {
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.85;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: opacity 0.18s, background 0.18s, color 0.18s;
  line-height: 1;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-primary:hover {
  opacity: 0.88;
}

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

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

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

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

/* ── Header / Navigation ─────────────────────────────────── */
.site-header {
  background: transparent;
  box-shadow: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
  gap: 1.5rem;
}

.nav-logo img {
  height: 80px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--white);
  letter-spacing: 0.01em;
  transition: color 0.15s, opacity 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 0.75;
}

.site-header.scrolled .nav-links a {
  color: var(--navy);
}

.site-header.scrolled .nav-links a:hover,
.site-header.scrolled .nav-links a.active {
  color: var(--red);
  opacity: 1;
}

.nav-phone {
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--white);
  white-space: nowrap;
  transition: opacity 0.15s;
}

.nav-phone:hover {
  opacity: 0.75;
}

.site-header.scrolled .nav-phone {
  color: var(--red);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 580px;
  padding: 6rem 1.5rem;
  padding-top: calc(6rem + 110px);
  background-image: url('../assets/images/car-mirror-driving.jpg');
  background-size: cover;
  background-position: center center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 30, 80, 0.72);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  color: var(--white);
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 2.25rem;
  opacity: 0.92;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Services Preview (Homepage) ─────────────────────────── */
.services-preview {
  padding: 5rem 1.5rem;
  background: var(--white);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid #dde4f0;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 51, 123, 0.14);
}

.card-emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.95rem;
  opacity: 0.85;
}

.show-more-wrap {
  text-align: center;
}

/* ── Why Choose Us ───────────────────────────────────────── */
.why-choose {
  padding: 5rem 1.5rem;
  background: var(--light);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.feature-emoji {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1.2;
}

.feature-text h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.feature-text p {
  font-size: 0.95rem;
  opacity: 0.85;
}

.why-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonials {
  padding: 5rem 1.5rem;
  background: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--light);
  border-left: 4px solid var(--red);
  border-radius: 0 8px 8px 0;
  padding: 1.75rem;
}

.testimonial-card blockquote {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 800;
  color: var(--red);
  font-size: 0.95rem;
}

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  padding: 5rem 1.5rem;
  background: var(--red);
  color: var(--white);
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.cta-banner p {
  max-width: 640px;
  margin: 0 auto 2rem;
  opacity: 0.92;
  font-size: 1.05rem;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 1.5rem 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem 3rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-logo img {
  height: 56px;
  width: auto;
}

.footer-nav {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  padding-top: 0.25rem;
}

.footer-nav a {
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--white);
  transition: opacity 0.15s;
}

.footer-nav a:hover { opacity: 0.7; }

.footer-contact {
  text-align: right;
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-contact a {
  color: var(--white);
  text-decoration: none;
}

.footer-contact a:hover { opacity: 0.7; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.75rem;
  font-size: 0.88rem;
  opacity: 0.75;
}

.footer-tagline {
  max-width: 480px;
}

/* ── Services Page ───────────────────────────────────────── */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 1.5rem;
  padding-top: calc(4rem + 110px);
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  opacity: 0.88;
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto;
}

.services-section {
  padding: 5rem 1.5rem;
}

.services-section:nth-child(even) {
  background: var(--light);
}

/* Delivery types grid */
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.delivery-card {
  background: var(--white);
  border: 1px solid #dde4f0;
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.delivery-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--red);
}

.delivery-card p {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Specialized service rows (image + text) */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0;
  border-bottom: 1px solid #dde4f0;
}

.service-row:last-of-type {
  border-bottom: none;
}

.service-row.reverse {
  direction: rtl;
}

.service-row.reverse > * {
  direction: ltr;
}

.service-row-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-row-text h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--red);
}

.service-row-text ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-row-text ul li {
  padding: 0.3rem 0;
  font-size: 0.95rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.service-row-text ul li::before {
  content: '✓';
  color: var(--red);
  font-weight: 800;
  flex-shrink: 0;
}

/* Add-ons */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.addon-item {
  background: var(--white);
  border: 1px solid #dde4f0;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
}

.addon-item::before {
  content: '⭐';
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Brochure section */
.brochure-section {
  padding: 5rem 1.5rem;
  background: var(--navy);
  text-align: center;
}

.brochure-section h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 2rem;
}

.brochure-section img {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* ── Contact Page ────────────────────────────────────────── */
.contact-section {
  padding: 5rem 1.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 0.75rem;
}

.contact-info .lead {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  opacity: 0.85;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1.4;
}

.contact-item-body {
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact-item-body strong {
  font-weight: 800;
  display: block;
  margin-bottom: 0.15rem;
}

.contact-item-body a {
  text-decoration: none;
  color: var(--navy);
}

.contact-item-body a:hover {
  color: var(--red);
}

/* Contact form */
.contact-form {
  background: var(--light);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  color: var(--navy);
  background: var(--white);
  border: 1px solid #c8d4e8;
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.18s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--navy);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .why-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .why-image { order: -1; }

  .service-row,
  .service-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 1.75rem;
    padding: 2.5rem 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links,
  .nav-phone {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 110px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    gap: 1rem;
    z-index: 199;
  }

  .nav-phone.open {
    display: block;
    position: absolute;
    top: 110px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 0 1.5rem 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    z-index: 199;
  }

  .nav-inner {
    position: relative;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
