/* =====================================================
   CybenTech Blog - Complete Stylesheet
   Version: 3.0 - FINAL
   Author: CybenTech
   ===================================================== */

/* =====================================================
   TABLE OF CONTENTS:
   1. CSS Variables & Reset
   2. Typography
   3. Layout & Utilities
   4. Header & Navigation (Dengan Logo Besar)
   5. Banner Slider
   6. Search Section
   7. Blog Cards
   8. Blog Detail Page
   9. Pagination
   10. Categories Section
   11. Footer (Dengan Logo Besar)
   12. Admin Panel Styles
   13. Responsive Design
   14. Animations
   15. Print Styles
   16. Utility Classes
   ===================================================== */

/* =====================================================
   1. CSS VARIABLES & RESET
   ===================================================== */

:root {
    /* Colors - Primary */
    --primary-color: #00bcd4;
    --primary-dark: #008c9e;
    --primary-light: #e3f2fd;
    
    /* Colors - Secondary */
    --secondary-color: #0a1929;
    --secondary-light: #1a2f4a;
    --secondary-dark: #051018;
    
    /* Colors - Neutral */
    --text-dark: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e9ecef;
    
    /* Colors - Status */
    --success-color: #28a745;
    --success-bg: #d4edda;
    --warning-color: #ffc107;
    --warning-bg: #fff3cd;
    --danger-color: #dc3545;
    --danger-bg: #f8d7da;
    --info-color: #17a2b8;
    --info-bg: #d1ecf1;
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 10px 25px rgba(0, 188, 212, 0.2);
    
    /* Spacing */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    --spacing-xl: 30px;
    --spacing-xxl: 40px;
    --spacing-xxxl: 60px;
    
    /* Border Radius */
    --radius-sm: 5px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 15px;
    --radius-circle: 50%;
    
    /* Transitions */
    --transition-fast: 0.2s;
    --transition-normal: 0.3s;
    --transition-slow: 0.5s;
    
    /* Font Sizes */
    --font-xs: 12px;
    --font-sm: 14px;
    --font-md: 16px;
    --font-lg: 18px;
    --font-xl: 20px;
    --font-xxl: 24px;
    --font-xxxl: 32px;
    --font-huge: 42px;
    --font-giant: 48px;
    
    /* Container Width */
    --container-width: 1200px;
    --container-padding: 20px;
}

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
}

/* =====================================================
   2. TYPOGRAPHY
   ===================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    color: var(--secondary-color);
}

h1 { font-size: var(--font-huge); }
h2 { font-size: var(--font-xxxl); }
h3 { font-size: var(--font-xxl); }
h4 { font-size: var(--font-xl); }
h5 { font-size: var(--font-lg); }
h6 { font-size: var(--font-md); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-normal);
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =====================================================
   3. LAYOUT & UTILITIES
   ===================================================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    color: var(--secondary-color);
    position: relative;
    padding-bottom: var(--spacing-sm);
    margin-bottom: 0;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: var(--radius-sm);
}

.view-all {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all var(--transition-normal);
}

.view-all:hover {
    color: var(--primary-dark);
    gap: var(--spacing-sm);
}

.view-all i {
    font-size: var(--font-sm);
    transition: transform var(--transition-normal);
}

.view-all:hover i {
    transform: translateX(5px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 12px 30px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: var(--font-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--bg-white);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: var(--font-sm);
}

.btn-lg {
    padding: 15px 40px;
    font-size: var(--font-lg);
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    pointer-events: none;
}

/* Alerts */
.alert {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    animation: slideInDown var(--transition-normal);
}

.alert i {
    font-size: var(--font-xl);
}

.alert-success {
    background: var(--success-bg);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: var(--danger-bg);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: var(--warning-bg);
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background: var(--info-bg);
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: var(--font-xs);
    font-weight: 500;
    line-height: 1;
}

.badge-primary {
    background: var(--primary-color);
    color: var(--bg-white);
}

.badge-success {
    background: var(--success-color);
    color: var(--bg-white);
}

.badge-warning {
    background: var(--warning-color);
    color: var(--text-dark);
}

.badge-danger {
    background: var(--danger-color);
    color: var(--bg-white);
}

/* =====================================================
   4. HEADER & NAVIGATION (Dengan Logo Besar)
   ===================================================== */

