/* ==========================================================================
   BizCore CMS — Default Theme
   Clean, modern, professional company website template.
   Uses Bootstrap 5 for layout. Additional styles below.
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
    --bc-primary: #0d6efd;
    --bc-font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --bc-body-bg: #ffffff;
    --bc-text-color: #333333;
    --bc-text-muted: #6c757d;
    --bc-border-radius: 0.75rem;
    --bc-shadow-sm: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
    --bc-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    --bc-transition: all 0.3s ease;
}

/* ---------- Base ---------- */
body {
    font-family: var(--bc-font-family);
    color: var(--bc-text-color);
    background-color: var(--bc-body-bg);
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
}

/* ---------- Navbar ---------- */
.navbar {
    padding: 0.75rem 0;
    transition: var(--bc-transition);
}

.navbar-brand {
    font-size: 1.25rem;
}

.navbar-brand img {
    transition: var(--bc-transition);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--bc-transition);
}

.nav-link:hover {
    opacity: 0.8;
}

/* ---------- Hero Section ---------- */
.hero-slide {
    min-height: 500px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-default {
    background: linear-gradient(135deg, var(--bc-primary) 0%, #0b5ed7 50%, #084298 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem 0;
}

.hero-content h1 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content .lead {
    font-size: 1.25rem;
    max-width: 600px;
}

@media (max-width: 767.98px) {
    .hero-slide {
        min-height: 350px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
}

/* ---------- Page Header ---------- */
.page-header {
    background: linear-gradient(135deg, var(--bc-primary) 0%, #084298 100%);
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.page-header .breadcrumb {
    background: none;
    padding: 0;
    font-size: 0.9rem;
}

/* ---------- Cards ---------- */
.card {
    border-radius: var(--bc-border-radius);
    overflow: hidden;
    transition: var(--bc-transition);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: var(--bc-shadow);
}

.card-title {
    font-weight: 600;
}

.card-title a:hover {
    text-decoration: none;
}

/* ---------- Blog Content ---------- */
.blog-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.blog-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.blog-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.blog-content p {
    margin-bottom: 1.25rem;
}

.blog-content img {
    border-radius: var(--bc-border-radius);
    margin: 1.5rem 0;
}

.blog-content blockquote {
    border-left: 4px solid var(--bc-primary);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: #f8f9fa;
    border-radius: 0 var(--bc-border-radius) var(--bc-border-radius) 0;
}

.blog-content pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 1.25rem;
    border-radius: var(--bc-border-radius);
    overflow-x: auto;
}

.blog-content code {
    background: #f1f3f5;
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.9em;
}

.blog-content pre code {
    background: none;
    padding: 0;
}

/* ---------- Buttons ---------- */
.btn {
    border-radius: 0.5rem;
    font-weight: 500;
    transition: var(--bc-transition);
}

.btn-lg {
    padding: 0.75rem 2rem;
}

.btn-primary:hover,
.btn-outline-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

/* ---------- Footer ---------- */
footer {
    font-size: 0.95rem;
}

footer a:hover {
    color: #ffffff !important;
}

footer h5 {
    font-size: 1.1rem;
}

/* ---------- Contact Form ---------- */
#contactForm .form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    transition: var(--bc-transition);
}

#contactForm .form-control:focus {
    border-color: var(--bc-primary);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

#contactForm .form-label {
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

/* ---------- Pagination ---------- */
.pagination .page-link {
    border-radius: 0.5rem;
    margin: 0 0.15rem;
    border: none;
    color: var(--bc-text-color);
    padding: 0.5rem 0.85rem;
}

.pagination .page-item.active .page-link {
    background-color: var(--bc-primary);
    color: #fff;
}

.pagination .page-link:hover {
    background-color: #e9ecef;
}

/* ---------- Utilities ---------- */
.shadow-sm {
    box-shadow: var(--bc-shadow-sm) !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background-color: var(--bc-primary);
    color: #ffffff;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 1rem 0;
    }
    .nav-link {
        padding: 0.5rem 0 !important;
    }
}

@media (max-width: 575.98px) {
    .page-header h1 {
        font-size: 1.5rem;
    }
    section.py-5 {
        padding: 2.5rem 0 !important;
    }
}
