* {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  scroll-behavior: smooth;
}
body {
  background-color: #f8fcfb;
}

main {
  padding-top: 100px;
}

h2 {
  text-align: center;
  font-weight: 400;
  letter-spacing: 2px;
  font-size: 24pt;
  margin-bottom: 20px;
}

p {
  margin: 10px 0px;
}

.cta-button {
  width: 120px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  color: #252525;
  text-decoration: none;
  transition: all ease-in-out 0.3s;
  border: 5px solid white;
}

.cta-button:hover {
  background-color: rgb(51, 41, 51);
  color: white;
  border: 5px solid white;
}

.cta-paragraph-parent {
  display: flex;
  justify-content: center;
}

.cta-button.inverse {
  background-color: rgb(51, 41, 51);
  color: white;
  border: 5px solid rgb(51, 41, 51);
}

.cta-button.inverse:hover {
  background-color: white;
  color: #252525;
  border: 5px solid rgb(51, 41, 51);
}

@media screen and (min-width: 1024px) {
  .cta-button {
    scale: 1.25;
  }
}

/* ----- Navigation ----- */

nav {
  width: 100%;
  position: fixed;
  z-index: 1000;
  background-color: #f8fcfb;
}

.main-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

#main-nav-toggle {
  width: 100px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1000;
  font-size: 18pt;
}
.nav-logo-container img {
  height: 100px;
  display: block;
}
#main-nav {
  width: 100%;
  background-color: rgba(25, 25, 25, 0.9);
  backdrop-filter: blur(5px);
  position: fixed;
  z-index: 10000;
  height: 100%;
  transform: translate(180%);
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

#main-nav li {
  width: 80%;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #252525;
  background-color: rgba(15, 15, 15, 0.6);
  color: white;
  font-size: 12pt;
  letter-spacing: 1px;
  transition: all ease-in-out 0.3s;
}
#main-nav li:hover {
  background-color: rgba(50, 50, 50, 1);
  letter-spacing: 2px;
}

.desktop-nav-items {
  display: none;
}

nav a {
  text-decoration: none;
  color: white;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 1024px) {
  #main-nav-toggle {
    display: none;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: right;
  }

  .desktop-nav-items {
    display: flex;
    width: 100%;
  }
  #desktop-main-nav {
    display: flex;
    justify-content: center;
    width: 90%;
  }

  #desktop-main-nav li {
    width: 10%;
    min-width: 120px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  nav a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: rgb(5, 5, 5);
    transition: all ease-in-out 0.3s;
  }

  nav a:hover {
    letter-spacing: 2px;
  }
}

/* ----- Welcome section ----- */
#heading {
  width: 100%;
}

#heading .row {
  flex-wrap: nowrap;
  aspect-ratio: 16 / 9;
  background-image: url("../images/naslovna.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

#heading .col-6 {
  min-width: 1px;
  padding: 10px;
  justify-content: center;
  align-items: center;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

.col-6.blurred {
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.col-6.blurred p {
  width: 80%;
}

#heading p {
  font-size: 2.5vh;
  color: white;
  text-shadow: 0px 0px 10px;
  font-weight: 200;
}

@media screen and (min-width: 1024px) {
  #heading p {
    font-size: 30pt;
  }
}

/* ----- About section ----- */

#about img {
  width: 100%;
}

#about .video-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

#about video {
  width: 100%;
}

#about .flex-column {
  align-items: center;
}

#about {
  padding-top: 100px;
}

@media screen and (min-width: 1024px) {
  #about {
    padding-top: 0px;
  }
  #about .flex-column {
    align-items: flex-start;
  }
}

#about .card-white {
  width: 80%;
}

/* ----- Reservations section ----- */

.calendly-inline-widget {
  position: relative; /* mora postojati */
  z-index: 10; /* ili 0, samo da je manje od 1000 */
}

/* ----- Treatments section ----- */

#treatments {
  padding-top: 100px;
}

.container {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card {
  background: white;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  border-left: 5px solid rgb(51, 41, 51);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  width: 100%;
  box-sizing: border-box;
}

@media screen and (min-width: 1024px) {
  .container {
    max-width: 1200px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .card {
    width: 40%;
  }
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
  color: rgb(51, 41, 51);
}

.card p {
  font-size: 1rem;
  color: #555;
}

.card-white {
  background-color: white;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* ----- Educations section ----- */

#education img {
  width: 100%;
}

#education .col-6:nth-of-type(2) {
  padding: 20px;
}

#education h3 {
  font-weight: 500;
  font-size: 18pt;
}

