/* Custom styles for Latinos Beauty and Spa Salon */

:root {
    --forest-950: #071a09;
    --forest-900: #0d3311;
    --forest-800: #1B5E20;
    --forest-700: #286022;
    --forest-600: #357a2b;
    --forest-500: #4a9c3d;
    --forest-400: #74c05a;
    --forest-300: #a5d38f;
    --forest-200: #c8e6b9;
    --forest-100: #e0f2d9;
    --forest-50: #f1f8e9;
    --offwhite: #FAF9F6;
    --cream: #F5F3EF;
}

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

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

/* Selection color */
::selection {
    background: var(--forest-300);
    color: var(--forest-950);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--offwhite);
}
::-webkit-scrollbar-thumb {
    background: var(--forest-400);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--forest-600);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--forest-500);
    outline-offset: 2px;
}

/* Geometric decorative elements */
.geo-circle {
    border-radius: 50%;
    background: linear-gradient(135deg, var(--forest-400), var(--forest-600));
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--forest-700), var(--forest-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card shadow on hover */
.card-hover {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}
.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(27, 94, 32, 0.25);
}

/* Button shine effect */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.btn-primary:hover::before {
    left: 100%;
}

/* Nav active state */
.nav-link.active {
    color: var(--forest-700);
}
.nav-link.active::after {
    width: 100%;
}

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