@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Geist:wght@100..900&display=swap');

* {
    padding: 0%;
    margin: 0%;
    text-decoration: none;
    list-style-type: none;
    box-sizing: border-box;
    border:none;
    
    
}

body {
    overflow-x: hidden;
    overflow-y: scroll;
}

/* 
    font-family: 'Synonym', sans-serif;
    font-family: 'Amulya', sans-serif;
*/


/* carousel */

.carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 65vh;
    object-fit: cover;
    display: block;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #757575;
    border: none;
    padding: 14px;
    height: 80px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 5px;
}

.prev {
    left: 0px;
    border-radius: 0px 4px 4px 0px;
}

.next {
    right: 0px;
    border-radius: 4px 0px 0px 4px;
}




@media (max-width: 768px) {
    .carousel {
        max-width: 90%;
    }
    .carousel-item img {
        max-height: 25vh;
    
    }
    .carousel-control {
        height: 70px;
        padding: 10px;
    }
}


@media (max-width: 458px) {
    .carousel {
        max-width: 90%;
    }
    .carousel-item img {
        max-height: 18vh;
        min-height: 15vh;
    
    }
    .carousel-control {
        height: 50px;
        padding: 8px;
    }
}


/* hero section */

.hero {
    min-height: 55vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('../images/pexels-tima-miroshnichenko-6195111.jpg') no-repeat center center/cover;
    position: relative;
}

/* Dark gradient mask overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 50, 0.7), rgba(0, 0, 50, 0.7));
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 20px;
    max-width: 800px;
    font-family: 'Amulya', sans-serif;
}

.heading {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.subheading {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.8;
}

.search-bar-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.search-bar {
    font-family: "Geist", sans-serif;
    width: 100%;
    max-width: 400px;
    padding: 15px 20px;
    border: none;
    border-radius: 25px 0 0 25px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 40px;
}

.search-button {
    padding: 15px 30px;
    border: none;
    border-radius: 0 25px 25px 0;
    background: #007bff;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

.search-button:hover {
    background: #0056b3;
}

.search-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
}

.search-button:hover .search-icon {
    animation: searchAnimation 1s ease infinite;
}

@keyframes searchAnimation {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(0, -3px) rotate(-10deg);
    }
    50% {
        transform: translate(2px, 0) rotate(0deg);
    }
    75% {
        transform: translate(0, 2px) rotate(10deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.search-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* New Animation for Placeholder */
@keyframes fadePlaceholder {
    0% {
        opacity: 1;
    }
    20% {
        opacity: 0;
    }
    30% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

.search-bar.animated::placeholder {
    animation: fadePlaceholder 4s ease infinite;
}


.services-section {
    height: 80vh;
    padding: 40px;
    font-family: 'Synonym', sans-serif;
}

.services-section h1 {
    margin-bottom: 35px;
    font-size: 20px;
}

.service-container {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: center;
}

.service {
    width: 25%;
    height: 180px;
    border-radius: 12px;
    border: 0.1px solid #757575;
}




.parent {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 12px;
    padding: 36px;
    height: 100vh;
    background-color: #F6F6F6;
}
    
.div1 {
    grid-row: span 3 / span 3;
    background-color: cornflowerblue;
    border-radius: 12px;
}

.div2 {
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;
    background-color: blue;
    border-radius: 12px;
}

.div3 {
    grid-column: span 2 / span 2;
    grid-row: span 3 / span 3;
    grid-column-start: 2;
    grid-row-start: 3;
    background-color: blueviolet;
    border-radius: 12px;
}

.div4 {
    grid-row: span 2 / span 2;
    grid-column-start: 1;
    grid-row-start: 4;
    background-color:darkred;
    border-radius: 12px;
}

.div7 {
    grid-row: span 2 / span 2;
    grid-column-start: 4;
    grid-row-start: 1;
    background-color: #0056b3;
    border-radius: 12px;
}

.div8 {
    grid-row: span 3 / span 3;
    grid-column-start: 5;
    grid-row-start: 1;
    background-color: darkblue;
    border-radius: 12px;
}

.div9 {
    grid-row: span 3 / span 3;
    grid-column-start: 4;
    grid-row-start: 3;
    background-color: darkseagreen;
    border-radius: 12px;
}

.div10 {
    grid-row: span 2 / span 2;
    grid-column-start: 5;
    grid-row-start: 4;
    background-color: crimson;
    border-radius: 12px;
}

.parent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}


.services-list {
    padding: 35px 35px 10px 35px;
    background-color: #F6F6F6;
    color: #404040;
    font-family: 'Amulya', sans-serif;
    
}
.services-list h1 {
    font-size: 2.2rem;
    color: #000000;
}

.all_category {
    font-family: 'Amulya', sans-serif;
    color: #404040;
    width: 100%;
    padding: 40px 0px 0px 40px;
}
.all_category h1 {
    font-size: 2.2rem;
    color: #000000;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); 
    gap: 20px; 
    padding: 40px 60px;
   
}

.box {
    aspect-ratio: 1 / 0.7; 
    background-color: #F3F6FE; 
    border-radius: 12px; 
    display: flex;
    align-items: center;
    flex-direction: column;
    font-family: 'Synonym', sans-serif;
    font-size: 13px;
    font-weight: bold;
    color: #757575;
    padding: 10px;
}

.ac {
    width: 90%;
    height: 90px;
    margin-bottom: 4px;
}

