/* Arenatech s.r.o. – redizajn webu, moderný svetlý štýl */

:root {
  --primary: #0095eb;
  --primary-dark: #0b5fa5;
  --accent: #4c5276;
  --ink: #0f172a;
  --ink-soft: #4c5276;
  --bg: #ffffff;
  --bg-soft: #f1f2f9;
  --bg-card: #ffffff;
  --border: #e2e4ee;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(3, 7, 32, 0.14);
  --shadow-sm: 0 2px 10px rgba(3, 7, 32, 0.08);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Sora", "Inter", sans-serif;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--ink-soft); }

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

img { max-width: 100%; display: block; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  color: var(--primary-dark);
  background: rgba(0, 149, 235, .1);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .96rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary-dark); transform: translateY(-2px); }
.btn-light {
  background: #fff;
  color: var(--primary-dark);
}
.btn-light:hover { background: var(--bg-soft); transform: translateY(-2px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 7, 32, .96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0; padding: 0;
  flex-wrap: nowrap;
}
.nav-links a {
  color: #e6e9f5;
  font-weight: 500;
  font-size: .92rem;
  white-space: nowrap;
}
.nav-links a.active, .nav-links a:hover { color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-social {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  color: #e6e9f5; background: rgba(255,255,255,.08);
  transition: background .15s, color .15s;
}
.nav-social:hover { background: var(--primary); color: #fff; }
.nav-phone {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; color: #e6e9f5;
  font-size: .95rem;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  width: 42px; height: 42px;
  cursor: pointer;
  color: #e6e9f5;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { display:none; }

/* Hero */
.hero {
  position: relative;
  padding: 90px 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #eaf4fd 0%, #ffffff 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
}
.hero h1 { margin-bottom: .4em; }
.hero-sub { font-size: 1.1rem; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3.1;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-size: 1.6rem;
  color: var(--primary-dark);
  font-family: "Sora", sans-serif;
}
.hero-stats div span { font-size: .85rem; color: var(--ink-soft); }

/* Sections */
section { padding: 76px 0; }
.section-head { max-width: 640px; margin: 0 auto 46px; text-align: center; }
.section-head.left { margin: 0 0 40px; text-align: left; }
.bg-soft { background: var(--bg-soft); }

/* Service cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(0,149,235,.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--primary-dark);
}
.card .icon svg { width: 26px; height: 26px; }
.card p { margin-bottom: 0; font-size: .95rem; }
.card a.card-link { font-weight: 600; font-size: .9rem; margin-top: 12px; display: inline-block; }

/* Photo feature grid (autoservis / pneuservis / kľúče / prívesy) */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.photo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/3.6;
  box-shadow: var(--shadow-sm);
}
.photo-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.photo-card:hover img { transform: scale(1.06); }
.photo-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0) 30%, rgba(15,23,42,.82) 100%);
  display: flex; align-items: flex-end;
  padding: 20px;
}
.photo-card .overlay h3 { color: #fff; margin: 0; font-size: 1.05rem; }
.photo-grid.landscape .photo-card { aspect-ratio: 4/3.1; }
.photo-grid.landscape .photo-card img { object-position: center 40%; }

/* List with checks */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); }
.check-list li::before {
  content: "";
  flex: none;
  width: 20px; height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/12px no-repeat;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: 22px;
  padding: 50px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }

/* Info / hours / contact cards */
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.info-card h3 { display:flex; align-items:center; gap:10px; }
.info-card h3 .icon-sm {
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(0,149,235,.1); color: var(--primary-dark);
  display:flex; align-items:center; justify-content:center;
}
.info-card table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.info-card table td { padding: 6px 0; color: var(--ink-soft); }
.info-card table td:last-child { text-align: right; font-weight: 600; color: var(--ink); }

/* Timeline (o nás) */
.timeline { border-left: 2px solid var(--border); padding-left: 26px; display: grid; gap: 30px; margin-left: 6px; }
.timeline .item { position: relative; }
.timeline .item::before {
  content: "";
  position: absolute; left: -33px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--primary); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--primary);
}
.timeline .year { color: var(--primary-dark); font-weight: 700; font-family: "Sora", sans-serif; }

/* Map */
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* Form */
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-size: .88rem; font-weight: 600; color: var(--ink); display: block; margin-bottom: 6px; }
input, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: .95rem;
  background: #fff;
  color: var(--ink);
}
input:focus, textarea:focus { outline: 2px solid var(--accent); border-color: var(--primary); }

/* Breadcrumb / page hero (subpages) */
.page-hero {
  background: var(--bg-soft);
  padding: 56px 0 46px;
  border-bottom: 1px solid var(--border);
}
.breadcrumb { font-size: .85rem; color: var(--ink-soft); margin-bottom: 12px; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb span { color: var(--primary-dark); font-weight: 600; }

/* Footer */
.site-footer {
  background: #030720;
  color: #c7cbe0;
  padding: 60px 0 24px;
  margin-top: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: #c7cbe0; }
.site-footer a:hover { color: #fff; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .93rem; }
.footer-brand img { height: 28px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p { color: #9295ab; font-size: .9rem; max-width: 320px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; font-size: .82rem; color: #7a7d99; flex-wrap: wrap; gap: 10px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-links, .nav-phone, .nav-social { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

/* Mobile nav panel */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0 18px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 4px;
  font-weight: 600;
  color: #e6e9f5;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-nav a:hover { color: var(--primary); }
