/* ==========================================================================
   solansky.cloud – Dark Theme Autodoprava
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
  --bg-dark: #121826;
  --bg-card: #1f2937;
  --bg-card-hover: #374151;
  --primary: #facc15;      /* Truck Yellow */
  --primary-hover: #eab308;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --border-color: #374151;
  --radius: 12px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

h1, h2, h3, h4, .brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--text-main);
}

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

.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-title span.highlight, 
.section-title h2 span {
  color: var(--primary);
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0; width: 100%;
  z-index: 1000;
  padding: 15px 0;
  background: linear-gradient(to bottom, rgba(18, 24, 38, 0.9), transparent);
  transition: all var(--transition);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.4rem;
  color: var(--text-main);
}

.brand img {
  height: 40px;
  border-radius: 8px;
}

.brand span strong {
  color: var(--primary);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a.btn-nav {
  background: var(--primary);
  color: var(--bg-dark);
  padding: 10px 20px;
  border-radius: 30px;
}
.nav-links a.btn-nav:hover {
  background: var(--primary-hover);
  color: var(--bg-dark);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 24, 38, 0.95) 0%, rgba(18, 24, 38, 0.6) 50%, rgba(18, 24, 38, 0.3) 100%);
}

.hero-content {
  max-width: 650px;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.25rem;
  color: #d1d5db;
  margin-bottom: 40px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-weight: 700;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--bg-dark);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(250, 204, 21, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border-color: var(--text-main);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(250, 204, 21, 0.05);
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

/* --- Features (Stats grid) --- */
.features {
  padding: 60px 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  text-align: center;
}

.feat-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.features-grid h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary);
}

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

.card {
  background: var(--bg-card);
  padding: 40px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  transition: all var(--transition);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  transform: translateY(-5px);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.card p {
  color: var(--text-muted);
}

/* --- About --- */
.about {
  background: #0f1420; /* Slightly darker */
}
.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
}
.about-text h2 span {
  color: var(--primary);
}
.about-text p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.check-list {
  list-style: none;
  margin-top: 30px;
}
.check-list li {
  font-size: 1.1rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --- Contact --- */
.contact-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border-top: 4px solid var(--primary);
  padding: 60px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.contact-card h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.contact-card h2 span {
  color: var(--primary);
}

.contact-card > p {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.info-item .icon {
  font-size: 2rem;
  background: rgba(250, 204, 21, 0.1);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.detail strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-main);
  margin-bottom: 5px;
}

.detail span, .detail a {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.detail a:hover {
  color: var(--primary);
}

/* --- Footer --- */
footer {
  background: #090c13;
  padding: 30px 0;
  text-align: center;
  color: #6b7280;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 2.8rem; }
  .hero-buttons { flex-direction: column; }
  .contact-card { padding: 30px; }
}
