html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

.hero-section {
    margin-top: -22px;
    min-height: 90vh;
    background-image: linear-gradient(rgba(0,0,0,0.40), rgba(0,0,0,0.50)), url(/image/SalonHero.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section .btn {
    border-radius: 8px;
    font-size: 15px;
}
/*About*/
.about-salon {
    background-color: #f8fafc;
}

    .about-salon h2 span {
        color: #0f172a;
    }
/*SErvices*/
.services-section {
    background: #ffffff;
}

.service-card {
    background: #f8fafc;
    padding: 30px 20px;
    border-radius: 16px;
    transition: all 0.4s ease;
    height: 100%;
}

    .service-card p {
        color: #64748b;
        font-size: 14px;
    }

.icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: #0f172a;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.4s ease;
}

/* Hover Effects */
.service-card:hover {
    background: #0f172a;
    transform: translateY(-10px);
}

    .service-card:hover h5,
    .service-card:hover p {
        color: #ffffff;
    }

    .service-card:hover .icon-box {
        background: #ffffff;
        color: #0f172a;
    }
/*Why choose us*/
.choose-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 14px;
    transition: 0.3s;
}

    .choose-card i {
        font-size: 36px;
        color: #0f172a;
        margin-bottom: 15px;
    }

    .choose-card:hover {
        transform: translateY(-8px);
    }
/*Our Team*/
.team-card img {
    height: 280px;
    object-fit: cover;
}
/*Our Work*/
.work-section {
    background: #f8fafc;
}

.work-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

    .work-card img {
        transition: transform 0.5s ease;
        width: 100%;
        height: 300px;
        object-fit: cover;
    }

.work-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    opacity: 0;
    transition: 0.4s;
}

    .work-overlay h5 {
        margin-bottom: 5px;
    }

.work-card:hover img {
    transform: scale(1.1);
}

.work-card:hover .work-overlay {
    opacity: 1;
}

/*Testimonials*/
.review-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    font-style: italic;
}

.cta-section {
    background: linear-gradient(135deg, #0f172a, #020617);
}

/*gallery*/
.gallery-section {
    background: #f8fafc;
}

/* Masonry layout */
.gallery-masonry {
    column-count: 4;
    column-gap: 20px;
}

.gallery-item {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 14px;
    break-inside: avoid;
}

    .gallery-item img {
        width: 100%;
        display: block;
        border-radius: 14px;
        transition: transform 0.5s ease;
    }

    /* Overlay */
    .gallery-item .overlay {
        position: absolute;
        inset: 0;
        background: rgba(15, 23, 42, 0.6);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        opacity: 0;
        transition: 0.4s;
    }

    /* Hover effects */
    .gallery-item:hover img {
        transform: scale(1.1);
    }

    .gallery-item:hover .overlay {
        opacity: 1;
    }

/* Responsive */
@media (max-width: 1200px) {
    .gallery-masonry {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .gallery-masonry {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .gallery-masonry {
        column-count: 1;
    }
}