.header {
    background: var(--secondary-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 10px 0; /* Disesuaikan untuk logo besar */
    position: relative;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Logo Styles - DIPERBESAR */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 60px; /* Diperbesar dari 40px ke 60px */
    width: auto;
    transition: transform var(--transition-normal);
}

.logo:hover img {
    transform: scale(1.05);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.nav-item > a:hover,
.nav-item > a.active {
    background: rgba(0, 188, 212, 0.1);
    color: var(--primary-color);
}

.nav-item > a i {
    font-size: var(--font-sm);
    color: var(--primary-color);
}

/* Dropdown Indicator */
.nav-item.has-dropdown > a {
    position: relative;
    padding-right: 30px;
}

.nav-item.has-dropdown > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--font-xs);
    color: var(--primary-color);
    transition: transform var(--transition-normal);
}

.nav-item.has-dropdown:hover > a::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    z-index: 1000;
    border: 1px solid var(--border-color);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    display: block;
    margin: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: var(--font-sm);
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

.dropdown-menu i {
    width: 20px;
    font-size: var(--font-sm);
    color: var(--primary-color);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--bg-white);
    font-size: 24px;
    cursor: pointer;
    padding: var(--spacing-sm);
    transition: color var(--transition-normal);
    line-height: 1;
}

.mobile-menu-btn:hover {
    color: var(--primary-color);
}

/* Admin Link - Opsional */
.nav-right {
    margin-left: auto;
}

.admin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: var(--bg-white);
    text-decoration: none;
    border: 1px solid var(--primary-color);
    border-radius: var(--radius-sm);
    font-size: var(--font-sm);
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.admin-link:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.admin-link i {
    font-size: var(--font-xs);
}

/* =====================================================
   5. BANNER SLIDER
   ===================================================== */

.banner-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: var(--secondary-color);
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-slow);
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 600px;
    color: var(--bg-white);
    z-index: 10;
    animation: fadeInUp var(--transition-slow);
}

.slide-content h2 {
    font-size: var(--font-giant);
    margin-bottom: var(--spacing-lg);
    color: var(--bg-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: slideInLeft 0.5s ease;
}

.slide-content p {
    font-size: var(--font-lg);
    margin-bottom: var(--spacing-xl);
    color: var(--bg-white);
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: slideInLeft 0.5s ease 0.1s both;
}

.slide-content .btn {
    animation: slideInLeft 0.5s ease 0.2s both;
}

/* Slider Controls */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: var(--radius-circle);
    color: var(--bg-white);
    font-size: 20px;
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 20;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-circle);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* =====================================================
   6. SEARCH SECTION
   ===================================================== */

.search-section {
    padding: var(--spacing-xxxl) 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
}

.search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.search-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: var(--font-md);
    font-family: 'Inter', sans-serif;
}

.search-form input:focus {
    outline: none;
}

.search-form button {
    padding: 15px 30px;
    background: var(--primary-color);
    color: var(--bg-white);
    border: none;
    cursor: pointer;
    font-size: var(--font-md);
    font-weight: 500;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    white-space: nowrap;
}

.search-form button:hover {
    background: var(--primary-dark);
}

.search-form button i {
    font-size: var(--font-sm);
}

/* =====================================================
   7. BLOG CARDS
   ===================================================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.blog-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.video-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    font-size: var(--font-xs);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.blog-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    font-size: var(--font-xs);
    color: var(--text-lighter);
}

.blog-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.blog-content h3 {
    font-size: var(--font-xl);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-content h3 a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.blog-content h3 a:hover {
    color: var(--primary-color);
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: var(--font-sm);
    flex: 1;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tag {
    background: var(--bg-light);
    color: var(--text-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: var(--font-xs);
    font-weight: 500;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-block;
}

.tag:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    font-size: var(--font-sm);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all var(--transition-normal);
    margin-top: auto;
}

.read-more i {
    transition: transform var(--transition-normal);
    font-size: var(--font-xs);
}

.read-more:hover {
    color: var(--primary-dark);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Recent Blogs Section */
.recent-blogs,
.all-blogs {
    padding: var(--spacing-xxxl) 0;
}

.recent-blogs {
    background: var(--bg-white);
}

.all-blogs {
    background: var(--bg-light);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.no-results i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: var(--font-xxl);
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.no-results p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* =====================================================
   8. BLOG DETAIL PAGE
   ===================================================== */

.blog-detail {
    padding: var(--spacing-xxxl) 0;
    background: var(--bg-light);
}

.blog-detail .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-weight: 500;
    transition: all var(--transition-normal);
}

.blog-detail .back-btn:hover {
    color: var(--primary-dark);
    transform: translateX(-5px);
}

.blog-detail .blog-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-detail .blog-header h1 {
    font-size: var(--font-huge);
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.blog-detail .blog-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: var(--text-light);
    font-size: var(--font-sm);
    flex-wrap: wrap;
}

