/* =============================================
   FIXTEKNO - MAIN STYLESHEET (FULL)
   ============================================= */

:root {
    --primary: #0066cc;
    --primary-dark: #004999;
    --secondary: #ff6b00;
    --dark: #1a1a2e;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-500: #adb5bd;
    --gray-700: #495057;
    --gray-900: #212529;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --radius-sm: 5px;
    --radius-md: 10px;
    --transition: all 0.3s ease;
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:'Segoe UI',system-ui,-apple-system,sans-serif;line-height:1.6;color:#212529;background:#f0f2f5;overflow-x:hidden}
a{text-decoration:none;color:#0066cc;transition:all 0.3s ease}
a:hover{color:#004999}
img{max-width:100%;height:auto;display:block}
.container{width:100%;max-width:1200px;margin:0 auto;padding:0 15px}

/* HEADER */
.header{background:white;box-shadow:0 1px 3px rgba(0,0,0,0.1);position:sticky;top:0;z-index:1000}
.header.scrolled{box-shadow:0 4px 6px rgba(0,0,0,0.1)}
.header-top{background:#1a1a2e;color:white;padding:8px 0;font-size:.85rem}
.header-top .container{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px}
.header-social a{color:white;margin-left:12px;font-size:.9rem}
.header-social a:hover{color:#ff6b00}
.header-main{padding:15px 0}
.header-main .container{display:flex;justify-content:space-between;align-items:center;gap:20px}
.logo{display:flex;align-items:center;gap:10px;flex-shrink:0}
.logo img{height:40px;width:auto}
.logo-text h1{font-size:1.5rem;font-weight:700;color:#0066cc;line-height:1.2}
.logo-text span{font-size:.75rem;color:#adb5bd;display:block}
.search-form{display:flex;flex:1;max-width:500px}
.search-form input{flex:1;padding:10px 15px;border:2px solid #dee2e6;border-radius:5px 0 0 5px;font-size:.95rem;outline:none}
.search-form input:focus{border-color:#0066cc}
.search-form button{padding:10px 20px;background:#0066cc;color:white;border:none;border-radius:0 5px 5px 0;cursor:pointer}
.menu-toggle{display:none;background:none;border:none;font-size:1.5rem;cursor:pointer;color:#1a1a2e}

/* NAV */
.nav{background:#0066cc}
.nav-list{display:flex;list-style:none}
.nav-list li{position:relative}
.nav-list a{display:flex;align-items:center;gap:5px;color:white;padding:12px 20px;font-size:.95rem;font-weight:500}
.nav-list a:hover{background:rgba(255,255,255,0.1)}
.nav-list a.active{background:#004999;font-weight:600}
.dropdown{position:relative}
.dropdown-menu{display:none;position:absolute;top:100%;left:0;background:white;box-shadow:0 10px 25px rgba(0,0,0,0.15);border-radius:0 0 5px 5px;min-width:220px;z-index:100}
.dropdown-menu.show{display:block}
.dropdown-menu a{color:#495057!important;padding:10px 15px!important;border-bottom:1px solid #e9ecef;font-size:.85rem}
.dropdown-menu a:hover{background:#f8f9fa!important;color:#0066cc!important}

/* HERO */
.hero{padding:60px 0;margin-bottom:30px;color:white}
.featured-card{position:relative;border-radius:10px;overflow:hidden;box-shadow:0 4px 6px rgba(0,0,0,0.1);display:block}
.featured-card:hover{transform:translateY(-5px)}
.featured-card img{width:100%;height:400px;object-fit:cover}
.featured-card-content{position:absolute;bottom:0;left:0;right:0;padding:30px;background:linear-gradient(transparent,rgba(0,0,0,0.8));color:white}
.featured-card .category{display:inline-block;background:#ff6b00;padding:5px 12px;border-radius:20px;font-size:.8rem;font-weight:600;margin-bottom:10px}
.featured-card h3{font-size:1.5rem;margin-bottom:10px}
.featured-card .meta{font-size:.85rem;display:flex;gap:15px;flex-wrap:wrap}

/* MAIN CONTENT */
.main-content{padding:30px 0}
.content-wrapper{display:grid;grid-template-columns:2fr 1fr;gap:30px}
.section-title{font-size:1.5rem;font-weight:700;margin-bottom:25px;padding-bottom:15px;border-bottom:3px solid #0066cc}

/* ARTICLE GRID */
.article-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:25px;margin-bottom:30px}
.article-card{background:white;border-radius:10px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,0.1);transition:all 0.3s}
.article-card:hover{transform:translateY(-5px);box-shadow:0 4px 6px rgba(0,0,0,0.1)}
.article-card img{width:100%;height:200px;object-fit:cover}
.article-card-body{padding:20px}
.article-card .category{display:inline-block;color:white;padding:3px 10px;border-radius:20px;font-size:.75rem;margin-bottom:10px}
.article-card h3{font-size:1.1rem;margin-bottom:10px;line-height:1.4}
.article-card h3 a{color:#212529}
.article-card h3 a:hover{color:#0066cc}
.article-card p{color:#495057;font-size:.9rem;margin-bottom:15px}
.article-card .meta{display:flex;justify-content:space-between;font-size:.8rem;color:#adb5bd}

/* SIDEBAR */
.sidebar{position:sticky;top:100px}
.widget{background:white;border-radius:10px;padding:20px;margin-bottom:25px;box-shadow:0 1px 3px rgba(0,0,0,0.1)}
.widget-title{font-size:1.2rem;font-weight:700;margin-bottom:15px;padding-bottom:10px;border-bottom:3px solid #0066cc}
.popular-post{display:flex;gap:12px;margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid #e9ecef}
.popular-post:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}
.popular-post img{width:80px;height:60px;object-fit:cover;border-radius:5px;flex-shrink:0}
.popular-post-info h4{font-size:.9rem;line-height:1.3}
.popular-post-info h4 a{color:#212529}
.popular-post-info h4 a:hover{color:#0066cc}
.popular-post-info span{font-size:.75rem;color:#adb5bd}

/* BREADCRUMB */
.breadcrumb{background:white;padding:12px 0;margin-bottom:20px;box-shadow:0 1px 3px rgba(0,0,0,0.1)}
.breadcrumb ol{display:flex;list-style:none;gap:5px;font-size:.9rem;flex-wrap:wrap}
.breadcrumb li:not(:last-child)::after{content:'/';margin-left:5px;color:#adb5bd}
.breadcrumb a{color:#495057}
.breadcrumb .active{color:#0066cc;font-weight:600}

/* ARTICLE DETAIL */
.article-detail{background:white;border-radius:10px;padding:30px;box-shadow:0 1px 3px rgba(0,0,0,0.1)}
.article-header h1{font-size:2rem;font-weight:700;margin-bottom:15px;line-height:1.3}
.article-meta{display:flex;gap:20px;flex-wrap:wrap;font-size:.9rem;color:#adb5bd;padding-bottom:20px;border-bottom:2px solid #e9ecef}
.article-thumbnail{margin-bottom:25px;border-radius:10px;overflow:hidden}
.article-thumbnail img{width:100%;max-height:500px;object-fit:cover}
.article-content{font-size:1.05rem;line-height:1.8}
.article-content h2{font-size:1.5rem;margin:25px 0 15px}
.article-content h3{font-size:1.3rem;margin:20px 0 10px}
.article-content p{margin-bottom:15px}
.article-content ul,.article-content ol{margin:15px 0 15px 20px}
.article-content pre{background:#1a1a2e;color:white;padding:20px;border-radius:5px;overflow-x:auto}
.article-content code{background:#e9ecef;padding:2px 8px;border-radius:3px;font-size:.9em}

/* SHARE */
.share-buttons{display:flex;gap:10px;margin:30px 0;padding:20px;background:#f8f9fa;border-radius:10px;flex-wrap:wrap;align-items:center}
.share-btn{padding:8px 16px;border-radius:5px;color:white!important;font-size:.85rem}
.share-facebook{background:#1877f2}.share-twitter{background:#1da1f2}.share-whatsapp{background:#25d366}

/* FOOTER */
.footer{background:#1a1a2e;color:white;padding:50px 0 0;margin-top:50px}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:30px;margin-bottom:30px}
.footer-col h4{font-size:1.2rem;margin-bottom:20px;padding-bottom:10px;border-bottom:2px solid #0066cc;display:inline-block}
.footer-col p{font-size:.9rem;opacity:.8;margin-bottom:15px}
.footer-col ul{list-style:none}
.footer-col ul li{margin-bottom:10px}
.footer-col ul li a{color:#ccc;font-size:.9rem}
.footer-col ul li a:hover{color:white;padding-left:5px}
.footer-bottom{background:#151521;padding:20px 0;text-align:center;font-size:.85rem;color:#adb5bd}

/* PAGINATION */
.pagination{display:flex;justify-content:center;gap:5px;margin-top:30px;list-style:none;flex-wrap:wrap}
.pagination a,.pagination span{padding:8px 15px;border-radius:5px;font-size:.9rem;display:block}
.pagination a{background:white;color:#0066cc;border:1px solid #dee2e6}
.pagination a:hover{background:#0066cc;color:white}
.pagination .active span{background:#0066cc;color:white;font-weight:600}

/* BACK TO TOP */
.back-to-top{position:fixed;bottom:30px;right:30px;width:45px;height:45px;background:#0066cc;color:white;border:none;border-radius:50%;font-size:1.2rem;cursor:pointer;z-index:999;opacity:0;visibility:hidden;display:flex;align-items:center;justify-content:center;transition:all 0.3s}
.back-to-top.show{opacity:1;visibility:visible}
.back-to-top:hover{background:#004999}

/* READING PROGRESS */
.reading-progress{position:fixed;top:0;left:0;height:3px;background:#ff6b00;z-index:9999;width:0}

/* ALERT */
.alert{padding:15px;border-radius:8px;margin:15px 0}
.alert-warning{background:#fff3cd;color:#856404}
.alert-danger{background:#f8d7da;color:#721c24}
.alert-success{background:#d4edda;color:#155724}
.alert-info{background:#d1ecf1;color:#0c5460}

/* TOAST */
.toast{position:fixed;bottom:30px;right:30px;padding:15px 25px;border-radius:5px;color:white;z-index:9999;animation:fadeIn 0.3s}
.toast-success{background:#28a745}.toast-error{background:#dc3545}
@keyframes fadeIn{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}

/* IMAGE LIGHTBOX */
.image-lightbox{animation:fadeIn 0.3s}

/* RESPONSIVE */
@media(max-width:992px){.content-wrapper{grid-template-columns:1fr}.sidebar{position:static}}
@media(max-width:768px){
    .menu-toggle{display:block}
    .nav-list{display:none;position:absolute;top:100%;left:0;right:0;background:#0066cc;flex-direction:column;box-shadow:0 10px 25px rgba(0,0,0,0.15);max-height:80vh;overflow-y:auto}
    .nav-list.active{display:flex}
    .dropdown-menu{position:static!important;box-shadow:none!important;background:#004999!important;display:none}
    .dropdown-menu.show{display:block}
    .dropdown-menu a{color:white!important;padding-left:30px!important}
    .search-form{order:3;max-width:100%;flex:100%}
    .hero{padding:40px 0}
    .featured-card img{height:250px}
    .featured-card h3{font-size:1.2rem}
    .article-detail{padding:20px}
    .article-header h1{font-size:1.5rem}
    .article-grid{grid-template-columns:1fr}
    .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){
    .logo-text h1{font-size:1.2rem}
    .featured-card img{height:200px}
    .footer-grid{grid-template-columns:1fr}
}
