@import url("https://fonts.googleapis.com/css2?family=Alex+Brush&family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Petit+Formal+Script&display=swap");

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 28px;
  color: #343434;
  background-color: #fff6f7;
}

a {
  text-decoration: none;
  -webkit-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  transition: 0.3s all ease;
  color: #343434;
  text-decoration: underline;
}
a:hover {
  color: #343434;
  text-decoration: none;
}
a.more {
  font-weight: 600;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
}

/* FONT SIZES */
html {
  font-size: 100%;
}

/* === Default (mobile-first) === */
h1 {
  font-size: 2rem; /* 32px */
  line-height: 1.2;
}

h2 {
  font-size: 1.5rem; /* 24px */
  line-height: 1.3;
}

h3 {
  font-size: 1.2rem; /* 20px */
  line-height: 1.4;
}

p {
  font-size: 0.8rem; /* 16px */
  line-height: 1.6;
}

/* === Medium screens (tablet ≥768px) === */
@media (min-width: 768px) {
  h1 {
    font-size: 2.5rem; /* 40px */
  }

  h2 {
    font-size: 2rem; /* 32px */
  }

  h3 {
    font-size: 1.5rem; /* 24px */
  }

  p {
    font-size: 1.0625rem; /* 17px */
  }
}

/* === Large screens (desktop ≥1024px) === */
@media (min-width: 1024px) {
  h1 {
    font-size: 3rem; /* 48px */
  }

  h2 {
    font-size: 2.25rem; /* 36px */
  }

  h3 {
    font-size: 1.5rem; /* 28px */
  }

  p {
    font-size: 1.125rem; /* 18px */
  }
}

/* NAVIGACIJA */
.custom-navbar {
  background: #fff6f7 !important;
  padding-top: 20px;
  padding-bottom: 20px;
}
.custom-navbar .navbar-brand {
  font-family: "Alex Brush", cursive;
  color: #343434;
  font-size: 2rem;
  font-weight: 600;
}
.custom-navbar .navbar-brand:hover {
  color: #343434;
}
.custom-navbar .navbar-brand span {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 2.35rem;
}
.custom-navbar .navbar-toggler {
  color: #343434;
}
.custom-navbar .navbar-toggler:active,
.custom-navbar .navbar-toggler:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: none;
}
@media (min-width: 992px) {
  .custom-navbar .custom-navbar-nav li {
    margin-left: 15px;
    margin-right: 15px;
  }
}

.custom-navbar .custom-navbar-nav li a {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #343434 !important;
  opacity: 0.5;
  -webkit-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  transition: 0.3s all ease;
  position: relative;
  cursor: pointer;
}
@media (min-width: 768px) {
  .custom-navbar .custom-navbar-nav li a:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 8px;
    right: 8px;
    background: #e2d880;
    height: 5px;
    opacity: 1;
    visibility: visible;
    width: 0;
    -webkit-transition: 0.15s all ease-out;
    -o-transition: 0.15s all ease-out;
    transition: 0.15s all ease-out;
  }
}
.custom-navbar .custom-navbar-nav li a:hover {
  opacity: 1;
}
.custom-navbar .custom-navbar-nav li a:hover:before {
  width: calc(100% - 16px);
}
.custom-navbar .custom-navbar-nav li.active a {
  opacity: 1;
}
.custom-navbar .custom-navbar-nav li.active a:before {
  width: calc(100% - 16px);
}

