/* Custom Styles for ABW CAN-tina */

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

/* Custom Selection Color */
::selection {
    background: #B33045;
    color: white;
}

/* Animation Keyframes */
@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;
}

/* Scroll Reveal Base State */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.hidden-state {
    opacity: 0;
    transform: translateY(30px);
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: opacity 0.5s ease;
}

#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

/* Image Hover Effects */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Form Focus States */
input:focus, textarea:focus {
    outline: none;
}

/* Navbar Glass Effect when active */
nav.scrolled {
    background-color: rgba(253, 250, 247, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

/* Asymmetric Grid Adjustments */
@media (max-width: 768px) {
    .md\:col-span-5 {
        margin-top: 2rem;
    }
    
    header {
        padding-top: 100px;
    }
}
