/* Target only the text within the carousel */
#header-carousel .carousel-caption * {
    color: white !important;
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

/* If you have larger text (like headings) that need a stronger shadow */
#header-carousel .carousel-caption h1,
#header-carousel .carousel-caption h2,
#header-carousel .carousel-caption h3,
#header-carousel .carousel-caption h4,
#header-carousel .carousel-caption h5,
#header-carousel .carousel-caption h6 {
    text-shadow: 0 0 15px rgba(0,0,0,0.9);
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: .6s;
    transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    opacity: 0;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active,
.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-prev {
    transform: translateX(0);
    transform: translate3d(0, 0, 0);
}
#header-carousel .carousel-caption h5,
#header-carousel .carousel-caption p {
    color: white !important;
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

/* If you have larger text (like headings) that need a stronger shadow */
#header-carousel .carousel-caption h1,
#header-carousel .carousel-caption h2 {
    color: white !important;
    text-shadow: 0 0 15px rgba(0,0,0,0.9);
}

.site-header {
    position: absolute;
    top: 0; /* Change from 10px to 0 */
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: none;
    padding: 10px 0; /* Add padding to the header instead */
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1); /* Slight white background for the frost effect */
    backdrop-filter: blur(10px); /* This creates the frosted glass effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 10px; /* Add some top margin to the nav */
}

/* Ensure text is readable on the frosted background */
.nav a, .nav span {
    color: #000; /* Adjust this color as needed for contrast */
    font-weight: 500; /* Make the text slightly bolder for better readability */
}

/* Adjust the button style to fit the new navbar look */
.nav .btn-primary {
    background-color: rgba(0, 0, 0, 0.7);
    border: none;
    transition: background-color 0.3s ease;
}

.nav .btn-primary:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.logo {
    height: 30px;
    width: auto;
}

.container-fluid.p-0.mb-5.wow.fadeIn {
    position: relative;
    z-index: 1;
}

#header-carousel {
    position: relative;
    z-index: 2;
}

#header-carousel::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 10px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0));
    z-index: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-status {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background-color: #ffa500;
    border-radius: 50%;
    margin-right: 5px;
    flex-shrink: 0;
}

.btn-primary {
    background-color: #000;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
    transition: background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: #333 !important; /* Dark grey for hover/active state */
    color: #fff !important; /* Ensure text stays white */
    text-decoration: none; /* Prevent underline on hover */
    outline: none;
    box-shadow: none;
}

.btn-primary:active {
    transform: translateY(1px);
}

/* Ensure no outline in Firefox */
.btn-primary::-moz-focus-inner {
    border: 0;
}

/* Remove focus styles for all browsers */
.btn-primary:focus:not(:focus-visible) {
    outline: 0;
    box-shadow: none;
}

/* Responsive styles */
@media (max-width: 767px) {
    .site-header {
        top: 5px;
    }

    .nav {
        padding: 8px 12px;
    }

    .logo {
        /*height: 24px;*/
    }

    .nav-actions {
        gap: 6px;
    }

    .store-status {
        padding: 3px 8px;
        font-size: 12px;
    }

    .status-indicator {
        width: 6px;
        height: 6px;
    }

    .btn-primary {
        /*padding: 6px 12px;*/
        /*font-size: 12px;*/
    }
}

@supports not (backdrop-filter: blur(10px)) {
    .nav {
        background-color: rgba(255, 255, 255, 0.8); /* More opaque fallback */
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 6px 10px;
    }

    .logo {
        /*height: 20px;*/
    }

    .store-status {
        font-size: 10px;
        padding: 2px 6px;
    }

    .btn-primary {
        font-size: 10px;
        padding: 4px 8px;
    }
}