/* HERO sekcija */
.hero {
  background: #fff6f7;
  padding: calc(4rem - 30px) 0 0rem 0;
}
@media (min-width: 768px) {
  .hero {
    padding: calc(4rem - 30px) 0 4rem 0;
  }
}
@media (min-width: 992px) {
  .hero {
    padding: calc(8rem - 30px) 0 8rem 0;
  }
}
.hero .intro-excerpt {
  position: relative;
  z-index: 4;
}
.hero .intro-excerpt img {
  display: inline;
  height: 3.5rem;
  width: auto;
  aspect-ratio: 1;
}
.hero h1 {
  color: #343434;
  font-size: 3.5rem;
  margin-bottom: 30px;
}
.hero p {
  color: #343434;
  margin-bottom: 30px;
}
.hero .hero-img-wrap {
  position: relative;
}
.hero .hero-img-wrap img {
  position: relative;
  top: 0px;
  right: 0px;
  z-index: 2;
  max-width: 700px;
  left: -20px;
}
@media (min-width: 768px) {
  .hero .hero-img-wrap img {
    right: 0px;
    left: -100px;
  }
}
@media (min-width: 992px) {
  .hero .hero-img-wrap img {
    left: 0px;
    top: -80px;
    position: absolute;
    right: -50px;
  }
}
@media (min-width: 1200px) {
  .hero .hero-img-wrap img {
    left: 0px;
    top: -80px;
    right: -100px;
  }
}
.hero .hero-img-wrap:after {
  content: "";
  position: absolute;
  width: 255px;
  height: 217px;
  background-image: url("../images/dots-gold.svg");
  background-size: contain;
  background-repeat: no-repeat;
  right: -100px;
  top: -0px;
}
@media (min-width: 1200px) {
  .hero .hero-img-wrap:after {
    top: -40px;
  }
}

@media (max-width: 991.98px) {
  .hero .intro-excerpt img {
    height: 2.5rem;
    vertical-align: middle;
  }

  .hero .hero-img-wrap {
    text-align: center;
    margin-bottom: 1rem;
  }

  .hero .hero-img-wrap img {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    max-width: 80%;
    height: auto;
  }

  .hero .hero-img-wrap:after {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .hero .intro-excerpt {
    text-align: center;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero .intro-excerpt img {
    height: 2.5rem;
    vertical-align: middle;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero .btn {
    display: inline-block;
    margin-bottom: 0.5rem;
  }

  .hero .hero-img-wrap {
    text-align: center;
    margin-bottom: 1rem;
  }

  .hero .hero-img-wrap img {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    max-width: 80%;
    height: auto;
  }

  .hero .hero-img-wrap:after {
    display: none;
  }
}

.btn {
  -webkit-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  transition: 0.3s all ease;

  font-weight: 600;
  padding: 12px 30px;
  border-radius: 30px;
  color: #ffffff;
  background: #593f62;
  border-color: #593f62;
}
.btn:hover {
  color: #ffffff;
  background: #39283f;
  border-color: #39283f;
}
.btn:active,
.btn:focus {
  outline: none !important;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.btn.btn-primary {
  background: #fc7c93;
  border-color: #fc7c93;
}
.btn.btn-primary:hover {
  background: #e37084;
  border-color: #e37084;
}
.btn.btn-dark-outline {
  background: transparent;
  border-width: 2px;
  border-color: #fc7c93;
  color: #fc7c93;
}
.btn.btn-dark-outline:hover {
  border-color: #e37084;
  color: #e37084;
}

.section-title {
  font-family: "Alex Brush", cursive;
  color: #222222;
}

.map-container {
  position: relative;
}

/* KATALOG */
.product-card {
  background: rgba(255, 246, 247, 1);
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.product-card:hover {
  transform: scale(1.03);
  background: rgba(243, 239, 204, 1);
}
.custom-modal {
  display: flex;
  align-items: center;
  justify-content: center;

  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 99%;
  height: 99%;

  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.custom-modal-content {
  background: white;
  padding: 1rem;
  border-radius: 12px;
  position: relative;
  width: 35%;
  height: auto;
  aspect-ratio: 3 / 4;

  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.custom-modal.show .custom-modal-content {
  opacity: 1;
  transform: scale(1);
}

.custom-modal-content img {
  height: 100%;
  width: 100%;
}

#drugi-red img {
  padding: 50px !important;
}
.custom-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #fc7c93;
  color: white;
  border-radius: 50%;
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  cursor: pointer;
  border: none;
}

@media (max-width: 991.98px) {
  .custom-modal-content {
    width: 90%;
    height: auto;
    aspect-ratio: 3 / 4;
  }
}
@media (max-width: 767.98px) {
  #katalog .row {
    width: 90%;
    margin: 0 auto;
  }
  #katalog img {
    width: 60% !important;
    height: 60% !important;
  }
  #prvi-red img {
    margin-bottom: 20px;
  }
  #drugi-red {
    margin-top: 1.5rem !important;
  }
  #drugi-red img {
    padding: 20px !important;
  }
}

