/* Custom styles beyond Tailwind */

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #14b8a6;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2dd4bf;
}

/* Selection color */
::selection {
    background: #14b8a6;
    color: #0f172a;
}

/* Focus visible styles */
*:focus-visible {
    outline: 2px solid #2dd4bf;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Geometric accent shapes */
.geo-accent {
    position: absolute;
    pointer-events: none;
}

/* Product card image container */
.product-card .aspect-\[4\/5\] {
    position: relative;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Map hover effect */
.map-container:hover {
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.5);
    transition: box-shadow 0.3s ease;
}

/* Reduced motion for animations */
@media (prefers-reduced-motion: reduce) {
    .geo-circle,
    .geo-circle-1,
    .geo-circle-2,
    .geo-circle-3,
    .geo-circle-4 {
        animation: none !important;
    }
    .product-card:hover .product-img {
        transform: none;
    }
    .product-card:hover .product-overlay {
        opacity: 0 !important;
    }
}

/* Print styles */
@media print {
    nav, #back-to-top, .geo-circle {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}

/* High contrast mode support */
@media (forced-colors: active) {
    .btn-primary, .btn-secondary {
        border: 2px solid ButtonText;
    }
}
