:root {
  --bg: #F6F5F3;
  --paper: #ffffff;
  --ink: #1E1E1E;
  --muted: #6B6B6B;
  --burgundy: #7A1E2C;
  --gold: #C9A227;
  --gold-200: #E8D8A6;
  --line: rgba(0,0,0,.08);
  --shadow: 0 16px 32px rgba(0,0,0,.10);
  --radius: 16px;
}

/* Reset i osnove */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Grid */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Kartice */
.card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

/* Dugmad */
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary {
  background: var(--burgundy);
  color: #fff;
}
.btn:hover {
  transform: translateY(-2px);
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  z-index: 100;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;   /* logo i tekst centrirani po visini */
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand img {
  height: 48px;
  width: auto;
}
.brand span {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: .4px;
  display: flex;
  align-items: center;
}
.nav ul {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
}
.nav a:hover,
.nav a.active {
  background: var(--gold-200);
}

/* Gumb za mobitel */
.menu-btn {
  display: none;                /* skriven na PC-u */
  background: var(--burgundy);  /* bordo boja */
  color: #fff;                  /* bijeli simbol ☰ */
  border: none;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 1.4rem;
  font-weight: bold;
  cursor: pointer;
}

/* Responsivnost */
@media (max-width: 900px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  footer .cols {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
@media (max-width: 860px) {
  .menu-btn {
    display: inline-block;
  }
  .nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    right: 20px;
    top: 70px;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: var(--shadow);
    min-width: 200px;
    z-index: 200;
  }
  .nav ul.open {
    display: flex;
  }
  .brand span {
    position: relative;
    top: 4px;  /* malo spušteno na mobitelu */
  }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
  .btn {
    padding: 10px 14px;
    font-size: 0.95rem;
  }
}
.hero {
  padding: 80px 20px;
  background: linear-gradient(180deg,#fff,#F6F1E5);
}
.hero h1 {
  color: var(--burgundy);
  margin-bottom: 10px;
}
.hero p {
  margin-bottom: 20px;
  color: var(--muted);
}
.service-head {
  display: flex;
  align-items: center;   /* emoji i naslov centrirani po visini */
  gap: 10px;
  flex-wrap: nowrap;     /* sprječava prijelom u novi red */
}

.emoji {
  display: inline-flex;  /* ostaje u liniji s tekstom */
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gold-200);
  flex-shrink: 0;        /* emoji se ne smanjuje kad je malo mjesta */
}
