/* The Glass Garden — Custom Styles */

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

/* Selection color */
::selection {
    background-color: #0d9488;
    color: #fff;
}

/* Subtle focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Navbar scroll effect */
header.scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f8fafc;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    html {
        scroll-behavior: auto;
    }
    .group img {
        transition: none;
    }
    .group:hover img {
        transform: none;
    }
}
