/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Shared styles across all pages */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Satisfy&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background: url('https://www.transparenttextures.com/patterns/snow.png'), linear-gradient(to bottom, #e63946 0%, #1d3557 100%);
    color: #fff;
}

/* Fix color contrast for text on red backgrounds */
.bg-red-600,
.bg-red-500 {
    color: white !important;
}

/* Fix white text on light backgrounds */
.bg-white,
.bg-gray-50,
.bg-white\/90 {
    color: #1f2937 !important;
}

/* Ensure footer text is properly visible */
footer,
footer a {
    color: #f3f4f6 !important;
}

footer a:hover {
    color: white !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Forum', cursive, sans-serif;
    letter-spacing: -0.025em;
}

/* About page specific styles */
.bg-gradient-to-r.from-red-600.to-green-600 {
    background-size: 200% auto;
    animation: gradient 8s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes twinkle {
    0% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.4;
    }
}

.christmas-lights {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: repeating-linear-gradient(90deg,
            #ff0000,
            /* red */
            #ff0000 20px,
            #ffffff 20px,
            /* white */
            #ffffff 40px,
            #228B22 40px,
            /* forest green */
            #228B22 60px,
            #ffffff 60px,
            /* white */
            #ffffff 80px,
            #ff0000 80px,
            /* red */
            #ff0000 100px);
    animation: twinkle 1s infinite;
    z-index: 999;
}

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

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

::-webkit-scrollbar-thumb {
    background: #B22222;
    border-radius: 5px;
    border: 1px solid #ffffff;
}

::-webkit-scrollbar-thumb:hover {
    background: #8B0000;
}