/*
  Modern responsive refresh (2026-01)
  - Sticky top nav with mobile hamburger
  - Improved spacing/typography
  - Better mobile layout + accessible focus states
*/

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --muted: #f4f6f8;
  --text: #0f172a;
  --text-muted: #475569;
  --border: rgba(15, 23, 42, 0.08);

  --brand: #1a3a52;
  --brand-2: #2c5aa0;
  --accent: #ff9800;
  --accent-2: #e68900;

  --shadow-sm: 0 2px 10px rgba(2, 6, 23, 0.06);
  --shadow-md: 0 10px 25px rgba(2, 6, 23, 0.12);

  --radius: 14px;
  --radius-sm: 10px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(255, 152, 0, 0.55);
  outline-offset: 2px;
  border-radius: 8px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ------------------------
   Navigation (Sticky + Mobile)
------------------------ */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  position: relative;
}

/* Logo */
.logo {
  height: 48px;
  width: auto;
  display: block;
}

/* Desktop menu */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 22px;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  padding: 10px 10px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}


.nav-menu a.active {
  color: var(--accent-2);
  background: rgba(255, 152, 0, 0.12);
}

.nav-menu a:hover {
  background: rgba(26, 58, 82, 0.06);
  transform: translateY(-1px);
}


/* Language switch */
.nav-utils {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Subtle language switcher (top-right) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 6px 10px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: none;

  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.lang-link {
  text-decoration: none;
  color: rgba(15, 23, 42, 0.65);
  font-weight: 500;
}

.lang-link:hover {
  color: rgba(15, 23, 42, 0.95);
}

.lang-link.active {
  color: rgba(15, 23, 42, 0.95);
  font-weight: 600;
}



/* Hamburger */
.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  width: 46px;
  height: 46px;
  /* Keep the hamburger perfectly centered/aligned */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--brand);
  border-radius: 999px;
  transition: transform 0.22s ease, opacity 0.18s ease;
  transform-origin: center;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile menu behavior */
@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .nav-menu.is-open {
    display: flex;
  }

  /* Hamburger -> X when open */
  .nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .nav-menu a {
    width: 100%;
    padding: 12px 12px;
    font-size: 1rem;
  }

  /* Prevent background scroll when menu is open */
  body.nav-open {
    overflow: hidden;
  }
}

/* ------------------------
   Hero
------------------------ */

.hero {
  color: white;
  text-align: center;
  padding: 110px 20px;
  min-height: 62vh;
  display: flex;
  align-items: center;

  /* Keep existing image but improve contrast */
  background-image:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.10), transparent 35%),
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url('./bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: clamp(2.0rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.hero-content h2 {
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 26px;
}

/* Disable fixed background on mobile for better performance */
@media (max-width: 900px) {
  .hero {
    padding: 90px 18px;
    background-attachment: scroll;
    min-height: 58vh;
  }
}

/* ------------------------
   Buttons
------------------------ */

.btn {
  display: inline-block;
  padding: 12px 22px;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-weight: 800;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 12px 26px rgba(255, 152, 0, 0.22);
}

.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 152, 0, 0.28);
}

/* ------------------------
   Sections (shared)
------------------------ */

.services,
.contacts {
  padding: 80px 0;
  background: var(--muted);
}

.about {
  padding: 80px 0;
}

.services h2,
.about h2,
.contacts h2 {
  text-align: center;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  margin-bottom: 3rem;
  color: var(--brand);
  letter-spacing: -0.02em;
}

/* ------------------------
   Cards / Grids
------------------------ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  background: var(--surface);
  padding: 18px 16px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.service-icon .flag {
  width: 54px;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.service-card h3 {
  color: var(--brand);
  margin: 4px 0 6px 0;
  font-size: 1.05rem;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-icon .flag {
    width: 48px;
  }
}

/* ------------------------
   About
------------------------ */

.about-content {
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.85;
}

