/* Custom styles — extends Tailwind with bespoke touches */

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

/* Selection color */
::selection {
    background: rgba(26, 184, 136, 0.3);
    color: #0A1628;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #1AB888;
    outline-offset: 2px;
}

/* Nav height fix */
#navbar {
    height: 72px;
}

/* Prevent layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Print styles */
@media print {
    nav, #backToTop, .geo-shape, .float-slow, .float-medium, .float-fast {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
    .bg-navy-900, .bg-navy-950 {
        background: #f5f5f5 !important;
        color: #000 !important;
    }
    .text-white, .text-mint-300, .text-mint-400 {
        color: #000 !important;
    }
}

/* 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;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .font-display {
        font-size: 1.75rem;
    }
    h1 {
        font-size: 2rem !important;
    }
}

/* Large screens */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}
