/* Custom styles for Bladed Culture Barbershop */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background-color: #047857;
    color: #fefdf8;
}

/* Focus visible styles */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fefdf8;
}
::-webkit-scrollbar-thumb {
    background: #047857;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #065f46;
}

/* Geometric accent shapes */
.geometric-accent {
    position: relative;
}
.geometric-accent::before {
    content: '';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981, #34d399);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    z-index: -1;
}

/* Gradient text utility */
.text-gradient {
    background: linear-gradient(135deg, #047857, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pulse animation for status dot */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.animate-pulse-dot {
    animation: pulse-dot 2s ease-in-out infinite;
}

/* Service card hover glow */
.service-card:hover {
    box-shadow: 0 20px 40px rgba(6, 78, 59, 0.12), 0 8px 16px rgba(6, 78, 59, 0.08);
}

/* Image hover zoom container */
.rounded-2xl.overflow-hidden {
    overflow: hidden;
}

/* Mobile menu backdrop */
.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-menu-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

/* Counter animation */
.counter {
    display: inline-block;
}

/* Form input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #fefdf8 inset !important;
    -webkit-text-fill-color: #064e3b !important;
}
