/* ═══════════════════════════════════════
   STOJILJKOVIĆ STUDIO — Global Styles
═══════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #1C1C1C;
  --gold: #C5A059;
  --gold-light: #D4B47A;
  --gold-dark: #9A7A3A;
  --silver: #E2E2E2;
  --white: #FFFFFF;
  --deep: #0D0D0D;
  --mid: #2A2A2A;
}

html { scroll-behavior: smooth; }

body {
  background: var(--deep);
  color: var(--white);
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--deep); }
::-webkit-scrollbar-thumb { background: var(--gold); }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 28px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, padding 0.4s;
}
nav.scrolled {
  background: rgba(13,13,13,0.97);
  backdrop-filter: blur(12px);
  padding: 18px 60px;
  border-bottom: 1px solid rgba(197,160,89,0.15);
}
nav.solid {
  background: rgba(13,13,13,0.97);
  border-bottom: 1px solid rgba(197,160,89,0.15);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.nav-logo-img { height: 46px; width: auto; display: block; }
.footer-logo-img { height: 54px; width: auto; display: block; }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; color: rgba(255,255,255,0.7);
  text-transform: uppercase; transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  font-size: 10px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; padding: 12px 28px;
  border: 1px solid var(--gold); color: var(--gold);
  text-decoration: none; transition: all 0.3s;
}
.nav-cta:hover { background: var(--gold); color: var(--deep); }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background:none; border:none; }
.nav-burger span { width: 24px; height: 1px; background: var(--white); display: block; transition: all 0.3s; }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; background: var(--deep);
  z-index: 150; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 36px;
  opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a {
  font-size: 22px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
  text-decoration: none; transition: color 0.3s;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-close {
  position: absolute; top: 30px; right: 30px;
  background: none; border: none; color: var(--white);
  font-size: 28px; cursor: pointer; font-family: 'Josefin Sans', sans-serif;
}
.mobile-nav .mn-cta {
  margin-top: 10px; padding: 14px 36px;
  border: 1px solid var(--gold); color: var(--gold) !important;
  font-size: 12px !important;
}

/* ── PAGE HEADER ── */
.page-header {
  height: 60vh; min-height: 450px;
  position: relative; display: flex;
  align-items: flex-end; justify-content: flex-start;
  padding: 80px 60px; overflow: hidden;
}
.page-header-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-header-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(13,13,13,0.85) 40%, rgba(13,13,13,0.3) 100%);
}
.page-header-content { position: relative; z-index: 2; }
.page-header-content .section-tag { margin-bottom: 14px; }
.page-header-content h1 { font-size: clamp(40px,6vw,80px); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; }
.page-header-content h1 em {
  font-style: italic; font-family: 'Cormorant Garamond', serif;
  font-weight: 300; color: var(--gold); font-size: 1.1em; display: block;
}
.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  margin-top: 24px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
}
.breadcrumb a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.2); }
.breadcrumb strong { color: var(--gold); font-weight: 600; }

/* ── SECTION ── */
section { padding: 100px 60px; }
.section-tag {
  font-size: 9px; letter-spacing: 0.4em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 16px; display: block;
}
.section-title {
  font-size: clamp(28px,4vw,52px); font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; line-height: 1; color: var(--white);
}
.section-title em {
  font-style: italic; font-family: 'Cormorant Garamond', serif;
  font-weight: 300; color: var(--gold); font-size: 1.1em; letter-spacing: 0.03em;
}
.gold-line { width: 60px; height: 1px; background: var(--gold); margin: 28px 0; }
.container { max-width: 1300px; margin: 0 auto; }