/* Features section */
.why-choose-section {
  margin-top: 5rem;
}
.why-choose-section .img-wrap {
  position: relative;
}
.why-choose-section .img-wrap:before {
  position: absolute;
  content: "";
  width: 255px;
  height: 217px;
  background-image: url("../images/dots-gold.svg");
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-transform: translate(-40%, -40%);
  -ms-transform: translate(-40%, -40%);
  transform: translate(-40%, -40%);
  z-index: -1;
}
.why-choose-section .img-wrap img {
  border-radius: 20px;
}

.feature {
  margin-bottom: 30px;
}
.feature .icon {
  display: inline-block;
  position: relative;
  margin-bottom: 20px;
}
.feature .icon:before {
  z-index: -1;
  content: "";
  width: 33px;
  height: 33px;
  position: absolute;
  background: #fc7c93;
  border-radius: 50%;
  right: -8px;
  bottom: 0;
}
.feature .icon img {
  width: 46px;
  height: 46px;
}

@media (max-width: 991.98px) {
  .spaced-section {
    padding: 1.5rem 0 !important;
  }
}

@media (max-width: 767.98px) {
  .why-choose-section {
    margin-top: 1rem;
  }
  .spaced-section {
    padding: 1rem 0 !important;
  }
  .why-choose-section .img-wrap img {
    width: 80%;
    margin: 0 auto;
    display: block;
  }

  .why-choose-section .img-wrap:before {
    left: 0;
    right: 0;
    margin: 0 auto;
  }

  .why-choose-section .feature {
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
  }

  .why-choose-section h2 {
    width: 60%;
    margin: 0 auto;
  }
}

/* FAQ */
#faq .imgs-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr) [27];
  grid-template-columns: repeat(27, 1fr);
  position: relative;
}

#faq .imgs-grid:before {
  position: absolute;
  content: "";
  width: 255px;
  height: 217px;
  background-image: url("../images/dots-gold.svg");
  background-size: contain;
  background-repeat: no-repeat;
  -webkit-transform: translate(-40%, -40%);
  -ms-transform: translate(-40%, -40%);
  transform: translate(-40%, -40%);
  z-index: -1;
}
#faq .imgs-grid .grid {
  position: relative;
}
#faq .imgs-grid .grid img {
  border-radius: 20px;
  max-width: 100%;
}
#faq .imgs-grid .grid.grid-1 {
  -ms-grid-column: 1;
  -ms-grid-column-span: 18;
  grid-column: 1 / span 18;
  -ms-grid-row: 1;
  -ms-grid-row-span: 27;
  grid-row: 1 / span 27;
}
#faq .imgs-grid .grid.grid-2 {
  -ms-grid-column: 19;
  -ms-grid-column-span: 27;
  grid-column: 19 / span 27;
  -ms-grid-row: 1;
  -ms-grid-row-span: 5;
  grid-row: 1 / span 5;
  padding-left: 20px;
}
#faq .imgs-grid .grid.grid-3 {
  -ms-grid-column: 14;
  -ms-grid-column-span: 16;
  grid-column: 14 / span 16;
  -ms-grid-row: 6;
  -ms-grid-row-span: 27;
  grid-row: 6 / span 27;
  padding-top: 20px;
}

/* O NAMA */
#o-nama h3,
#o-nama p {
  text-align: center;
}

#o-nama .image-wrapper {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 10px;
}

