/* Custom Styles & Animations */

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

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0; /* Start hidden */
}

.animation-delay-100 {
    animation-delay: 0.1s;
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-300 {
    animation-delay: 0.3s;
}

/* Navbar Transition */
#navbar {
    background: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

#navbar.scrolled {
    background-color: rgba(63, 6, 21, 0.95); /* Plum-950 with opacity */
    backdrop-filter: blur(10px);
    padding-top: 0;
    padding-bottom: 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

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

::-webkit-scrollbar-thumb {
    background: #d9436b; /* Plum-500 */
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c1244d; /* Plum-700 */
}

/* Form Focus States */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 67, 107, 0.2);
}

/* Button Hover Effects */
button:hover,
a:hover {
    cursor: pointer;
}

/* Map Grayscale Override */
.iframe-container iframe {
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.iframe-container:hover iframe {
    filter: grayscale(0%);
}
