/* J. Vrška Transport-Spedition - Modern Website 2026 */
:root {
  --navy: #0B1F3A;
  --navy-light: #132a4a;
  --orange: #F59E0B;
  --orange-hover: #D97706;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-400: #94A3B8;
  --gray-600: #475569;
  --gray-700: #334155;
  --white: #FFFFFF;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(11, 31, 58, 0.08);
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--gray-700);
  background: var(--gray-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo img { height: 48px; width: auto; }

.nav { display: flex; align-items: center; gap: 8px; }

.nav a {
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
}

.nav a:hover,
.nav a.active { background: rgba(255,255,255,0.1); color: var(--orange); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-primary:hover { background: var(--orange-hover); }

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

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

.btn-sm { padding: 10px 18px; font-size: 14px; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  padding: 4px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  max-width: 640px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero p {
  font-size: 18px;
  color: #CBD5E1;
  margin-bottom: 32px;
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 16px; }

/* ===== SECTIONS ===== */
.section { padding: 72px 0; }

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-sub {
  font-size: 17px;
  color: var(--gray-600);
  margin-bottom: 40px;
  max-width: 640px;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(11,31,58,0.12);
}

.service-card h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 8px;
}

.service-card p { font-size: 14px; color: var(--gray-600); }

.service-icon {
  width: 48px;
  height: 48px;
  background: #FEF3C7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

/* Stats */
.stats {
  background: var(--navy);
  color: white;
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--orange);
  display: block;
}

.stat-label { font-size: 14px; color: #94A3B8; margin-top: 4px; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Two column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.card h3 { color: var(--navy); margin-bottom: 16px; font-size: 20px; }

.card ul { margin-top: 12px; }

.card li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 15px;
}

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

/* Contact form */
.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: var(--gray-50);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: white;
}

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

/* Footer */
.footer {
  background: var(--navy);
  color: #94A3B8;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  color: white;
  font-size: 16px;
  margin-bottom: 16px;
}

.footer a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
}

/* Page header */
.page-header {
  background: var(--navy);
  color: white;
  padding: 48px 0;
}

.page-header h1 {
  font-size: 36px;
  margin-bottom: 8px;
}

.page-header p { color: #94A3B8; font-size: 17px; }

/* Specs box */
.specs-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.specs-box h3 { color: var(--navy); margin-bottom: 16px; }

.specs-box li { padding: 8px 0; border-bottom: 1px solid var(--gray-100); font-size: 15px; }
.specs-box li:last-child { border-bottom: none; }

/* CTA dark */
.cta-dark {
  background: var(--navy);
  color: white;
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.cta-dark h3 { margin-bottom: 12px; }
.cta-dark p { color: #94A3B8; margin-bottom: 20px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 16px;
    gap: 4px;
  }
  .mobile-toggle { display: block; }
  .header-inner .btn { display: none; }
  .hero { min-height: 420px; }
  .hero-content { padding: 48px 0; }
  .section { padding: 48px 0; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
}