#o-nama .team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* O NAMA flip card effect */
.flip-card {
  perspective: 1000px;
  width: 100%;
  aspect-ratio: 4 / 5;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.75s ease;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
  cursor: pointer;
}

.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
}

.flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.flip-back {
  background-color: #fdebf5;
  color: #39283f;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px;
}

@media (max-width: 991.98px) {
  .flip-card {
    margin: 0 auto;
    aspect-ratio: 3 / 4;
    max-width: 250px;
  }
  .flip-card:hover .flip-inner {
    transform: none;
    cursor: pointer;
  }
  .flip-card.flipped .flip-inner {
    transform: rotateY(180deg);
    cursor: pointer;
  }
  .flip-back {
    padding: 1rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .flip-card p {
    font-size: 0.8rem;
  }
}

/* CAROUSEL proizvoda */
.popular-product {
  background-color: #fdebf5;
  padding-bottom: 1rem;
  margin-bottom: 3rem;
}
.popular-product .product-item-sm {
  display: flex;
  align-items: center;
}
.popular-product .product-item-sm h3 {
  font-weight: 700;
  color: #343434;
}
.popular-product .product-item-sm p {
  color: #343434;
}
.popular-product .product-item-sm .thumbnail {
  margin-right: 10px;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 120px;
  flex: 0 0 120px;
  position: relative;
}
.popular-product .glider {
  margin: 0 auto;
}
.product-item-sm {
  padding: 1rem;
  margin: 0.5rem;
  border-radius: 10px;
  height: 100%;
  display: flex;
  align-items: center;
}
.thumbnail {
  flex: 0 0 120px;
  margin-right: 1rem;
}
#shop-carousel img {
  margin: 0 auto;
  width: 50%;
}

@media (max-width: 767.98px) {
  .popular-product {
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
  }

  .popular-product .product-item-sm {
    padding: 0.5rem;
    margin: 0.25rem;
  }

  .popular-product .product-item-sm .thumbnail {
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
    flex: 0 0 auto;
    max-width: 100px;
  }

  .popular-product .product-item-sm img {
    max-width: 80px;
    height: auto;
  }

  .popular-product .product-item-sm h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  .popular-product .product-item-sm p {
    font-size: 0.85rem;
  }
}

/* O BRENDU */
.brand-quote-row {
  padding: 0 0 4rem 0;
}

.quote-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.quote-icon {
  font-size: 3rem;
  color: #ccc;
}

.quote-text {
  line-height: 1.6;
  margin: 1rem 0;
}

.quote-author {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

.author-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 1rem;
}

.studio-card {
  background: #fc7c93;
  border-radius: 12px;
  padding: 2rem;
  color: white;
}

.studio-card a {
  color: white;
  text-decoration: underline;
}

.studio-card h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.social-icons a {
  cursor: pointer;
  color: white;
  margin-right: 1rem;
  font-size: 1.2rem;
}

@media (max-width: 991.98px) {
  .studio-card {
    margin-bottom: 1rem;
  }
}

/* FAQ (CESTA PITANJA) */

#faq span {
  font-family: "Cormorant Garamond", serif;
}

.faq-accordion {
  margin-top: 2rem;
}

@media (max-width: 991.98px) {
  .faq-accordion {
    margin-top: 0;
  }
}

@media (max-width: 767.98px) {
  .flip-card {
    margin: 0 auto;
    aspect-ratio: 3 / 4;
    max-width: 250px;
  }
  .accordion-header {
    font-size: 0.8rem;
  }
}

.faq-question {
  width: 100%;
  background-color: #e8dfe5;
  color: #343434;
  text-align: left;
  padding: 0.75rem 1.2rem;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  margin-bottom: 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

@media (max-width: 767.98px) {
  .faq-question {
    font-size: 0.8rem;
  }
  .accordion-content ul li {
    font-size: 0.8rem;
  }
}

.faq-question:hover {
  background-color: #d2537b;
  color: #fff;
}

.faq-question .arrow {
  transition: transform 0.3s ease;
}

.faq-question.open .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: #fff;
  border-left: 3px solid #d2537b;
  border-radius: 0 0 5px 5px;
  margin-bottom: 0.5rem;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.2rem;
}