.blog-detail .blog-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.blog-featured-image {
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.blog-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.blog-video {
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.blog-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.blog-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.blog-description {
    font-size: var(--font-lg);
    color: var(--text-light);
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-white);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius-sm);
    line-height: 1.6;
    box-shadow: var(--shadow-sm);
}

.blog-content {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
}

.blog-content h2 {
    color: var(--secondary-color);
    margin: 30px 0 15px;
    font-size: var(--font-xxl);
}

.blog-content h3 {
    color: var(--secondary-color);
    margin: 25px 0 15px;
    font-size: var(--font-xl);
}

.blog-content h4 {
    font-size: var(--font-lg);
    margin: 20px 0 10px;
}

.blog-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 20px 0;
}

.blog-content ul,
.blog-content ol {
    margin: 15px 0;
    padding-left: 20px;
}

.blog-content li {
    margin-bottom: 8px;
    color: var(--text-light);
}

.blog-content pre {
    background: var(--bg-light);
    padding: 15px;
    border-radius: var(--radius-sm);
    overflow-x: auto;
    border: 1px solid var(--border-color);
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    font-size: var(--font-sm);
}

.blog-content code {
    background: var(--bg-light);
    padding: 2px 5px;
    border-radius: 3px;
    font-size: var(--font-sm);
    font-family: 'Courier New', monospace;
}

.blog-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    background: var(--bg-light);
    margin: 20px 0;
    font-style: italic;
}

.blog-content blockquote p {
    margin-bottom: 0;
}

.share-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    color: var(--bg-white);
    text-decoration: none;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    font-size: var(--font-sm);
}

.share-btn.facebook {
    background: #3b5998;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    opacity: 0.9;
    color: var(--bg-white);
}

.related-blogs {
    margin-top: var(--spacing-xxxl);
}

.related-blogs h3 {
    font-size: var(--font-xxl);
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.related-blogs h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: var(--radius-sm);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* =====================================================
   9. PAGINATION
   ===================================================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-white);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.page-link:hover,
.page-link.active {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.page-link i {
    font-size: var(--font-sm);
}

.page-dots {
    color: var(--text-light);
    padding: 0 5px;
}

/* =====================================================
   10. CATEGORIES SECTION
   ===================================================== */

.categories-section {
    padding: var(--spacing-xxxl) 0;
    background: var(--bg-white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.category-card {
    display: block;
    padding: 30px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
    background: var(--bg-white);
}

.category-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: transform var(--transition-normal);
}

.category-card:hover i {
    transform: scale(1.1);
}

.category-card h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: var(--font-lg);
}

.category-card p {
    color: var(--text-light);
    font-size: var(--font-sm);
    line-height: 1.6;
    margin: 0;
}

/* Page Header for Category Pages */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    padding: var(--spacing-xxxl) 0;
    color: var(--bg-white);
    text-align: center;
}

.page-header i {
    font-size: 64px;
    margin-bottom: 20px;
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: var(--radius-circle);
    display: inline-block;
}

.page-header h1 {
    font-size: var(--font-huge);
    margin-bottom: 15px;
    color: var(--bg-white);
}

.page-header p {
    font-size: var(--font-lg);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    color: var(--bg-white);
}

/* =====================================================
   11. FOOTER (Dengan Logo Besar)
   ===================================================== */

