:root {
  --background: #050505;
  --foreground: #FFFFFF;
  --secondary: #2E2E2E;
  --muted-foreground: #A6A6A6;
  --anthracite: #313030;
  --electric: #F5FBFC; /* electric cyan-white accent */
  --divider: #4A1414; /* tamno bordo za granice sekcija (hero naniže) */
}

* {
  border-color: var(--anthracite);
  border-radius: 0 !important;
  box-sizing: border-box;
}
#usluge{
  padding-bottom: 5rem;
}
html {
  background: var(--background);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--electric);
  color: #050505;
}

/* scroll offset so anchor links clear the fixed nav */
section[id], body[id] {
  scroll-margin-top: 56px;
}

.font-display {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  letter-spacing: -0.04em;
}

.font-mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.hex-tick {
  width: 12px;
  height: 12px;
  border: 1px solid var(--electric);
  transform: rotate(45deg);
  display: inline-block;
  flex-shrink: 0;
}

.marquee {
  display: inline-flex;
  animation: marquee 40s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    animation: none;
  }
}

/* Mobile menu toggle state */
#mobile-menu.open {
  display: block;
}

/* Tamno bordo granice — koriste se od hero sekcije naniže (ne na navu) */
.border-divider {
  border-color: var(--divider) !important;
}
/* --- ACCORDION SERVISI --- */
.service-card {
  height: 380px; /* Početna zatvorena visina */
  overflow: hidden;
  transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Kada je otvoreno, visina skače na 600px */
.service-card[open] {
  height: 600px;
  background-color: rgba(46, 46, 46, 0.3);
}

/* Sakrivanje zadanih pregledničkih trokutića za summary */
.service-card summary::-webkit-details-marker,
.service-card summary::marker {
  display: none;
  content: "";
}

.service-card summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Strelica rotacija */
.service-card .details-arrow {
  transition: transform 0.4s ease, color 0.3s ease;
}

.service-card[open] .details-arrow {
  transform: rotate(180deg);
  color: var(--electric);
}