@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    color: #111217;
    overflow-x: hidden; /* Prevent horizontal scrollbar on body */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Toast Notification */
#toast {
    visibility: hidden;
    min-width: 250px;
    max-width: 90%;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    z-index: 100;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s, bottom 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}

/* Infinite Scroll / Marquee Animation */
.marquee-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    width: 100%;
    position: relative;
    padding: 1rem 0;
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    gap: 2rem;
    /* IMPORTANT: width must be auto to allow content to dictate size */
    width: max-content; 
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); } /* Move half way because we duplicated the list */
}

/* Pause on hover so users can click */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .marquee-content {
        animation: scroll 20s linear infinite;
        gap: 1rem;
    }
}