/* COLORS & LAYOUT */
:root {
  --purple: #371645;
  --teal: #049aa5;
  --white: #ffffff;
  --gray: #ebe7ec;
  --container: 1024px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  color: #222;
  background: #fff;
}

/* ---------- NAV ---------- */
.nav-wrap {
  width: var(--container);
  max-width: 100%;
  margin: 0 auto;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between; 
  border-bottom: 1px solid #049aa5;
  background: transparent;
}

header {
  background: var(--gray);
  position: sticky;
  top: 0;
  z-index: 60;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--purple);
  font-weight: 700;
}

.logo img {
  height: 64px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--teal);
  text-decoration: none;

  /* CHANGED FONT */
  font-family: "Quicksand", sans-serif;
  font-weight: 700;

  font-size: 16px;
}

/* SIDEBAR BASE */
.sidebar {
position: fixed;
top: 0;
right: -260px; 
width: 260px;
height: 100vh;
background: #ffffff;
box-shadow: -2px 0 10px rgba(0,0,0,0.15);
padding: 40px 20px;
transition: right 0.35s ease;
z-index: 9999;
}

.sidebar.open {
right: 0;
}

.sidebar ul {
list-style: none;
padding: 0;
margin-top: 40px;
}

.sidebar ul li {
margin-bottom: 22px;
}

.sidebar ul li a {
color: #049aa5;
font-size: 20px;
font-weight: 600;

/* CHANGED FONT */
font-family: "Quicksand", sans-serif;
}

.close-btn {
position: absolute;
top: 20px;
right: 20px;
font-size: 26px;
background: none;
border: none;
cursor: pointer;
}

/* HAMBURGER */
.hamburger {
display: none;
font-size: 34px;
background: none;
border: none;
cursor: pointer;
color: #049aa5;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  width: 100vw;
  overflow: visible;
}

.hero .bg {
  width: 100vw;
  height: 660px;
  max-width: 100%;
  display: block;
}

.hero .bg-inner {
  width: 100vw;
  height: 425px;
  max-width: 100%;
  display: block;
}

