/* Custom overrides and additional styles */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background: #f9ddd3;
    color: #3D2B1F;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDF8F0;
}
::-webkit-scrollbar-thumb {
    background: #f3bda8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e46a48;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .hero-img-float {
        animation: none !important;
    }
    html {
        scroll-behavior: auto;
    }
    .pulse-dot {
        animation: none;
        opacity: 1;
    }
}

/* Mobile menu transition */
#mobile-menu {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Image hover zoom */
.card-hover img {
    transition: transform 0.5s ease;
}
.card-hover:hover img {
    transform: scale(1.05);
}
