/* =========================
   BOOTSTRAP 5 THEME OVERRIDES
========================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700&display=swap');

:root {
    /* Modern Slate Palette */
    --c-primary: #0F172A;
    --c-secondary: #64748B;
    --c-surface: #F8FAFC;
    --c-border: #E2E8F0;

    /* Bootstrap Overrides */
    --bs-body-bg: #FFFFFF;
    --bs-body-font-family: 'Inter', sans-serif;
    --bs-body-color: #0F172A;
    --bs-primary: #0F172A;
    --bs-border-radius-lg: 16px;
    --bs-border-radius: 12px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Outfit', sans-serif;
}

/* Navbar: Glassmorphism */
.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.nav-link {
    font-weight: 500;
    color: var(--c-secondary) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 99px;
    transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--c-primary) !important;
    background: rgba(15, 23, 42, 0.05);
}

/* Search Form */
.search-form .input-group {
    background: #F1F5F9;
    border-radius: 99px;
    overflow: hidden;
    width: 250px;
    transition: all 0.3s;
}

.search-form .input-group:focus-within {
    background: #FFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 300px;
}

.search-form input::placeholder {
    font-size: 0.9rem;
}

/* Cards & Grid */
.card-hover {
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-5px);
}

.card-img-wrapper {
    overflow: hidden;
    border-radius: var(--bs-border-radius-lg);
    background: var(--c-surface);
    aspect-ratio: 4/5;
}

.card-img-top {
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: transform 0.5s;
}

.card-hover:hover .card-img-top {
    transform: scale(1.05);
}

/* Buttons */
.btn-primary {
    background-color: var(--c-primary);
    border-color: var(--c-primary);
    border-radius: 99px;
    padding: 10px 24px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #000;
    border-color: #000;
}

/* Utilities */
.text-muted {
    color: var(--c-secondary) !important;
}

.bg-surface {
    background-color: var(--c-surface);
}

/* Horizontal Scroll for Mobile Sidebar */
.horizontal-scroll {
    display: flex;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

body {
    padding-top: 80px;
    /* Navbar offset */
}