/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;

    /* Untuk fixed navbar */
}

:root {
    --primary-color: #4361ee;
    /* Biru modern */
    --secondary-color: #3f37c9;
    /* Biru tua */
    --accent-color: #4cc9f0;
    /* Biru muda */
    --dark-color: #1a1a2e;
    /* Gelap elegan */
    --light-color: #f8f9fa;
    /* Putih bersih */
    --success-color: #38b000;
    /* Hijau segar */
    --warning-color: #ff9e00;
    /* Oranye cerah */
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Header Styles */
header {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Navigation Styles */
.navbar {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
}

/* Content Styles */
.container {
    padding-top: 20px;
    padding-bottom: 20px;
}

.card {
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Footer Styles */
footer {
    background-color: #343a40;
}

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

.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #007bff;
}

/* Pagination Styles */
.pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
}

.pagination .page-link {
    color: #007bff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar-collapse {
        padding-top: 15px;
    }

    .search-form {
        margin-top: 15px;
    }

    footer .col-md-4 {
        margin-bottom: 30px;
    }
}

/* Custom Utilities */
.rounded-lg {
    border-radius: 10px;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* CKEditor Content Styles */
.content img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
}

.content table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.content table td,
.content table th {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
}

.content table th {
    background-color: #f8f9fa;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Effects */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.03);
}

/* Glass Morphism */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Custom Shadows */
.shadow-soft {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Gradient Text */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

/* Custom Buttons */
.btn-hover-effect {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-hover-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3));
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: -1;
}

.btn-hover-effect:hover::after {
    transform: translateX(0);
}

.hover-white {
    transition: all 0.3s ease;
}

.hover-white:hover {
    color: white !important;
    text-decoration: none;
}