@font-face {
    font-family: 'Manrope';
    src: url('fonts/Manrope-VariableFont_wght.ttf') format('truetype');
    font-weight: 200 800;
    font-style: normal;
}

:root {
    --white: #FAF9F7; /* Bright Snow */
    --black: #222222; /* Carbon Black */
}

/* Apply Manrope font to body to test if it's working */
body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--white);
}

.text-default-white{
    color: var(--white);
}

.text-default-black{
    color: var(--black);
}

.button-white{
    color: var(--white);
    font-size: 1rem;
    padding: 8px 24px;
    border: 1px solid var(--white);
    border-radius: 24px;
    white-space: nowrap; 
    flex-shrink: 0; 
    text-align: center;
    width: fit-content;
}

.button-black{
    color: var(--black);
    font-size: 1rem;
    padding: 8px 24px;
    border: 1px solid var(--black);
    border-radius: 24px;
    white-space: nowrap; 
    flex-shrink: 0; 
    text-align: center;
    width: fit-content;
}

/* Smooth transitions for navbar */
.navbar {
    transition: background-color 0.5s ease;
}

#mobile-menu {
    transition: max-height 0.5s ease, opacity 0.5s ease;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.menu-open {
    max-height: 500px; 
    opacity: 1;
}

/* Auto-scrolling carousel animation */
@keyframes scroll-carousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1rem)); /* Account for gap */
    }
}

.animate-scroll-carousel {
    animation: scroll-carousel 120s linear infinite;
}

.animate-scroll-carousel:hover {
    animation-play-state: paused;
}

/* Auto-scrolling carousel-1 animation */
@keyframes scroll-carousel-1 {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1rem)); /* Account for gap */
    }
}

.animate-scroll-carousel-1 {
    animation: scroll-carousel-1 100s linear infinite;
}

.animate-scroll-carousel-1:hover {
    animation-play-state: paused;
}

/* Auto-scrolling carousel-2 animation */
@keyframes scroll-carousel-2 {
    0% {
        transform: translateX(calc(-50% - 1rem)); /* Account for gap */
    }
    100% {
        transform: translateX(0);
    }
}

.animate-scroll-carousel-2 {
    animation: scroll-carousel-2 110s linear infinite;
}

.animate-scroll-carousel-2:hover {
    animation-play-state: paused;
}

/* Line clamp utility */
.line-clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
