/* Styles for Stamp Identifier Landing Page */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Body defaults */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth transitions */
a,
button {
    transition: all 0.2s ease;
}

/* Button hover effects */
a[href*="apps.apple.com"]:hover {
    transform: scale(1.05);
    opacity: 0.95;
}

/* Link hover effect */
footer a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #8B6F47;
    transition: width 0.3s ease;
}

footer a {
    position: relative;
    display: inline-block;
}

footer a:hover::after {
    width: 100%;
}

/* Screenshot hover enhancement */
.overflow-hidden img {
    transition: transform 0.3s ease;
}

.overflow-hidden:hover img {
    transform: scale(1.05);
}

/* Focus states for accessibility */
a:focus,
button:focus {
    outline: 2px solid #8B6F47;
    outline-offset: 2px;
}

/* Mobile optimizations */
@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #FBF8F3;
}

::-webkit-scrollbar-thumb {
    background: #8B6F47;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6B5635;
}
