@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;900&family=Barlow:wght@400;500;600&display=swap');

/* ============================================================
   DESIGN SYSTEM — AS MARKETI
   ============================================================ */

:root {
  --color-red:          #D91E18;
  --color-red-dark:     #A8100B;
  --color-red-light:    #FF2E27;
  --color-bg:           #F5F5F5;
  --color-surface:      #FFFFFF;
  --color-surface-2:    #FAFAFA;
  --color-dark:         #1A1A1A;
  --color-text:         #1A1A1A;
  --color-text-muted:   #6B6B6B;
  --color-text-light:   #FFFFFF;
  --color-border:       #E0E0E0;
  --color-akcija:       #D91E18;
  --color-novo:         #FF8C00;
  --color-bestseller:   #1B7A3E;

  --sp-xs:   4px;
  --sp-sm:   8px;
  --sp-md:   16px;
  --sp-lg:   32px;
  --sp-xl:   64px;
  --sp-2xl:  120px;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  --shadow-card:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.14);
  --transition:   0.22s ease;

  --max-width: 1280px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow Condensed', sans-serif;
  line-height: 1.05;
}

h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
}

h3 {
  font-size: 24px;
  font-weight: 600;
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--sp-lg);
  }
}

.section {
  padding: var(--sp-xl) 0;
}

.section--alt {
  background: var(--color-surface-2);
}

.section--dark {
  background: var(--color-dark);
  color: var(--color-text-light);
}

.section--red {
  background: var(--color-red);
  color: var(--color-text-light);
}

/* ============================================================
   SECTION TITLE
   ============================================================ */

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--color-text);
  text-transform: uppercase;
  border-left: 5px solid var(--color-red);
  padding-left: var(--sp-md);
  margin-bottom: var(--sp-lg);
  letter-spacing: 0.01em;
}

.section-title--light {
  color: var(--color-text-light);
  border-left-color: rgba(255,255,255,0.6);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   GRID UTILITIES
   ============================================================ */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */

.page-header {
  background: var(--color-dark);
  padding: var(--sp-xl) 0 var(--sp-lg);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--color-red);
}

.page-header__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 5vw, 64px);
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-header__subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 17px;
  margin-top: var(--sp-sm);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: var(--sp-lg);
}

.breadcrumb a {
  color: var(--color-red);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--color-red-dark);
}

.breadcrumb__sep {
  opacity: 0.4;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-red);
  border-radius: 3px;
}
