/* Custom styles for Fantasy Nail Bar */

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

/* Base font settings */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero animations - above the fold, always visible */
.hero-eyebrow {
    opacity: 1;
    animation: fadeInDown 0.8s ease forwards;
}

.hero-headline {
    opacity: 1;
    animation: fadeInUp 1s ease forwards;
}

.hero-sub {
    opacity: 1;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-cta {
    opacity: 1;
    animation: fadeInUp 1s ease 0.5s forwards;
    opacity: 0;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal animations - BELOW the fold only */
.reveal {
    /* Default: visible, no animation needed */
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
.navbar-scrolled {
    box-shadow: 0 1px 20px rgba(140, 24, 51, 0.06);
}

/* Mobile menu */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fdf2f4;
}

::-webkit-scrollbar-thumb {
    background: #e04167;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8c1833;
}

/* Selection color */
::selection {
    background: #f9d0d9;
    color: #400913;
}

/* Thin line utilities */
.line-thin {
    stroke-width: 0.5;
}

/* Image hover zoom */
img {
    transition: transform 0.6s ease;
}

/* Button focus states */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #e04167;
    outline-offset: 4px;
    border-radius: 2px;
}