.hero .container {
  width: var(--container);
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .content {
  width: 100%;
  max-width: 740px;
  text-align: center;
  z-index: 30;
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
}

.hero .inner {
  width: 100%;
  max-width: 740px;
  text-align: left;
  z-index: 30;
  position: absolute;
  left: 42%;
  top: 40%;
  transform: translate(-50%, -50%);
}

.hero h1 {
  /* CHANGED FONT */
  font-family: "Quicksand", sans-serif;
  font-weight: 700;

  font-size: 48px;
  color: var(--purple);
  margin: 0 0 40px;
  line-height: 1.05;
}

.hero h2 {
  /* CHANGED FONT */
  font-family: "Quicksand", sans-serif;
  font-weight: 700;

  font-size: 18px;
  color: #049aa5;
  margin: 0 0 40px;
}

.btn {
  display: inline-block;
  padding: 18px 58px;
  border-radius: 38px;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

/* animals */
.pet {
  position: absolute;
  z-index: 40;
}

.pet-dog {
  left: calc(50% - (var(--container)/2) - 215px);
  top: 420px;
  transform: translateY(-50%);
}

.pet-cat {
  left: calc(50% + (var(--container)/2) - 10px - 190px);
  top: 320px;
  transform: translateY(-50%);
}

.paw {
  position: absolute;
  left: 50%;
  top: 540px;
  transform: translateX(-50%);
  opacity: 0.9;
}

.wave {
  background: #fff;
  height: 70px;
  margin-top: -20px;
}

/* ---------- LEISTUNG ---------- */

.leistung-grid {
  margin: 60px auto 0; /* centriranje ka spolja */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 60px;
  column-gap: 120px;
  max-width: 960px; /* širina glavnog kontejnera */
}


.leistung-box {
  text-align: left;
}

.leistung-icon {
  width: 50px;
  height: 50px;
  opacity: 0.8;
}

.leistung-box h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #333;
  font-weight: 700;
}

.leistung-box ul {
  list-style: none;
  padding: 0;
}

.leistung-box ul li {
  margin-bottom: 10px;
  font-size: 18px;
  color: #444;
}

/* responsive */
@media (max-width: 900px) {
  .leistung-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---------- BLOG ---------- */

.title-blog {
  /* CHANGED FONT */
  font-family: "Quicksand", sans-serif;
  font-weight: 700;

  color: var(--teal);
  font-size: 36px;
  margin: 6px 0 12px;
}

.text-blog {
  max-width: 960px;
  margin: 0 auto;
  color: #444;
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* ---------- CLINIC ---------- */
.section {
  width: var(--container);
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
}

.title {
  /* CHANGED FONT */
  font-family: "Quicksand", sans-serif;
  font-weight: 700;

  color: var(--teal);
  font-size: 36px;
  text-align: center;
  margin: 6px 0 12px;
}

.text-center {
  max-width: 820px;
  margin: 0 auto;
  color: #444;
  text-align: center;
}

.secondary {
  border: 2px solid var(--purple);
  background: transparent;
  color: var(--purple);
  padding: 10px 22px;
  border-radius: 22px;
  text-decoration: none;
  font-weight: 700;
}

/* ---------- TEAM ---------- */
.team-wrap {
  width: var(--container);
  max-width: 100%;
  margin: 0 auto;
  padding: 36px 20px;
}

.team-top {
  display: flex;
  gap: 26px;
  align-items: center;
}

.avatar {
  width: 292px;
  height: 292px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}

.team-info {
  flex: 1;
}

.team-info h3 {
  /* CHANGED FONT */
  font-family: "Quicksand", sans-serif;
  font-weight: 700;

  color: var(--purple);
  margin: 0 0 6px;
}

.team-info p {
  color: #444;
  line-height: 1.45;
}

.team-grid {
  display: flex;
  gap: 26px;
  align-items: center;
}

.team-sm .avatar-sm {
  width: 292px;
  height: 292px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.team-sm p {
  /* CHANGED FONT */
  font-family: "Quicksand", sans-serif;
  font-weight: 700;

  color: var(--purple);
  font-size: 18px;
  margin-top: 8px;
  text-align: center;
}

/* ---------- SERVICES ---------- */
.services {
  width: var(--container);
  max-width: 100%;
  margin: 0 auto;
  padding: 46px 20px;
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 24px;
  align-items: start;
  padding-top: 60px;
}

.services-text {
  color: #444;
  line-height: 1.5;
}

.big-img {
  height: 335px;
  object-fit: cover;
  border-radius: 6px;
}

.thumb-row {
  display: flex;
  gap: 23px;
  margin-top: 8px;
}

.thumb-row img {
  width: 153px;
  height: 102px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
}

.more-center {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

/* ---------- BANNER ---------- */
.banner {
  position: relative;
  margin-top: 40px;
}

.banner img.banner-bg {
  width: 100%;
  height: 476px;
  object-fit: cover;
  display: block;
}

.banner .banner-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-10%, -50%);
  color: #fff;
  text-align: left;
  width: 920px;
  max-width: 90%;
  display: flex;
  gap: 18px;
  align-items: center;
}

.banner .banner-content h2 {
  /* CHANGED FONT */
  font-family: "Quicksand", sans-serif;
  font-weight: 700;

  font-size: 34px;
  margin: 0;
}

.banner .banner-content p {
  max-width: 520px;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #fff;
  padding: 50px 20px;
  border-top: 8px solid var(--purple);
}

.footer-grid {
  width: var(--container);
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer a {
  color: var(--purple);
  text-decoration: none;
}

.copy {
  width: var(--container);
  width: 100vw;
  margin: 22px auto 0;
  text-align: center;
  color: #ffffff;
  background: #371645;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---------- KONTAKT EXTRA ---------- */
.kontakt-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
}

.kontakt-box h3 {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  color: var(--teal);
  font-size: 24px;
  margin-bottom: 18px;
}

.kontakt-box p {
  color: #444;
  line-height: 1.45;
  margin: 0 0 12px;
}

.kontakt-form input,
.kontakt-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: "Open Sans", sans-serif;
}

.map-wrap {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
}


/* responsive */
@media (max-width: 900px) {
  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ===== POPUP ===== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.popup-box {
  background: #ffffff;
  padding: 40px 30px;
  max-width: 420px;
  width: 90%;
  border-radius: 14px;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

.popup-box h2 {
  font-family: "Quicksand", sans-serif;
  color: var(--purple);
  margin-bottom: 16px;
}

.popup-box p {
  color: #444;
  font-size: 16px;
  line-height: 1.5;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: none;
  background: none;
  font-size: 26px;
  cursor: pointer;
  color: #666;
}

 .whatsapp-float {
   position: fixed;
   right: 18px;
   bottom: 18px;
   min-height: 54px;
   padding: 12px 8px;
   border-radius: 14px;
   background: #25D366;
   color: #ffffff;
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 10px;
   max-width: 260px;
   text-decoration: none;
   font-weight: 800;
   letter-spacing: 0.5px;
   box-shadow: 0 10px 25px rgba(0,0,0,0.18);
   z-index: 10001;
 }

 .whatsapp-float__icon {
   width: 44px;
   height: 44px;
   border-radius: 10px;
   background: transparent;
   display: flex;
   align-items: center;
   justify-content: center;
 }

 .whatsapp-float__icon-img {
   width: 33px;
   height: 33px;
   display: block;
   filter: brightness(0) invert(1);
 }

 .whatsapp-float__text {
   font-size: 14px;
   line-height: 1.1;
   white-space: normal;
 }

 .whatsapp-float:hover {
   filter: brightness(0.95);
 }

 .whatsapp-float:focus {
   outline: 3px solid rgba(4,154,165,0.35);
   outline-offset: 4px;
 }

 @media (max-width: 480px) {
   .whatsapp-float {
     right: 14px;
     bottom: 14px;
     padding: 12px 14px;
     border-radius: 14px;
   }

   .whatsapp-float__text {
     display: none;
   }
 }

/* ===========================
   EXTRA RESPONSIVE
   =========================== */

/* 1100px */
@media (max-width: 1100px) {
  .hero h1 { font-size: 36px; }
  .hero h2 { font-size: 16px; }

  .pet-cat { left: calc(100% - 180px); top: 260px; width: 220px; }
  .pet-dog { left: -40px; top: 320px; width: 280px; }
  .hero .content { top: 45%; }

  .services-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .services-img { margin: 0 auto; }

  .team-top { flex-direction: column; text-align: center; }
  .team-grid { flex-wrap: wrap; justify-content: center; }
}

/* ---------- GALLERY ---------- */
.gallery-wrap {
  width: var(--container);
  max-width: 100%;
  margin: 0 auto;
  padding: 60px 20px 80px;
}

.gallery-intro {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
  color: #444;
}

.album .responsive-container-block {
  min-height: 75px;
  height: fit-content;
  width: 100%;
  padding-top: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  display: flex;
  flex-wrap: wrap;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
  justify-content: flex-start;
}

.album .responsive-container-block.bg {
  max-width: 1320px;
  margin: 0 0 0 0;
  justify-content: space-between;
}

.album .img {
  width: 100%;
  margin: 0 0 20px 0;
  border-radius: 6px;
}

.album #i9rb {
  color: black;
}

.album #ir6i {
  color: black;
}

.album #ikz3b {
  color: black;
}

.album .responsive-container-block.img-cont {
  flex-direction: column;
  max-width: 33.3%;
  min-height: auto;
  margin: 0 0 0 0;
  height: 100%;
}

.album #ipix {
  color: black;
}

.album #ipzoh {
  color: black;
}

