:root {
  --main-color: #004b8d;
  --secondary-color: #0078d4;
  --accent-color: #ff6b35;
  --light-bg: #f8f9fa;
  --text-color: #333;
  --dark-text: #1a1a1a;
  --transition: all 0.3s ease;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --radius: 10px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

header {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  padding: 10px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  color: var(--main-color);
  font-size: 1.8rem;
}

.logo h1 {
  font-size: 1.5rem;
  color: var(--main-color);
  margin: 0;
  /* Title ostaje u dva dijela kao prije */
  white-space: normal;
  line-height: 1.3;
}

nav {
  display: flex;
  align-items: center;
  margin: 0 20px;
}

nav ul {
  display: flex;
  list-style: none;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
}

nav li {
  margin: 0 15px;
  white-space: nowrap;
}

nav a {
  color: var(--dark-text);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: var(--transition);
  font-size: 0.95rem;
  padding: 5px 0;
}

nav a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-color);
  transition: var(--transition);
}

nav a:hover {
  color: var(--main-color);
}

nav a:hover:after {
  width: 100%;
}

.lang-toggle {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.lang-toggle button {
  background: transparent;
  border: 1px solid var(--main-color);
  color: var(--main-color);
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}

.lang-toggle button:hover, .lang-toggle button.active {
  background: var(--main-color);
  color: white;
}

.lang-dropdown {
  position: relative;
}

.lang-dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 5px;
  overflow: hidden;
  top: 100%;
  right: 0;
}

.lang-dropdown-content button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 10px 15px;
  border: none;
  background: white;
  cursor: pointer;
  transition: var(--transition);
}

.lang-dropdown-content button:hover {
  background-color: var(--light-bg);
}

.lang-dropdown:hover .lang-dropdown-content {
  display: block;
}

.flag {
  font-size: 1.2em;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--main-color);
  background: none;
  border: none;
  padding: 5px;
  margin-left: 10px;
}

