/* ============================================================
   BASE.CSS — AVIORA Site
   Globalne promenljive, reset, tipografija, scroll, animacije
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300&family=DM+Mono:wght@300;400;500&family=Syne:wght@400;700;800&display=swap');

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }

/* ── DESIGN TOKENS ── */
:root {
  /* Colors */
  --bg:         #0a0c0e;
  --bg2:        #111418;
  --bg3:        #181d22;
  --gold:       #c9a84c;
  --gold-light: #e2c97e;
  --gold-dim:   #7a6030;
  --white:      #f0ece4;
  --muted:      #7a8090;
  --accent:     #2e6ea6;
  --border:     rgba(201,168,76,0.18);

  /* Typography */
  --font-disp: 'Cormorant Garamond', serif;
  --font-mono: 'DM Mono', monospace;
  --font-ui:   'Syne', sans-serif;

  /* Spacing */
  --section-pad: 7rem 4rem;
  --container: 1280px;
}

/* ── BODY ── */
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-ui);
  overflow-x: hidden;
  cursor: default;
}

/* Noise overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.6;
}

/* ── TYPOGRAPHY UTILITIES ── */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-disp);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
}
.section-title em { font-style: italic; color: var(--gold-light); }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--gold);
  color: var(--bg);
  padding: 1rem 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  border: none;
  transition: background 0.25s;
  cursor: pointer;
}
.btn-primary:hover { background: var(--gold-light); }

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--white);
  padding: 1rem 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* ── LAYOUT ── */
section { padding: var(--section-pad); }

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

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

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); }

/* ── RESPONSIVE BREAKPOINTS ── */
@media (max-width: 1100px) {
  :root { --section-pad: 6rem 2.5rem; }
}
@media (max-width: 768px) {
  :root { --section-pad: 5rem 1.5rem; }
}
