/* colours
mint - BBE8E5
mint hover - 86E7E0
pink - FFCDDA
dark pink - FE9DD0
grey - 2D2D2D */


/* Utility Classes */

h1 {
    font-family: "DynaPuff", system-ui;
    font-size: 60px;
    color: white;
}

h2 {
    font-family: "DynaPuff", system-ui;
    font-size: 20px;
}

h3 {
    font-family: "DynaPuff", system-ui;
    font-size: 32px;
    color: #FE9DD0;
}

h4 {
    font-family: "DynaPuff", system-ui;
    font-size: 24px;
}

h5 {
    font-family: "DynaPuff", system-ui;
    font-size: 45px;
    color: #FE9DD0;
}
p {
    font-family: "Josefin Sans", sans-serif;
    font-size: 18px;
    color: #2D2D2D;
}

li {
list-style: none;
}

body {
    color: #2D2D2D; /* text colour*/
    font-size: 18px;
}



/* ANIMATIONS */
.animate__animated.animate__bounce {
  --animate-duration: 2s;
}

.font-body {
font-family: "Josefin Sans", sans-serif;
}

.font-headings {
    font-family: "DynaPuff", system-ui;
}

.icon-custom-color{
    color: #2D2D2D;
}

.btn:hover {
    background-color: #86E7E0; 
    color: #2D2D2D;
   }

.btn-primary {
    --bs-btn-color: #2D2D2D;
    --bs-btn-bg: #BBE8E5;
    --bs-btn-border-color: none;
    border-radius: 10px;
}

.btn{
    font-family: "DynaPuff", system-ui;
}

.btn-secondary {
    --bs-btn-color: #2D2D2D;
    --bs-btn-bg: #FE9DD0;
    --bs-btn-border-color: none;
    border-radius: 10px;
    font-size: 18px;
}


/* NAVIGATION */

.navbar-expand-lg {
    background-color: #BBE8E5;
    border-bottom: 5px solid #FE9DD0;
}

.navbar-nav {
    --bs-nav-link-padding-x: 0;
    --bs-nav-link-padding-y: 1rem;
    --bs-nav-link-hover-color: #black;
}

.nav-item a {
border-bottom: 4px solid transparent;
transition: border-color 0.3ease;
}
 .nav-item a:hover,
 .nav-item a.active {
    border-color: black;
    color: black;
 }

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* HERO */

#hero {
    background: linear-gradient(45deg, #FE9DD0 20%, #BBE8E5 80%);
    padding: 50px 0 50px;
}

.logo {
    max-width: 300px; /* size of the logo */
    height: auto; 
    margin: 0 auto; /* centre logo horizontal*/
}

.cake-image {
    max-width: 100%;
    height: auto;
    max-height: 750px; /* size of the cake */
}





/* PRODUCT CAROUSEL */

.carousel-control-prev i, .carousel-control-next i {
	font-size: 50px;
	position: absolute;
	top: 50%;
	display: inline-block;
	margin: -19px 0 0 0;
	z-index: 5;
	left: 0;
	right: 0;
	color: #FE9DD0;
	text-shadow: none;
	font-weight: bold;
}

.carousel-caption {
    background-color: #BBE8E5;
    border-radius: 30px;
    position: initial;
    z-index: 10;
    padding: 5rem 8rem;
    color: #2D2D2D;
    text-align: center;
}