.faq-answer.open {
  max-height: 400px;
  padding: 1rem 1.2rem;
}

/* PRODAJNA MJESTA */
#faq {
  padding: 4rem 0 6rem 0;
}

.accordion {
  margin-top: 2rem;
  padding-left: 4rem;
}

@media (max-width: 767.98px) {
  .accordion {
    padding-left: 0;
  }
}

.accordion-header {
  width: 100%;
  background-color: #e8dfe5;
  color: #222222;
  text-align: left;
  padding: 0.5rem 1rem;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  margin-bottom: 5px;
  transition: background 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header .arrow {
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.accordion-header.open .arrow {
  transform: rotate(180deg);
}

.accordion-header:hover {
  background-color: #d2537b;
  color: #fff;
}

.accordion-item {
  border: none;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.5s ease;
  background-color: #fff;
  border-left: 3px solid #d2537b;
  margin-bottom: 10px;
  border-radius: 0 0 5px 5px;
  padding: 0 1.2rem;
}

.accordion-content.open {
  max-height: 900px; /* enough to fit your tallest panel */
  padding: 1rem 1.2rem;
}

.accordion-content ul {
  padding-left: 1rem;
  margin: 0 0 10px 0;
}

.accordion-content li {
  color: #343434;
}

.accordion-content p {
  margin: 0;
  padding: 0;
}

/* FOOTER STYLING */

.footer-section {
  padding: 80px 0 20px 0;
  background: #ffffff;
}
.footer-section .relative {
  position: relative;
}
.footer-section .footer-img {
  position: absolute;
  top: -145px;
  z-index: 1;
  right: -50px;
}
.footer-section .footer-img img {
  max-width: 300px;
}
.footer-section .links-wrap {
  margin-top: 0px;
}
.footer-section .links-wrap ul li {
  margin-bottom: 10px;
}
.footer-section .links-wrap ul li a {
  text-decoration: none;
  position: relative;
  transition: opacity 0.3s ease;
}
.footer-section .links-wrap ul li a:hover {
  opacity: 0.7;
}
.footer-section .links-wrap ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: currentColor;
  transition: width 0.3s ease;
}
.footer-section .links-wrap ul li a:hover::after {
  width: 100%;
}
.footer-section .footer-logo-wrap .footer-logo {
  font-family: "Alex Brush", cursive;
  text-decoration: none;
  color: #222222;
  font-size: 2rem;
}
.footer-section .footer-logo-wrap .footer-logo:hover {
  color: #222222;
}
.footer-section .footer-logo-wrap .footer-logo span {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 2rem;
}
.footer-section .border-top p {
  border-color: #dce5e4;
  font-size: 0.85rem;
}
.footer-section .border-top.copyright a {
  cursor: pointer;
}

.footer-section .footer-icons {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-section .footer-icons a {
  cursor: pointer;
  font-size: 1.2rem;
  color: #39283f;
  transition: color 0.3s ease;
}

.footer-section .footer-icons a:hover {
  color: #d2537b;
}

@media (min-width: 992px) {
  .copyright .d-flex {
    justify-content: space-between;
  }
}

@media (max-width: 991.98px) {
  .footer-section .footer-img {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .footer-section .border-top p {
    font-size: 0.625rem;
  }
  .footer-section .links-wrap ul li a {
    font-size: 0.8rem;
  }
}
.copyright-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.copyright-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 991.98px) {
  .copyright-center {
    position: static;
    transform: none;
    text-align: right;
    margin-left: auto;
  }
}

.spaced-section {
  padding: 3rem 0;
}

.service {
  line-height: 1.5;
}
.service .service-icon {
  border-radius: 10px;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 50px;
  flex: 0 0 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background: #3b5d50;
  margin-right: 20px;
  color: #ffffff;
}

.text-primary {
  color: #343434 !important;
}
