/* Globalna zamena fonta */
body, h1, h2, h3, h4, h5, h6,
.logo, nav a, .language-switcher a,
.site-footer, .service h3, .testimonial p {
  font-family: 'Poppins', sans-serif;
}

body {
  font-family: 'Forum', serif;
  margin: 0;
  padding: 0;
  color: #222;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

.topbar {
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #e5e5e5;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}


.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #000;
}


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

.nav-links a {
  font-family: 'Forum', serif;
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  padding: 0 10px;
  color: #111;
}

.hero-simple {
  height: 90vh;
  background: url('../images/a1.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}

.services, .portfolio, .about, .contact {
  padding: 60px 20px;
  text-align: center;
}

.site-footer {
  background: #111;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-inner {
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-inner a {
  color: #fff;
  margin: 0 10px;
}


/* Lightbox gallery image grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.portfolio-grid img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.portfolio-grid img:hover {
  transform: scale(1.03);
}

/* Mobile nav toggle */
.mobile-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 20px;
}

@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 10px 20px;
    border: 1px solid #ccc;
    z-index: 1000;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .topbar {
    justify-content: space-between;
  }
}

body {
  transition: background-color 0.5s ease, color 0.5s ease;
}

img {
  filter: blur(0px);
  transition: filter 0.6s ease;
}

img[loading="lazy"] {
  filter: blur(5px);
}

img[loading="lazy"]:not([src*="data:"]) {
  filter: blur(0);
}









.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 40px;
  text-align: center;
}

.service img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.service h3 {
  font-size: 1.5rem;
  margin: 15px 0 10px;
}

.service p {
  font-size: 1rem;
  color: #444;
}



.footer-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 15px 0;
}

.footer-icons img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s;
}

.footer-icons img:hover {
  transform: scale(1.1);
}

.language-switcher {
  font-size: 0.9rem;
  margin-top: 10px;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.contact input,
.contact textarea {
  padding: 10px 15px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
  border-radius: 6px;
  resize: vertical;
}

.contact button {
  padding: 12px;
  background: black;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 6px;
}

.contact button:hover {
  background: #333;
}

.lang-switch {
  margin-left: 20px;
}

.lang-switch button {
  background: none;
  border: none;
  font-size: 20px;
  margin: 0 3px;
  cursor: pointer;
  transition: transform 0.2s;
}

.lang-switch button:hover {
  transform: scale(1.1);
}

/* Gallery section */
.gallery {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px 0;
}

.gallery img {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.05);
}


