/* Custom styles for Blink - NovaLash Eyelash Extensions */

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f6f7f9;
}
::-webkit-scrollbar-thumb {
    background: #c8ccd4;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a7adb9;
}

/* Selection color */
::selection {
    background: #ff8a4f;
    color: white;
}

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #ff8a4f;
    outline-offset: 2px;
}

/* Subtle animation for the pulse dot */
@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
}

/* Form input transitions */
input, textarea, select {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Mobile menu transitions */
.mobile-menu {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* Nav scroll effect */
.nav-scrolled {
    background: rgba(26, 29, 36, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Reveal animations - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Ensure above-the-fold content is always visible */
#hero,
#hero *,
nav,
nav * {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Print styles */
@media print {
    nav,
    #contact-form,
    .reveal {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}
