:root {
  --bg: #0f172a;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --brand: #2563eb;
  --brand-2: #22d3ee;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container {
  width: min(1200px, 92%);
  margin: auto;
}

header {
  background: rgba(15, 23, 42, 0.9);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--brand-2);
}

.hero {
  background: url('http://www.autobugy.sk/202003.jpg') center/cover no-repeat;
  text-align: center;
  padding: 6rem 1rem;
  position: relative;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: fadeInDown 1s ease forwards;
}

.hero p {
  color: var(--muted);
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease forwards;
}

.btn {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s;
}

.btn:hover {
  transform: scale(1.05);
}

section {
  padding: 3rem 0;
}

h2 {
  margin-bottom: 1rem;
}

.services, .fleet {
  display: grid;
  gap: 1rem;
}

.services {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.services img, .fleet img {
  width: 100%;
  border-radius: 8px;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 8px;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.fleet {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.contact {
  display: grid;
  gap: 2rem;
}

form input, form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 6px;
}

footer {
  text-align: center;
  padding: 1rem 0;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.3);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Keyframes */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
