/* Custom styles for Dunkin' Donuts Brunswick */

/* Smooth focus outlines for accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid #2dd4bf;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: rgba(20, 184, 166, 0.3);
    color: #fff;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent layout shift on loaded images */
img[width], img[height] {
    object-fit: cover;
}

/* Reduced motion for all animations */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .float-anim, .float-anim-reverse {
        animation: none;
    }
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
}

/* Tablet breakpoint adjustments */
@media (max-width: 768px) {
    .geo-blob {
        display: none;
    }
}

/* Print styles */
@media print {
    nav, .scroll-reveal, .geo-blob, #menu-toggle {
        display: none !important;
    }
    body {
        background: white;
        color: black;
    }
    a {
        color: black;
    }
}
