/* Custom styles for Sister To Sister Hair and Nail */

:root {
    --forest-50: #f0f5f0;
    --forest-100: #dce8dc;
    --forest-200: #b9d0b9;
    --forest-300: #8fb88f;
    --forest-400: #5f9a5f;
    --forest-500: #3d7a3d;
    --forest-600: #2d5c2d;
    --forest-700: #244a24;
    --forest-800: #1c381c;
    --forest-900: #142614;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(254, 253, 251, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(20, 38, 20, 0.08);
}

/* Mobile menu */
.mobile-link {
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: #3d7a3d;
}

/* Service card hover */
.service-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(20, 38, 20, 0.15);
}

/* Gallery items */
.gallery-item {
    cursor: pointer;
}

.gallery-item:hover {
    box-shadow: 0 20px 40px rgba(20, 38, 20, 0.2);
}

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

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

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

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

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

/* Selection color */
::selection {
    background: #dce8dc;
    color: #1c381c;
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Animation keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Scroll reveal base - content is always visible by default */
/* JS adds .revealed class for animation */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .font-display {
        line-height: 1.2;
    }
}