.footer {
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: 60px 0 20px;
    position: relative;
    margin-top: auto;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

/* Footer Logo - DIPERBESAR */
.footer-logo {
    height: 60px !important; /* Diperbesar dari 40px ke 60px */
    width: auto;
    margin-bottom: 20px !important;
    transition: transform var(--transition-normal);
    align-self: flex-start;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-section p {
    color: #b0bec5;
    font-size: var(--font-sm);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: var(--font-lg);
    position: relative;
    padding-bottom: 10px;
    color: var(--bg-white);
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    border-radius: var(--radius-sm);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul a {
    color: #b0bec5;
    text-decoration: none;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-sm);
}

.footer-section ul a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-section ul a i {
    width: 20px;
    color: var(--primary-color);
    font-size: var(--font-sm);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border-radius: var(--radius-circle);
    transition: all var(--transition-normal);
    font-size: var(--font-lg);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Newsletter Form */
.footer-section form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.footer-section input {
    flex: 1;
    min-width: 200px;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    color: var(--bg-white);
    font-family: 'Inter', sans-serif;
    font-size: var(--font-sm);
}

.footer-section input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.footer-section input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-section button {
    padding: 12px 20px;
    background: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: var(--font-sm);
    font-weight: 500;
    white-space: nowrap;
}

.footer-section button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #b0bec5;
    font-size: var(--font-sm);
}

.footer-bottom a {
    color: #b0bec5;
    text-decoration: none;
    transition: color var(--transition-normal);
    margin: 0 5px;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

/* =====================================================
   12. ADMIN PANEL STYLES
   ===================================================== */

.admin-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--secondary-color);
    color: var(--bg-white);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.sidebar-header img {
    height: 50px; /* Sedikit lebih besar di admin */
    width: auto;
    margin-bottom: 10px;
    background: var(--bg-white);
    padding: 8px;
    border-radius: var(--radius-sm);
}

.sidebar-header h3 {
    font-size: var(--font-lg);
    color: var(--bg-white);
    margin: 0;
}

.sidebar-menu {
    list-style: none;
    padding: 20px 0;
}

.sidebar-menu li {
    margin-bottom: 2px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #b0bec5;
    text-decoration: none;
    transition: all var(--transition-normal);
    border-left: 3px solid transparent;
    font-size: var(--font-sm);
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(0, 188, 212, 0.1);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.sidebar-menu i {
    width: 20px;
    text-align: center;
    font-size: var(--font-md);
}

.main-content {
    flex: 1;
    margin-left: 260px;
    background: var(--bg-light);
    min-height: 100vh;
}

.top-bar {
    background: var(--bg-white);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 90;
}

.page-title h2 {
    color: var(--secondary-color);
    font-size: var(--font-xxl);
    margin: 0;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info {
    text-align: right;
}

.user-name {
    display: block;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: var(--font-sm);
}

.user-email {
    font-size: var(--font-xs);
    color: var(--text-light);
}

.logout-btn {
    padding: 8px 16px;
    background: var(--bg-light);
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-sm);
}

.logout-btn:hover {
    background: var(--danger-color);
    color: var(--bg-white);
}

.content-wrapper {
    padding: 30px;
}

/* Admin Tables */
.table-container {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: var(--bg-light);
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--border-color);
    font-size: var(--font-sm);
}

td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    font-size: var(--font-sm);
}

tr:hover {
    background: var(--bg-light);
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: var(--font-xs);
    font-weight: 500;
}

.status-active {
    background: var(--success-bg);
    color: #155724;
}

.status-inactive {
    background: var(--danger-bg);
    color: #721c24;
}

.action-links {
    display: flex;
    gap: 12px;
}

.action-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all var(--transition-normal);
    font-size: var(--font-md);
}

.action-links a:hover {
    color: var(--primary-color);
}

.action-links .delete:hover {
    color: var(--danger-color);
}

/* =====================================================
   13. RESPONSIVE DESIGN
   ===================================================== */

/* Large Desktop */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .slide-content h2 {
        font-size: 42px;
    }
}

