@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:wght@400;600;700&display=swap');

/* Global CSS for Panda Skener Slovenija */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #101820;
  line-height: 1.6;
  /*padding-top: 80px;*/*/
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}





nav a {
  color: #4a4a4a;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: bold;
}

.hero .slideshow-container {
  position: relative;
  width: 100%;
  height: auto;
  max-height: 100vh;
  overflow: hidden;
}

.mySlides {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  transform: scale(1);
  animation: zoomOut 12s infinite;
}

.mySlides img {
  width: 100%;
  height: auto;
  display: block;
}

.mySlides.active {
  opacity: 1;
  position: relative;
}

@keyframes zoomOut {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

.section { padding: 4rem 0; }
.section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #595757;
}

.skenerji {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
.row .card { flex: 1; }

.card img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.reasons {
  background-color: #f8f8f8;
  padding: 4rem 0;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

.reason {
  background: white;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform .2s ease, box-shadow .2s ease;
}
.reason:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.reason h3 {
  color: #063096;
  margin-bottom: 1rem;
}

.cta {
  background-color: #32cc70;
  color: white;
  text-align: center;
  padding: 3rem 1rem;
}

.cta h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.cta a {
  display: inline-block;
  background-color: #fff;
  color: #32cc70;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

footer {
  background-color: #f4f4f4;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #333;
}

@media (max-width: 992px) {
  .row { flex-direction: column; }
  .card img { height: 320px; }
}

@media (max-width: 768px) {
  
  nav a { margin: 0 1rem; }
  .reason-grid { grid-template-columns: 1fr; }
  .section { padding: 2.5rem 0; }
  .cta { padding: 2rem 1rem; }
}

@media (max-width: 480px) {
  h2 { font-size: 1.4rem; }
  .card { padding: 1rem; }
  .card img { height: 260px; }
  nav a { font-size: 0.9rem; }
}



/* FIX HERO FOR VERTICAL IMAGES */
.static-hero {
  width: 100%;
  padding-top: 80px;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.static-hero .hero-img {
  width: auto;
  max-width: 100%;
  max-height: 700px;
  height: auto;
  object-fit: contain;
  display: block;
}


/* PANDA Free section title styling */
.section-title {
  color: #063096;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin: 60px 0 20px;
  font-family: 'Albert Sans', sans-serif;
}

/* Wrapper for tech image */
.tech-image-wrapper {
  text-align: center;
  margin: 20px auto 40px;
  max-width: 780px;
  padding: 10px;
}

.tech-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}



}


/* === FINAL NAVIGATION WITH COLOR + FONT === */
/* === FULL WORKING NAVIGATION BAR CSS === */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #eeeeee;
  z-index: 9999;
  border-bottom: 1px solid #ddd;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.main-nav a,
.dropbtn {
  color: #4a4a4a;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Albert Sans', sans-serif;
  cursor: pointer;
}

.main-nav a:hover {
  color: #063096;
}

/* Dropdown wrapper */
.dropdown {
  position: relative;
}

/* Dropdown hidden by default */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 180px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 99999;
}

/* Dropdown links */
.dropdown-content a {
  display: block;
  padding: 10px 14px;
  color: #4a4a4a;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background-color: rgba(50,204,112,0.5);
}

/* Desktop: show on hover */
@media (min-width: 900px) {
  .dropdown:hover .dropdown-content {
    display: block;
  }
}

/* Mobile: allow toggle by script */
@media (max-width: 900px) {
  .dropdown:hover .dropdown-content {
    display: none;
  }
}

/* === VERIFIED NAVIGATION FIX === */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #eeeeee;
  z-index: 9999;
  border-bottom: 1px solid #ddd;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.main-nav a,
.dropbtn {
  color: #4a4a4a;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Albert Sans', sans-serif;
  cursor: pointer;
}

.main-nav a:hover {
  color: #063096;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 180px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 99999;
}

.dropdown-content a {
  display: block;
  padding: 10px 14px;
  color: #4a4a4a;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

.dropdown-content a:hover {
  background-color: rgba(50,204,112,0.5);
}

/* Desktop: show on hover */
@media (min-width: 900px) {
  .dropdown:hover .dropdown-content {
    display: block;
  }
}

/* Mobile: toggle handled by JS */
@media (max-width: 900px) {
  .dropdown:hover .dropdown-content {
    display: none;
  }
}
.pfree-gallery {
  max-width: 720px;
  position: relative;
  margin: 3rem auto;
  overflow: hidden;
}
.pfree-slide { display:none; }
.pfree-slide img {
  width:100%;
  height:450px;
  object-fit:cover;
  border-radius:12px;
}
.pfree-prev,.pfree-next{
  cursor:pointer;position:absolute;top:50%;
  padding:10px 18px;color:white;font-size:24px;font-weight:bold;
  border-radius:4px;background:rgba(0,0,0,0.4);transform:translateY(-50%);
}
.pfree-prev{left:10px;} .pfree-next{right:10px;}
.pfree-prev:hover,.pfree-next:hover{background:rgba(0,0,0,0.7);}
.pfree-dots{text-align:center;margin-top:14px;}
.pfree-dot{cursor:pointer;height:12px;width:12px;margin:0 5px;background:#bbb;border-radius:50%;display:inline-block;}
.pfree-dot.active{background:#063096;}



/* === ULTRA SAFE MOBILE NAV FIX — DOES NOT CHANGE DESKTOP === */
@media (max-width: 900px) {

  /* Header smaller */
  .site-header {
    padding: 0.4rem 0;
  }

  /* NAV container reorganized */
  .nav-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0;
  }

  /* Logo smaller */
  .logo img {
    height: 32px;
  }

  /* Links centered and compact */
  .main-nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .main-nav a {
    font-size: 0.95rem;
    margin: 0;
  }

  /* Dropdown full width */
  .dropdown-content {
    position: relative;
    min-width: 100%;
    border-radius: 6px;
    border: 1px solid #ddd;
  }

  .dropdown-content a {
    padding: 0.7rem;
    text-align: center;
  }
}


/* MOBILE FIXES */
@media (max-width: 450px) {
  .site-header { background:#eeeeee !important; height:58px; padding:0.5rem 1rem; }
  .logo img { height:40px !important; }
  .main-nav { display:none !important; }
  .hamburger { display:flex !important; flex-direction:column; gap:4px; margin-left:auto; padding:6px; }
  .hamburger span { width:28px; height:3px; background:#063096; border-radius:3px; }
  .mobile-menu {
    display:none; position:fixed; top:0; left:0; width:100%; height:100vh; background:#eeeeee;
    flex-direction:column; align-items:center; padding-top:110px; gap:2.2rem; z-index:99999;
  }
  .mobile-menu a { font-size:2rem; color:#063096; font-weight:700; text-decoration:none; font-family:'Albert Sans',sans-serif; }
  .section, p, .opis, .container { padding-left:1.2rem !important; padding-right:1.2rem !important; }
  img { max-width:100% !important; height:auto !important; }
  .slideshow-container img, .slide img { width:100% !important; height:auto !important; object-fit:contain !important; }
}
.hamburger { display:none; }
