/* ============================================================
   OEL — zajednička osnova (tokeni, header, page-hero, footer)
   Izvučeno iz postojećeg dizajna stranice.
   ============================================================ */
/* ============================================================
   BRAND TOKENS
   ============================================================ */
:root{
  --c-blue:        #2F4F8F;
  --c-blue-deep:   #1F3A6E;
  --c-blue-light:  #4A6BA8;
  --c-red:         #C62828;
  --c-red-deep:    #971D1D;
  --c-gold:        #AB955B;
  --c-gold-light:  #C5B279;
  --c-gold-deep:   #8C7A48;
  --c-white:       #ffffff;
  --c-cream:       #f7f3ea;
  --c-ink:         #0A1124;
  --c-black:       #132A4A;

  --font-display:  "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --font-body:     "Source Sans 3", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --font-sans:     "Source Sans 3", system-ui, -apple-system, sans-serif;
  --font-ui:       "Source Sans 3", system-ui, -apple-system, sans-serif;

  --container:     min(1240px, 92vw);
  --section-pad:   clamp(72px, 10vw, 140px);
}

.container{
  width: var(--container);
  margin-inline: auto;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-white);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img{ display:block; max-width:100%; height:auto; }
a{ color: inherit; }
button{ font: inherit; cursor: pointer; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  --bg: var(--c-red);
  --fg: #fff;
  --bd: var(--c-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: 1.05em 2em;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--bg);
  color: var(--fg);
  border: 2px solid var(--bd);
  border-radius: 0;
  transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::after{
  content:"→";
  transition: transform .25s ease;
  font-family: var(--font-sans);
  font-weight: 600;
}
.btn:hover{ transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(0,0,0,.35); }
.btn:hover::after{ transform: translateX(4px); }

.btn--gold{ --bg: var(--c-gold); --bd: var(--c-gold); --fg:#1a1408; }
.btn--gold:hover{ --bg: var(--c-gold-light); --bd: var(--c-gold-light); }
.btn--gold-red:hover{ --bg: var(--c-red); --bd: var(--c-red); }

.btn--ghost{
  --bg: transparent;
  --bd: currentColor;
  --fg: currentColor;
}
.btn--ghost:hover{ background: rgba(255,255,255,.18); }

.btn--sm{
  padding: .6em 1.25em;
  font-size: .75rem;
  letter-spacing: .14em;
}
.btn--sm::after{ display: none; }

/* ============================================================
   HEADER
   ============================================================ */
.header{
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color .35s ease, backdrop-filter .35s ease, box-shadow .35s ease, padding .25s ease;
  padding: 18px 0;
  color: #fff;
}
.header__inner{
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.header__logo{
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.header__logo-img{
  height: 130px;
  width: auto;
  object-fit: contain;
  transition: transform .25s ease;
}

/* Desktop nav — centered */
.header__nav{
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  justify-content: center;
}
.header__nav-link{
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
  position: relative;
  padding-bottom: 3px;
  transition: color .25s;
}
.header__nav-link::after{
  content:'';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1.5px;
  background: var(--c-gold-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.header__nav-link:hover::after{ transform: scaleX(1); }
.header__nav-link--active::after{ transform: scaleX(1); }

/* Action buttons (desktop only) */
.header__actions{
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Hamburger button */
.header__burger{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: inherit;
  margin-left: auto;
  flex-shrink: 0;
}
.header__burger span{
  display: block;
  width: 24px; height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform .3s ease, opacity .3s ease;
}

.header.is-scrolled{
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--c-blue-deep);
  box-shadow: 0 1px 0 rgba(15,28,60,.08), 0 8px 30px -18px rgba(15,28,60,.25);
  padding: 10px 0;
}
.header.is-scrolled .header__logo-img{ height: 90px; }

/* white/color logo swap */
.header__logo-img--white{ display: block; }
.header__logo-img--color{ display: none; }
.header.is-scrolled .header__logo-img--white{ display: none; }
.header.is-scrolled .header__logo-img--color{ display: block; }

/* ---- Mobile menu overlay ---- */
.mobile-menu{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}
.mobile-menu.is-open{ opacity: 1; visibility: visible; }
.mobile-menu__close{
  position: absolute;
  top: 20px; right: 20px;
  background: none; border: none;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
  transition: transform .25s, color .25s;
}
.mobile-menu__close:hover{ transform: rotate(90deg); color: var(--c-gold-light); }
.mobile-menu__nav{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 20px;
}
.mobile-menu__link{
  font-family: var(--font-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: clamp(1.15rem, 5vw, 1.7rem);
  color: #fff;
  text-decoration: none;
  transition: color .25s;
}
.mobile-menu__link:hover{ color: var(--c-gold-light); }

@media (max-width: 1024px){
  .header__nav{ display: none; }
  .header__actions{ display: none; }
  .header__burger{ display: flex; }
}
@media (max-width: 480px){
  .header__logo-img{ height: 115px; }
  .header.is-scrolled .header__logo-img{ height: 95px; }
}

/* ============================================================
   PAGE — HERO AREA (plava pozadina)
   ============================================================ */
.page-hero{
  min-height: 220px;
  background: linear-gradient(180deg, var(--c-blue) 0%, var(--c-blue-deep) 100%);
  display: flex;
  align-items: flex-end;
  padding: 180px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-hero::before{
  content:"";
  position: absolute; inset:0;
  background:
    radial-gradient(40% 60% at 90% 10%, rgba(244,234,208,.08), transparent 60%),
    radial-gradient(50% 50% at 10% 90%, rgba(198,40,40,.12), transparent 60%);
  pointer-events: none;
}
.page-hero::after{
  content:"";
  position: absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(60% 60% at 50% 50%, black 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, black 50%, transparent 100%);
}
.page-hero__inner{
  width: var(--container);
  margin-inline: auto;
  position: relative;
  z-index: 1;
  color: #fff;
}
.page-hero__eyebrow{
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: clamp(.7rem, 1.1vw, .82rem);
  letter-spacing: .35em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: .9em;
  color: var(--c-gold-light);
  margin-bottom: 14px;
}
.page-hero__eyebrow::before{
  content:"";
  width: 36px; height: 1px;
  background: currentColor;
  opacity: .55;
}
.page-hero__title{
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.05;
}
.page-hero__subtitle{
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,.82);
  max-width: 600px;
  margin: 0;
  line-height: 1.6;
}


   FOOTER
   ============================================================ */
.footer{
  background: var(--c-black);
  color: rgba(255,255,255,.7);
  padding: 40px 0 28px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer__inner{
  width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer__brand{
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__brand span{
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: .2em;
  color: #fff;
}
.footer__brand small{
  display:block;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-gold-light);
  margin-top: 3px;
  font-family: var(--font-ui);
  font-weight: 500;
}
.footer__meta{
  font-family: var(--font-ui);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
