/* General */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(to bottom, #ffffff, #f4f8fb);
  color: #333;
  scroll-behavior: smooth;
}

a {
  color: #0073aa;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: #004974;
  outline: none;
}

.container {
  max-width: 960px;
  margin: auto;
  padding: 20px;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 110px;
}

/* Desktop Menu */
.desktop-menu {
  display: flex;
}

.desktop-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

.desktop-menu li a {
  font-weight: 600;
  font-size: 16px;
  color: #004974;
  cursor: pointer;
  padding: 10px 5px;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

.desktop-menu li a:hover,
.desktop-menu li a:focus {
  color: #0073aa;
  border-bottom: 2px solid #0073aa;
  outline: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1100;
}

.bar {
  width: 25px;
  height: 3px;
  background: #0073aa;
  border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 80px 20px 20px 20px;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
  z-index: 1099;
  display: flex;
  flex-direction: column;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.mobile-menu li a {
  font-size: 18px;
  color: #004974;
  font-weight: 600;
  cursor: pointer;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 32px;
  background: none;
  border: none;
  cursor: pointer;
  color: #0073aa;
  z-index: 1101;
}

/* Hero */
.hero {
  background: url('hero2.jpg') center/cover no-repeat;
  min-height: 500px;
  display: flex;
  align-items: center;
  color: #fff;
  text-align: center;
  position: relative;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

.hero-subtitle {
  font-size: 1.4rem;
  color: #ddd;
  margin-bottom: 30px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.btn {
  padding: 12px 30px;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,115,170,0.4);
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, #0073aa, #004974);
  color: white;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #004974, #0073aa);
  box-shadow: 0 8px 20px rgba(0,71,116,0.6);
  outline: none;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 8px 20px rgba(0,71,116,0.6);
  }
  50% {
    box-shadow: 0 12px 30px rgba(0,71,116,0.9);
  }
}

/* Sections */
.section {
  padding: 70px 20px;
  text-align: center;
}

.section.alt {
  background: linear-gradient(135deg, #f4f8fb 0%, #e0ecf9 100%);
}

.section h2 {
  color: #004974;
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Dekorativna linija ispod naslova */
.divider {
  width: 70px;
  height: 4px;
  background: #0073aa;
  border-radius: 2px;
  margin: 0 auto 40px auto;
}

/* Services grid i kartice */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 960px;
  margin: auto;
  text-align: left;
}

.service-card {
  background: white;
  border-radius: 10px;
  padding: 25px 20px;
  box-shadow: 0 5px 20px rgb(0 115 170 / 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: default;
}

.service-card:hover {
  box-shadow: 0 12px 35px rgb(0 115 170 / 0.25);
  transform: translateY(-6px);
}

.service-card h3 {
  color: #0073aa;
  margin-bottom: 15px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-card h3 i {
  color: #004974;
  font-size: 1.8rem;
}

.service-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.service-card li {
  margin-bottom: 14px;
  font-size: 1.1rem;
  position: relative;
  padding-left: 30px;
  color: #333;
}

.service-card li i.fa-check {
  position: absolute;
  left: 0;
  top: 2px;
  color: #28a745;
  font-size: 1rem;
}

/* Check-list u "Why Choose" */
.check-list {
  list-style: none;
  padding-left: 0;
  max-width: 600px;
  margin: auto;
  text-align: left;
}

.check-list li {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-left: 32px;
  color: #004974;
  font-weight: 600;
}

.check-list li i {
  position: absolute;
  left: 0;
  top: 3px;
  color: #0073aa;
  font-size: 1.3rem;
}

/* Contact */
#contact p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 10px auto;
  color: #333;
}

#contact a {
  font-weight: 700;
}

/* Footer */
.footer {
  background: #004974;
  color: #eee;
  padding: 40px 20px 20px;
  text-align: center;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 960px;
  margin: auto;
  gap: 20px;
}

.footer h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.footer-about,
.footer-contact,
.footer-social {
  flex: 1 1 280px;
  min-width: 280px;
  text-align: left;
}

.footer p, .footer a {
  color: #c7d6e0;
  font-size: 1rem;
  text-decoration: none;
}

.footer a:hover,
.footer a:focus {
  color: #fff;
  text-decoration: underline;
}

.footer-social a {
  font-size: 1.5rem;
  margin-right: 15px;
  color: #c7d6e0;
  transition: color 0.3s ease;
}

.footer-social a:hover,
.footer-social a:focus {
  color: #0073aa;
}

/* Footer copyright */
.footer-copy {
  margin-top: 25px;
  font-size: 0.9rem;
  color: #99aabb;
}

/* Back to top button */
#backToTop {
  position: fixed;
  bottom: 35px;
  right: 35px;
  background: #0073aa;
  color: white;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 5px 12px rgba(0, 115, 170, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  user-select: none;
  z-index: 1500;
}

#backToTop.show {
  opacity: 1;
  pointer-events: auto;
}

#backToTop:hover,
#backToTop:focus {
  background: #004974;
  box-shadow: 0 8px 20px rgba(0, 71, 116, 0.9);
  outline: none;
}

/* Responsive */
@media (max-width: 900px) {
  .desktop-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .logo-img {
    height: 90px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
}