.carousel-dots {
  gap: 8px;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.carousel-dots .dot.active {
  background-color: #FE9DD0;
}

  .img-box img {
    max-height: 100%;
    object-fit: contain;
  }

  .carousel-item .row > div {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
  }

  .carousel-item {
    min-height: 100%;
  }

    .carousel-inner {
    min-height: 200px; /* heigh for carousel card */
  }

.carousel-control-prev{
    justify-content: flex-start;
}

.carousel-control-next {
    justify-content: flex-end;
}
.carousel-control-prev,.carousel-control-next{
    transition: none;
    opacity: unset;
}

.scrolling-wrapper {
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.product-card {
  width: 250px;
  scroll-snap-align: start;
}

.product-card img {
  max-height: 200px;
  object-fit: contain;
}

.product-carousel-wrapper {
  position: relative;
  padding: 0 3rem;
}

.product-track {
  scroll-behavior: smooth;
  gap: 1rem;
  padding: 0;
}

.product-card {
  flex: 0 0 auto;
  width: 250px;
  border-radius: 12px;
  background: white;
  padding: 1rem;
  margin: 0.5rem 0;
  scroll-snap-align: start;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.img-box {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: transparent;
  border: none;
  color: #FE9DD0;
  cursor: pointer;
}

.carousel-arrow.left {
  left: -2rem;
}

.carousel-arrow.right {
  right: -2rem;
}


/* MY STORY */
.colour-block {
    background:#FFCDDA;
    width:100%;
  }
  
  
  /*  SCALLOP up    */
  .scallop-up{
    height:100px;
    width:100%;
    background: -webkit-gradient(radial, 50% 100%, 10, 50% 100%, 40, from(#FFCDDA), color-stop(0.49, #FFCDDA), color-stop(0.51, #fff), to(white));
  background-size: 49px 100%;
  }
  
  /*  SCALLOP down  */
  .scallop-down{
    height:100px;
    width:100%;
    background: -webkit-gradient(radial, 50% 0, 10, 50% 0, 40, from(#FFCDDA), color-stop(0.49, #FFCDDA), color-stop(0.51, #fff), to(white));
  background-size: 49px 100%;
  }

  .mystory-image {
    max-width: 300px;
    height: auto;
  }


  #elfsight h5 {
    color: #86E7E0;
  }


/* elfsight WIDGET */

.elfsight-wrapper {
  max-width: 100%;
  overflow-x: hidden;
}

.elfsight-app-7ba949a2-829f-4d92-932e-b302d79363c1 {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
  box-sizing: border-box;
}


/* TESTIMONIALS */


.testimonial-carousel .fixed-carousel-box {
    background-color: #bbe8e5;
    border-radius: 30px;
    height: 300px;
    overflow: hidden;
    padding: 3rem 3rem;
  }
  
 
  .testimonial-carousel .carousel-control-prev,
  .testimonial-carousel .carousel-control-next {
    top: 80%;
    transform: translateY(-60%);
    /* opacity: 1; */
    /* width: auto; */
    padding: 0 1rem;
    position: absolute;
  }
  
  .testimonial-carousel .carousel-control-prev {
    left: -10px;
  }
  
  .testimonial-carousel .carousel-control-next {
    right: -10px;
  }
  

/* PRODUCTS navigation - pages about products only*/
.product-nav-wrapper {
    border-bottom: 9px solid #BBE8E5;
    padding: 0.5rem 0;
}

.product-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 5rem;
    padding: 0 1rem;
    scroll-behavior: smooth;
    justify-content: center;
}

.product-nav::-webkit-scrollbar {
    display: none; /* hide scrollbar */
}

.product-nav a {
    flex: 0 0 auto;
    color: #2D2D2D;
    padding-bottom: 5px;
    border-bottom: 4px solid transparent;
    white-space: nowrap;
    transition: border-color 0.3s ease;
}

.product-nav a:hover,
.product-nav a.active {
    border-color: #FE9DD0; /* colour for underline */
    color: #FE9DD0;
}

#gallery .row {
  --bs-gutter-x: 0;
}

#gallery .col-lg-2 img {
  padding: 0.5rem; /* spaces between images */
}
#hero .row {
  --bs-gutter-x: 0;
}


.scroll-hint {
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}



/* FOOTER */
a {
    color: #2D2D2D;
    text-decoration: none;
}

.footer {
    background-color: #FE9DD0;
}

.copyright {
    background-color: #FFCDDA;
}

.copyright p {
    font-size: 16px;
}


/* FORM  */

.message-box {
    border-radius: 25px;
}
.custom-input {
    background-color: #ffcce0;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1rem;
  }


  .custom-input:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(255, 153, 204, 0.4);
  }

/* GET IN YOUCH */
.contact-card {
    background-color: #BBE8E5;
    border: none;
    border-radius: 2rem;
    padding: 1.5rem;
    color: #2D2D2D;
  }
  
  
/* BESPOKE CAKES */
.banner {
    width: 100%;
    overflow: hidden; /* Skryje orez */
}

.banner-image {
    width: 100%;
    height: 150px; 
    object-fit: cover; 
    filter: brightness(80%) contrast(90%) opacity(70%);
}


/* TERMS */
#terms li {
  font-family: josefin sans;
  list-style-type: disc;
}


/* PRICE LIST */
.card {
  --bs-card-border-color: #FE9DD0;
}


/* 404 */
.cake404{
  height: 45vh;
}

.sipka {
    color: #2D2D2D;
}

@media(max-width:768px){
    .carousel-caption {
        position: initial;
        z-index: 10;
        padding: 3rem 2rem;
        text-align: center;
        font-size: 0.7rem;
    }

    .carousel-caption img{
        width: 4rem;
        border-radius: 4rem;
        margin-top: 1rem;
    }

    .carousel-arrow {
    display: none;
  }

     #productTrack {
     overflow-x: auto !important;
  }

    #image-caption{
        margin-top: 0.5rem;
    }

    .testimonial-carousel .carousel-control-prev,
    .testimonial-carousel .carousel-control-next
    {display: none;}
  

    .product-nav {
        justify-content: flex-start; /* on mobile it will be scrollable and align on left */
    }
    .footer .row {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
    
      .footer .col {
        margin-bottom: 2rem;
      }
    
      .footer .btn-floating {
        margin: 0 0.5rem;
      }
    
      .footer h2 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
      }
    
      .footer ul {
        padding-left: 0;
        list-style: none;
      }
    
      .footer ul li {
        margin: 0.2rem 0;
      }
    
      .copyright {
        text-align: center;
        padding: 1rem 0;
        font-size: 0.875rem;
      }
    
      .footer .terms {
        margin-bottom: 0.5rem;
        display: block;
        text-align: center;
        font-size: 0.875rem;
      }
  }