.hero {
  background: linear-gradient(135deg, #004b8d 0%, #0066cc 100%);
  color: white;
  text-align: center;
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
      radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
      radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  background: var(--accent-color);
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--accent-color);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn:hover {
  background: transparent;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  margin-left: 15px;
}

.btn-outline:hover {
  background: white;
  color: var(--main-color);
}

/* RESPONSIVE - POBOLJŠANJA */
@media (max-width: 1200px) {
  nav li {
    margin: 0 10px;
  }
  
  nav a {
    font-size: 0.9rem;
  }
  
  .logo h1 {
    font-size: 1.3rem;
  }
}

@media (max-width: 992px) {
  .header-content {
    flex-wrap: wrap;
  }
  
  .logo {
    flex: 1;
  }
  
  .mobile-toggle {
    display: block;
    order: 2;
    margin-right: 15px; /* RAZMAK IZMEĐU BURGERA I DROPDOWNA */
  }
  
  .lang-toggle {
    order: 3;
    margin-left: auto; /* RAZMAK SA DESNE STRANE */
  }
  
  nav {
    order: 4;
    width: 100%;
    margin: 15px 0 0 0;
    display: none;
  }
  
  nav.active {
    display: block;
  }
  
  nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  
  nav li {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  
  nav a {
    display: block;
    padding: 12px 15px;
    width: 100%;
    font-size: 1rem;
  }
  
  nav a:hover {
    background-color: var(--light-bg);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 150px 0 80px;
    margin-top: 70px;
  }
  
  .logo h1 {
    font-size: 1.2rem;
  }
  
  .lang-toggle button {
    padding: 6px 10px;
    font-size: 0.9rem;
  }
  
  /* POBOLJŠAN RAZMAK NA MOBILNIM */
  .header-content {
    gap: 10px;
  }
  
  .mobile-toggle {
    margin-right: 10px;
  }
}

@media (max-width: 576px) {
  .logo h1 {
    font-size: 1rem;
  }
  
  .logo-icon {
    font-size: 1.5rem;
  }
  
  .hero {
    padding: 130px 0 60px;
  }
  
  /* JOŠ BOLJI RAZMAK NA VRLO MALIM EKRANIMA */
  .mobile-toggle {
    margin-right: 5px;
  }
  
  .lang-toggle button {
    padding: 5px 8px;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 150px 0 80px;
    margin-top: 70px;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .btn-outline {
    margin-left: 0;
  }
  
  .logo h1 {
    font-size: 1.2rem;
  }
  
  .lang-toggle button {
    padding: 6px 10px;
    font-size: 0.9rem;
  }
  
  /* POBOLJŠAN RAZMAK NA MOBILNIM */
  .header-content {
    gap: 10px;
  }
  
  .mobile-toggle {
    margin-right: 10px;
  }
}

@media (max-width: 576px) {
  .logo h1 {
    font-size: 1rem;
  }
  
  .logo-icon {
    font-size: 1.5rem;
  }
  
  .hero {
    padding: 130px 0 60px;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  /* JOŠ BOLJI RAZMAK NA VRLO MALIM EKRANIMA */
  .header-content {
    gap: 5px;
  }
  
  .mobile-toggle {
    margin-right: 5px;
  }
  
  .lang-toggle button {
    padding: 5px 8px;
    font-size: 0.8rem;
  }
}

.floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.floating-icon {
  position: absolute;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

.floating-word {
  position: absolute;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.08);
  font-weight: 600;
  animation: float 20s ease-in-out infinite;
  white-space: nowrap;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

.floating-word:nth-child(4n+1) {
  animation-delay: -2s;
  animation-duration: 12s;
}

.floating-word:nth-child(4n+2) {
  animation-delay: -4s;
  animation-duration: 14s;
}

.floating-word:nth-child(4n+3) {
  animation-delay: -6s;
  animation-duration: 16s;
}

.floating-word:nth-child(4n+4) {
  animation-delay: -8s;
  animation-duration: 18s;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  border-top: 4px solid var(--accent-color);
}


.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--main-color);
  margin-bottom: 15px;
}

.section-title:after {
  content: '';
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--main-color);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
  font-size: 3rem;
  color: var(--main-color);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-text);
}

.card p {
  color: #666;
  margin-bottom: 20px;
}

/* About Section */
.about {
  background: var(--light-bg);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('slika1.jpg') center/cover;
  opacity: 0.1;
  z-index: 0;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.2rem;
  color: var(--main-color);
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.profile-img {
  flex: 0 0 300px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.profile-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.profile-img:hover img {
  transform: scale(1.05);
}

.profile-icon {
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-icon i {
  font-size: 8rem;
  color: var(--main-color);
  opacity: 0.8;
}

/* STATS SECTION - POBOLJŠANJA */
.stats {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  text-align: center;
  gap: 20px;
}

.stat {
  flex: 1;
  padding: 20px 15px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--main-color);
  display: block;
  line-height: 1.2;
  margin-bottom: 8px;
}

.stat-text {
  font-size: 1rem;
  color: #666;
  line-height: 1.4;
  font-weight: 500;
}

/* RESPONSIVE ZA STATS */
@media (max-width: 768px) {
  .stats {
    flex-direction: column;
    gap: 15px;
  }
  
  .stat {
    padding: 25px 20px;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
  
  .stat-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .stats {
    gap: 12px;
  }
  
  .stat {
    padding: 20px 15px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-text {
    font-size: 1rem;
  }
}

/* Process Section */
.process {
  background: white;
  position: relative;
  overflow: hidden;
}

.process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('slika2.jpg') center/cover;
  opacity: 0.1;
  z-index: 0;
}

.process .container {
  position: relative;
  z-index: 1;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 50px;
}

.process-steps:before {
  content: '';
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--main-color);
  z-index: 1;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--main-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 5px 15px rgba(0, 75, 141, 0.3);
}

.step-content h3 {
  margin-bottom: 10px;
  color: var(--dark-text);
}

/* Testimonials Section */
.testimonials {
  background: var(--light-bg);
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card:before {
  content: '"';
  font-size: 5rem;
  color: rgba(0, 75, 141, 0.1);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  margin-right: 15px;
}

.author-info h4 {
  margin-bottom: 5px;
  color: var(--dark-text);
}

.author-info p {
  color: #666;
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  background: white;
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.contact-icon {
  font-size: 2.5rem;
  color: var(--main-color);
}

.contact-details h3 {
  margin-bottom: 5px;
  color: var(--dark-text);
}

.contact-details p, .contact-details a {
  color: #666;
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--main-color);
  text-decoration: underline;
}

/* Google Section Styles */
.google-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin: 40px 0;
}

.google-map {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.google-reviews {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--light-bg);
  padding: 30px;
  border-radius: var(--radius);
}

.btn-google {
  background: #4285f4;
  border-color: #4285f4;
}

.btn-google:hover {
  background: #3367d6;
  border-color: #3367d6;
}

/* Location Section */
.location {
  background: var(--light-bg);
}

.location-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
}

.reviews-container {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.reviews-header {
  margin-bottom: 25px;
  text-align: center;
}

.stars {
  color: #ffc107;
  font-size: 1.2rem;
  margin: 10px 0;
}

.rating-text {
  color: var(--text-color);
  font-weight: 600;
  margin-left: 10px;
}

/* Reviews Actions Styles */
.reviews-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.reviews-actions .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
  width: 100%;
}

.reviews-actions .btn span {
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-block;
}

/* Google Button */
.btn-google {
  background: #4285f4;
  color: white;
  border-color: #4285f4;
}

.btn-google:hover {
  background: #3367d6;
  border-color: #3367d6;
  transform: translateY(-2px);
}

/* Review Button */
.btn-review {
  background: transparent;
  color: var(--main-color);
  border-color: var(--main-color);
}

.btn-review:hover {
  background: var(--main-color);
  color: white;
  transform: translateY(-2px);
}

.location-info {
  border-top: 1px solid var(--light-bg);
  padding-top: 20px;
}

.location-info h4 {
  color: var(--main-color);
  margin-bottom: 10px;
}

.location-info p {
  margin-bottom: 5px;
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .google-section,
  .location-content {
      grid-template-columns: 1fr;
      gap: 20px;
  }
  
  .google-map iframe,
  .map-container iframe {
      height: 250px;
  }
}

/* Impressum Section */
.impressum {
  background: var(--light-bg);
  padding: 80px 0;
}

.impressum-content {
  max-width: 800px;
  margin: 0 auto;
}

.impressum h2 {
  color: var(--main-color);
  margin-bottom: 30px;
  text-align: center;
}

.impressum h3 {
  color: var(--dark-text);
  margin: 25px 0 15px;
}

.impressum p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.impressum a {
  color: var(--main-color);
  text-decoration: none;
}

.impressum a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background: var(--main-color);
  color: white;
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('slika3.jpg') center/cover;
  opacity: 0.1;
  z-index: 0;
}

.footer-content, .copyright {
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent-color);
}

.footer-column p {
  margin-bottom: 15px;
  opacity: 0.8;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .about-content {
      flex-direction: column;
  }
  
  .profile-img {
      flex: 0 0 auto;
      width: 100%;
      max-width: 400px;
      margin: 0 auto;
  }
  
  .contact-content {
      grid-template-columns: 1fr;
  }
  
  .process-steps {
      flex-direction: column;
      gap: 40px;
  }
  
  .process-steps:before {
      display: none;
  }
}