/* =============================================
   Amon Logistics — Styles
   ============================================= */

:root {
  --gold: #C5A059;
  --gold-dark: #A8863F;
  --gold-light: #D4B87A;
  --black: #0A0A0A;
  --dark: #1A1A1A;
  --gray-900: #2A2A2A;
  --gray-700: #555;
  --gray-500: #888;
  --gray-300: #CCC;
  --gray-100: #F5F5F3;
  --white: #FFFFFF;
  --sidebar-width: 240px;
  --transition: 0.3s ease;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--black);
  background-color: var(--white);
  background-image:
    linear-gradient(rgba(200, 200, 200, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 200, 200, 0.15) 1px, transparent 1px);
  background-size: 40px 40px;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

/* ---- Sidebar ---- */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--white);
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  transition: transform var(--transition);
}

.sidebar-logo {
  margin-bottom: 3rem;
  padding: 0 0.5rem;
}

.sidebar-logo img {
  width: 100%;
  max-width: 180px;
}

.sidebar-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-nav a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: var(--gold);
}

.sidebar-nav a.active {
  background: rgba(197, 160, 89, 0.08);
}

/* ---- Mobile menu ---- */
.menu-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 200;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: var(--shadow);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  transition: var(--transition);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 90;
  opacity: 0;
  transition: opacity var(--transition);
}

.sidebar-overlay.visible {
  opacity: 1;
}

/* ---- Main content ---- */
.main-content {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.45) 30%,
    transparent 65%
  );
}

.hero-accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    155deg,
    transparent 20%,
    rgba(197, 160, 89, 0.1) 45%,
    rgba(197, 160, 89, 0.06) 70%,
    transparent 95%
  );
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 3rem 6rem;
  max-width: 820px;
}

.hero h1 {
  font-size: clamp(1.55rem, 3.4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
  color: var(--black);
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.8);
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--gray-900);
  transform: translateY(-2px);
}

/* ---- Feature cards ---- */
.features {
  position: relative;
  z-index: 3;
  margin-top: -5rem;
  padding: 0 2rem 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-lg);
  border-radius: 4px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-icon-svg {
  color: var(--gold);
}

.feature-icon-svg svg {
  width: 100%;
  height: 100%;
}

.feature-card h2 {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--gray-700);
  line-height: 1.7;
}

/* ---- Stats & News ---- */
.stats-news {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 3rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stats-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-700);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-300);
}

.latest-news {
  min-width: 280px;
  max-width: 340px;
}

.latest-news h3 {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--gray-700);
}

.news-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.news-item img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}

.news-text h4 {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.35rem;
}

.news-text time {
  font-size: 0.7rem;
  color: var(--gray-500);
}

/* ---- Content sections ---- */
.content-section {
  padding: 5rem 3rem;
}

.content-section-alt {
  background: var(--gray-100);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gold);
}

.lead {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  color: var(--gray-900);
}

/* ---- About ---- */
.about-rows {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.about-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1.5rem 2.5rem;
  align-items: start;
}

.about-row-visual {
  width: 120px;
  height: 120px;
  min-width: 120px;
  max-width: 120px;
  min-height: 120px;
  max-height: 120px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-row-visual img {
  display: block;
  width: 120px;
  height: 120px;
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
}

.about-row-visual--photo img {
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.about-row-content h3 {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  color: var(--black);
}

.about-row-content p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.75;
  max-width: 720px;
}

/* ---- Services ---- */
.services-intro {
  max-width: 820px;
  margin-bottom: 2.5rem;
}

.services-subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.services-intro p:last-child {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.75;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 4px;
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.service-card-wide {
  grid-column: 1 / -1;
}

.service-card:hover {
  transform: translateY(-3px);
}

.service-number {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0.5rem 0 0.75rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-highlights {
  margin-top: 0.25rem;
}

.service-highlights li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--gray-700);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.service-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

.service-highlights li strong {
  color: var(--gray-900);
  font-weight: 700;
}

/* ---- Join banner / Drivers ---- */
.join-banner {
  background: var(--gold);
  padding: 0;
}

.join-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.join-text h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.join-text p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--black);
  max-width: 520px;
  line-height: 1.6;
}

.join-star {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  opacity: 0.9;
}

.join-star svg {
  width: 100%;
  height: 100%;
}

.drivers-details {
  background: rgba(0, 0, 0, 0.06);
  padding: 2.5rem 3rem 3rem;
}

.drivers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 2rem;
}

.driver-benefit h3 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.driver-benefit p {
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.7;
}

.drivers-details .btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-list {
  margin: 2rem 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.contact-list svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-list a:hover {
  color: var(--gold);
}

.contact-hours {
  font-size: 0.875rem;
  color: var(--gray-700);
}

.contact-form {
  position: relative;
  background: var(--gray-100);
  padding: 2rem;
  border-radius: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  border: 1px solid var(--gray-300);
  border-radius: 3px;
  background: var(--white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-honey {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  min-height: 1.25rem;
}

.form-status.success {
  color: #2d6a4f;
}

.form-status.error {
  color: #9b2226;
}

.contact-form .btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--dark);
  color: var(--gray-300);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.25rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--gold);
  transition: color var(--transition), transform var(--transition);
}

.footer-social a:hover {
  color: var(--gold-light);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-mc {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.footer-sep {
  margin: 0 0.5rem;
}

.footer-contact {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--gray-300);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 3rem;
  text-align: center;
}

.footer-copy p {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .features-grid,
  .drivers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card-wide {
    grid-column: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-row {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 1.25rem 1.5rem;
  }

  .about-row-visual {
    width: 100px;
    height: 100px;
    min-width: 100px;
    max-width: 100px;
    min-height: 100px;
    max-height: 100px;
  }

  .about-row-visual img {
    width: 100px;
    height: 100px;
    max-width: 100px;
    max-height: 100px;
  }
}

@media (max-width: 768px) {
  :root {
    --sidebar-width: 260px;
  }

  .menu-toggle {
    display: flex;
  }

  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay {
    display: block;
    pointer-events: none;
  }

  .sidebar-overlay.visible {
    pointer-events: auto;
  }

  .main-content {
    margin-left: 0;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content {
    padding: 3rem 1.5rem 5rem;
  }

  .hero-accent {
    width: 65%;
    opacity: 0.8;
  }

  .features {
    margin-top: -3rem;
    padding: 0 1rem 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-news {
    flex-direction: column;
    padding: 1.5rem;
  }

  .stats-bar {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .stat-divider {
    display: none;
  }

  .latest-news {
    min-width: unset;
    max-width: unset;
    width: 100%;
  }

  .content-section {
    padding: 3rem 1.5rem;
  }

  .services-grid,
  .drivers-grid {
    grid-template-columns: 1fr;
  }

  .join-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem 1.5rem 1.5rem;
    gap: 1rem;
  }

  .join-star {
    align-self: flex-end;
    width: 48px;
    height: 48px;
  }

  .drivers-details {
    padding: 2rem 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }

  .footer-contact {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.3rem;
  }

  .stats-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