/* ── BUTTONS ── */
.btn-gold {
  display: inline-block; padding: 16px 44px;
  background: var(--gold); color: var(--deep);
  font-size: 10px; font-weight: 700; letter-spacing: 0.25em;
  text-transform: uppercase; text-decoration: none; transition: all 0.3s;
  border: none; cursor: pointer; font-family: 'Josefin Sans', sans-serif;
}
.btn-gold:hover { background: var(--gold-light); }
.btn-outline {
  display: inline-block; padding: 16px 44px;
  border: 1px solid rgba(255,255,255,0.35); color: var(--white);
  font-size: 10px; font-weight: 600; letter-spacing: 0.25em;
  text-transform: uppercase; text-decoration: none; transition: all 0.3s;
  background: none; cursor: pointer; font-family: 'Josefin Sans', sans-serif;
}
.btn-outline:hover { border-color: var(--white); }
.btn-outline-gold {
  display: inline-block; padding: 16px 44px;
  border: 1px solid var(--gold); color: var(--gold);
  font-size: 10px; font-weight: 600; letter-spacing: 0.25em;
  text-transform: uppercase; text-decoration: none; transition: all 0.3s;
  background: none; cursor: pointer; font-family: 'Josefin Sans', sans-serif;
}
.btn-outline-gold:hover { background: var(--gold); color: var(--deep); }

/* ── MARQUEE ── */
.marquee-wrap { background: var(--gold); padding: 14px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; animation: marquee 22s linear infinite; }
.marquee-track span {
  font-size: 10px; font-weight: 700; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--deep); padding: 0 36px;
}
.marquee-track span.dot { color: rgba(13,13,13,0.4); padding: 0 8px; letter-spacing: 0; }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--black); padding: 0;
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background-color: rgba(197,160,89,0.15);
}
.stat { background: var(--black); padding: 40px; text-align: center; }
.stat strong {
  display: block; font-size: clamp(34px,4vw,52px); font-weight: 700;
  color: var(--gold); line-height: 1; font-family: 'Cormorant Garamond', serif;
}
.stat span {
  font-size: 9px; letter-spacing: 0.3em; color: rgba(255,255,255,0.4);
  text-transform: uppercase; margin-top: 10px; display: block;
}

/* ── FOOTER ── */
footer { background: var(--black); border-top: 1px solid rgba(197,160,89,0.15); padding: 70px 60px 40px; }
.footer-inner {
  max-width: 1300px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px;
}
.footer-brand p {
  font-size: 12px; line-height: 1.8; color: rgba(255,255,255,0.35);
  margin-top: 20px; max-width: 280px;
}
.footer-col h4 {
  font-size: 9px; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 12px; color: rgba(255,255,255,0.4); text-decoration: none;
  letter-spacing: 0.05em; transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1300px; margin: 50px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom span { font-size: 10px; color: rgba(255,255,255,0.2); letter-spacing: 0.1em; }
.footer-bottom a { color: rgba(197,160,89,0.6); text-decoration: none; transition: color 0.3s; }
.footer-bottom a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a {
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; text-decoration: none;
}
.footer-social a svg { width: 15px; height: 15px; stroke: rgba(255,255,255,0.4); fill: none; transition: stroke 0.3s; }
.footer-social a:hover { border-color: var(--gold); }
.footer-social a:hover svg { stroke: var(--gold); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── ANIMATIONS ── */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.15); opacity: 0; } }
@keyframes scrollPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  nav { padding: 22px 30px; }
  nav.scrolled, nav.solid { padding: 16px 30px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  section { padding: 70px 30px; }
  .page-header { padding: 70px 30px; }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
@media (max-width: 600px) {
  nav { padding: 18px 20px; }
  section { padding: 60px 20px; }
  .page-header { padding: 60px 20px; height: 50vh; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* ── BACK TO TOP ── */
#back-to-top {
  position: fixed;
  bottom: 36px;
  right: 36px;
  width: 48px;
  height: 48px;
  background: var(--gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  pointer-events: none;
  z-index: 200;
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
#back-to-top:hover { background: var(--gold-light); }
#back-to-top svg { width: 20px; height: 20px; stroke: var(--deep); stroke-width: 2.5; }
@media (max-width: 600px) {
  #back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}
