/*Code for fonts*/
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1, h2, h5, h6 {
    font-family: 'LimeLight', Arial, sans-serif;
}

h3, h4 {
    font-family: 'LimeLight', Arial, sans-serif;
}


#Meet p {
    padding-top: 7px;
    font-size: 22px !important;
}


h1:focus {
    outline: none;
}

a {
    text-decoration: none;
}

a, .btn-link {
    color: #0071c1;
    text-decoration: none !important;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}


/*gap space for Meet section*/
.custom-gap {
    gap: 30px;
}

/*Darker color for Nav Items*/
.navbar-custom {
    color: #000000;
}

.nav-title {
    font-size: 0.8rem;
    margin-left: -15px;
    font-family: 'Limelight';
}
/*Header color "cajin red"*/
.bg-custom {
    background-color: #8D422F;
}

/*Navigation color "gray"*/
.bg-custom2 {
    background-color: #a9a9a9;
}

/*White color with border*/
.bg-custom3 {
    background-color: #ffff;
    border: 2px solid #8D422F;
    padding: 15px;
    border-radius: 8px;
}

/*Color for Meet The Team Background*/
.bg-custom4 {
    background-color: rgba(245, 222, 179, 25%);
}

/*Code for card images*/
.img-container {
    width: 100%;
    height: 349px;
    overflow: hidden;
    position: relative;
    box-shadow: 8px 8px 15px;
    margin-bottom: 10px;
    border-style: solid;
    border-width: 1px;
}

    .img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 45%;
    }

#George {
}
/*Code for fade carousel*/

.carousel-container {
    position: relative;
    height: 775px;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    border-radius: 20px;
}


    .carousel-images {
        position: absolute;
        width: 100%;
        height: 100%;
    }

    .carousel-images img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        animation: fade 42s infinite ease-in-out;
        border-radius: 20px;
    }

        .carousel-images img:nth-child(1) { animation-delay: 0s;  }
        .carousel-images img:nth-child(2) { animation-delay: 6s;  }
        .carousel-images img:nth-child(3) { animation-delay: 12s; }
        .carousel-images img:nth-child(4) { animation-delay: 18s; }
        .carousel-images img:nth-child(5) { animation-delay: 24s; }
        .carousel-images img:nth-child(6) { animation-delay: 30s; }
        .carousel-images img:nth-child(7) { animation-delay: 36s; }

        
    .carousel-images img:nth-child(3) {
        object-position: right;
    }

@keyframes fade {
    0% { opacity: 0; }
    8% { opacity: 1; }
    20% { opacity: 1; }
    25% { opacity: 0; }
    100% { opacity: 0; }
}


#aboutparallax .col-lg-6 {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
}
/*Code for parallax background*/

.parallax-section {
    position: relative;
    overflow: hidden;
    z-index: 0;
    min-height: 500px;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 125%;
    background-image: url('https://supremelegacybarbershop.blob.core.windows.net/barberphotos/Store logo.jpg'); /* Use any background image URL here */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.parallax-content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.8);
    padding: 3rem;
    margin-left: 2rem;
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 8px;
}

/*.parallax {
    background-image: url('https://supremelegacybarbershop.blob.core.windows.net/barberphotos/Store logo.jpg');*/ /* Use any background image URL here */
    /*min-height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #4A4A4A;
}

    .parallax .container {
        background: rgba(255, 255, 255, 0.8);*/ /* Slightly transparent background for text readability */
        /*padding: 3rem;
        border-radius: 8px;
    }*/


/*Code for collapse*/

.collapsible-header {
    cursor: pointer;
    margin-bottom: 0.5em;
}

.arrow-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.arrow-icon.rotate {
    transform: rotate(180deg);
}

.collapsible-content {
    display: none;
    padding-left: 8px;
    padding-right: 8px;
}

/* Code for the Gallary Carousel*/

@keyframes scrollLeft {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.scrolling-carousel {
    overflow-y: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

    .scrolling-carousel::-webkit-scrollbar {
        display: none;
    }

    .scrolling-carousel:active {
        cursor: grabbing;
    }

.carousel-track {
    display: inline-flex;
    animation: scrollLeft 38s linear infinite;
    will-change: transform;
    pointer-events: auto;
}

.carousel-it {
    flex: 0 0 auto;
    position: relative;
    border-radius: 10px;
    margin-right: 20px;
    width: 150px;
}

.carousel-it img {
    box-shadow: 8px 8px 15px #0000;
    height: 200px;
    width: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    display: block;
    object-fit: cover;
}

    .carousel-it img:hover {
        transform: scale(1.05); /* Slight zoom effect on hover */
        filter: brightness(0.8);
    }

    .carousel-it img::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0); /* Initially transparent */
        transition: background-color 0.3s ease;
    }

    .carousel-it img:hover::after {
        background: black;
        background-color: rgba(0, 0, 0, 0.5); /* Overlay color on hover */
    }

.carousel-title {
    text-align: center;
    font-family: "Lato", serif;
    font-size: 2rem;
    letter-spacing: 0.4rem;
    position: absolute;
    border-radius: 10px;
    display: block;
    width: 60%;
    left: 20%;
    top: -40%;
    z-index: 1;
    color: #fff;
    border: 2px solid #fff;
    transition: top 0.5s;
}

.scrolling-carousel:hover .carousel-track {
    animation-play-state: paused;
}

