/* Custom styles for Christian's Ice Cream */

/* Smooth focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #c22d4a;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selection color */
::selection {
    background: #f9d0d9;
    color: #6c1828;
}

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

/* Custom scrollbar for webkit */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fffcf9;
}
::-webkit-scrollbar-thumb {
    background: #f4a9b8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ec7491;
}

/* Print styles */
@media print {
    header, footer, .reveal {
        display: block !important;
        opacity: 1 !important;
    }
    #hero {
        min-height: auto;
        padding: 2rem 0;
    }
    a[href]::after {
        content: none;
    }
}

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

/* Tablet and up adjustments */
@media (min-width: 768px) {
    .mobile-link {
        border-bottom-width: 0 !important;
    }
}
