/* Full-Screen Custom CSS for Hairstyle Cards */
.container-full {
    width: 100%;
    height: 100vh;
    /* Full viewport height */
    max-width: none;
    font-family: initial
}

.row.row-no-gutter {
    height: 100%;
    margin-left: 0;
    margin-right: 0;
}

.card {
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    /* Ensure the background covers the card */
    background-position: center;
    /* Center the background image */
    transition: background-color 0.5s ease;
    /* Transition for background darken */
}

.card:hover {
    background-color: rgba(0, 0, 0, 0.5);
    /* Darken background on hover */
}

.card h2 {
    font-size: 2.3rem;
    /* Adjust the font size as needed */
    transition: opacity 0.5s ease;
    /* Transition for opacity */
    opacity: 1;
    /* Set initial opacity */
    z-index: 2;
}

.link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    visibility: hidden;
    font-size: 2rem;
    z-index: 3;
}

.card:hover .link-list {
    opacity: 1;
    /* Show list on hover */
    visibility: visible;
    /* Make list visible */
}

.card:hover h2 {
    opacity: 0;
    /* Hide title on hover */
}

.link-list a {
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    /* Spacing between links */
    transition: color 0.3s ease;
}

.link-list li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    margin-bottom: 30px; /* Spacing between list items */
    font-size: 2rem; /* Default text size for larger devices */
}

.link-list a:hover {
    color: #b9b9b9;
    /* Highlight color on hover */
}

.card:hover .link-list li { opacity: 1; transform: translateY(0); }

.card-img-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    /* Initially transparent */
    transition: background-color 0.5s ease;
    /* Transition for background color */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    /* Ensure it's above the background but below the text */
}

.card:hover .card-img-overlay {
    background: rgba(0, 0, 0, 0.88);
    /* Black transparent overlay on hover */
}

@media (max-width: 767px) {
    /* .col-sm-6 {
        height: 50vh;
    } */

    .card h2 {
        font-size: 1.5rem;
        /* Adjust for smaller screens */
    }

    .link-list li {
        font-size: 1.3rem; /* Smaller text size for smaller screens */
        margin-bottom: 25px; /* Slightly less spacing between list items on smaller screens */
    }
}

.action-btns-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 2rem;
    gap: 1rem;
    justify-content: center;
}

.custom-card {
    width: 24rem;
    height: 36rem;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    color: #f0f0f0;
    box-shadow: 0 10px 30px 5px rgba(0, 0, 0, 0.2);
}
.custom-card img {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.9;
    transition: opacity 0.2s ease-out;
}
.custom-card h2 {
    position: absolute;
    inset: auto auto 30px 30px;
    margin: 0;
    transition: inset 0.3s 0.3s ease-out;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: normal;
    text-transform: uppercase;
}
.custom-card p, .custom-card a {
    position: absolute;
    opacity: 0;
    max-width: 80%;
    transition: opacity 0.3s ease-out;
}
.custom-card p {
    inset: auto auto 80px 30px;
}
.custom-card a {
    inset: auto auto 40px 30px;
    color: inherit;
    text-decoration: none;
}
.custom-card:hover h2 {
    inset: auto auto 220px 30px;
    transition: inset 0.3s ease-out;
}
.custom-card:hover p, .custom-card:hover a {
    opacity: 1;
    transition: opacity 0.5s 0.1s ease-in;
}
.custom-card:hover img {
    transition: opacity 0.3s ease-in;
    opacity: 1;
}
.material-symbols-outlined {
    vertical-align: middle;
}

.profile-card-2 {
    box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.1);
    background-position: center;
    overflow: hidden;
    position: relative;
    margin: 10px auto;
    cursor: pointer;
    border-radius: 10px;
}

.profile-card-2 img {
    transition: all linear 0.25s;
    object-fit: cover;
}

.profile-card-2 .profile-name {
    position: absolute;
    left: 30px;
    bottom: 70px;
    font-size: 30px;
    color: #FFF;
    text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
    font-weight: bold;
    transition: all linear 0.25s;
    z-index: 2;
}

.profile-card-2 .profile-icons {
    position: absolute;
    left: 30px;
    bottom: 30px;
    color: #FFF;
    transition: all linear 0.25s;
    z-index: 2;
}

.profile-card-2 .profile-username {
    position: absolute;
    bottom: 50px;
    left: 30px;
    color: #FFF;
    font-size: 13px;
    transition: all linear 0.25s;
    z-index: 2;
}

.profile-card-2 .profile-icons a {
    color: #b9b9b9 !important;
}

.profile-card-2 .profile-icons .fa {
    margin: 5px;
}

.profile-card-2:hover img {
    filter: grayscale(100%);
}

.profile-card-2:hover .profile-name {
    bottom: 80px;
}

.profile-card-2:hover .profile-username {
    bottom: 60px;
}

.profile-card-2:hover .profile-icons {
    right: 40px;
}
