/* Custom styles for Guidance Clinic of the Middle Keys */

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

/* Geometric shape hover effects */
.geo-square:hover, .geo-circle:hover {
    transition: all 0.5s ease;
}

/* Service card accent line on hover */
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF5C2B, #FF7A52);
    border-radius: 0 0 24px 24px;
    transition: width 0.3s ease;
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-card:hover::after {
    width: 60%;
}

/* Coral gradient text utility */
.text-coral-gradient {
    background: linear-gradient(135deg, #FF5C2B, #FF7A52);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Selection color */
::selection {
    background: rgba(255, 92, 43, 0.3);
    color: #fff;
}

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

/* 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;
    }

    .float-slow, .float-medium, .float-fast {
        animation: none;
    }

    .reveal.hidden-reveal {
        opacity: 1;
        transform: none;
    }
}

/* Print styles */
@media print {
    nav, .geo-circle, .geo-square, .geo-triangle, .grid-pattern {
        display: none !important;
    }

    body {
        background: white;
        color: #1a1a1a;
    }

    .bg-charcoal-900, .bg-charcoal-800 {
        background: white !important;
    }

    .text-white, .text-gray-300 {
        color: #1a1a1a !important;
    }
}
