/* ═══════════════════════════════════════════════
   MAJSTOR U KUĆI — Globalni stilovi
   Menjaj boje samo ovde, važi za sve stranice
═══════════════════════════════════════════════ */
:root {
  --cream:    #F5F0E8;
  --warm-bg:  #EDE6D6;
  --sand:     #D4C5A9;
  --terracota:#B5603A;
  --terra-dk: #8C4228;
  --brown:    #5C3D2E;
  --charcoal: #2C1810;
  --text:     #3A2A1E;
  --text-soft:#7A6355;
  --white:    #FFFDF9;
  --accent:   #E8A444;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 4px 24px rgba(44,24,16,0.10);
  --shadow-lg: 0 12px 48px rgba(44,24,16,0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Utility ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section-label {
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--terracota); margin-bottom: 12px;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600; color: var(--charcoal); line-height: 1.2;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px;
  font-family: var(--font-body); font-size: 0.95rem;
  font-weight: 500; cursor: pointer;
  transition: all 0.25s ease; text-decoration: none; border: none;
}
.btn-primary { background: var(--terracota); color: var(--white); }
.btn-primary:hover { background: var(--terra-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(181,96,58,0.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
.btn-accent { background: var(--accent); color: var(--charcoal); font-weight: 600; }
.btn-accent:hover { background: #d4932e; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,164,68,0.4); }
.btn-ghost { background: transparent; color: var(--terracota); border: 2px solid var(--terracota); }
.btn-ghost:hover { background: var(--terracota); color: var(--white); }

/* ── Sticky Header ── */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--brown);
  box-shadow: 0 2px 20px rgba(44,24,16,0.2);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 14px 24px; max-width: 1140px; margin: 0 auto;
  gap: 0 15px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon { width: 44px; height: 44px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--white); }
.logo-text span { font-size: 0.7rem; color: var(--sand); letter-spacing: 0.1em; text-transform: uppercase; }
.header-contact { display: flex; align-items: center; gap: 16px; }
.header-phone {
  display: flex; align-items: center; gap: 8px;
  color: var(--white); text-decoration: none;
  font-weight: 500; font-size: 1.05rem; transition: color 0.2s;
  white-space: nowrap;
}
.header-phone:hover { color: var(--accent); }

/* ── Nav ── */
nav { display: flex; align-items: center; gap: 4px; }
nav a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 0.88rem; font-weight: 500;
  padding: 6px 12px; border-radius: 8px;
  transition: all 0.2s;
}
nav a:hover, nav a.active { color: var(--white); background: rgba(255,255,255,0.1); }

/* ── Page Hero (subpages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--brown) 0%, var(--charcoal) 100%);
  padding: 64px 0 56px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(181,96,58,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,0.3); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: var(--white); line-height: 1.2;
  margin-bottom: 12px;
}
.page-hero p { color: rgba(255,255,255,0.65); max-width: 560px; font-size: 1rem; }

/* ── Footer ── */
footer { background: var(--charcoal); padding: 48px 0 24px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.88rem; line-height: 1.7; margin: 16px 0 24px; max-width: 300px; }
.footer-title { font-family: var(--font-display); font-size: 1rem; color: var(--white); margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.8rem; }
.footer-bottom a { color: rgba(255,255,255,0.3); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

/* ── Floating call (mobile) ── */
.float-call {
  display: none; position: fixed; bottom: 24px; right: 24px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--terracota); color: white;
  align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(181,96,58,0.5); text-decoration: none;
  animation: float-anim 3s ease-in-out infinite;
}
@keyframes float-anim { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* ── Reveal animation ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Trust bar ── */
.trust-bar { background: var(--warm-bg); border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); padding: 20px 0; }
.trust-items { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--text-soft); font-size: 0.88rem; font-weight: 500; }
.trust-item svg { color: var(--terracota); flex-shrink: 0; }

/* ── Hours bar ── */
.hours-bar { background: var(--charcoal); padding: 20px 0; }
.hours-inner { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.hours-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.hours-item svg { color: var(--accent); }
.hours-item strong { color: var(--white); }

/* ── Pulse dot ── */
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #5A8A5A; animation: pulse 2s infinite; flex-shrink: 0; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(90,138,90,0.6)} 50%{box-shadow:0 0 0 6px rgba(90,138,90,0)} }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  nav { display: none; }
  .header-cta { display: none; }
  .float-call { display: flex; }
  .trust-items, .hours-inner { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
