/* CV site – small progressive enhancements on top of Bootstrap */

html {
    scroll-behavior: smooth;
}

/* Page sits slightly darker than the cards so cards read as elevated */
body {
    background-color: #e9ecef;
}

/* Keep navigation reachable while scrolling long pages */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}

/* Subtle depth on the hero */
header.bg-light {
    background: linear-gradient(180deg, #ffffff 0%, #f4f6f8 100%) !important;
    border-bottom: 1px solid #dee2e6;
}

/* Gentle lift on interactive cards */
.card {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .12) !important;
    transition: transform .15s ease, box-shadow .15s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .12) !important;
}

/* Respect users who prefer no motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .card {
        transition: none;
    }

    .card:hover {
        transform: none;
    }
}