.about-content p {
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.about-content h3 {
  color: var(--brand);
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.benefits-list,
.cargo-list {
  list-style: none;
  margin-bottom: 2rem;
  padding-left: 0;
}

.benefits-list li,
.cargo-list li {
  padding: 0.55rem 0;
  color: var(--text-muted);
}

/* ------------------------
   Contacts
------------------------ */

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  background: var(--surface);
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-card h3 {
  color: var(--brand);
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.contact-card p {
  color: var(--text-muted);
  line-height: 1.8;
}

.contact-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 800;
}

.contact-card a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------
   Generic content pages
------------------------ */

.content {
  padding: 70px 0;
}

.content h1 {
  color: var(--brand);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: 14px;
}

.content p {
  color: var(--text-muted);
  max-width: 75ch;
}

/* ------------------------
   Footer
------------------------ */

.footer {
  background: var(--brand);
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  padding: 2.2rem 0;
}

.footer p {
  margin: 0;
}

.footer-links {
  margin-top: 0.8rem;
}

.footer-links a {
  color: var(--accent);
  text-decoration: none;
  margin: 0 0.75rem;
  font-weight: 700;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Routes Section */
.routes-section {
  margin-top: 3rem;
  padding: 2rem 0;
}

.routes-section h2 {
  color: var(--brand);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.routes-section > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 80ch;
}

.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 3rem;
}

.route-card {
  background: var(--surface);
  padding: 25px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.route-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.route-card h3 {
  color: var(--brand);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.route-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Cargo Section */
.cargo-section {
  margin-top: 4rem;
  padding: 2rem 0;
}

.cargo-section h2 {
  color: var(--brand);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.cargo-section > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 80ch;
}

.cargo-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 3rem;
}

.cargo-type {
  background: var(--surface);
  padding: 25px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.cargo-type h3 {
  color: var(--brand);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.cargo-type ul {
  list-style: none;
  padding-left: 0;
}

.cargo-type li {
  padding: 0.5rem 0;
  padding-left: 20px;
  position: relative;
  color: var(--text-muted);
  line-height: 1.6;
}

.cargo-type li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.cargo-type p {
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

/* Logistics Section */
.logistics-section {
  margin-top: 4rem;
  padding: 2rem 0;
}

.logistics-section h2 {
  color: var(--brand);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.logistics-section > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 80ch;
}

.logistics-section h3 {
  color: var(--brand);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.logistics-list,
.delivery-times,
.insurance-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.logistics-list li,
.delivery-times li,
.insurance-list li {
  padding: 0.6rem 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-muted);
  line-height: 1.6;
}

.logistics-list li:before,
.delivery-times li:before,
.insurance-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.logistics-section p {
  color: var(--text-muted);
  max-width: 80ch;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Fleet Section (Transports) */
.fleet-section {
  margin-top: 4rem;
  padding: 2rem 0;
}

.fleet-section h2 {
  color: var(--brand);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 3rem;
}

.fleet-card {
  background: var(--surface);
  padding: 25px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}

.fleet-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.fleet-card h3 {
  color: var(--brand);
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.fleet-specs {
  background: rgba(0, 51, 102, 0.05);
  padding: 12px 15px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.fleet-specs p {
  margin: 6px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.fleet-specs p strong {
  color: var(--brand);
  font-weight: 600;
}

.fleet-description {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* Management Section */
.management-section {
  margin-top: 4rem;
  padding: 2rem 0;
}

.management-section h2 {
  color: var(--brand);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.management-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 3rem;
}

.management-item {
  background: var(--surface);
  padding: 25px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
}

.management-item h3 {
  color: var(--brand);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.management-item p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Operations Section */
.operations-section {
  margin-top: 4rem;
  padding: 2rem 0;
}

.operations-section h2 {
  color: var(--brand);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.operations-highlight {
  background: linear-gradient(135deg, rgba(0, 51, 102, 0.05), rgba(255, 152, 0, 0.05));
  border: 2px solid var(--brand);
  border-radius: var(--radius);
  padding: 25px;
  text-align: center;
}

.operations-highlight p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 10px 0;
}

.operations-highlight p strong {
  color: var(--brand);
  font-weight: 600;
}

/* Small screens */
@media (max-width: 520px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 76px 16px;
  }

  .routes-grid,
  .cargo-types,
  .fleet-grid,
  .management-content {
    grid-template-columns: 1fr;
  }
}
