body{
    background-color: #f5f5f5;
}

.top-container{
    background-color: black;
}

.category-hero{
    width: 100%;
    height: 80vh;
}

.categories-main-cards {
    transition: 0.2s linear;
}


.category-hero .category-image{
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.category-hero .category-image img{
    width: 100%;
    height: 100%;
}

.category-hero .category-image .category-top-heading{
    position: absolute;
    left: 50px;
    max-width: 500px;
    display: flex;
    flex-direction:column;
    justify-content: start;
}

.category-hero .category-image .category-top-heading h1{
    color: white;
    font-size: clamp(1rem, 1rem + 3vw, 3rem);
}



.category-hero .category-image .category-top-heading img{
    margin: 0px;
    width: 80px;
}

#categories-top-elements .btns{
    /* padding: 0 5px; */
    box-shadow: 0 0 4px #d2d0d0;
    width: 100%;
    height: 10vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
}



#categories-top-elements button{
    width: 100%;
    cursor: pointer;
    height: 100%;
    font-weight: 400;
    font-family: 'Mortaga', serif;
    font-size: clamp(1rem, 0.5rem + 3vw, 2rem);
    border: black;
    box-shadow: 1px 1px  5px black inset;
    background:linear-gradient(to right bottom, #F8F3ED, #EBE3D8) ;
    transition: 0.3s ease-in-out;
}

#categories-top-elements button:hover{
    color: white;
    box-shadow: 2px 2px 10px black inset;
    background:#BF8F2C;
}

#categories-top-elements h1{
    font-size: clamp(2rem, 0.8rem + 4vw, 3rem);
}

#categories-top-elements .categories-cards{
    display: grid;
    margin: 0 10px;
    gap: 0.6rem;
    border: none;
    grid-template-columns: repeat(4, 1fr);
}

#categories-top-elements .categories-cards .card{
    border-radius: 10px;
    overflow: hidden;
    height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background:linear-gradient(to right bottom, #F8F3ED, #EBE3D8) ;
    transition: 0.3s linear;
}
#categories-top-elements .categories-cards .card:hover{
    box-shadow: 0 0 100px 50px #d1a567 inset;
}

#categories-top-elements .categories-cards .card img{
    max-width: 150px;
    margin-top: -10px;
    width: 100%;
}

#categories-top-elements .categories-cards .card h2{
    font-family: 'Mortaga', serif;
    margin: 0px 0 10px 0;
}
/* #categories-top-elements .categories-cards .card:nth-child(3) h2,
#categories-top-elements .categories-cards .card:nth-child(3) img,
#categories-top-elements .categories-cards .card:nth-child(4) h2,
#categories-top-elements .categories-cards .card:nth-child(4) img{
    margin-top: 18px;
} */



#categories-top-elements .categories-cards .card p{
    margin-bottom: 40px;
    color: black;

}
#categories-top-elements .categories-cards .card p span{
    margin: 0 5px;

}


/* Ribbon container */

/* Ribbon container and link styles */
.ribbon-container {
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    margin: 20px;
  }
  
  .ribbon {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
    width: 100%;
    padding: 10px 30px;
  }
  
  .ribbon-link {
    padding: 10px 45px;
    margin: 10px 10px;
    text-decoration: none;
    color: black;
    border-radius: 5px;
    background-color: #f1f1f1;
    transition: background-color 0.3s ease;
    white-space: nowrap;
  }
  
  .ribbon-link.active {
    background-color: #BF8F2C;
    color: white;
  }
  
  .ribbon::-webkit-scrollbar {
    display: none;
  }
  
  /* Card container styles */
/* Card container styles */

.card-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 20px 20px;
  }
  
  /* Card styles */
  .card {
    width: 100%;
    height: 100% ;
    padding: 0;
    margin: 0;
    position: relative;
    text-align: center;
    
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
  }


  .card-content{
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    position: relative;
  }


  
  .card:hover {
    transform: scale(1.04); /* Slight scale effect on hover */
  }

  .card:hover img{
    border-radius: 0px;
  }
  
  .card img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
  }
  
  /* Static text "360" in the top-right corner */

  .static-text{
    width: 100%;
    height: 100%;
  }
  .static-text img{
    position: absolute;
    width: 50px;
    top: 5px;
    right: 10px;
    font-size: 24px;
    padding: 5px;
    height: auto;
    transition: opacity 0.3s ease;
  }
  
  .card:hover .static-text {
    opacity: 0; /* Hide "360" text on hover */
  }
  
  /* Hover overlay styles */
  .hover-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay */
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
  }
  
  .card:hover .hover-overlay {
    background-color: none;
    opacity: 1; /* Show overlay on hover */
  }
  
  /* Hover text styles */
  .hover-text {
    text-transform: capitalize;
    color: white;
    font-size: 10px;
    text-align: center;
    margin-bottom: 20px;
  }

  .hover-text span{
    font-family: 'Mo';
    font-size: 2.8rem;
  }
  
  /* View in 360 button */
  .view-360-btn {
    background-color: #BF8F2C;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .view-360-btn:hover {
    background-color: white;
    border: 1px solid #BF8F2C;
    color: #BF8F2C;

  }




  /* Popup Button */
/* Existing card container and hover effect styles */

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7); /* Dimmed background */
  z-index: 1000;
  display: none; /* Initially hidden */
}

.popup.show {
  display: flex; /* Show popup when this class is added */
}

.popup-content {
  position: relative;
  width: 90%;
  max-width: 1200px; /* Max width for larger screens */
  height: 90%;
  max-height: 1000px; /* Max height for larger screens */
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popup-buttons {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background: #f1f1f1;
  border-top: 1px solid #ddd;
}

.popup-button {
  flex: 1;
  margin: 0 5px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

#book-now {
  background-color: green;
  color: #fff;
}

#close-popup {
  background-color: #e74c3c;
  color: #fff;
}

#book-now,
#close-popup {
  position: absolute;
  bottom: 20px;
}

#book-now {
  left: 20px;
}

#close-popup {
  right: 20px;
}

.footer{
  width: 100%;
}

@media (max-width: 768px) {
  .popup-content {
    width: 95%;
    height: 80%;
  }
}

  


  
  /* Responsive styles */
  @media (max-width: 996px) {
    .card-container {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  @media (max-width: 768px) {
    .card-container {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 440px) {
    .card-container {
      grid-template-columns: repeat(1, 1fr);
    }
  }
    
  /* Scroll button styles */
  .scroll-btn {
    background-color: #BF8F2C;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
  }
  
  .left-arrow {
    left: 0;
  }
  
  .right-arrow {
    right: 0;
  }
  



@media (max-width:996px) {
    .category-hero{
        height: 50vh;
    }

    #categories-top-elements .categories-cards{
        grid-template-columns: repeat(3, 1fr);
    }
    
}

@media (max-width:768px) {
    .category-hero{
        height: 50vh;
    }
    
    .category-hero .category-image .category-top-heading{
        left: 20px;
    }
    
    #categories-top-elements .categories-cards{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:440px) {
    #categories-top-elements .categories-cards{
        grid-template-columns: repeat(1, 1fr);
    }
}