/* ═══════════════════════════════════════════════════ */
/* THE BLACK BARBERSHOP — Custom Styles               */
/* ═══════════════════════════════════════════════════ */

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
    /* Ocultar scrollbar visualmente */
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: transparent;
}

/* ── Smooth Scroll ── */
html {
    /* scroll-behavior: smooth; Removido para usar Lenis */
    scroll-padding-top: 80px;
}

/* ── Lenis Base Styles ── */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* ── Selection ── */
::selection {
    background: rgba(14, 165, 233, 0.3);
    color: #fff;
}

/* ── Button Glow Effect ── */
.btn-glow {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.2), 0 0 40px rgba(14, 165, 233, 0.1);
    transition: all 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.4), 0 0 60px rgba(14, 165, 233, 0.2);
    transform: translateY(-1px);
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-glow:hover::after {
    transform: translateX(100%);
}

/* ── Accordion Animations ── */
.accordion-content {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }
}

.accordion-item {
    transition: border-color 0.3s ease;
}

.accordion-item:has(.accordion-content:not(.hidden)) {
    border-color: rgba(14, 165, 233, 0.3);
}

/* ── Hero Animations ── */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-fade-in {
    animation: fadeIn 1s ease 0.2s both;
}

.animate-fade-in-down {
    animation: fadeInDown 0.8s ease 0.1s both;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease 0.5s both;
}

/* ── Team Cards ── */
.team-card {
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(14, 165, 233, 0.08);
}

/* ── Nav Links ── */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #0ea5e9;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ── Image Hover ── */
.img-hover {
    transition: transform 0.6s ease;
}

.img-hover:hover {
    transform: scale(1.02);
}

/* ── Input Styles ── */
.custom-input {
    background-color: transparent;
    border-bottom: 2px solid #333;
    color: white;
    transition: all 0.3s ease;
}

.custom-input:focus {
    outline: none;
    border-bottom-color: #0ea5e9;
}

/* ── Focus Indicators (Accessibility) ── */
*:focus-visible {
    outline: 2px solid #0ea5e9;
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #0ea5e9;
    outline-offset: 2px;
}

/* ── Page Fade-In ── */
@keyframes pageFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

body {
    animation: pageFadeIn 0.4s ease both;
}

/* ── No Scrollbar Utility ── */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}