/*---------------------------------------------------------------

        Template Name: TopTaste Bakery | Delicious Breads, Cakes, and Pastries Freshly Baked Daily
        Description: Baker One Page Website Template
        Author: Lucid Solutions
        Author URL: https://triplestack.com.ng
        Version: 1.0.0

    -----------------------------------------------------------------

        CSS INDEX
        ==================

        1.   Basic Styles
        2.   Header Section Styles
        3.   Hero Banner Styles
        4.   Heading Styles
        5,   About Section Styles
        6.   Product Section Styles
        7.   Best Seller Section Background Styles
        8.   Gallery Section Styles
        9.   Counter Section Background Styles
        10.  News and Blog Section Styles
        11.  Testimonials Section Styles
        12.  Contact Section Background Styles
        13.  Instagram Feed Section Styles
        14.  Newsletter Section Styles
        15.  Back to top Styles
     
    
  
----------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


/* ==================
   Basic Styles 
================== */

[data-bakerytheme="lightmode"] {
  --body-color: #FFFFFF;
  --primary-color: #13B9FB;
  --primary-hover-color: #b9770c;
  --secondary-color: #332104;
  --secondary-overlay: 51, 33, 0;
  --alt-color: #13B9FB;
  --white-color: #ffffff;
  --form-color: #13B9FB;
  --card-color: #ffffff;
  --danger-color: #ff5555;
  --warning-color: #FF9F01;
  --card-shadow: rgb(234, 166, 54, 0.5) 1px 8px 9px 0px;
  --box-size: 300px;
  --border-thickness: 5%; 
  --wave-size: 60px;
  --wave-position: bottom;
  --wave-transparent: 0, 0, 0;  /* Transparent part for wave */
  --wave-color: #ffffff;         /* Black wave color for light theme */
  --wave-mask-position: 80%;
  --wave-mask-size: 100px 100%;
  --dark-rgb :0, 0, 0;

  /* text-colors */
  --primary-text: #13B9FB;
  --heading-text: #332104;
  --para-text: #646161;
  --white-text: #ffffff;
  --form-text: #332104;
  --danger-text: #ff5555;
  
  /* font family */
  --primaryfont: "Montserrat", sans-serif;
  --secondaryfont: "Lobster", sans-serif;
}

[data-bakerytheme="darkmode-one"] {
  --body-color: #0A0D11;
  --primary-color: #13B9FB;
  --primary-hover-color: #b9770c;
  --secondary-color: #050505;
  --secondary-overlay: 5, 5, 5;
  --alt-color: #171B1E;
  --white-color: #ffffff;
  --form-color: #252A2F;
  --card-color: #0F1315;
  --danger-color: #ff5555;
  --warning-color: #FF9F01;
  --card-shadow: rgb(7, 9, 11,0.5) 1px 8px 9px 0px;
  --wave-size: 60px;
  --wave-position: bottom;
  --wave-transparent: #0a0d1100;
  --wave-color: #0A0D11;
  --wave-mask-position: 80%;
  --wave-mask-size: 100px 100%;

  /* text-colors */
  --primary-text: #13B9FB;
  --heading-text: #ffffff;
  --para-text: #B8B8B8;
  --white-text: #ffffff;
  --form-text: #E1E1E1;
  --danger-text: #ff5555;

  /* font family */
  --primaryfont: "Montserrat", sans-serif;
  --secondaryfont: "Lobster", sans-serif;
}

[data-bakerytheme="darkmode-two"] {
  --body-color: #482B00;
  --primary-color: #13B9FB;
  --primary-hover-color: #b9770c;
  --secondary-color: #140C00;
  --secondary-overlay: 20, 12, 0;
  --alt-color: #633B03;
  --white-color: #ffffff;
  --form-color: #58390C;
  --card-color: #35230A;
  --danger-color: #ff5555;
  --warning-color: #FF9F01;
  --card-shadow:  rgb(74, 45, 9, 0.5) 1px 8px 9px 0px;
  --wave-size: 60px;
  --wave-position: bottom;
  --wave-transparent: #482b0000;
  --wave-color: #482B00;
  --wave-mask-position: 80%;
  --wave-mask-size: 100px 100%;

  /* text-colors */
  --primary-text: #13B9FB;
  --heading-text: #ffffff;
  --para-text: #CFCBCB;
  --white-text: #ffffff;
  --form-text: #E1E1E1;
  --danger-text: #ff5555;

  /* font family */
  --primaryfont: "Montserrat", sans-serif;
  --secondaryfont: "Lobster", sans-serif;
}


