/* Custom styles beyond Tailwind */

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FFFAF8;
}
::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}

/* Selection color */
::selection {
    background: rgba(255, 122, 82, 0.2);
    color: #1C1C1E;
}

/* Mobile menu line animation */
.menu-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-open .menu-line:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}
.menu-open .menu-line:nth-child(2) {
    opacity: 0;
}
.menu-open .menu-line:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
    width: 1.5rem;
}

/* Coral accent line */
.accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #FF7A52, #FFC4B0);
    border-radius: 2px;
}

/* Subtle entrance for hero elements */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeUp 0.8s ease forwards;
}
.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.3s; }
.hero-content > *:nth-child(3) { animation-delay: 0.5s; }
.hero-content > *:nth-child(4) { animation-delay: 0.7s; }

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #FF7A52;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}
