/* ── VIP Loza Custom Styles ── */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&display=swap');

/* Dodato za pravilan footer layout */
html, body { height: 100%; margin: 0 !important; padding: 0 !important; font-family: 'Barlow', sans-serif !important; background-color: #ffffff; }
body { display: flex; flex-direction: column; min-height: 100vh; }
#site-layout-type { display: flex; flex-direction: column; flex: 1 0 auto; margin: 0 !important; padding: 0 !important; }
#vip-homepage { margin: 0 !important; padding: 0 !important; }

/* Header */
.vip-header { background-color: #1a1a1a; border-bottom: 3px solid #ffcc00; width: 100%; }
.vip-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 40px;
  height: 65px;
  position: relative;
  box-sizing: border-box;
}
.vip-logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.vip-logo img { height: 40px; width: auto; }
.vip-site-name {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
  font-family: 'Barlow', sans-serif;
}
.vip-nav { position: absolute; left: 50%; transform: translateX(-50%); }
ul.vip-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
ul.vip-menu li a {
  display: block;
  color: #cccccc;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 4px 4px 0 0;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  font-family: 'Barlow', sans-serif;
}
ul.vip-menu li a:hover,
ul.vip-menu li.current-menu-item > a,
ul.vip-menu li.current_page_item > a {
  background: rgba(255,255,255,0.1);
  color: #ffcc00;
  border-bottom: 3px solid #ffcc00;
}
.vip-right { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }

/* Lang toggle */
.vip-lang-toggle { display: flex; align-items: center; }
.vip-lang-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #ccc;
  font-size: 12px;
  font-family: 'Barlow', sans-serif;
  padding: 5px 10px;
  cursor: pointer;
  transition: background 0.2s;
}
.vip-lang-btn:first-child { border-radius: 4px 0 0 4px; border-right: none; }
.vip-lang-btn:last-child { border-radius: 0 4px 4px 0; }
.vip-lang-btn.active { background: #ffcc00; color: #000; border-color: #ffcc00; }

/* Search */
.vip-search { display: flex; align-items: center; position: relative; }
.vip-search-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #cccccc;
}
.vip-search-toggle:hover { background: rgba(255,255,255,0.1); color: #fff; }
.vip-search-dropdown {
  display: none;
  position: absolute;
  top: 44px;
  right: 0;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 10px;
  z-index: 9999;
  width: 280px;
}
.vip-search-dropdown.open { display: block; }
.vip-search-dropdown .search-form { display: flex; gap: 6px; }
.vip-search-dropdown .search-field {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  padding: 7px 12px;
  color: #fff;
  font-size: 13px;
  outline: none;
  font-family: 'Barlow', sans-serif;
}
.vip-search-dropdown .search-field::placeholder { color: rgba(255,255,255,0.4); }
.vip-search-dropdown .search-submit {
  background: #ffcc00;
  border: none;
  border-radius: 6px;
  color: #000;
  font-weight: 600;
  padding: 7px 14px;
  font-size: 13px;
  cursor: pointer;
  font-family: 'Barlow', sans-serif;
}
.vip-search-dropdown .search-submit:hover { background: #e6b800; }

/* Mobile toggle */
.vip-mobile-toggle { display: none; flex-direction: column; gap: 5px; background: transparent; border: none; cursor: pointer; padding: 4px; }
.vip-mobile-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }

/* Hero */
.vip-hero { width: 100%; margin: 0; display: block; }
.vip-hero-inner {
  width: 100%;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  background-color: #111;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.vip-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.85) 100%); }
.vip-hero-content { position: relative; z-index: 2; padding: 40px 48px; max-width: 900px; }
.vip-hero-cat {
  display: inline-block;
  background: #ffcc00;
  color: #000;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 12px;
  font-family: 'Barlow', sans-serif;
}
.vip-hero-content h1 { font-size: 36px; font-weight: 700; color: #fff; line-height: 1.25; margin: 0 0 12px; font-family: 'Barlow', sans-serif; }
.vip-hero-content h1 a { color: #fff; text-decoration: none; }
.vip-hero-content h1 a:hover { color: #ffcc00; }
.vip-hero-meta { display: flex; gap: 16px; color: rgba(255,255,255,0.6); font-size: 13px; font-family: 'Barlow', sans-serif; }

/* Social bar */
.vip-social-bar { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 30px; background: #f5f5f5; border-bottom: 1px solid #e0e0e0; margin: 0; }
.vip-social-btn { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; text-decoration: none; color: #fff; transition: opacity 0.2s, transform 0.2s; }
.vip-social-btn:hover { opacity: 0.85; transform: scale(1.1); color: #fff; }
.vip-fb { background: #1877f2; }
.vip-tw { background: #000; }
.vip-ig { background: #c13584; }
.vip-yt { background: #ff0000; }
.vip-tk { background: #010101; }

/* Articles */
.vip-articles { width: 100%; margin: 0; padding: 0; }
.vip-articles-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; }
.vip-card { border: none; border-radius: 0; border-right: 1px solid #e0e0e0; background: #fff; transition: box-shadow 0.2s; }
.vip-card:last-child { border-right: none; }
.vip-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); background: #fafafa; }
.vip-card-img { display: block; overflow: hidden; }
.vip-card-img img { width: 100%; height: 220px; object-fit: cover; display: block; transition: transform 0.3s; }
.vip-card:hover .vip-card-img img { transform: scale(1.04); }
.vip-card-body { padding: 20px 24px; }
.vip-card-cat { font-size: 11px; font-weight: 600; color: #ffcc00; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 6px; font-family: 'Barlow', sans-serif; }
.vip-card-body h3 { font-size: 16px; font-weight: 600; line-height: 1.4; margin: 0 0 8px; font-family: 'Barlow', sans-serif; }
.vip-card-body h3 a { color: #1a1a1a; text-decoration: none; }
.vip-card-body h3 a:hover { color: #ffcc00; }
.vip-card-meta { font-size: 12px; color: #999; font-family: 'Barlow', sans-serif; }

/* Category page */
.vip-category-page { width: 100%; margin: 0; padding: 0; }
.vip-category-header { background: #1a1a1a; color: #fff; padding: 40px 60px; border-bottom: 3px solid #ffcc00; }
.vip-category-header h1 { font-size: 32px; font-weight: 700; margin: 0 0 8px; color: #fff; text-transform: uppercase; letter-spacing: 2px; font-family: 'Barlow', sans-serif; }
.vip-category-header p { color: rgba(255,255,255,0.6); margin: 0; font-size: 14px; font-family: 'Barlow', sans-serif; }
.vip-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; border-top: 1px solid #e0e0e0; }
.vip-pagination { padding: 30px 60px; border-top: 1px solid #e0e0e0; }
.vip-pagination .nav-links { display: flex; gap: 8px; }
.vip-pagination .page-numbers { padding: 6px 12px; border: 1px solid #e0e0e0; border-radius: 4px; color: #1a1a1a; text-decoration: none; font-size: 14px; font-family: 'Barlow', sans-serif; }
.vip-pagination .page-numbers.current { background: #ffcc00; color: #000; border-color: #ffcc00; }

/* Footer - Prepravljen da ne prekriva vesti */
.vip-footer { 
  background: #1a1a1a; 
  color: rgba(255,255,255,0.8); 
  width: 100%; 
  margin-top: auto; 
  border-top: 4px solid #ffcc00;
}

.vip-footer-inner { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 32px; width: 100%; padding: 48px 60px 32px; box-sizing: border-box; }
.vip-footer-col h4 { color: #ffcc00; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 16px; padding-bottom: 8px; border-bottom: 2px solid #ffcc00; display: inline-block; font-family: 'Barlow', sans-serif; }
.vip-footer-col p { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,0.65); margin: 0 0 6px; font-family: 'Barlow', sans-serif; }
.vip-footer-col ul { list-style: none; margin: 0; padding: 0; }
.vip-footer-col ul li a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 13px; line-height: 2; display: block; font-family: 'Barlow', sans-serif; }
.vip-footer-col ul li a:hover { color: #ffcc00; }
.vip-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); text-align: center; padding: 16px 30px; }
.vip-footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); margin: 0; font-family: 'Barlow', sans-serif; }

/* Mobile */
@media (max-width: 768px) {
  .vip-header-inner { flex-wrap: wrap; height: auto; padding: 12px 16px; }
  .vip-nav { position: static; transform: none; display: none; width: 100%; }
  .vip-nav.open { display: block; }
  .vip-mobile-toggle { display: flex; }
  ul.vip-menu { flex-direction: column; width: 100%; }
  .vip-hero-content { padding: 24px 20px; }
  .vip-hero-content h1 { font-size: 22px; }
  .vip-articles-grid, .vip-category-grid { grid-template-columns: 1fr; }
  .vip-footer-inner { grid-template-columns: 1fr 1fr; padding: 32px 24px; }
  .vip-category-header { padding: 24px 20px; }
}

.vip-category-page ~ .widget,
body:not(.home) .searchform,
body:not(.home) #searchform,
.page-template-default .search-form,
.search-form { display: none !important; }
.vip-search-dropdown .search-form { display: flex !important; }
.widget_search,
.widget-area .widget,
.sidebar .widget,
#secondary,
#sidebar { display: none !important; }
.vip-search-dropdown .search-form,
.vip-search-dropdown .widget_search { display: flex !important; }