.album #ig5q8 {
  color: black;
}

.album #imtzl {
  color: black;
}

.album #i53es {
  color: black;
}

.album .img.img-big {
  height: 50%;
  margin: 0 0 16px 0;
}

/* 900px */
@media(max-width: 900px) {
  .nav-desktop { display: none; }

  .nav-wrap {
    height: 80px;
  }

  .logo {
    margin-left: 40px;
  }

  .hamburger {
    display: flex;
    align-items: center;
    margin-right: 40px;
  }

  .hero .bg { height: auto; }
  .hero .inner { max-width: 90%; }
  .hero .bg-inner { height: auto; }
  .hero .content { max-width: 90%; }
  .hero h1 { font-size: 32px; }
  .hero h2 { font-size: 15px; }

  .hero .inner h1 { 
    font-size: 28px; 
    padding-left: 70px;
  }
  .hero .inner h2 { 
    font-size: 14px; 
    padding-left: 70px;
  }

  .pet-dog { left: -80px; width: 240px; }
  .pet-cat { left: calc(100% - 160px); width: 200px; }

  .avatar { width: 240px; height: 240px; }
  .avatar-sm { width: 220px !important; height: 220px !important; }

  .banner .banner-content {
    flex-direction: column;
    text-align: center;
    transform: translate(-50%, -50%);
    width: 90%;
  }
}

