/* ============================================
   ŠAKIĆ OBJEKTSERVICE — BASE STYLES
   Editorial Premium · Petrol & Sand & Terracotta
   ============================================ */

/* ── Reset ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: var(--weight-normal);
  color: var(--ink);
  background: var(--sand);
  line-height: var(--leading-relaxed);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern', 'liga';
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

/* ── Layout ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--petrol-deep);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  font-weight: var(--weight-normal);
}

h1 {
  font-size: var(--text-5xl);
  line-height: 1.05;
}

h1 strong, h2 strong, h3 strong {
  font-weight: var(--weight-semi);
}

h2 {
  font-size: var(--text-4xl);
  line-height: 1.1;
}

h3 {
  font-size: var(--text-2xl);
  line-height: 1.2;
}

h4 {
  font-size: var(--text-xl);
  font-weight: var(--weight-semi);
}

p {
  color: var(--ink);
  line-height: var(--leading-relaxed);
  font-size: var(--text-lg);
}

/* Lead paragraphs use serif for editorial feel */
.lead, p.lead {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  line-height: 1.6;
  color: var(--ink);
  font-weight: var(--weight-normal);
}

/* ── Section Labels (eyebrow) ── */
.section-label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  font-weight: var(--weight-normal);
  line-height: 1.1;
  letter-spacing: var(--tracking-tight);
  color: var(--petrol-deep);
  margin-bottom: var(--space-md);
}

.section-title strong {
  font-weight: var(--weight-semi);
}

.section-subtitle {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--ink);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: var(--space-3xl);
  font-weight: var(--weight-normal);
}

/* ── Decorative rule ── */
.hero-rule {
  width: 64px;
  height: 1px;
  background: var(--terracotta);
  margin: 24px 0;
}

/* ── Responsive Typography ── */
@media (max-width: 900px) {
  body { font-size: var(--text-md); }
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  .section-title { font-size: var(--text-3xl); }
  .section-subtitle { font-size: var(--text-lg); }
  p { font-size: var(--text-md); }
}

@media (max-width: 480px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .section-title { font-size: 26px; }
}