.ac img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); 
        gap: 20px; 
        padding: 30px;
    }

    .box {
        padding: 8px;
        font-size: 8.5px;
    }

    .ac {
        width: 100%;
        height: 50px;
        margin-bottom: 3px;
    }

    .all_category {
        padding-left: 20px;
        padding-top: 28px;
    }

    .all_category h1 {
        font-size: 1.6rem;
    }

    .parent {
        display: none;
    }
    .services-list {
        display: none;
    }

    .container {
        padding: 0px;
        height: auto;
    }
    .hero {
        background: none;
        min-height: 0px;
       
    }
    .hero::before {
        display: none;
    }

    .heading {
       display: none;
    }
    .subheading {
        display: none;
    }

    .search-bar-container {
        padding: 15px;
        padding-top: 20px;
        margin: 0%;
    }
    .search-bar {
        padding: 5px 20px;
    
    }

}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr)); /* Keep it automatic */
        gap: 20px; 
        padding: 25px;
    }
    .box {
        padding: 5px;
        font-size: 6.5px;
        
    }

    .ac {
        height: 40px;
        margin-bottom: 6px;
    }
    .all_category {
        padding-left: 20px;
        padding-top: 25px;
    }

    .all_category h1 {
        font-size: 1.2rem;
    }

    .parent {
        display: none;
    }
    .services-list {
        display: none;
    }

    .container {
        padding: 0px;
        height: auto;
    }
    .hero {
        background: none;
        min-height: 0px;
       
    }
    .hero::before {
        display: none;
    }

    .heading {
       display: none;
    }
    .subheading {
        display: none;
    }

    .search-bar-container {
        padding: 15px;
        padding-top: 20px;
        margin: 0%;
    }
    .search-bar {
        padding: 5px 20px;
        height: 40px;
    
    }
    .search-button {
        padding: 0;
        width: 60px;
    }

    .search-icon {
        width: 20px;
        height: 20px;
    }
  
}

/* salon for women */

.Salon_for_Women_tittle {
    padding: 20px 35px;
    font-size: 2.2rem;
    font-family: 'Amulya', sans-serif;
}

.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 20px;
    overflow: hidden;
    padding: 20px 0px 40px 0px;
}

.slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* Smooth touch scrolling */
    font-family: "Geist", sans-serif;
}

.slider::-webkit-scrollbar {
    display: none; /* Hide scrollbar */
}

.slide {
    flex: 0 0 233px; /* Fixed width for each slide */
    height: 278px;
    scroll-snap-align: start;
    text-align: center;
    border-radius: 12px;
    border: 1px solid rgba(243, 243, 243, 1);
    transition: all 0.1s ease-in-out;
    position: relative;
    &:hover {
        border: 1px solid rgba(0, 0, 0, 0.3);
    }
}

.slide h4 {
    position: absolute;
    left: 20px;
    top: 25px;
    color: #101010;
    font-weight: 500;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    
   
}

.slide p {
    margin-top: 10px;
    font-size: 14px;
}

.arrow {
    position: absolute;
    z-index: 100;
    width: 30px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    display: none;
    
}

.arrow.left {
    left: 0px;
    border-radius: 0px 4px  4px 0px;
}

.arrow.right {
    right: 0px;
    border-radius: 4px 0px  0px 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slide {
        flex: 0 0 200px;
        height: 240px;
    }

    .arrow {
        height: 40px;
        width: 20px;
       
    }

    .Salon_for_Women_tittle {
        font-size: 1.6rem;
        padding: 20px;

    }

    .slider-container {
        margin: 0px 0px 0px 20px;
    
    }
  
}

@media (max-width: 480px) {
    .slide {
        flex: 0 0 160px;
        height: 192px;
    }

    .Salon_for_Women_tittle {
        font-size: 1.2rem;
        padding: 0px 0px 0px 20px;
    }
    
}


/* popular services */
.all_popular_services_container {
    font-family: 'Amulya', sans-serif;
    color: #404040;
    width: 100%;
    padding: 40px 0px 0px 40px;
    margin-bottom: 40px;
}

.all_popular_services_container h1 {
    font-size: 2.2rem;
    color: #000000;
}

.popular_services {
    width: 100%;
    padding: 30px;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
}

.first_popular_services {
    background-color: #ffffff;
    border-radius: 12px;
    width: 350px;
    height: 250px;
    border: 0.1px solid #959595;
    flex-shrink: 0;
    position: relative; /* For positioning child elements */
}

.popular_services::-webkit-scrollbar {
    display: none;
}
.popular_services {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.first_popular_services_content {
    width: 100%;
    height: 100%;
    position: relative; /* For overlay positioning */
}

.first_popular_services_content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* New Mask Overlay */
.mask-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%; 
    background: linear-gradient(to top, #000000 0%, transparent 100%); /* Red mask from bottom */
    display: flex;
    align-items: flex-end; 
    justify-content: center;
    padding-bottom: 10px; 
    border-radius: 12px;
    gap: 15px;
}

/* Text Styling */
.service-text {
    color: #ffffff; /* White text for contrast */
    font-family: 'Amulya', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    
}

@media (max-width: 768px) {
    .all_popular_services_container h1 {
        font-size: 1.6rem;
    }
    .all_popular_services_container {
        padding: 20px 0px 0px 20px;
    }
    .popular_services {
        padding: 20px;
    }
    .first_popular_services {
        width: 200px;
        height: 140px;
    }
    .mask-overlay {
        gap: 10px;
        padding-bottom: 8px;
    }
    .service-text {
        font-size: 0.9rem; /* Adjust text size for smaller screens */
        
    }
}

@media (max-width: 458px) {
    .all_popular_services_container {
        padding: 20px 0px 0px 20px;
    }
    .all_popular_services_container h1 {
        font-size: 1.2rem;
    }
    .popular_services {
        padding: 20px;
    }
    .first_popular_services {
        width: 160px;
        height: 114px;
    }
    .mask-overlay {
        gap: 8px;
        padding-bottom: 4px;
    }
    .service-text {
        font-size: 0.7rem; /* Further adjust text size */
    }
}