/* 700px */
@media(max-width: 700px) {
  .nav-desktop { display: none; }

  .nav-wrap {
    height: 80px;
  }

  .logo {
    margin-left: 40px;
  }

  .hamburger {
    display: flex;
    margin-right: 40px;
  }

  .hero h1 { font-size: 28px; }
  .hero h2 { font-size: 14px; }
  .btn { padding: 14px 32px; }

  .hero .inner h1 { 
    font-size: 28px; 
    padding-left: 70px;
  }
  .hero .inner h2 { 
    font-size: 14px; 
    padding-left: 70px;
    padding-top: 40px;
  }

  .pet-cat, .pet-dog {
    width: 160px;
    top: 280px;
  }

  .pet-dog { left: -20px; }
  .pet-cat { left: calc(100% - 140px); }

  .hero .content .inner { top: 50%; }

  .big-img { width: 100%; height: auto; }
  .thumb-row { justify-content: center; gap: 12px; }
  .thumb-row img { width: 110px; height: 76px; }

  .team-grid { gap: 18px; }

  .banner img.banner-bg { height: 360px; }
  .banner .banner-content h2 { font-size: 26px; }
}

/* 480px */
@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .hero h2 { font-size: 14px; }
  .btn { padding: 14px 32px; }

  .hero .inner h1 { 
    font-size: 28px; 
    padding-left: 70px;
  }
  .hero .inner h2 { 
    font-size: 14px; 
    padding-left: 70px;
    padding-top: 40px;
  }

  .pet-dog {
    width: 120px;
    top: 240px;
  }

  .pet-cat {
    width: 120px;
    top: 260px;
  }

  .pet-dog { left: -10px; }
  .pet-cat { left: calc(100% - 110px); }

  .hero .content .inner { top: 70%; }

  .big-img { width: 100%; height: auto; }
  .thumb-row { justify-content: center; gap: 12px; }
  .thumb-row img { width: 110px; height: 76px; }

  .team-grid { gap: 18px; }

  .banner img.banner-bg { height: 360px; }
  .banner .banner-content h2 { font-size: 26px; }
}

/* SERVICES */
@media (max-width: 1024px) {
  .leistung-grid {
    grid-template-columns: 1fr !important; /* Jedna kolona */
    text-align: center;                    /* Centriran tekst */
    justify-items: center;                 /* Centriranje elemenata */
  }

  .leistung-box {
    max-width: 400px;
    width: 100%;
  }

  .leistung-icon {
    display: block;
    margin: 0 auto 15px auto;  /* Centriraj ikonicu */
  }

  .leistung-box h3 {
    text-align: center;
  }

  .leistung-box ul {
    text-align: center;        /* Centriran tekst liste */
    padding-left: 0;
  }

  .leistung-box ul li {
    list-style: none;          /* Ukloni tačke */
  }
}