/* Background-Color*/

.body-color {
  background-color: var(--body-color) !important;
}

.primary-color {
  background-color: var(--primary-color) !important;
}

.primary-hover-color {
  background-color: var(--primary-hover-color) !important;
}

.secondary-color {
  background-color: var(--secondary-color) !important;
}

.secondary-overlay {
  background-color: var(--secondary-overlay) !important;
}

.alt-color {
  background-color: var(--alt-color) !important;
}

.white-color {
  background-color: var(--white-color) !important;
}

.form-color {
  background-color: var(--form-color) !important;
}

.card-color {
  background-color: var(--card-color) !important;
}

.danger-color {
  background-color: var(--danger-color) !important;
}

.warning-color {
  background-color: var(--warning-color) !important;
}

.card-shadow {
  box-shadow: var(--card-shadow)
}

/* Text-Color*/

.primary-font {
  font-family: var(--primaryfont) !important;
}

.secondary-font {
  font-family: var(--secondaryfont) !important;
}

.primary-text {
  color: var(--primary-text);
}

.heading-text {
  color: var(--heading-text);
}

.primary-fill {
  color: var(--primary-color);
}

.rating-fill {
  color: var(--warning-color);
}

.para-text {
  color: var(--para-text);
}

.white-text {
  color: var(--white-text);
}

.form-text {
  color: var(--form-text);
}

.danger-text {
  color: var(--danger-text);
}

/* Button Style */

.primary-btn {
  background-color: var(--primary-color) !important;
  color: var(--white-text) !important;
  padding: 10px 20px;
  border: 1px solid var(--primary-color) !important;
  font-size: 18px;
}

.primary-btn:hover {
  background-color: var(--primary-hover-color) !important;
  color: var(--white-text) !important;
  padding: 10px 20px;
  border: 1px solid var(--primary-color);
  font-size: 18px;
  transition: 0.5s ease-in-out;
}

/* ===============
  Basic Styles
====================*/

* {
  box-sizing: border-box;
  font-family: var(--primaryfont) !important;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--primary-color);
  text-decoration: none;
}
.btn-close {
  background: unset;
}

/* ==================
  Theme Switcher
================== */
.theme-switcher {
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: row;
  gap: 15px;
  background-color: var(--secondary-color);
  padding: 10px;
  border-radius: 10px;
}
.theme-btn {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  background-color: transparent;
  transition: background-color 0.3s ease, transform 0.3s ease;
  color: var(--white-text);
}
.pallete-box-main {
  position: fixed;
  background-color: #ffff;
  top: 250px;
  left: -205px;
  z-index: 2;
  transition: left 0.6s ease-in-out;
}
.pallete-box-main.active {
  left: 0px !important;
}
.theme-btn:hover {
  transform: scale(1.15);
  background-color: var(--primary-color);
  color: var(--white-text) !important;
} 
.right {
  content: 'f105';
}
.left {
  content: 'f104';
}
.error {
  color: var(--danger-text) !important;
  background-color: var(--secondary-color);
  font-weight: 500;
  padding: 8px;
}
::placeholder, .form-select {
  color: var(--form-text)!important;
}

.form-control:focus, .form-select:focus {
  color: var(--form-text)!important;
  border-color: var(--primary-border);
  outline: 0;
  box-shadow: none;
}

.form-control{
  color: var(--form-text)!important;
  background-color: var(--form-color);
  outline: 0;
  box-shadow: none;
}

/* ============
  Header Styles
===============*/
.social-top-icons{
  display: flex;
  align-items: center;
  gap:10px;
}
.social-links {
  width: 30px;
  height: 30px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-text) !important;
}

/* ==============================
  Banner & Nav Styles Starts Here
=================================*/


.main-slides-content{
  max-width: 650px;
  margin: auto;
}

