/* Delminium consulting and marketing */

:root {
  /* Logo palette: gold on black */
  --black: #0A0A0A;
  --gold: #C49A4C;
  --gold-light: #E0BE7E;
  --gold-deep: #7E6026;          /* gold for text on light backgrounds */

  --stone: #F6F4EF;
  --white: #FFFFFF;
  --ink: #141414;
  --muted: #5E5A52;
  --line: #E3DED3;

  --on-dark: #EFEAE0;
  --on-dark-muted: #B4AEA2;
  --line-dark: rgba(196, 154, 76, .22);

  --whatsapp: #25D366;

  --font-display: "Marcellus", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-brand: "Cinzel", "Marcellus", "Palatino Linotype", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-space: clamp(72px, 9vw, 128px);
  --radius: 3px;
  --header-h: 76px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  text-wrap: balance;
}

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 2px;
}
.is-dark :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible { outline-color: var(--gold); }

.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--black);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: 600 1.0625rem/1 var(--font-body);
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.btn svg { flex: none; }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-light); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, .97);
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(10, 10, 10, .9); backdrop-filter: blur(10px); }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-brand);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}
.brand-sub {
  margin-top: 6px;
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .82;
}

.site-nav { margin-left: auto; }
.nav-list {
  display: flex;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list a {
  display: inline-block;
  padding: 8px 0;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--on-dark);
  text-decoration: none;
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
  transition: color .2s ease;
}
.nav-list a:hover { color: var(--gold-light); text-decoration: underline; text-decoration-color: var(--gold); }

.nav-toggle { display: none; }

@media (max-width: 760px) {
  .header-inner { gap: 16px; justify-content: space-between; }

  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: transparent;
    color: var(--on-dark);
    font: 600 .9375rem/1 var(--font-body);
    cursor: pointer;
  }
  .nav-toggle .icon-close { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: inline; }

  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--black);
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .6);
    display: none;
  }
  .js .site-nav.is-open { display: block; }
  .js .nav-list { flex-direction: column; gap: 0; }
  .js .nav-list a {
    display: block;
    padding: 16px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  /* Without JavaScript the links stay visible as a compact row. */
  .no-js .header-inner { flex-wrap: wrap; height: auto; padding-block: 14px; }
  .no-js .site-nav { margin-left: 0; width: 100%; }
  .no-js .nav-list { flex-wrap: wrap; gap: 4px 24px; }
}

/* Sections */
.section { padding-block: var(--section-space); }
.section--white { background: var(--white); }
.section--stone { background: var(--stone); }
.section--dark { background: var(--black); color: var(--on-dark); }

.title {
  font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.25rem);
  line-height: 1.1;
  color: var(--ink);
}
.title::before {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-bottom: 24px;
  background: var(--gold);
}
.is-dark .title { color: #fff; }

/* O nama */
#o-nama {
  background:
    radial-gradient(ellipse 55% 70% at 90% 30%, rgba(196, 154, 76, .09), transparent 70%),
    var(--black);
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}
.about-media { grid-column: 1 / 6; position: relative; isolation: isolate; margin-right: 18px; }
.about-media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  border: 1px solid rgba(196, 154, 76, .55);
  border-radius: var(--radius);
}
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  background: #141414;
}
.about-copy { grid-column: 7 / 13; }
.prose { margin-top: 28px; max-width: 62ch; color: var(--on-dark-muted); font-size: 1.125rem; }
.prose p + p { margin-top: 18px; }
.prose .welcome {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--gold-light);
}

/* Usluge */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: clamp(40px, 5vw, 64px);
}
.service-card {
  padding: clamp(28px, 3.6vw, 48px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  transition: box-shadow .25s ease;
}
.service-card:hover { box-shadow: 0 18px 40px -28px rgba(20, 20, 20, .35); }
.service-card h3 {
  font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem);
  line-height: 1.2;
  color: var(--ink);
}
.service-card p { margin-top: 16px; color: var(--muted); max-width: 58ch; }

/* Novosti */
.news-empty { margin-top: 24px; color: var(--muted); font-size: 1.125rem; }

/* Kontakt */
.contact-inner { max-width: 640px; margin-inline: auto; text-align: center; }
.contact-inner .title::before { margin-inline: auto; }
.contact-direct { margin: 36px 0 0; }
.contact-direct dt {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-direct dd { margin: 10px 0 0; }
.contact-direct a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 1.8vw, 2.75rem);
  line-height: 1.1;
  color: #fff;
  text-decoration: none;
}
.contact-direct a:hover { color: var(--gold-light); }
.contact-cta { margin-top: 36px; }

/* Footer */
.site-footer {
  padding: clamp(48px, 6vw, 72px) 0 32px;
  background: var(--black);
  border-top: 1px solid var(--line-dark);
  color: var(--on-dark-muted);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  text-decoration: none;
}
.footer-mark img { width: 76px; height: 76px; }
.footer-mark .brand-name { margin-top: 16px; font-size: 1.75rem; }
.footer-mark .brand-sub { margin-top: 9px; font-size: .6875rem; }
.footer-bottom {
  width: 100%;
  margin-top: clamp(32px, 5vw, 48px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .875rem;
}
.footer-bottom a {
  color: var(--on-dark);
  text-decoration: underline;
  text-decoration-color: var(--line-dark);
  text-underline-offset: 3px;
}
.footer-bottom a:hover { color: var(--gold-light); }

/* WhatsApp */
.whatsapp {
  position: fixed;
  right: clamp(16px, 2.5vw, 28px);
  bottom: clamp(16px, 2.5vw, 28px);
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .32); }
.whatsapp:focus-visible { outline-offset: 4px; border-radius: 50%; }

/* Responsive */
@media (max-width: 960px) {
  .about-media, .about-copy { grid-column: 1 / -1; }
  .about-media { margin: 0 18px 42px 0; }
  .about-media img { aspect-ratio: 3 / 2; }
}

@media (max-width: 760px) {
  .services-grid { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 96px; }
}

@media (max-width: 560px) {
  :root { --header-h: 68px; }
  body { font-size: 1rem; }
  .brand { gap: 10px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.1875rem; }
  .brand-sub { font-size: .5625rem; letter-spacing: .18em; }
  .prose { font-size: 1.0625rem; }
  .contact-cta { width: 100%; }
}

@media (max-width: 400px) {
  /* Keep the menu button compact next to the logo; its label stays available to screen readers. */
  .js .nav-toggle { padding: 0 12px; }
  .nav-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .site-header, .whatsapp { display: none; }
  .section--dark, .site-footer, #o-nama { background: none; color: #000; }
  .is-dark .title, .prose, .contact-direct a { color: #000; }
}