.scrolling-carousel:hover .carousel-track2 {
    animation-play-state: paused;
}

.block {
    box-shadow: 8px 8px 15px #000;
    overflow: hidden;
    position: relative;
    margin-bottom: 10%;
    border-style: solid;
    border-color: #000;
    border-width: 1px;
    border-radius: 12px;
    height: 150px !important;
}



/* Misc css styles */


#About, #Meet, #Location {
    scroll-margin-top: 180px;
}

.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;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

*,
*:after,
*:before {
    box-sizing: border-box;
}

:root {
    --color-background: #fcf8f3;
    --color-primary: #e7305b;
    --color-border: #4d3e3e;
    --color-white: #f9f9f9;
}

body {
    background-color: var(--color-background);
}

.map-container {
    width: 50%;
    height: 50%;
    min-height: 650px;
    max-width: 900px;
    position: relative;
    padding-bottom: 20%;
    height: 0;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

    .map-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

*,
*:after,
*:before {
    box-sizing: border-box;
}

:root {
    --color-background: #fcf8f3;
    --color-primary: #8D422F;
    --color-border: #4d3e3e;
    --color-white: #f9f9f9;
    --color-gray: #a9a9a9;
}

body {
    background-color: var(--color-background);
}

.barber-pole {
    width: 40px;
    height: 100px;
    border: 6px solid var(--color-border);
    background: linear-gradient( -45deg, var(--color-primary), var(--color-primary) 25%, var(--color-gray) 25%, var(--color-gray) 50%, var(--color-primary) 50%, var(--color-primary) 75%, var(--color-gray) 75%, var(--color-gray) 100% );
    background-size: 40px 40px;
    animation: scrolling-gradient 0.2s linear infinite; /*faster animation time since the load takes typically 1s*/
    position: absolute;
    top: calc(50% - 60px);
    left: calc(50% - 20px);
    display: flex;
    justify-content: center; /* Centers the top and bottom caps */
    align-items: center;
    flex-direction: column;
    position: relative; /* Allows top and bottom caps to be positioned relative to it */
}

.barber-pole-top,
.barber-pole-bottom {
    position: absolute;
    width: 54px;
    height: 20px;
    border-radius: 99px;
    background-color: var(--color-white);
    border: 6px solid var(--color-border);
}

.barber-pole-top {
    top: -24px; /* Adjust for correct placement */
}

.barber-pole-bottom {
    bottom: -24px; /* Adjust for correct placement */
}

    .barber-pole-top:before,
    .barber-pole-bottom:before {
        position: absolute;
        content: "";
        width: 40px;
        height: 40px;
        z-index: -1; /* Keep above the main pole */
        border-radius: 16px;
        background-color: var(--color-white);
        border: 6px solid var(--color-border);
        left: 50%;
        transform: translate(-50%);
    }

.barber-pole-top:before {
    top: -22px;
}

.barber-pole-bottom:before {
    bottom: -22px;
}

@keyframes scrolling-gradient {
    0% {
        background-position: 0;
    }

    100% {
        background-position: 40px;
    }
}


/*Code for webpage's buttons*/


.button-container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.button {
    --height: 40px;
    cursor: pointer;
    font-weight: bold;
    color: #A9A9A9;
    padding: 0.5em 1em;
    border-radius: 100px;
    border: none;
    position: relative;
    transform-style: preserve-3d;
    transition: 300ms ease;
    background: linear-gradient(135deg, hsl(202, 80%, 50%), var(--color-primary));
}

    .button:before {
        content: "";
        position: absolute;
        height: calc(100% - 20px);
        width: calc(100% - 20px);
        border-radius: 100px;
        left: 10px;
        top: 16px;
/*        background-color: rgba(0, 0, 0, 0.1); */
        transition: 300ms ease;
    }

    .button:hover {
        transform: translateZ(calc(var(--height) + 15px));
    }

        .button:hover:before {
            transform: translateZ(calc(-1 * (var(--height) + 15px)));
        }

    .button:active {
        transform: translateZ(calc(var(--height) / 2));
    }

        .button:active:before {
            transform: translateZ(calc(-1 * (var(--height) / 2)));
            top: 12px;
        }



@media screen and (max-width: 800px) {
    #Meet .card {

    flex: 1 1 calc(50% - 2rem);
    }
}

@media screen and (max-width: 500px) {
    #Meet .card {
        flex: 1 1 100%;
    }

    .card {
        color: inherit;
        cursor: pointer;
        /*    max-width: calc(33% - 2rem);
*/ min-width: 550px;
        height: 500px;
        min-height: 500px;
        perspective: 1000px;
        margin: 2rem 0;
        position: relative;
        --bs-card-bg: transparent !important;
        margin: 0 auto;
    }

    .card-container {
        display: flex;
        flex-wrap: wrap;         /* Allows wrapping if the content exceeds the container width */
        gap: 1rem;               /* Adds space between the cards */
        justify-content: center; /* Center-aligns cards */
        align-items: flex-start; /* Aligns cards at the top of the row */
    }
    }

}


/* Key frames */



@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .map-container {
        width: 70%;
        height: 100%;
        min-height: 300px;
    }
}

@media (max-width: 767px) {
    .carousel-container {
        height: 500px;
    }
}

@media (max-width: 359px) {
    .nav-title {
        font-size: 0.6em;
    }
}