/* Custom styles for Alpha & Omega Nail Spa */

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f3ed;
}
::-webkit-scrollbar-thumb {
    background: #93b987;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4d7d40;
}

/* Selection color */
::selection {
    background-color: #dce8d8;
    color: #1b2e19;
}

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

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.3s ease;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #dce8d8 0%, #f0f5ee 100%);
}

/* Print styles */
@media print {
    header, footer, .reveal {
        display: none !important;
    }
    body {
        color: #1b2e19;
        background: white;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .group:hover img {
        transform: none;
    }
    .group:hover {
        transform: none;
    }
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

/* Header scroll state */
header.scrolled {
    box-shadow: 0 1px 20px rgba(27, 46, 25, 0.08);
}

/* Hero card hover effects */
.bg-cream-50:hover,
.bg-forest-800:hover,
.bg-forest-700\/50:hover {
    box-shadow: 0 20px 40px rgba(27, 46, 25, 0.15) !important;
}

/* Form focus states */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(77, 125, 64, 0.1);
}

/* Button hover lift */
button:hover {
    transform: translateY(-1px);
}
button:active {
    transform: translateY(0);
}

/* Gallery image hover overlay */
.group:hover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27, 46, 25, 0.1) 0%, transparent 50%);
    pointer-events: none;
    border-radius: inherit;
}

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

/* Decorative pattern overlay for hero */
.hero-pattern {
    background-image: radial-gradient(circle at 25% 25%, rgba(147, 185, 135, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(147, 185, 135, 0.05) 0%, transparent 50%);
}