/* Desktop */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    :root {
        --font-huge: 36px;
        --font-giant: 42px;
    }
    
    .nav-item > a {
        padding: 10px 12px;
        font-size: var(--font-xs);
    }
    
    .logo img {
        height: 55px; /* Sedikit lebih kecil di tablet */
    }
    
    .footer-logo {
        height: 55px !important;
    }
    
    .slide-content h2 {
        font-size: 36px;
    }
    
    .slide-content p {
        font-size: var(--font-md);
    }
    
    .blog-detail .blog-header h1 {
        font-size: 32px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    :root {
        --font-huge: 32px;
        --font-giant: 36px;
        --font-xxxl: 28px;
    }
    
    .mobile-menu-btn {
        display: block;
        order: 2;
    }
    
    .nav-menu {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 15px;
        flex-direction: column;
        gap: 0;
        background: var(--secondary-light);
        border-radius: var(--radius-md);
        padding: 10px 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-item > a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        justify-content: flex-start;
    }
    
    .nav-item.has-dropdown > a::after {
        right: 20px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.2);
        border: none;
        border-radius: 0;
        padding: 0 0 0 20px;
        display: none;
        width: 100%;
    }
    
    .nav-item.has-dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        color: #b0bec5;
        padding: 12px 20px;
    }
    
    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--bg-white);
    }
    
    .nav-right {
        margin-left: 0;
        order: 1;
    }
    
    .logo img {
        height: 50px; /* Ukuran mobile */
    }
    
    .footer-logo {
        height: 50px !important;
        align-self: center;
    }
    
    .banner-slider {
        height: 400px;
    }
    
    .slide-content {
        left: 5%;
        right: 5%;
        text-align: center;
        max-width: 90%;
    }
    
    .slide-content h2 {
        font-size: 28px;
    }
    
    .slide-content p {
        font-size: var(--font-sm);
    }
    
    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .section-header h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-detail .blog-header h1 {
        font-size: 24px;
    }
    
    .blog-detail .blog-meta {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-section ul a {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-section form {
        justify-content: center;
    }
    
    /* Admin Panel Responsive */
    .admin-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: static;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .top-bar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .user-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .user-info {
        text-align: center;
    }
    
    .table-container {
        overflow-x: auto;
    }
    
    table {
        min-width: 800px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .logo img {
        height: 45px; /* Ukuran mobile kecil */
    }
    
    .footer-logo {
        height: 45px !important;
    }
    
    .admin-link span {
        display: none;
    }
    
    .banner-slider {
        height: 350px;
    }
    
    .slide-content h2 {
        font-size: 24px;
    }
    
    .search-form {
        flex-direction: column;
        border-radius: var(--radius-sm);
    }
    
    .search-form input {
        border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    }
    
    .search-form button {
        border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    }
    
    .pagination {
        gap: 5px;
    }
    
    .page-link {
        width: 35px;
        height: 35px;
        font-size: var(--font-sm);
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card {
        padding: 20px;
    }
}

/* =====================================================
   14. ANIMATIONS
   ===================================================== */

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: rotate 1s linear infinite;
}

.spinner-light {
    border-top-color: var(--bg-white);
}

/* =====================================================
   15. PRINT STYLES
   ===================================================== */

@media print {
    .header,
    .banner-slider,
    .search-section,
    .footer,
    .share-buttons,
    .related-blogs,
    .admin-link,
    .mobile-menu-btn,
    .pagination,
    .categories-section {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .blog-detail {
        padding: 0;
    }
    
    .blog-content {
        box-shadow: none;
        padding: 0;
        background: white;
    }
    
    .blog-content-wrapper {
        max-width: 100%;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
}

/* =====================================================
   16. UTILITY CLASSES
   ===================================================== */

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Margins */
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }
.mt-5 { margin-top: var(--spacing-xxl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }
.mb-5 { margin-bottom: var(--spacing-xxl); }

/* Paddings */
.p-1 { padding: var(--spacing-sm); }
.p-2 { padding: var(--spacing-md); }
.p-3 { padding: var(--spacing-lg); }
.p-4 { padding: var(--spacing-xl); }
.p-5 { padding: var(--spacing-xxl); }

/* Display */
.hidden { display: none !important; }
.visible { display: block !important; }
.invisible { visibility: hidden; }

/* Flexbox */
.flex { display: flex; }
.flex-center { 
    display: flex;
    align-items: center;
    justify-content: center;
}
.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.flex-column {
    display: flex;
    flex-direction: column;
}
.flex-wrap { flex-wrap: wrap; }

/* Gap */
.gap-1 { gap: var(--spacing-sm); }
.gap-2 { gap: var(--spacing-md); }
.gap-3 { gap: var(--spacing-lg); }

/* Width & Height */
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.w-auto { width: auto; }
.h-auto { height: auto; }

/* Border Radius */
.rounded { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-circle { border-radius: 50%; }

/* Shadows */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-hover { box-shadow: var(--shadow-hover); }

/* Colors */
.text-primary { color: var(--primary-color); }
.text-success { color: var(--success-color); }
.text-warning { color: var(--warning-color); }
.text-danger { color: var(--danger-color); }
.text-white { color: white; }
.text-dark { color: var(--text-dark); }
.text-light { color: var(--text-light); }

.bg-primary { background: var(--primary-color); }
.bg-success { background: var(--success-bg); }
.bg-warning { background: var(--warning-bg); }
.bg-danger { background: var(--danger-bg); }
.bg-white { background: white; }
.bg-light { background: var(--bg-light); }
.bg-dark { background: var(--secondary-color); }

/* Font Sizes */
.fs-xs { font-size: var(--font-xs); }
.fs-sm { font-size: var(--font-sm); }
.fs-md { font-size: var(--font-md); }
.fs-lg { font-size: var(--font-lg); }
.fs-xl { font-size: var(--font-xl); }
.fs-xxl { font-size: var(--font-xxl); }

/* Font Weights */
.fw-light { font-weight: 300; }
.fw-normal { font-weight: 400; }
.fw-medium { font-weight: 500; }
.fw-semibold { font-weight: 600; }
.fw-bold { font-weight: 700; }

/* Cursors */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.cursor-not-allowed { cursor: not-allowed; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-scroll { overflow: scroll; }

/* Position */
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }
.position-sticky { position: sticky; }

/* Z-Index */
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-100 { z-index: 100; }