.banner_bg_1{
  background: linear-gradient(0deg, rgba(var(--secondary-overlay), 0.7), rgba(var(--secondary-overlay), 0.5)),
    url(/../public/includes/assets/banner.webp);
    
}
.banner_bg_2{
  background: linear-gradient(0deg, rgba(var(--secondary-overlay), 0.7), rgba(var(--secondary-overlay), 0.5)),
    url(/../public/includes/assets/Best-Seller-Section.webp);
}
.banner_bg_3{
  background: linear-gradient(0deg, rgba(var(--secondary-overlay), 0.7), rgba(var(--secondary-overlay), 0.5)),
    url(/../public/includes/assets/Contact-Section.webp);
}
.splide__banner{
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  padding: 180px 0 ;
}
.splide .splide__arrow {
  top: 0;
  bottom: 0;
  height: 100%;
  transform: none;
  border-radius: unset;
  width: 50px;
  opacity: 0.9;
}
.splide .splide__arrow svg {
  filter: invert(1);
  width: 24px;
  height: 24px;
}

.splide__arrow{
  background: unset;
  box-shadow: unset !important;
}
.border-waves{
  height:60px;
  width:100%;
  background: -webkit-gradient(radial, 50% 100%, 15, 50% 100%, 100, from(var(--wave-color)), color-stop(0.49, var(--wave-color)), color-stop(0.51, transparent), to(transparent));
  -webkit-background-size: 100px 100%;
  position: absolute;
  bottom: 0;
  z-index: 1;
}
.header-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}
@media(max-width:767px){
  .header-main{
    background-color: var(--secondary-color);
  }
}
.nav-link:hover,
.nav-link.active,
.nav-link:focus {
  color: var(--primary-text) !important;
  box-shadow: none;
}
.navbar .navbar-nav .nav-link {
  color: var(--light);
  outline: none;
}

/*================================================
  About Section Styles
=================================================*/
#about{
  position: relative;
}
.abt-gridwrapper {
  max-width: 550px;
}

.abt-gridwrapper div {
  width: 100%;
  height: 100%;
  position: relative;
}

.abt-gridwrapper>div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0px;
}

.abt-gridwrapper .first_img {
  border-top: 12px solid var(--primary-color);
}

.abt-gridwrapper .second_img {
  border-top: 12px solid var(--primary-color);
}

.abt-gridwrapper .third_img {
  border-bottom: 12px solid var(--primary-color);
}

.abt-gridwrapper .fourth_img {
  border-bottom: 12px solid var(--primary-color);
}

.abt-gridwrapper {
  display: grid;
  grid-gap: 0.5em;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: 120px;
  grid-auto-flow: dense;
}

.abt-gridwrapper .wide {
  grid-column: span 2;
}

.abt-gridwrapper .tall {
  grid-row: span 2;
}

.abt-gridwrapper .big {
  grid-column: span 2;
  grid-row: span 2;
}

.first-img {
  position: absolute;
  top: 0%;
  left: calc(50% - 200px);
  width: 400px;
}

.second-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 300px;
}

@media(max-width:1199px) {
  .abtimg-outer {
    min-height: 400px;
    margin-bottom: 100px;
  }

  .first-img {
    left: calc(50% - 175px);
    max-width: 350px;
  }

  .second-img {
    max-width: 250px;
    top: 60%;
    left: calc(70% - 150px);
  }
}
.certi_img img{
  width: 75px;
  height: 75px;
  object-fit: contain;
}

/*================================================
  Product Section Styles
=================================================*/

.bakery_img {
  width: 100px;
  height: 100px;
}

/*================================================
  Best Seller Section Background Styles
=================================================*/

.best_seller_bg {
  background: linear-gradient(0deg, rgba(var(--secondary-overlay), 0.7), rgba(var(--secondary-overlay), 0.4)),
    url(/../public/includes/assets/Best-Seller-Section.webp) no-repeat;
   background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

/*================================================
  Gallery Section Styles
=================================================*/

#demo {
  height: 100%;
  position: relative;
  overflow: hidden;
}

.thumb {
  margin-bottom: 30px;
}

.page-top {
  margin-top: 85px;
}

img.zoom {
  width: 100%;
  border-radius: 5px;
  object-fit: cover;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
}

