/* ==========================================================================
   Bootstrap 5 Custom Theme - Personeels Training
   ========================================================================== */

/* Root Variables - Brand Colors */
:root {
    --bs-primary: #0033A0;
    --bs-primary-dark: #002670;
    --bs-primary-light: #E6EBF8;
    --bs-secondary: #00A651;
    --bs-secondary-dark: #008A43;
    --bs-warning: #FF6B35;
    --bs-warning-light: #FFE5DB;
    --bs-font-sans-serif: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Dark mode support */
[data-bs-theme="dark"] {
    --bs-primary-light: #1a2332;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
body {
    font-family: var(--bs-font-sans-serif);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom min-height utility */
.min-vh-70 {
    min-height: 70vh !important;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar-brand {
    line-height: 1.2;
}

/* Login Link Styling */
.login-link {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    background: var(--bs-primary-light) !important;
    color: var(--bs-primary) !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-link:hover {
    background: var(--bs-primary) !important;
    color: #fff !important;
    text-decoration: none;
}

/* Mobile menu adjustments */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, var(--bs-light) 0%, var(--bs-primary-light) 100%);
}

/* ==========================================================================
   Cards & Hover Effects
   ========================================================================== */
.feature-icon,
.step-icon {
    width: 80px;
    height: 80px;
    background: var(--bs-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    color: var(--bs-primary);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--bs-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-number span {
    color: white;
}

/* Hover lift effect */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1) !important;
}

/* Course image aspect ratio */
.course-image-container {
    position: relative;
    overflow: hidden;
}

.course-image-container::before {
    content: '';
    display: block;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.course-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .course-image-container img {
    transform: scale(1.05);
}

/* ==========================================================================
   Newsletter Section
   ========================================================================== */
.newsletter-section {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer a {
    transition: opacity 0.2s ease;
}

footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

.hover-opacity-100:hover {
    opacity: 1 !important;
}

/* ==========================================================================
   Responsive Utilities
   ========================================================================== */
@media (max-width: 991.98px) {
    .display-3 {
        font-size: calc(1.525rem + 3.3vw);
    }
    
    .display-5 {
        font-size: calc(1.425rem + 2.1vw);
    }
}

/* ==========================================================================
   Accessibility & Print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .hover-lift {
        transition: none;
    }
    
    .hover-lift:hover {
        transform: none;
    }
}
