/**
 * SIGMA Main Stylesheet
 *
 * Custom styles for the SIGMA platform.
 */

/* Root Variables */
:root {
    --sigma-primary: #0d6efd;
    --sigma-secondary: #6c757d;
    --sigma-success: #198754;
    --sigma-danger: #dc3545;
    --sigma-warning: #ffc107;
    --sigma-info: #0dcaf0;
    --sigma-dark: #212529;
    --sigma-light: #f8f9fa;
}

/* Body */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
}

.navbar-brand i {
    font-size: 1.75rem;
    vertical-align: middle;
}

/* Cards */
.card {
    transition: transform 0.2s, box-shadow 0.2s;
}

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

/* Hero Section */
.bg-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%) !important;
}

/* Footer */
footer {
    border-top: 3px solid var(--sigma-primary);
}

footer a {
    transition: color 0.2s;
}

footer a:hover {
    color: var(--sigma-primary) !important;
}

/* Utilities */
.min-vh-100 {
    min-height: 100vh;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.25rem;
    }

    .display-4 {
        font-size: 2.5rem;
    }
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Buttons */
.btn {
    transition: all 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Forms */
.form-control:focus,
.form-select:focus {
    border-color: var(--sigma-primary);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Alerts */
.alert {
    border-left: 4px solid;
}

.alert-success {
    border-left-color: var(--sigma-success);
}

.alert-danger {
    border-left-color: var(--sigma-danger);
}

.alert-warning {
    border-left-color: var(--sigma-warning);
}

.alert-info {
    border-left-color: var(--sigma-info);
}

/* Badge */
.badge {
    font-weight: 500;
}

/* Breadcrumbs */
.breadcrumb {
    background-color: transparent;
    padding: 0.75rem 0;
}

/* Video Player Placeholder */
.video-player {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
}

.video-player iframe,
.video-player video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Thumbnail */
.thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 0.375rem;
}

.thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.thumbnail:hover img {
    transform: scale(1.05);
}

/* Stats */
.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--sigma-primary);
}