.rounded-custom {
    border-radius: 20px;
    overflow: hidden;
}
.rounded-top-custom {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.rounded-bottom-custom {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
.service-item {
    border-radius: 20px;
}
.service-item .bg-dark {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}
.price-container, .hours-container {
    display: flex;
    background-color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.price-container > div {
    flex: 1;
}
.price-container img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* General text color */
body, p, span, div, h1, h2, h3, h4, h5, h6 {
    color: #000000; /* Pure black */
}

/* For slightly softer contrast, you could use a very dark gray instead */
/* Uncomment the line below if you prefer dark gray over pure black */
/* color: #333333; */

/* Ensure headings are dark */
.text-uppercase, .text-primary {
    color: #000000 !important;
}

/* Service items text */
.service-item p, .service-item h3, .service-item span {
    color: #000000;
}

/* Pricing and working hours text */

/* Team member names and roles */
.team-item h5, .team-item span {
    color: #000000;
}

/* Testimonial text */
.testimonial-item h4, .testimonial-item p, .testimonial-item span {
    color: #000000;
}

/* Footer text */
.footer, .footer h4, .footer span, .footer a {
    color: #000000;
}

/* Ensure links are still visible */
a {
    color: #0056b3; /* Dark blue for links */
}
a:hover {
    color: #003d7a; /* Even darker on hover */
}

/* For any light backgrounds where black text might not be visible */
.bg-primary .text-white,
.bg-secondary .text-white,
.bg-dark .text-white {
    color: #000000 !important;
}

.team-item {
    background-color: var(--light);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.team-item:hover {
    filter: brightness(0.9);
}

.team-img {
    position: relative;
    overflow: hidden;
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.team-item:hover .team-social {
    opacity: 1;
}

.team-social .btn-square {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

/* Remove any existing ::before and ::after pseudo-elements */
.team-item .team-img::before,
.team-item .team-img::after {
    display: none;
}

.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 767px) {
    .barber-grid {
        display: flex;
        flex-wrap: wrap;
    }
    .barber-grid > div {
        padding: 0 10px;
    }
    .team-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 575px) {
    .barber-grid > div {
        padding: 0 5px;
    }
}

.tab {
    overflow: hidden;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 100;
    padding: 10px 0;
}

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
}

.tab button:hover {
    background-color: #ddd;
}

.tab button.active {
    background-color: #ccc;
}

.tabcontent {
    padding: 6px 12px;
    margin-top: 0px; /* Adjust this value based on the height of your tab */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    padding-top: 10px; /* Add some padding to prevent images from being cut off */
}




.book-me-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.book-me-btn:hover {
    background-color: #333333;
}

.team-item {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* Equal shadow on all sides */
}

.team-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.3); /* Darker shadow on hover, equal on all sides */
}

.service-item,
.price-container,
.hours-container {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* Equal shadow on all sides */
    border-radius: 20px; /* Ensure rounded corners */
}

.testimonial-item {
    box-shadow: none;
}

.team-img {
    position: relative;
    overflow: hidden;
}

.team-img img {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-item:hover .team-overlay {
    opacity: 1;
}

.team-overlay-text {
    color: white;
    font-size: 18px;
    text-align: center;
}

.team-item .bg-secondary {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

body.popup-open {
    overflow: hidden;
}

.blur-background {
    filter: blur(5px);
    transition: filter 0.3s ease;
}

.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.site-header {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    z-index: 1000;
    background: none;
}

.site-header .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1) !important; /* Force transparent background */
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Ensure text is readable on the frosted background */
.site-header .nav a, 
.site-header .nav span {
    color: #000 !important; /* Force black text */
    font-weight: 500;
}

/* Adjust the button style to fit the new navbar look */
.site-header .nav .btn-primary {
    background-color: rgba(0, 0, 0, 0.7) !important;
    border: none;
    transition: background-color 0.3s ease;
}

.site-header .nav .btn-primary:hover {
    background-color: rgba(0, 0, 0, 0.9) !important;
}

.logo {
    height: 30px;
    width: auto;
}

.nav-spacer {
    flex-grow: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-status {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background-color: #ffa500;
    border-radius: 50%;
    margin-right: 5px;
    flex-shrink: 0;
}

.btn-primary {
    background-color: #000;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
    transition: background-color 0.3s ease;
    border: none;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: #333; /* Dark grey for hover/active state */
    color: #fff; /* Ensure text stays white */
    text-decoration: none; /* Prevent underline on hover */
}

.btn-primary span.full-text {
    display: inline;
}

.btn-primary span.short-text {
    display: none;
}

@media (max-width: 767px) {
    .site-header {
        top: 5px;
    }

    .nav {
        padding: 8px 12px;
    }

    .logo {
        /*height: 24px;*/
    }

    .nav-actions {
        gap: 6px;
    }

    .store-status {
        padding: 3px 8px;
        font-size: 12px;
    }

    .status-indicator {
        width: 6px;
        height: 6px;
        margin-right: 3px;
    }

    .btn-primary {
        /*padding: 6px 12px;*/
        /*font-size: 12px;*/
    }

    .btn-primary span.full-text {
        display: none;
    }

    .btn-primary span.short-text {
        display: inline;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 6px 10px;
    }

    .logo {
        height: 20px;
    }

    .store-status {
        font-size: 10px;
        padding: 2px 6px;
    }

    .status-indicator {
        width: 5px;
        height: 5px;
        margin-right: 2px;
    }

    .btn-primary {
        /*font-size: 10px;*/
        /*padding: 4px 8px;*/
    }
}

.footer {
    background-color: #f8f9fa;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

.copyright {
    font-size: 14px;
}

.price-plan-container {
    display: flex;
    flex-wrap: wrap;
}

.price-list-column,
.price-image-column {
    width: 100%;
}

.price-image-column img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (min-width: 992px) {
    .price-list-column,
    .price-image-column {
        width: 50%;
    }
}

@media (max-width: 991px) {
    .price-plan-container {
        flex-direction: column-reverse;
    }
    
    .price-image-column {
        margin-bottom: 2rem;
    }
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

#header-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

#header-carousel::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40%; /* Adjust this value to control how high the gradient goes */
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 20%,
        rgba(255, 255, 255, 0.4) 40%,
        rgba(255, 255, 255, 0.6) 60%,
        rgba(255, 255, 255, 0.8) 80%,
        rgba(255, 255, 255, 1) 100%
    );
    pointer-events: none;
}

.carousel-inner {
    width: 100%;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}
