/* ============================================================
   CONSULO – Računovodstvo & Svetovanje
   Barve: #1A2E4A (navy) · #C9A961 (zlata) · #F5F1E8 (krema)
   ============================================================ */

/* --- Reset & osnova --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

/* --- CSS spremenljivke --- */
:root {
  --navy:        #1A2E4A;
  --navy-dark:   #0E1C2F;
  --gold:        #C9A961;
  --gold-light:  #D4B870;
  --cream:       #F5F1E8;
  --cream-dark:  #EDE8DC;
  --gray:        #6B7889;
  --gray-light:  #9AA3AE;
  --white:       #FFFFFF;
  --text:        #1E2A38;
  --border:      #E2DDD4;

  --shadow-sm:   0 1px 3px rgba(26, 46, 74, 0.08);
  --shadow-md:   0 4px 16px rgba(26, 46, 74, 0.12);
  --shadow-lg:   0 12px 40px rgba(26, 46, 74, 0.16);

  --radius:      8px;
  --radius-lg:   16px;
}

/* --- Kontejner --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Gumbi --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(201, 169, 97, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245, 241, 232, 0.35);
}

.btn-outline:hover {
  background: rgba(245, 241, 232, 0.08);
  border-color: rgba(245, 241, 232, 0.65);
}

/* --- Pomočniki za sekcije --- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.section-desc {
  color: var(--gray);
  font-size: 1.0625rem;
  line-height: 1.7;
}


/* ============================================================
   NAVIGACIJA
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: relative;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--navy);
  background: var(--cream);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Preklopnik jezika */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.lang-btn {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gray);
  padding: 0.25rem 0.4rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.lang-btn:hover {
  color: var(--navy);
}

.lang-btn.lang-active {
  color: var(--navy);
  background: var(--cream);
}

.lang-sep {
  color: var(--border);
  font-size: 0.875rem;
  user-select: none;
}

/* Hamburger (mobilno) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg);  }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0);          }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-color: var(--navy-dark);
  overflow: hidden;
}

/* Subtilna kvadratna mreža */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 241, 232, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 241, 232, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}


.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 0;
  text-align: center;
}

.hero-logo {
  width: min(340px, 72vw);
  margin: 0 auto 2.5rem;
}

.hero-logo svg {
  width: 100%;
  height: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(201, 169, 97, 0.12);
  border: 1px solid rgba(201, 169, 97, 0.38);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(245, 241, 232, 0.68);
  line-height: 1.7;
  margin: 0 auto 2.5rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Dekorativni C-simbol desno */
.hero-decoration {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(460px, 44vw);
  opacity: 0.055;
  pointer-events: none;
  z-index: 1;
}

.hero-decoration .hero-dot {
  opacity: 0.28;
}

.hero-decoration svg {
  width: 100%;
  height: auto;
}


/* ============================================================
   STORITVE
   ============================================================ */

.services {
  background: var(--cream);
  padding: 6rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-left: calc(50% - 50vw + 2rem);
  margin-right: calc(50% - 50vw + 2rem);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--cream);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card-icon svg {
  width: 30px;
  height: 30px;
}

.card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card-desc {
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.65;
}


/* ============================================================
   O NAS
   ============================================================ */

.about {
  background: var(--white);
  padding: 6rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text .section-label { display: block; }

.about-text .section-title { margin-bottom: 1.5rem; }

.about-text p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1.1rem;
  font-size: 1rem;
}

.about-text p strong {
  color: var(--navy);
  font-weight: 600;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  border-radius: var(--radius-lg);
  padding: 1.875rem 1.625rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-navy  { background: var(--navy); }
.stat-gold  { background: var(--gold); }
.stat-cream { background: var(--cream); }
.stat-outline {
  background: transparent;
  border: 1.5px solid var(--border);
}

.stat-number {
  font-size: 2.375rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-navy   .stat-number  { color: var(--cream); }
.stat-gold   .stat-number  { color: var(--navy);  }
.stat-cream  .stat-number  { color: var(--navy);  }

.stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.stat-navy   .stat-label { color: rgba(245, 241, 232, 0.7); }
.stat-gold   .stat-label { color: rgba(26,  46,  74,  0.75); }
.stat-cream  .stat-label { color: var(--gray); }
.stat-outline .stat-label { color: var(--gray); }

.stat-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 0.75rem;
}


/* ============================================================
   KONTAKT
   ============================================================ */

.contact {
  background: var(--cream);
  padding: 6rem 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.contact > .container {
  width: 100%;
}

.contact .section-header {
  max-width: 100%;
  text-align: left;
  margin: 0;
  grid-column: 1;
  grid-row: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  grid-template-rows: auto auto;
  column-gap: 3rem;
  row-gap: 2rem;
}

.contact-right-col {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.contact-form-intro {
  margin-bottom: 0;
}

.contact-info {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}



.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.contact-icon svg { width: 18px; height: 18px; }

.contact-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-light);
  margin-bottom: 0.3rem;
}

.contact-value {
  font-size: 1rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.55;
}

.contact-link:hover { color: var(--gold); }

.contact-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

.contact-hours h4 {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-light);
  margin-bottom: 0.75rem;
}

.contact-hours p {
  font-size: 0.9375rem;
  color: var(--navy);
  line-height: 1.85;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow-md);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  border: 0;
}


