/* Frontend Styles */

/* Base Styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --body-bg: #ffffff;
    --body-color: #212529;
    --font-family-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-family: var(--font-family-base);
    background-color: var(--body-bg);
    color: var(--body-color);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand img {
    max-height: 40px;
    width: auto;
}

/* Page Content */
.page-content {
    min-height: 60vh;
}

.page-title {
    font-weight: 700;
    color: #333;
}

.page-description {
    font-size: 1.1rem;
    line-height: 1.8;
}

.page-description img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

/* Content Blocks */
.content-block {
    padding: 20px 0;
}

.block-title {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.block-content {
    line-height: 1.8;
}

.block-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Sidebar */
.sidebar .widget {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.sidebar .widget-title {
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.sidebar ul li a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar ul li a:hover {
    color: var(--primary-color);
}

/* Footer */
.site-footer {
    background: #1a1a1a !important;
}

.site-footer a {
    transition: opacity 0.3s;
}

.site-footer a:hover {
    opacity: 0.8;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* Images */
img.img-fluid {
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 1.75rem;
    }

    .block-title {
        font-size: 1.5rem;
    }

    .hero-section {
        padding: 3rem 0;
    }

    .hero-section .display-4 {
        font-size: 2rem;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility Classes */
.shadow-soft {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.rounded-lg {
    border-radius: 15px;
}
