/*
Theme Name:   GeneratePress Child
Theme URI:    https://generatepress.com
Description:  Child tema za Alu Profils sajt
Author:       Alu Profils TM
Author URI:   https://aluprofils.rs
Template:     generatepress
Version:      1.0.0
Text Domain:  generatepress-child
*/

/* ============================================================
   GLOBALNI CSS — reset, tipografija, dugmad, helper klase
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  color: #14161a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: 'Poppins', system-ui, sans-serif;
  margin: 0;
  line-height: 1.15;
}
p { margin: 0; }
a { color: #1a1adf; text-decoration: none; }
a:hover { color: #0d0d8f; }
img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #1a1adf;
}

/* Dugmad */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: #1a1adf; color: #fff;
  padding: 16px 28px; border-radius: 4px;
  font-weight: 600; font-size: 17px;
  border: none; cursor: pointer; transition: background .2s;
}
.btn-primary:hover { background: #0d0d8f; color: #fff; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: #1a1adf;
  border: 2px solid #1a1adf;
  padding: 14px 26px; border-radius: 4px;
  font-weight: 600; font-size: 17px;
  cursor: pointer; transition: all .2s;
}
.btn-outline:hover { background: #1a1adf; color: #fff; }
.btn-outline--white { color: #fff; border-color: #fff; }
.btn-outline--white:hover { background: #fff; color: #14161a; }

/* Icon chip (koristi se u više sekcija) */
.icon-chip {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.icon-chip--blue { background: rgba(26,26,223,0.08); }

/* Sekcije — helperi */
.section-title { font-size: 32px; }
.section-pad { padding: 72px 0; }
.section-bg-light { background: #f7f8fa; }
.section-bg-dark { background: #14161a; }
.section-bg-dark .section-title { color: #fff; }
.section-bg-dark p { color: #c3c8d1; }
.section-bg-dark .eyebrow { color: #9fb3ff; }

/* Placeholder za slike */
.photo-placeholder {
  background: linear-gradient(135deg, #eef0f4 0%, #dde1e8 100%);
  border: 1px dashed #b7bec9;
  display: flex; align-items: center; justify-content: center;
  color: #8a93a3; font-size: 14px; font-weight: 600; text-align: center;
  padding: 16px; border-radius: 6px; min-height: 340px;
}
/* ============================================================
   FULL WIDTH ZA POČETNU — nadjačava GeneratePress kontejner
   ============================================================ */

/* Sakrij naslov stranice ("Početna") na svim stranicama */
.page .entry-header,
h1.entry-title {
  display: none !important;
}

/* Sakrij sidebar */
.widget-area,
.sidebar {
  display: none !important;
}

/* GeneratePress kontejner i omotači — puna širina, bez padding-a */
.site.grid-container.container,
.site-content,
#content,
#primary,
.content-area,
.site-main,
.inside-article,
.entry-content,
.entry-header {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
}
/* ============================================================
   CUSTOM HEADER
   ============================================================ */
.ap-header {
  background: #fff;
  border-bottom: 1px solid #eef0f2;
  position: sticky;
  top: 0;
  z-index: 100;
}
.ap-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.ap-logo {
  display: flex;
  flex-direction: column;
  background: #14161a;
  padding: 10px 18px;
  border-radius: 2px;
  text-decoration: none;
  flex-shrink: 0;
}
.ap-logo-main {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.ap-logo-sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #aab0bb;
}
.ap-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 15px;
  font-weight: 600;
}
.ap-nav a {
  color: #14161a;
  transition: color 0.15s;
}
.ap-nav a:hover { color: #1a1adf; }
.ap-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1a1adf;
  color: #fff;
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}
.ap-header-cta:hover { background: #0d0d8f; color: #fff; }

.ap-menu-toggle {
  display: none;
  background: none;
  border: 2px solid #14161a;
  border-radius: 4px;
  padding: 8px 10px;
  cursor: pointer;
}
.ap-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #14161a;
  margin: 4px 0;
}

/* ============================================================
   CUSTOM FOOTER
   ============================================================ */
.ap-footer {
  padding: 48px 0;
  border-top: 1px solid #eef0f2;
  background: #fff;
}
.ap-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}
.ap-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ap-footer-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 18px;
}
.ap-footer-loc { color: #5b6472; font-size: 14px; }
.ap-footer-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.ap-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1a1adf;
  color: #fff;
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
}
.ap-btn-primary:hover { background: #0d0d8f; color: #fff; }
.ap-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #1a1adf;
  border: 2px solid #1a1adf;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
}
.ap-btn-outline:hover { background: #1a1adf; color: #fff; }

/* ============================================================
   RESPONSIVE HEADER
   ============================================================ */
@media (max-width: 1024px) {
  .ap-nav { gap: 20px; font-size: 14px; }
  .ap-header-inner { padding: 0 24px; }
}
@media (max-width: 820px) {
  .ap-header-inner {
    height: 72px;
    padding: 0 20px;
    position: relative;
  }
  .ap-logo { padding: 8px 14px; }
  .ap-logo-main { font-size: 18px; }
  .ap-logo-sub { font-size: 8px; }

  .ap-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid #eef0f2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    z-index: 99;
  }
  .ap-nav.is-open { display: flex; }

  .ap-header-cta { display: none; }
  .ap-menu-toggle { display: block; }

  .ap-footer { padding: 32px 0; }
  .ap-footer-inner { padding: 0 20px; flex-direction: column; }
}