@font-face {
    font-family: 'Great Vibes';
    src: url('../fonts/GreatVibes-Regular.woff2') format('woff2'),
        url('../fonts/GreatVibes-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Futura Cyrillic Book';
    src: url('../fonts/FuturaCyrillicBook.woff2') format('woff2'),
        url('../fonts/FuturaCyrillicBook.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura Cyrillic';
    src: url('../fonts/FuturaCyrillicHeavy.woff2') format('woff2'),
        url('../fonts/FuturaCyrillicHeavy.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura Cyrillic';
    src: url('../fonts/FuturaCyrillic-Bold.woff2') format('woff2'),
        url('../fonts/FuturaCyrillic-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura Cyrillic Demi';
    src: url('../fonts/FuturaCyrillic-Demi.woff2') format('woff2'),
        url('../fonts/FuturaCyrillic-Demi.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura Cyrillic Extra';
    src: url('../fonts/FuturaCyrillic-ExtraBold.woff2') format('woff2'),
        url('../fonts/FuturaCyrillic-ExtraBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}


html,
body {
    position: relative;
    height: 100%;
}

body {
    /* background: url("../image/background.jpg"); */
    font-family: "Futura Cyrillic Book";
    font-size: 16px;
    margin: 0;
    padding: 0;
}

header {
    position: relative;
    width: 100%;
    top: 0;
    right: 10px;
    display: flex;
    justify-content: end;
    height: 56px;
    z-index: 999;
}
.maindiv{
    height: 94vh;
    display: flex;
    background-image: url(../image/rockey-view.png);
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}
header .logo {
    width: 87px;
    position: absolute;
    z-index: 999999;
    top: 0;
}
.flexd{
    padding: 5px;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    gap: 10px; /* Space between grid items */
    align-items: center;
    justify-content: center;
    overflow: visible;
}
.flexd-container{
   padding: 20px;
   text-align: center;
   transition: transform 0.5s ease-in-out;
   height: 100%;
   display: flex;
   flex-direction: column;
   justify-content: end;
   align-items: center;
}
.flexd-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
   
    position: relative;
  }
  .product-images{
    transform: scale(1.3);
    transition: transform 1s ease, z-index 0.5s;
    overflow: visible;
  }
  .highlight {
    transform: scale(1); /* Scale up by 10% */
    transition: transform 0.5s ease-in-out; /* Smooth transition */
    /* background: #e9faff; */
  }
  .product-title {
    font-size: 22px;
    display: block;
    align-items: center;
    flex-direction: column;
    justify-content: start;
    color: #fffdfd;
    top: -117px;
    position: relative;
    font-weight: 700;
}
.highlight .product-title{
    color: #e2ff00;
    font-size: 25px;
}
.highlight .product-images{
    transform: scale(2.1); /* Scale up by 10% */
    transition: transform 0.5s ease-in-out; /* Smooth transition */
}
.gown {
    position: absolute;
    width: 20%; /* Adjust gown image size */
  }

  .gown img {
    width: 100%;
    display: block;
  }

  /* Arrange gowns */
  .gown.left1 {top: 41%;left: 9%;transform: translate(-50%, -50%) rotate(-5deg);}
  .gown.left2 {top: 22%;left: 31%;transform: translate(-50%, -50%) rotate(0deg);}
  .gown.right1 {top: 21%;right: 37%;transform: translate(50%, -50%) rotate(0deg);}
  .gown.right2 {top: 46%;right: 13%;transform: translate(50%, -50%) rotate(5deg);}
  .gown.center { top: 30%; left: 50%; transform: translate(-50%, -50%); }


   /* Thumbnails section */
   .thumbnails {
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 50%;
    height: 150px;
  }

  .thumbnail {
    width: 100px;
    height: 100px;
    border: 3px solid transparent;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, border 0.3s ease;
  }

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

  .thumbnail:hover {
    transform: scale(1.1);
    border: 3px solid white;
  }

  /* Semi-circle arrangement */
  .thumbnails .thumbnail:nth-child(1) {transform: translateY(51px) rotate(-30deg);}
  .thumbnails .thumbnail:nth-child(2) {transform: translateY(-1px) rotate(-15deg);}
  .thumbnails .thumbnail:nth-child(3) {transform: translateY(-24px);}
  .thumbnails .thumbnail:nth-child(4) {transform: translateY(1px) rotate(15deg);}
  .thumbnails .thumbnail:nth-child(5) {transform: translateY(65px) rotate(30deg);}
  .thumbnail.active{
    border: 3px solid #e2ff00;
    box-shadow: 0px 13px 9px #0000004a;
  }
  .changebg {
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #e2ff00;
    font-size: 22px;
    text-shadow: 3px 1px 4px rgb(0 0 0 / 52%);
    pointer-events: none; /* Prevent text blocking click */
    text-transform: uppercase;
  }

  .owl-nav .owl-next, .owl-nav .owl-prev{
    position: absolute;
    top: 50%;
    background-color: #ffffff;
    color: #fff;
    margin: 0;
    transition: all 0.3s ease-in-out;
  }
  
  .owl-nav .owl-prev {
    left: 0;
  }
  
  .owl-nav .owl-next {
    right: 0;
  }
  
  .owl-dots {
    text-align: center;
    padding-top: 15px;
  }
  
  .owl-dots .owl-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-block;
    background: #ccc;
    margin: 0 3px;
  }
  
  .owl-dots .owl-dot.active {
    background-color: #000;
  }
  
  .owl-dots .owl-dot:focus {
    outline: none;
  }
  
 
  .owl-nav span {
    font-size: 70px;
    position: relative;
    top: -5px;
  }
  
  .owl-nav button:focus {
    outline: none;
  }

  .modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 20px;
    width: 100%;
    max-width: 52%;
    height: max-content;
}

.modal-content {
    text-align: center;
    flex-direction: row;
    border: 0;
    box-shadow: inset 1px 3px 15px #00000042;
}
.know-more-btn {
    border: 0px;
    z-index: 999;
    top: -112px;
    position: relative;
    background: red;
    border-radius: 22px;
    color: white;
}
.highlight .know-more-btn{
    background:#fff;
    color:black
}
.modal-thumbnail {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    margin-bottom: 0;
    background: #00000012;
    flex-basis: 100%;
}

.close-btn {
    position: absolute;
    top: -19px;
    right: -19px;
    cursor: pointer;
    font-size: 29px;
    color: #ffffff;
    background: red;
    width: 24px;
    height: 24px;
    line-height: 22px;
    border-radius: 50%;
}
.details{flex-basis: 100%;padding: 10px;text-align: left;}
#modal-title{font-size: 28px;font-weight: 600;}
#modal-description{

}
#modal-price{font-size: 22px;color: #0d6efd;font-weight: 550;font-family: 'Montserrat';}
  @media (max-width: 768px) { /* Adjust breakpoint as needed */
    .flexd-container {
        display: none; /* Hide all product containers by default */
    }

    .flexd-container.highlight {
        display: block; /* Show only the highlighted product */
    }
    .flexd {
        padding: 5px;
        display: grid
    ;
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    .gown {
        position: absolute;
        width: 100%;
    }
    .product-title {
        top: -12px;
    }
    .gown.left1,  .gown.left2, .gown.right1,  .gown.right2 {
        top: 60px;
        left: 0;
        transform: translate(0, 0%) rotate(0deg);
        overflow: hidden;
        right:0;
    }
    .highlight .product-images {
        transform: scale(1.2);
        transition: transform 0.5s ease-in-out;
        top: 20px;
        position: relative;
    }
    .maindiv{
        height: 75vh;
    }
    .thumbnails {
        bottom: 18%;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 71%;
        height: 75px;
    }
    .thumbnail {
        width: 40px;
        height: 40px;
    }
    .thumbnail img {
        width: 100%;
        display: block;
        height: 100%;
        object-fit: cover;
    }
    .thumbnails .thumbnail:nth-child(1) {
        transform: translateY(27px) rotate(-30deg);
    }
    .thumbnails .thumbnail:nth-child(5) {
        transform: translateY(27px) rotate(30deg);
    }
    .changebg {
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #e2ff00;
        font-size: 12px;
        text-shadow: 3px 1px 4px rgb(0 0 0 / 52%);
        pointer-events: none;
        text-transform: uppercase;
    }
    .thumbnails .thumbnail:nth-child(3) {
        transform: translateY(-13px);
    }
    .thumbnail.active img{
        animation: pulse 1s infinite ease-in-out alternate;
        
    }
    @keyframes pulse {
        from { transform: scale(1); }
        to { transform: scale(1.5); }
      }
     .know-more-btn {
        top: -10px;
      }
      #modal-description {
        max-height: 100px;
        overflow: auto;
    }
    .modal {
        max-width: 96%;
    }
    .modal-content {
        text-align: center;
        flex-direction: column;
    }
    .modal-thumbnail {
        width: 100%;
        max-height: 270px;
    }
}

