/* Custom styles for HDL Hedrick Dental Lab */

:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --emerald-950: #022c22;
    --cream-50: #fefdf8;
    --cream-100: #fdf9f0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    font-variation-settings: normal;
}

/* Thin line decorations */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--emerald-300), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::before {
    opacity: 1;
}

/* Process step hover */
.process-step {
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 32px;
    right: -1.5rem;
    width: 1.5rem;
    height: 1px;
    background: linear-gradient(90deg, var(--emerald-300), transparent);
}

@media (max-width: 767px) {
    .process-step:not(:last-child)::after {
        display: none;
    }
}

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

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

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

::-webkit-scrollbar-track {
    background: var(--cream-50);
}

::-webkit-scrollbar-thumb {
    background: var(--emerald-300);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--emerald-400);
}

/* Selection color */
::selection {
    background: var(--emerald-200);
    color: var(--emerald-900);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .service-card,
    .process-step,
    img {
        transition: none;
    }
    
    img:hover {
        transform: none;
    }
}
