/* ====== GLOBAL ====== */
.nojq {
  display: none;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
  margin: 0 !important;
}

/* ====== TOPBAR ====== */
#topbar-wrap.topbar-2 {
  background-image: url('/wp-content/uploads/2025/10/topbar-bg.png');
  background-size: cover;
  background-position: center;
  color: #6a6a6a;
  padding: 8px 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 20;
}

.social-btn {
  display: flex;
  height: 50px;
  align-items: center;
  gap: 10px;
}

#topbar-wrap .header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

#topbar-wrap a {
  color: #6a6a6a;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease;
}

#topbar-wrap a:hover {
  color: #ff4c4c;
}

.topbar-contact ul,
.social-btn ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 15px;
}

/* ====== GLAVNI HEADER ====== */
#main-header {
  position: absolute;
  top: 55px;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 20px 0;
  background: transparent;
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.custom-logo {
  max-height: 90px;
  width: auto;
}

/* ====== NAVIGACIJA ====== */
.main-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.main-nav ul li {
  margin: 0 15px;
}

.main-nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

.main-nav ul li a:hover {
  color: #ff4c4c;
}

/* ====== HEADER AKCIJE ====== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.login-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.login-link:hover {
  color: #ff4c4c;
}

.btn-add {
  background: #d42a2a;
  color: #fff;
  padding: 8px 15px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-add:hover {
  background: #b61f1f;
}

/* ====== HERO SEKCIJA ====== */
#hero-section {
  position: relative;
  height: 100vh;
  background-image: url('/wp-content/uploads/2025/10/banner2.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 20px;
}

.hero-content {
  flex: 1 1 55%;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: #ff2e2e;
}

.hero-content p {
  font-size: 18px;
  color: #eee;
  margin-bottom: 30px;
}

.btn-primary {
  background: #ff2e2e;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #c61c1c;
}

/* ====== HERO FORMA ====== */
.hero-form {
  flex: 1 1 40%;
  background: #fff;
  color: #222;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.hero-form h5 {
  color: #d42a2a;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 5px;
}

.hero-form h2 {
  font-size: 24px;
  margin-bottom: 25px;
  font-weight: 700;
}

.search-box {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.search-box input,
.search-box select {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 15px;
}

.search-box button {
  background: #d42a2a;
  color: #fff;
  border: none;
  padding: 12px 0;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.search-box button:hover {
  background: #b61f1f;
}

/* ====== HERO CENTER (Under Construction) ====== */
.hero-center {
  flex: 1 1 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-center h1 {
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.hero-center p {
  font-size: 20px;
  color: #eee;
  max-width: 700px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.btn-primary.disabled {
  background: #555;
  cursor: default;
  opacity: 0.8;
  pointer-events: none;
}

/* ====== RESPONSIVE ====== */

/* TABLETI (do 992px) */
@media (max-width: 992px) {
  #main-header {
    top: 45px;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    flex: 1 1 100%;
	  margin-top: 100px;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-form {
    margin-top: 30px;
    width: 100%;
  }

  .main-nav ul {
    flex-direction: column;
    display: none;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    text-align: center;
  }

  .main-nav.active ul {
    display: flex;
  }

  .header-container {
    flex-direction: column;
  }

  .header-actions {
    margin-top: 15px;
  }
}

/* MOBILNI (do 768px) */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-form {
    padding: 20px;
  }

  .search-box input,
  .search-box select,
  .search-box button {
    font-size: 14px;
  }

  .logo img {
    max-height: 70px;
  }
}

/* MALI MOBILNI (do 576px) */
@media (max-width: 576px) {
  #topbar-wrap {
    display: none;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-center h1 {
    font-size: 36px;
  }

  .hero-center p {
    font-size: 16px;
    padding: 0 15px;
  }

  .btn-primary {
    padding: 10px 20px;
    font-size: 14px;
  }

  .custom-logo {
    max-height: 60px;
  }
}
