/* ===========================
   DKM SERVIS VYŠKOV — styles
   =========================== */

:root {
  --red: #E10600;
  --red-dark: #A30400;
  --black: #0D0D0D;
  --charcoal: #1A1A1A;
  --charcoal-light: #232323;
  --silver-1: #C7CBCF;
  --silver-2: #8A8F94;
  --white: #FFFFFF;
  --off-white: #F4F4F5;
  --gray-text: #55585c;

  --font-display: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;

  --header-h: 76px;
  --container-w: 1180px;

  --shadow-card: 0 10px 30px rgba(0,0,0,0.08);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

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

/* ---------- Typography helpers ---------- */

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.eyebrow-light { color: var(--red); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  color: var(--black);
}

.section-title.text-white { color: var(--white); }

.section-lead {
  max-width: 640px;
  color: var(--gray-text);
  font-size: 1.05rem;
  margin-bottom: 48px;
}

.section-lead-light { color: #c9c9c9; }

.text-red { color: var(--red); }
.text-white { color: var(--white); }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  box-shadow: 0 6px 20px rgba(225, 6, 0, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(225, 6, 0, 0.45);
}

.btn-outline {
  background: transparent;
  border-color: var(--silver-1);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--white);
  transform: translateY(-2px);
}

.icon-phone-sm { width: 18px; height: 18px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(199,203,207,0.15);
  transition: background var(--transition);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-link { display: flex; align-items: center; height: 100%; }

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

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

.main-nav .nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}

.main-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width var(--transition);
}

.main-nav .nav-link:hover { color: var(--red); }
.main-nav .nav-link:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  padding: 9px 16px;
  border: 1px solid var(--silver-2);
  border-radius: 6px;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.phone-link:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(225,6,0,0.08);
}

.icon-phone { width: 18px; height: 18px; flex-shrink: 0; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile nav overlay ---------- */

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  background: var(--black);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav .nav-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.03em;
}

.mobile-nav .nav-link:hover { color: var(--red); }

.mobile-call { margin-top: 12px; }

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-h);
  background: var(--black);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(225,6,0,0.18), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(138,143,148,0.12), transparent 50%),
    linear-gradient(180deg, #000000 0%, #141414 60%, #0D0D0D 100%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(199,203,207,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199,203,207,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black, transparent 75%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 24px;
}

.hero-logo {
  width: min(340px, 70vw);
  margin-bottom: 24px;
  filter: drop-shadow(0 12px 30px rgba(225,6,0,0.25));
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero-subtitle {
  color: #c9c9c9;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 620px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.scroll-down {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--silver-2);
  border-radius: 20px;
  z-index: 1;
}

.scroll-down span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--red);
  transform: translateX(-50%);
  animation: scrollDot 1.8s infinite;
}

@keyframes scrollDot {
  0% { top: 8px; opacity: 1; }
  70% { top: 22px; opacity: 0; }
  100% { top: 22px; opacity: 0; }
}

/* ---------- Services ---------- */

.services {
  padding: 110px 0;
  background: var(--white);
  text-align: center;
}

.services .section-lead { margin-left: auto; margin-right: auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 20px;
}

.service-card {
  background: var(--off-white);
  border: 1px solid #e7e7e8;
  border-radius: 14px;
  padding: 38px 26px;
  text-align: left;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 18px rgba(225,6,0,0.28);
}

.service-icon svg { width: 28px; height: 28px; color: var(--white); }

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--black);
}

.service-card p { color: var(--gray-text); font-size: 0.97rem; }

/* ---------- Fleet ---------- */

.fleet {
  padding: 110px 0;
  background: var(--black);
  background-image:
    radial-gradient(circle at 90% 10%, rgba(225,6,0,0.1), transparent 45%),
    linear-gradient(180deg, #0a0a0a, #141414);
  text-align: center;
}

.fleet .section-lead { margin-left: auto; margin-right: auto; }

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 20px;
}

.fleet-item {
  background: var(--charcoal);
  border: 1px solid rgba(199,203,207,0.12);
  border-radius: 14px;
  padding: 36px 24px;
  transition: transform var(--transition), border-color var(--transition);
}

.fleet-item:hover {
  transform: translateY(-6px);
  border-color: var(--red);
}