.photo-box img {
  width: 100%;
  max-width: 180px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.photo-box {
  text-align: center;
  padding: 20px;
  background: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.photo-box:hover {
  transform: translateY(-5px);
}

.photo-desc {
  font-size: 14px;
  color: #555;
  margin-top: 8px;
}


/* Sekcija: Šta fotografišemo */
#sta-fotografisemo {
  padding: 40px 20px;
  background-color: #fff;
  text-align: center;
}

.fotografisemo-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.photo-box {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 20px;
  width: 220px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.photo-box:hover {
  transform: translateY(-5px);
}

.photo-box img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.photo-box h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #333;
}

.photo-desc {
  font-size: 14px;
  color: #555;
}


.services {
  padding: 40px 20px;
  background-color: #fff;
  text-align: center;
}

.services-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.service-box {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 20px;
  width: 220px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.service-box:hover {
  transform: translateY(-5px);
}

.service-box img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.service-box h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #333;
}

.service-box p {
  font-size: 14px;
  color: #555;
}


.services {
  padding: 40px 20px;
  text-align: center;
  background-color: #ffffff;
}

.service-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.service {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 20px;
  width: 220px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.service:hover {
  transform: translateY(-5px);
}

.service img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.service h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #333;
}

.service p {
  font-size: 14px;
  color: #555;
  margin-top: 8px;
}


.about {
  position: relative;
  padding: 60px 20px;
  color: #fff;
  text-align: center;
  background: url('../images/about-bg.jpg') no-repeat center center/cover;
}

.about-overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.about h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.about p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.about .instagram-note a {
  color: #ffd700;
  text-decoration: underline;
}


.services {
  position: relative;
  padding: 60px 20px;
  text-align: center;
  color: #fff;
  background: url('../images/services-bg.jpg') no-repeat center center/cover;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.services h2,
.services h3,
.services p {
  position: relative;
  z-index: 1;
}

.service-grid {
  position: relative;
  z-index: 1;
}

/* Kontakt forma */
.contact-form {
  padding: 40px 20px;
  background-color: #fafafa;
  text-align: center;
}
.contact-form h2 {
  margin-bottom: 20px;
}
.contact-form form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-form input,
.contact-form textarea {
  padding: 10px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  resize: vertical;
}
.contact-form button {
  padding: 10px;
  font-size: 16px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.contact-form button:hover {
  background-color: #444;
}

/* Footer ikone */
.footer-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}
.footer-icons a {
  color: #000;
  transition: opacity 0.3s;
}
.footer-icons a:hover {
  opacity: 0.7;
}


.site-footer {
  background-color: #111;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}
.footer-icons svg {
  fill: #fff;
  transition: transform 0.2s ease;
}
.footer-icons a:hover svg {
  transform: scale(1.1);
}
.language-switcher a {
  color: #fff;
  text-decoration: none;
  margin: 0 5px;
}
.language-switcher a:hover {
  text-decoration: underline;
}


.floating-socials {
  position: fixed;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.floating-socials a {
  font-size: 20px;
  background: #111;
  color: white;
  padding: 10px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: background 0.3s, transform 0.3s;
}
.floating-socials a:hover {
  background: #333;
  transform: scale(1.1);
}


.testimonials {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}
.testimonials h2 {
  margin-bottom: 30px;
  font-size: 28px;
}
.testimonial-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}
.testimonial {
  max-width: 300px;
}
.testimonial img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.testimonial p {
  font-style: italic;
  font-size: 16px;
  color: #444;
}


.testimonial img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.testimonial p {
  font-style: italic;
  font-family: 'Georgia', 'Palatino Linotype', serif;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  padding: 0 10px;
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.testimonial {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}
.testimonial:nth-child(1) { animation-delay: 0.2s; }
.testimonial:nth-child(2) { animation-delay: 0.4s; }
.testimonial:nth-child(3) { animation-delay: 0.6s; }


.site-footer {
  background-image: url('images/footer-cameras.png'); /* ime slike u folderu images */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* tamni sloj preko slike */
  z-index: -1;
}
body, h1, h2, h3, h4, h5, h6, .logo, nav a, .language-switcher a, .site-footer, .service h3, .testimonial p {
  font-family: 'Poppins', sans-serif;$
    
}


.language-switcher {
  display: flex;
  gap: 8px;
  align-items: center;
}

.language-switcher button {
  font-size: 0.9rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
}

@media (max-width: 768px) {
  .logo {
    font-size: 1rem; /* smanjen logo */
  }

  .language-switcher {
    flex-direction: row; /* vodoravno na mobilnom */
    justify-content: flex-end;
  }
}


/* MOBILNI RESPONSIVE PRIKAZ */
@media (max-width: 768px) {
  section {
    padding: 20px 16px;
  }

  h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }

  p {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .portfolio-grid img,
  .testimonial img {
    width: 100%;
    height: auto;
  }

  .testimonial-grid {
    gap: 16px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .portfolio-grid a:nth-child(n+5),
  .testimonial-grid .testimonial:nth-child(n+3) {
    display: none;
  }

  .logo {
    font-size: 1rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 10px;
    background: white;
    position: absolute;
    top: 60px;
    right: 16px;
    padding: 10px;
    border: 1px solid #ccc;
    z-index: 999;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 1.5rem;
    background: none;
    border: none;
  }

  .topbar-inner {
    justify-content: space-between;
  }
}

/* Default sakrij hamburger meni */
.menu-toggle {
  display: none;
}


@media (max-width: 768px) {
  .hero-simple {
    height: 60vh;
    background-size: cover;
    background-position: center;
  }
}


@media (max-width: 768px) {
  .three-column {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
  }

  .three-column .column {
    flex: 0 0 32%;
    text-align: center;
  }

  .three-column .column img {
    width: 100%;
    height: auto;
  }

  .three-column .column p {
    font-size: 0.85rem;
    margin-top: 6px;
  }
}


@media (max-width: 768px) {
  .service-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
  }

  .service {
    flex: 0 0 32%;
    text-align: center;
  }

  .service img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .service h3 {
    font-size: 0.95rem;
    margin-top: 8px;
  }

  .service p {
    font-size: 0.85rem;
  }
}


@media (max-width: 768px) {
  .hero-simple {
    height: 45vh;
    background-size: cover;
    background-position: center;
  }

  .testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
  }

  .testimonial {
    flex: 0 0 32%;
    text-align: center;
  }

  .testimonial img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .testimonial p {
    font-size: 0.85rem;
    margin-top: 6px;
  }
}


@media (max-width: 768px) {
  .service-grid .service:nth-child(3) {
    display: none;
  }
}


@media (max-width: 768px) {
  section {
    padding: 16px 12px;
  }

  h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  h3 {
    font-size: 1rem;
    margin-top: 6px;
  }

  p {
    font-size: 0.8rem;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .portfolio-grid {
    gap: 8px;
  }

  .testimonial-grid {
    gap: 8px;
  }

  .service-grid {
    gap: 8px;
  }
}


@media (max-width: 768px) {
  .hero-simple {
    height: 35vh;
  }
}


@media (max-width: 768px) {
  .language-switcher {
    display: none;
  }

  .menu-toggle {
    color: black !important;
  }

  .floating-icons a {
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}


/* Hamburger dugme boja (crna) */
#mobile-menu-toggle {
  color: #000 !important;
  fill: #000 !important;
}


/* Ispravka: Social icons uvek da budu krugovi, čak i u mobilnom prikazu */
.floating-social-icons a,
.social-icon,
.social-link {
  border-radius: 50% !important;
}


/* Ispravka: floating-socials ikone kao krugovi */
.floating-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50% !important;
  background-color: #f1f1f1;
  color: #000;
  font-size: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.floating-socials a:hover {
  background-color: #000;
  color: #fff;
}
