/*--------------------------------------------------------------
# Base Setup (Normalize + Vars + Fonts + Typography)
--------------------------------------------------------------*/

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

:root {
  /* ===== DIMENZIJE ===== */
  --page-width: 1400px;

  /* ===== FONTOVI ===== */
  --font-primary: 'Inter', sans-serif;
  --font-secondary: 'Satoshi', sans-serif;
  --font-body-weight: 400;
  --font-heading-weight: 600;
  --body-font-size: 16px;

  /* ===== TIPOGRAFIJA (veličine headinga) ===== */
  --h1-size: 3rem; /* 48px */
  --h2-size: 2.25rem; /* 36px */
  --h3-size: 1.75rem; /* 28px */
  --h4-size: 1.25rem; /* 20px */
  --h5-size: 1.1rem;
  --h6-size: 1rem;

  /* ===== PALETA BOJA ===== */
  --estate-plum: #391b26;
  --lavender-mist: #b39ba8;
  --rose-quartz: #d6c8d0;
  --merlot-reserve: #7a3451;
  --velvet-black: #2e1b21;

  /* ===== AKCENTI ===== */
  --accent-gold: #d5b280;
  --accent-blush: #f3e2db;
  --accent-berry: #7e4e62;

  /* ===== NEUTRALNE ===== */
  --neutral-white: #faf7f4;
  --neutral-stone: #c9beb5;
  --neutral-dark: #2e1b21;

  /* ===== TEKST ===== */
  --text-main: var(--neutral-dark);
  --text-light: var(--neutral-white);
  --text-accent: var(--accent-gold);

  /* ===== ELEMENTI UI ===== */
  --border-color: rgba(0, 0, 0, 0.1);
  --input-bg: #faf7f4;
  --input-text: #391b26;

  /* ===== ANIMACIJE ===== */
  --transition-fast: 0.2s ease-in-out;
  --transition-slow: 0.4s ease-in-out;

  /* ===== SEMANTIČKE ===== */
  --color-primary: var(--merlot-reserve);
  --color-secondary: var(--lavender-mist);
  --color-accent: var(--rose-quartz);
  --color-dark: var(--velvet-black);
  --color-background: var(--neutral-white);
  --color-text: var(--estate-plum);

  /* Responsive scale faktor */
  --mobile-scale: 0.85;
}

/*--------------------------------------------------------------
# Fonts (Local Variable Fonts)
--------------------------------------------------------------*/

@font-face {
  font-family: 'Satoshi';
  src: url('../../fonts/Satoshi-Variable.woff2') format('woff2'),
    url('../../fonts/Satoshi-Variable.woff') format('woff');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Satoshi';
  src: url('../../fonts/Satoshi-VariableItalic.woff2') format('woff2'),
    url('../../fonts/Satoshi-VariableItalic.woff') format('woff');
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../../fonts/Inter-Variable.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/*--------------------------------------------------------------
# Normalize / Reset
--------------------------------------------------------------*/

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-size: var(--body-font-size);
  font-family: var(--font-primary);
  font-weight: var(--font-body-weight);
  color: var(--text-main);
  background-color: var(--color-background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

img {
  border-style: none;
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: var(--page-width);
  margin-left: auto;
  margin-right: auto;
}

.container-fluid {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/*--------------------------------------------------------------
# Tipografija (H1–H6, paragraf, linkovi)
--------------------------------------------------------------*/

p {
  margin-bottom: 1.2em;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-berry);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  font-weight: var(--font-heading-weight);
  color: var(--color-text);
  line-height: 1.2;
  margin: 0 0 0.8em;
}

h1 {
  font-size: var(--h1-size);
}
h2 {
  font-size: var(--h2-size);
}
h3 {
  font-size: var(--h3-size);
}
h4 {
  font-size: var(--h4-size);
}
h5 {
  font-size: var(--h5-size);
}
h6 {
  font-size: var(--h6-size);
}

@media (max-width: 1024px) {
  h1 {
    font-size: calc(var(--h1-size) * var(--mobile-scale));
  }
  h2 {
    font-size: calc(var(--h2-size) * var(--mobile-scale));
  }
  h3 {
    font-size: calc(var(--h3-size) * var(--mobile-scale));
  }
  h4 {
    font-size: calc(var(--h4-size) * var(--mobile-scale));
  }
}

/*--------------------------------------------------------------
# Sekcijski naslovi (za ACF module)
--------------------------------------------------------------*/

.section-title {
  font-size: var(--h2-size);
  font-weight: var(--font-heading-weight);
  color: var(--color-text);
  text-align: center;
  margin-bottom: 2rem;
  font-family: var(--font-secondary);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--accent-berry);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  text-transform: uppercase;
}

/*--------------------------------------------------------------
# Utility klase
--------------------------------------------------------------*/

.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-left {
  text-align: left;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
.brand-page.container {
  padding-top: 40px;
  padding-bottom: 40px;
}