.fleet-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.fleet-icon svg { width: 24px; height: 24px; color: var(--red); }

.fleet-item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}

.fleet-item p { color: #b6b6b6; font-size: 0.93rem; }

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

.about {
  padding: 110px 0;
  background: var(--off-white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p { color: var(--gray-text); margin-bottom: 18px; max-width: 620px; }

.about-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }

.about-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 600;
  color: var(--black);
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.about-badge { display: flex; justify-content: center; }

.badge-card {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--black), var(--charcoal));
  border: 3px solid transparent;
  background-clip: padding-box;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);
}

.badge-card::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--red), var(--silver-1), var(--red-dark));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.badge-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 4rem;
  color: var(--red);
  line-height: 1;
}

.badge-label {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white);
  font-size: 0.95rem;
  text-align: center;
  margin-top: 8px;
  letter-spacing: 0.03em;
}

/* ---------- Hours ---------- */

.hours {
  padding: 90px 0;
  background: var(--black);
  text-align: center;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 620px;
  margin: 0 auto;
}

.hours-card {
  background: var(--charcoal);
  border: 1px solid var(--silver-2);
  border-radius: 14px;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hours-day {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--silver-1);
  font-size: 0.9rem;
}

.hours-time {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--red);
}

/* ---------- Contact ---------- */

.contact {
  padding: 110px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--off-white);
  border: 1px solid #e7e7e8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg { width: 22px; height: 22px; color: var(--red); }

.contact-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--gray-text);
  margin-bottom: 4px;
}

.contact-value {
  display: block;
  font-weight: 600;
  color: var(--black);
  font-size: 1.05rem;
}

.contact-link { transition: color var(--transition); }
.contact-link:hover { color: var(--red); }

.contact-cta { margin-top: 10px; align-self: flex-start; }

.contact-map {
  min-height: 340px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e7e7e8;
  box-shadow: var(--shadow-card);
}

.contact-map iframe { width: 100%; height: 100%; min-height: 340px; }

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

.site-footer {
  background: var(--black);
  color: var(--silver-1);
  padding-top: 70px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(199,203,207,0.15);
}

.footer-logo { height: 48px; margin-bottom: 14px; }

.footer-brand p { font-size: 0.9rem; color: #999; margin-bottom: 20px; }

/* ---------- Social icons ---------- */

.social-links {
  display: flex;
  gap: 12px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--silver-2);
  color: var(--silver-1);
  transition: transform var(--transition), border-color var(--transition), color var(--transition), background var(--transition), box-shadow var(--transition);
}

.social-icon svg { width: 20px; height: 20px; }

.social-icon:hover {
  color: var(--white);
  border-color: var(--red);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 6px 16px rgba(225,6,0,0.35);
  transform: translateY(-3px) scale(1.06);
}

/* social icons on light background (contact section) */
.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.social-icon-light {
  border-color: #d8d8d9;
  color: var(--gray-text);
  background: var(--off-white);
}

.social-icon-light:hover {
  color: var(--white);
  border-color: var(--red);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 6px 16px rgba(225,6,0,0.28);
  transform: translateY(-3px) scale(1.06);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.footer-link, .footer-text {
  display: block;
  font-size: 0.92rem;
  color: #b0b0b0;
  margin-bottom: 8px;
}

.footer-link:hover { color: var(--red); }

.footer-bottom {
  padding: 22px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #7a7a7a;
}

/* ---------- Mobile call bar ---------- */

.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 998;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.25);
}

.mobile-call-bar svg { width: 20px; height: 20px; }

/* ---------- Scroll animations ---------- */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-badge { order: -1; }
  .badge-card { width: 180px; height: 180px; }
  .badge-number { font-size: 3rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .phone-link span { display: none; }
  .phone-link { padding: 9px; }
  .icon-phone { width: 20px; height: 20px; }
  .mobile-call-bar { display: flex; }
  body { padding-bottom: 58px; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .logo-img { height: 40px; }
  .footer-logo { height: 38px; }
  .services, .fleet, .about, .hours, .contact { padding: 70px 0; }
  .services-grid, .fleet-grid { grid-template-columns: 1fr; }
  .hours-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; padding-bottom: 30px; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .contact-cta { width: 100%; justify-content: center; }
}