.transition {
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -o-transform: scale(1.05);
  transform: scale(1.05);
}
.fancybox-overlay{
  background-color:rgba(0, 0, 0, 0.859);
}
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
  background-image: unset;
}
.fancybox-next span::after {
  content: '\f061';
  font-family: 'FontAwesome';
  font-size: 14px;
  color: white;
  background-color: rgba(var(--dark-rgb), 0.7);
  border: 1px solid white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.fancybox-prev span::after {
  content: '\f060';
  font-family: 'FontAwesome';
  font-size: 14px;
  color: white;
  background-color: rgba(var(--dark-rgb), 0.7);
  border: 1px solid white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.fancybox-close::after{
  content: '\f00d';
  font-family: 'FontAwesome';
  font-size: 20px;
  color: white;
  background-color: rgba(var(--dark-rgb), 1);
  border: 1px solid white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-header {
  border-bottom: none;
}

/*================================================
  Counter Section Background Styles
=================================================*/

.counter_bg {
  background: linear-gradient(0deg, rgba(var(--secondary-overlay), 0.7), rgba(var(--secondary-overlay), 0.4)),
    url(/../public/includes/assets/Counter-Section.webp) no-repeat;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

/*================================================
  News and Blog Section Styles
=================================================*/

.blog-post {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-post:hover {
  transform: translateY(-5px);
}

.blog-post .blog-main-img a.blog-img {
  display: block;
  position: relative;
}

.blog-post .blog-post-content .date-time {
  background-color: var(--primary-color);
  padding: 15px 30px;
  position: absolute;
  top: -22px;
}

.blog-post .blog-post-content {
  width: 90%;
  padding: 50px 30px 30px;
  margin: -60px auto 0;
  position: relative;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: var(--card-color);
  border: 1px solid var(--primary-color);
}

/*================================================
  Testimonials Section Styles
=================================================*/

.testi_img img {
  width: 60px;
  height: 60px;
}
#testimonial-main .owl-nav{
  display: flex !important;
  justify-content: center !important;
}
#testimonial-main .owl-theme .owl-prev, #testimonial-main .owl-theme .owl-next{
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 19px !important;
  background: var(--primary-color) !important;
  width: 50px;
  height: 50px;
  border-radius: 50% !important;
}
#testimonial-main .owl-theme .owl-prev:hover, #testimonial-main .owl-theme .owl-next:hover{
  background: var(--primary-hover-color);
  color: #FFF;
  text-decoration: none;
}
#testimonial-main .owl-item.center .test_content{
  background-color: var(--primary-color) !important;
}
#testimonial-main .owl-item.center .test_content p, #testimonial-main .owl-item.center .test_content h5{
  color: var(--white-text) !important;
}

/*================================================
  Contact Section Background Styles
=================================================*/

.contact_bg {
  background: linear-gradient(0deg, rgba(var(--secondary-overlay), 0.7), rgba(var(--secondary-overlay), 0.4)),
    url(/../public/includes/assets/Contact-Section.webp) no-repeat;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

.newsletter_bg {
  background: linear-gradient(0deg, rgba(var(--secondary-overlay), 0.7), rgba(var(--secondary-overlay), 0.4)),
    url(/../public/includes/assets/Newsletter.webp) no-repeat;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

.footer_bg {
  background: linear-gradient(0deg, rgba(var(--secondary-overlay), 1), rgba(var(--secondary-overlay), 0.4)),
    url(/../public/includes/assets/Footer-Section.webp) no-repeat;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}
.footer-gallery img{
  height: 70px;
}
/*================================================
  Instagram Feed Section Styles
=================================================*/

.img-overlay {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.img-overlay img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.img-overlay:hover img {
  transform: scale(1.1);
}

.img-overlay .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(var(--secondary-overlay), 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
}

.img-overlay:hover .overlay {
  opacity: 1;
}

.img-overlay .overlay .icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ==================
  Newsletter Section Styles
================== */

#newsletter .error:not(.form-control) {
  position: absolute;
  top: 100%;
}

/* ==================
  Back to top Styles
================== */

#backtotop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  border-radius: 50%;
  border: 2px dotted var(--white-color);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#backtotop:hover {
  cursor: pointer;
}

#backtotop.show {
  opacity: 1;
  visibility: visible;
}