:root {
  --antracit: #1c1c1c;
  --crvena: #e60000;
  --svetla-siva: #FAFAFA;
  --bela: #ffffff;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--antracit);
  color: var(--bela);
  scroll-behavior: smooth;
}

/* Top bar */
.top-bar {
  background-color: var(--antracit);
  color: var(--bela);
  text-align: center;
  padding: 8px;
  font-size: 0.95em;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

/* Navigacija */
header {
  margin-top: 40px;
  background-color: var(--svetla-siva);
  width: 100%;
  border-bottom: 2px solid #fff;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 25px 30px; /* veća visina */
  position: relative;
  width: 100%;
}

.nav-left {
  display: flex;
  gap: 20px;
}

.nav-left a {
  color: var(--crvena);
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
}

.nav-left a {
  position: relative;
  padding-bottom: 4px; /* prostor za liniju */
}

.nav-left a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: var(--crvena);
  transition: width 0.3s ease;
}

.nav-left a:hover::after {
  width: 100%;
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo {
  height: 60px;
}

.nav-right {
  display: none; /* uklonjen jer su svi linkovi sada levo */
}

.nav-phones {
  margin-left: auto;
  display: flex;
  gap: 20px;
  font-weight: 600;
  color: var(--antracit);
  text-transform: uppercase;
}

.nav-phones a {
  display: block;
  color: var(--crvena);
  text-decoration: none;
  font-size: 16px;
  margin-left: 10px;
  transition: color 0.3s ease;
}

.nav-phones a:hover {
  color: var(--antracit);
}


/* Hamburger meni */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
background-color: #e60000;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--svetla-siva);
  padding: 20px;
  gap: 15px;
  text-align: center;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a, .mobile-menu span {
  color: var(--crvena);
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
}

.mobile-menu a {
  position: relative;
  padding-bottom: 4px;
}

.mobile-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background-color: var(--crvena);
  transition: width 0.3s ease;
}

.mobile-menu a:hover::after {
  width: 100%;
}

/* Hero sekcija */
#hero {
  position: relative;
  background: url('../images/baner-1.jpg') center/cover no-repeat;
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

#hero .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: transparent;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  width: 100%;
  padding: 0 20px;
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text {
  text-align: left;
}

.hero-text h1 {
  font-size: 4.25rem;
  margin-bottom: 8px; /* smanjeno sa 20px */
}

.hero-text p {
  font-size: 1.5rem;
  margin-bottom: 28px; /* povećano da dugme bude niže */
}

/* O NAMA */
.about-section {
  background-color: var(--svetla-siva);
}

.about-container {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Centriranje po vertikali */
  gap: 40px;
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: nowrap; /* NE dozvoljavamo da se slome u novi red */
}

.about-text {
  flex: 1;
  text-align: left;
  color: #333;
}

.about-text h2 {
  color: var(--crvena);
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text p {
  text-align: left;
  font-size: 1.1em;
  color: #444;
}


.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  max-width: 480px;
  width: 100%;
  border-radius: 30px;
}


/* 6 banera */
.banner-section {
  padding: 0px 20px 60px 20px;
  background-color: #FAFAFA;
  text-align: center;
}

.banner-section h2 {
  color: var(--crvena);
  font-size: 28px;
  margin-bottom: 30px;
}

.banner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.banner-item img {
  width: 100%;
  border-radius: 10px;
}

.banner-item p {
  margin-top: 10px;
  font-weight: bold;
  color: var(--antracit);
}

/* Responsive za mobilne uređaje */
@media (max-width: 768px) {
  .banner-grid {
    grid-template-columns: repeat(3, 1fr);
	 gap: 20px;

  }
}

/* Footer */
footer {
  background-color: var(--antracit);
  color: white;
  text-align: center;
  padding: 20px;
}

/* Scroll to top */
#scrollTopBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: none;
  background-color: var(--crvena);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

#scrollTopBtn svg {
  width: 24px;
  height: 24px;
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease;
}

.footer {
  background-color: var(--antracit);
  color: white;
  padding: 75px 20px 5px 20px;
}

.footer-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  gap: 40px;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column a {
  color: var(--crvena);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: white;
}


.footer-column h3 {
  font-size: 1.3em;
  margin-bottom: 15px;
  color: var(--crvena);
}

.footer-column p {
  margin: 5px 0;
  font-size: 0.95em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--crvena);
}


.footer-bottom {
  border-top: 1px solid var(--crvena);
  background-color: var(--antracit);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
}

.footer-bottom p {
  margin: 0;
  font-weight: normal;
  text-align: center;
}

.footer-bottom a {
  color: var(--crvena);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: white;
}

.footer-label {
  color: var(--crvena);
  text-decoration: underline;
}



/* Responsive */
@media (max-width: 1024px) {
  .nav-left,
  .nav-phones {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

  .hero-text {
    text-align: center;
  }

  .hero-btn {
    margin: 20px auto 0;
  }
}
