/* Custom styles for Thankful website */

/* Base styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #E54456;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #D93A4A;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive text */
@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
}

/* Print styles */
@media print {
    nav,
    footer {
        display: none;
    }
}

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

/* Selection styles */
::selection {
    background-color: #FFBED1;
    color: #1f2937;
}

/* Link hover effects */
a {
    transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
    transform: translateY(-1px);
}

/* Button hover effects */
button,
a.bg-gradient-to-r {
    transition: all 0.2s ease;
}

button:hover,
a.bg-gradient-to-r:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Card hover effects */
.group:hover {
    transform: translateY(-4px);
    transition: transform 0.3s ease;
}

/* Mobile navigation */
@media (max-width: 768px) {
    nav .hidden.md\:flex {
        display: none;
    }
}

/* Placeholder images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Legal pages content styling */
.legal-content h2 {
    scroll-margin-top: 100px;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Gradient text utility */
.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #E54456, #FFE099);
}