/* KAIS Barber & Hair - Custom Styles */
/* Color Scheme: Gold (#D4AF37) and Black (#000000) */

* {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

/* Banner Section */
#banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), url(images/kaisbanner2.jpg);
    background-position: center;
    background-size: cover;
    height: 100vh;
    position: relative;
}

.logo {
    position: absolute;
    height: 150px;
    width: auto;
    top: 4%;
    left: 10%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.banner-text {
    text-align: center;
    color: #fff;
    padding-top: 180px;
}

.banner-text h1 {
    font-size: 130px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.banner-text .price-highlight {
    font-size: 28px;
    font-weight: 600;
    color: #D4AF37;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    margin-bottom: 30px;
    display: block;
}

.banner-btn {
    margin: 70px auto 0;
}

.banner-btn a {
    width: 180px;
    text-decoration: none;
    display: inline-block;
    margin: 0 15px;
    padding: 15px 0;
    color: #fff;
    border: 2px solid #D4AF37;
    position: relative;
    z-index: 1;
    transition: all 0.5s;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.book-now-btn {
    background: #D4AF37 !important;
    color: #000 !important;
    font-weight: 700;
}

.banner-btn a span {
    position: absolute;
    width: 0%;
    height: 100%;
    top: 0;
    left: 0;
    background: #D4AF37;
    z-index: -1;
    transition: 0.5s;
}

.banner-btn a:hover span {
    width: 100%;
}

.banner-btn a:hover {
    color: #000;
    border-color: #D4AF37;
}

/* Navigation */
#sideNav {
    position: fixed;
    right: -250px;
    top: 0;
    width: 250px;
    height: 100vh;
    background: linear-gradient(135deg, #000, #1a1a1a);
    z-index: 2;
    transition: 0.5s;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

nav ul li {
    margin: 50px 20px;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #D4AF37;
}

#menuBtn {
    width: 50px;
    height: 50px;
    background: #D4AF37;
    text-align: center;
    position: fixed;
    right: 30px;
    top: 20px;
    border-radius: 5px;
    z-index: 3;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

#menuBtn:hover {
    background: #B8941F;
    transform: translateY(-2px);
}

#menuBtn img {
    width: 20px;
    margin-top: 15px;
}

@media screen and (max-width: 770px) {
    .banner-text h1 {
        font-size: 44px;
    }
    
    .banner-text .price-highlight {
        font-size: 20px;
    }

    .banner-btn a {
        display: block;
        margin: 20px auto;
        width: 200px;
    }
    
    .logo {
        height: 100px;
        left: 5%;
        top: 2%;
    }
}

/* Features Section */
#feature {
    width: 100%;
    padding: 70px 0;
    background: #f8f8f8;
}

.title-text {
    text-align: center;
    padding-bottom: 70px;
}

.title-text p {
    margin: auto;
    font-size: 20px;
    color: #D4AF37;
    font-weight: bold;
    font-family: 'Open Sans', sans-serif;
    position: relative;
    z-index: 1;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.title-text p::after {
    content: '';
    width: 50px;
    height: 35px;
    background: linear-gradient(135deg, #D4AF37, #F4D03F);
    top: -20px;
    position: absolute;
    left: 0;
    z-index: -1;
    border-top-left-radius: 35px;
    border-bottom-right-radius: 35px;
    transform: rotate(10deg);
}.title-text h1 {
    font-size: 50px;
    font-family: 'Playfair Display', serif;
    color: #333;
    margin-top: 20px;
}

.feature-box {
    width: 80%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
}

.features {
    flex-basis: 50%;
}

.features-img {
    flex-basis: 50%;
    margin: auto;
}

.features-img img {
    width: 70%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.features h1 {
    text-align: left;
    margin-bottom: 10px;
    font-weight: 700;
    color: #D4AF37;
    font-family: 'Playfair Display', serif;
}

.features-desc {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.feature-icon .fa {
    width: 50px;
    height: 50px;
    font-size: 30px;
    line-height: 50px;
    border-radius: 8px;
    color: #D4AF37;
    border: 2px solid #D4AF37;
    background: rgba(212, 175, 55, 0.1);
    transition: all 0.3s;
}

.feature-icon .fa:hover {
    background: #D4AF37;
    color: #fff;
}

.feature-text p {
    padding: 0 20px;
    text-align: initial;
    color: #666;
    line-height: 1.6;
}

@media screen and (max-width: 770px) {
    .title-text h1 {
        font-size: 35px;
    }

    .features {
        flex-basis: 100%;
    }

    .features-img {
        flex-basis: 100%;
    }

    .features-img img {
        width: 100%;
        border-radius: 10px;
    }
}

/* SERVICES */
#service {
    width: 100%;
    padding: 70px 0;
    background: #fff;
}

.service-box {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: auto;
}

.single-service {
    flex-basis: 48%;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.single-service:hover {
    transform: translateY(-5px);
}

.featured-service {
    border: 3px solid #D4AF37;
}

.single-service img {
    width: 100%;
    border-radius: 7px;
    height: 300px;
    object-fit: cover;
}

.overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    border-radius: 7px;
    cursor: pointer;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(212, 175, 55, 0.8));
    opacity: 0;
    transition: 1s;
}

.single-service:hover .overlay {
    opacity: 1;
}

.service-desc {
    width: 80%;
    position: absolute;
    bottom: 0;
    opacity: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: 1s;
    padding: 20px;
}

.service-desc h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 10px;
}

.service-price {
    font-size: 28px;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 10px;
}

hr {
    background: #D4AF37;
    height: 3px;
    border: 0;
    margin: 15px auto;
    width: 60%;
}

.service-desc p {
    font-size: 14px;
    line-height: 1.5;
}

.single-service:hover .service-desc {
    bottom: 40%;
    opacity: 1;
}

.service-cta {
    text-align: center;
    margin-top: 50px;
}

.whatsapp-btn {
    display: inline-block;
    background: #25D366;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn .fa {
    margin-right: 10px;
    font-size: 20px;
}

@media screen and (max-width: 770px) {
    .single-service {
        flex-basis: 100%;
        margin-bottom: 30px;
    }

    .service-desc p {
        font-size: 12px;
    }

    hr {
        margin: 5px auto;
    }

    .single-service:hover .service-desc {
        bottom: 25% !important;
    }
    
    .whatsapp-btn {
        padding: 12px 25px;
        font-size: 16px;
    }
}

/* LOCATION SECTION */
#location {
    width: 100%;
    padding: 70px 0;
    background: #f8f8f8;
}

.location-content {
    width: 80%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.map-container {
    flex-basis: 60%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.location-info {
    flex-basis: 35%;
}

.address-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-top: 4px solid #D4AF37;
}

.address-card h3 {
    font-family: 'Playfair Display', serif;
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

.address-card h3 .fa {
    color: #D4AF37;
    margin-right: 10px;
}

.address-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 16px;
}

.directions-btn {
    display: inline-block;
    background: #D4AF37;
    color: #000;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.directions-btn:hover {
    background: #B8941F;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.directions-btn .fa {
    margin-right: 8px;
}

@media screen and (max-width: 770px) {
    .location-content {
        flex-direction: column;
    }
    
    .map-container, .location-info {
        flex-basis: 100%;
    }
}

/* TESTIMONIALS */

#testimonial {
    width: 100%;
    padding: 70px 0;
}

.testimonial-row {
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.testimonial-col {
    flex-basis: 28%;
    padding: 10px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 10px 20px 3px #00968814;
    cursor: pointer;
    transition: transform 0.5s;
}

.testimonial-col p {
    font-size: 14px;
}

.user {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.user img {
    width: 40px;
    margin-right: 20px;
    border-radius: 3px;
}

.user-info .fa {
    margin-left: 10px;
    color: #27c0ff;
    font-size: 20px;
}

.user-info small {
    color: #009688;
}

.testimonial-col:hover {
    transform: translateY(-7px);
}

@media screen and (max-width: 770px) {
    .testimonial-col {
        flex-basis: 100%;
    }
}

/* FOOTER */
#footer {
    padding: 100px 0 20px;
    background: linear-gradient(135deg, #1a1a1a, #000);
    position: relative;
    color: #fff;
}

.footer-row {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-left,
.footer-right {
    flex-basis: 45%;
    padding: 10px;
    margin-bottom: 20px;
}

.footer-right {
    text-align: right;
}

.footer-row h1 {
    margin: 10px 0;
    color: #D4AF37;
    font-family: 'Playfair Display', serif;
}

.footer-row p {
    line-height: 35px;
    color: #ccc;
}

.footer-row a {
    color: #D4AF37;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-row a:hover {
    color: #F4D03F;
}

.footer-left .fa,
.footer-right .fa {
    font-size: 20px;
    color: #D4AF37;
    margin: 10px;
}

.footer-img {
    max-width: 370px;
    opacity: 0.05;
    position: absolute;
    left: 50%;
    top: 35%;
    transform: translate(-50%, -50%);
}

.social-links {
    text-align: center;
    margin-top: 40px;
}

.social-links a {
    text-decoration: none;
    display: inline-block;
    margin: 0 5px;
}

.social-links .fa {
    height: 50px;
    width: 50px;
    font-size: 24px;
    line-height: 50px;
    border: 2px solid #D4AF37;
    margin: 40px 5px 0;
    color: #D4AF37;
    cursor: pointer;
    transition: all 0.5s;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
}

.social-links .fa:hover {
    background: #D4AF37;
    color: #000;
    transform: translateY(-7px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.social-links p {
    font-size: 14px;
    margin-top: 30px;
    color: #888;
    font-weight: 300;
}

@media screen and (max-width: 770px) {
    .footer-left,
    .footer-right {
        flex-basis: 100%;
        font-size: 14px;
        text-align: center;
    }

    .footer-img {
        top: 25%;
    }
    
    .social-links .fa {
        height: 45px;
        width: 45px;
        font-size: 20px;
        line-height: 45px;
        margin: 20px 3px 0;
    }
}

/* Additional Utility Classes */
.text-gold {
    color: #D4AF37;
}

.bg-gold {
    background-color: #D4AF37;
}

.btn-gold {
    background: #D4AF37;
    color: #000;
    border: 2px solid #D4AF37;
    transition: all 0.3s;
}

.btn-gold:hover {
    background: transparent;
    color: #D4AF37;
}

/* Smooth scrolling enhancement */
html {
    scroll-behavior: smooth;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}