/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--navy-dark);
  color: rgba(245, 241, 232, 0.65);
  padding-block: 5rem 3rem;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.footer-logo {
  display: block;
  margin: 0 auto 0.75rem;
}

.footer-tagline {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}

.footer-about {
  font-size: 0.9375rem;
  line-height: 1.75;
  max-width: 360px;
  color: rgba(245, 241, 232, 0.55);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.375rem 2rem;
  border-top: 1px solid rgba(245, 241, 232, 0.08);
  border-bottom: 1px solid rgba(245, 241, 232, 0.08);
  padding-block: 2.25rem;
  margin-block: 2.5rem;
  width: 100%;
}

.footer-nav a {
  font-size: 0.9375rem;
  color: rgba(245, 241, 232, 0.6);
  transition: color 0.2s;
  line-height: 1.7;
}

.footer-nav a:hover { color: var(--gold); }

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 2.5rem;
}

.footer-contact p,
.footer-contact a {
  font-size: 0.9375rem;
  color: rgba(245, 241, 232, 0.6);
  transition: color 0.2s;
  line-height: 1.7;
}

.footer-contact a:hover { color: var(--gold); }

.footer-sep {
  color: rgba(245, 241, 232, 0.25);
  margin-inline: 0.5rem;
}

.footer-legal {
  font-size: 0.8125rem;
  color: rgba(245, 241, 232, 0.3);
  border-top: 1px solid rgba(245, 241, 232, 0.08);
  padding-top: 1.5rem;
  width: 100%;
}


/* ============================================================
   ODZIVNOST (RESPONSIVE)
   ============================================================ */

/* Prepreči horizontalni scroll na mobilnem */
body { overflow-x: hidden; }

/* Tablet landscape – 1100px */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid    { gap: 3rem; }
  .footer-nav    { gap: 0.375rem 1.5rem; }
}

/* Tablet portrait – 900px */
@media (max-width: 900px) {
  .services,
  .about,
  .contact { padding: 4.5rem 0; }

  .about-grid   { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .contact .section-header,
  .contact-info,
  .contact-right-col {
    grid-column: 1;
    grid-row: auto;
  }

  .contact-map,
  .contact-map iframe { min-height: 340px; }

  .footer-about { max-width: 480px; }
}

/* Mobilno – 768px */
@media (max-width: 768px) {
  .container { padding: 0 1.75rem; }

  /* Navigacija */
  .hamburger { display: flex; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    transform: none;          /* resetira desktop translateX(-50%) */
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 0.2rem;
    z-index: 99;
  }

  .nav-menu.active { display: flex; }
  .nav-link        { padding: 0.75rem 1rem; }

  /* Hero */
  .hero         { min-height: auto; padding-top: 5rem; padding-bottom: 5rem; }
  .hero-content { padding-top: 0; padding-bottom: 0; }
  .hero-logo    { width: min(280px, 80vw); margin-bottom: 1.75rem; }
  .hero-title   { font-size: clamp(1.875rem, 7vw, 2.75rem); }
  .hero-subtitle { font-size: 1rem; }
  .hero-badge   { font-size: 0.6875rem; }

  /* Sekcije */
  .services,
  .about,
  .contact { padding: 3.5rem 0; }

  .section-header { margin-bottom: 2.25rem; }

  /* Storitve – 2 koloni na telefonu */
  .services-grid { grid-template-columns: 1fr 1fr; gap: 0.875rem; }
  .service-card  { padding: 1.5rem 1.25rem; }
  .card-icon     { width: 48px; height: 48px; margin-bottom: 1rem; }

  /* Kontakt */
  .contact-map,
  .contact-map iframe { min-height: 280px; }

  /* Footer */
  .footer-contact p:last-child { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
  .footer-sep { display: none; }
}

/* Mali telefoni – 480px */
@media (max-width: 480px) {
  .container { padding: 0 1.5rem; }

  /* Hero */
  .hero-logo    { width: min(240px, 88vw); }
  .hero-actions { flex-direction: column; }
  .btn          { width: 100%; }

  /* Storitve – 1 kolona na majhnih telefonih */
  .services-grid { grid-template-columns: 1fr; }

  /* Statistike */
  .about-stats { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 2rem; }
  .stat-card   { padding: 1.5rem 1.25rem; }

  /* Kontakt */
  .contact-map,
  .contact-map iframe { min-height: 240px; }

  .footer-legal { font-size: 0.75rem; }
}