#education p {
  margin: 20px 0px;
}

/* ----- Reviews section ----- */

#reviews {
  background-color: rgb(51, 41, 51);
  color: white;
  padding-bottom: 20px;
}

.review-container {
  min-width: 300px;
  width: 30%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

/* ----- Contact section ----- */

.text-container {
  width: 100%;
  min-height: 600px;
  padding: 20px;
  backdrop-filter: blur(5px);
  box-shadow: 0px 20px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#location-map {
  border: 1px solid rgba(51, 41, 51, 0.5);
  border-radius: 0px;
  transition: all ease-in-out 0.3s;
}

#location-map:hover {
  border: 1px solid rgba(51, 41, 51, 1);
}

.contact-buttons {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  list-style: none;
}

.contact-buttons li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-buttons p {
  margin-bottom: 20px;
}

.contact-buttons a {
  text-decoration: none;
  font-size: 36pt;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  border-radius: 60px;
  transition: all ease-in-out 0.3s;
}

.contact-buttons a:hover {
  scale: 1.1;
}

.contact-buttons .phone-button {
  border: 10px solid rgb(51, 41, 51);
  color: rgb(51, 41, 51);
}

.contact-buttons .phone-button:hover {
  box-shadow: 0px 0px 10px rgb(51, 41, 51);
}

.contact-buttons .wapp-button {
  border: 10px solid rgb(1, 192, 90);
  color: rgb(1, 192, 90);
}

.contact-buttons .wapp-button:hover {
  box-shadow: 0px 0px 10px rgb(1, 192, 90);
}

/* ----- Gallery section ----- */

.gallery-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background-color: rgb(51, 41, 51);
}

.gallery-item {
  width: 50%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

@media screen and (min-width: 1024px) {
  .gallery-item {
    width: 25%;
  }
}

.gallery-item img {
  width: 100%;
  opacity: 0.5;
  transition: all ease-in-out 0.3s;
}

.gallery-item img:hover {
  opacity: 1;
  scale: 1.1;
}

/* Otvaranje slike u pop-up prozoru */

.lightbox {
  position: fixed;
  inset: 0; /* skraceno: top:0; left:0; right:0; bottom:0 */
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);

  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox.show {
  opacity: 1;
  pointer-events: auto;
}

/* unutarnji centrirani kontejner */
.lightbox-inner {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox.show .lightbox-content {
  opacity: 1;
}

/* Close */
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}

/* Navigacija */
.prev,
.next {
  position: absolute;
  top: 50%;
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
}

.prev {
  left: 20px;
}
.next {
  right: 20px;
}

/* ----- Instagram section ----- */

.ig-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centriraj horizontalno */
  align-items: center; /* poravnaj po visini */
  gap: 15px; /* razmak između naslova i gumba */
  margin-bottom: 20px;
}

.ig-header h2 {
  font-weight: 400;
  letter-spacing: 2px;
  font-size: 24pt;
  margin: 0; /* makni default margine */
  min-width: 300px;
}

.btn-instagram {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
  transition: all ease-in-out 0.3s;
}

.btn-instagram:hover {
  transform: scale(1.05);
  background: white;
  color: #515bd4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#instagram {
  background-position-x: center;
  background-repeat: no-repeat;

  /* visina sekcije – prilagodi po želji */
  min-height: 600px;
}

#instagram .flex-row {
  justify-content: space-evenly;
}

@media screen and (max-width: 1023px) {
  .ig-post-wrapper:nth-of-type(3) {
    display: none;
  }
}

/* ----- Footer section ----- */

footer {
  background-color: rgb(51, 41, 51);
  color: white;
}

footer img {
  width: 100px;
  border-radius: 50px;
}

footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

footer .col-4 {
  padding: 20px;
}

footer h3 {
  margin-bottom: 20px;
}

.footer-buttons {
  text-decoration: none;
  font-size: 24pt;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  border-radius: 60px;
  transition: all ease-in-out 0.3s;
}

.footer-buttons .phone-button {
  color: white;
}

.footer-buttons .wapp-button {
  color: rgb(1, 192, 90);
}

.footer-buttons:hover {
  scale: 1.1;
}

footer a {
  color: white;
  text-decoration: none;
  transition: all ease-in-out 0.3s;
}

footer a:hover {
  color: rgb(192, 192, 192);
}
