* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: #1a1a1a; background: #f8f9fa; }

/* NAV */
nav { background: #1a3a6b; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; height: 70px; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 120px; width: auto;padding-top:25px }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: rgba(255,255,255,.85); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; letter-spacing: .3px; }
.nav-links a:hover { color: #FF6B00; }

/* HERO */
.hero { background: #1a3a6b url('hero-bg.svg') center/cover no-repeat; padding: 110px 40px 100px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: rgba(10,25,55,0.5); }
.hero > * { position: relative; z-index: 1; }
.hero-tag { display: inline-block; font-size: 11px; color: #FF6B00; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 20px; background: rgba(255,107,0,0.12); padding: 6px 16px; border-radius: 20px; border: 1px solid rgba(255,107,0,0.3); }
.hero h1 { font-size: 44px; font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 22px; }
.hero h1 span { color: #FF6B00; }
.hero p { font-size: 17px; color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto 36px; line-height: 1.8; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; justify-content: center; margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.1); }
.hero-stat-num { font-size: 32px; font-weight: 800; color: #FF6B00; line-height: 1; }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 4px; letter-spacing: .5px; }

/* BUTTONS */
.btn-primary { background: #FF6B00; color: #fff; padding: 14px 32px; border-radius: 8px; text-decoration: none; font-size: 15px; font-weight: 600; transition: all .2s; border: none; cursor: pointer; display: inline-block; }
.btn-primary:hover { background: #e05e00; transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; padding: 14px 32px; border-radius: 8px; text-decoration: none; font-size: 15px; font-weight: 500; border: 1.5px solid rgba(255,255,255,.4); transition: all .2s; display: inline-block; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* SECTIONS */
.section { padding: 70px 40px; max-width: 1150px; margin: 0 auto; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.section-title { font-size: 26px; font-weight: 700; color: #1a3a6b; position: relative; padding-bottom: 12px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: #FF6B00; border-radius: 2px; }
.section-link { font-size: 13px; color: #FF6B00; text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.section-link:hover { text-decoration: underline; }

/* BOCANS GRID */
.bocans-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }

.bocan-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:all .3s ease;
    text-decoration:none;
    color:inherit;
    display:block;
    position:relative;
}
.bocan-cover{
    height:320px;
    background:#0d2347;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.bocan-cover img{
    width:190px;
    height:280px;
    object-fit:cover;
    border-radius:10px;
    box-shadow:0 15px 35px rgba(0,0,0,.25);
    transition:all .35s ease;
}

.bocan-card:hover .bocan-cover img{
    transform:scale(1.05) rotate(-1deg);
}
.bocan-cover-placeholder { width: 75px; height: 95px; background: #fff; border-radius: 5px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 5px; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.bocan-cover-placeholder span { font-size: 10px; color: #1a3a6b; font-weight: 700; letter-spacing: 1px; }
.bocan-cover-badge { position: absolute; top: 12px; right: 12px; background: #FF6B00; color: #fff; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 12px; letter-spacing: .5px; }
.bocan-body { padding: 18px; }
.bocan-cat { font-size: 11px; color: #FF6B00; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 7px; }
.bocan-title { font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 8px; line-height: 1.4; }
.bocan-desc { font-size: 13px; color: #666; line-height: 1.6; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.btn-read { display: block; text-align: center; background: #1a3a6b; color: #fff; padding: 10px; border-radius: 7px; font-size: 13px; font-weight: 600; text-decoration: none; transition: background .2s; }
.btn-read:hover { background: #0d2d54; }

/* ARTICLES */
.articles-list { display: flex; flex-direction: column; gap: 14px; }
.article-card { background: #fff; border-radius: 12px; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 10px rgba(0,0,0,.05); text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; border-left: 3px solid transparent; }
.article-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1); transform: translateX(4px); border-left-color: #FF6B00; }
.article-info { flex: 1; }
.article-cat { font-size: 11px; color: #FF6B00; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.article-title { font-size: 15px; font-weight: 600; color: #1a1a1a; margin-bottom: 5px; }
.article-meta { font-size: 12px; color: #999; display: flex; gap: 12px; }
.article-actions { display: flex; gap: 10px; align-items: center; margin-left: 24px; flex-shrink: 0; }
.btn-whatsapp { width: 38px; height: 38px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: transform .2s; }
.btn-whatsapp:hover { transform: scale(1.1); }
.btn-whatsapp svg { width: 18px; height: 18px; fill: #fff; }
.btn-lire { background: #1a3a6b; color: #fff; padding: 9px 18px; border-radius: 7px; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s; }
.btn-lire:hover { background: #0d2d54; }

/* BOCAN DETAIL */
.bocan-detail { max-width: 920px; margin: 0 auto; padding: 60px 40px; }

.bocan-detail-cover {
    width:100%;
    max-height:420px;
    object-fit:cover;
    border-radius:14px;
    margin-bottom:36px;
}

.bocan-detail-cover-placeholder { width: 100%; height: 280px; background: linear-gradient(135deg, #1a3a6b, #0d2347); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 36px; }
.bocan-detail h1 { font-size: 32px; font-weight: 800; color: #1a3a6b; margin-bottom: 20px; line-height: 1.3; }
.bocan-detail-desc { font-size: 16px; color: #555; line-height: 1.9; margin-bottom: 36px; }
.bocan-detail-btns { display: flex; gap: 14px; margin-bottom: 52px; flex-wrap: wrap; align-items: center; }
.related-title { font-size: 22px; font-weight: 700; color: #1a3a6b; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid #f0f0f0; }

/* ARTICLE DETAIL */
.article-detail { max-width: 820px; margin: 0 auto; padding: 60px 40px; }
.article-detail h1 { font-size: 32px; font-weight: 800; color: #1a3a6b; margin-bottom: 18px; line-height: 1.3; }
.article-detail-meta { font-size: 13px; color: #888; margin-bottom: 36px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.article-detail-content { font-size: 16px; color: #333; line-height: 2; margin-bottom: 48px; }
.article-detail-content p { margin-bottom: 22px; }
.share-box { background: linear-gradient(135deg, #f0f7ff, #e8f0fa); border-radius: 12px; padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; border: 1px solid #d0e4f7; }
.share-box p { font-size: 16px; font-weight: 600; color: #1a3a6b; }
.share-box a { background: #25D366; color: #fff; padding: 11px 22px; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: background .2s; }
.share-box a:hover { background: #1da851; }

/* PDF SECTION */
.pdf-section { display: none; margin-top: 40px; }
.pdf-section.active { display: block; }
.pdf-wrapper { border-radius: 14px; overflow: hidden; border: 2px solid #1a3a6b; box-shadow: 0 8px 32px rgba(26,58,107,0.15); }
.pdf-toolbar { background: #1a3a6b; padding: 14px 22px; display: flex; justify-content: space-between; align-items: center; }
.pdf-toolbar span { color: #fff; font-size: 14px; font-weight: 600; }
.pdf-toolbar a { color: #FF6B00; font-size: 13px; text-decoration: none; font-weight: 600; padding: 5px 12px; border: 1px solid #FF6B00; border-radius: 5px; transition: all .2s; }
.pdf-toolbar a:hover { background: #FF6B00; color: #fff; }
.btn-read-toggle { background: #FF6B00; color: #fff; padding: 14px 30px; border-radius: 8px; font-size: 15px; font-weight: 700; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all .2s; }
.btn-read-toggle:hover { background: #e05e00; transform: translateY(-1px); }
.btn-read-toggle.active { background: #555; }
.scroll-hint { font-size: 13px; color: #888; margin-top: 8px; display: none; font-style: italic; }
.scroll-hint.visible { display: block; }

/* FOOTER */
footer { background: #0d2347; padding: 40px; margin-top: 0; }
.footer-inner { max-width: 1150px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-logo img { height: 40px; width: auto; }
.footer-text { color: rgba(255,255,255,.5); font-size: 13px; text-align: center; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,.5); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: #FF6B00; }

/* ADMIN */
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #f0f4f8; }
.login-box { background: #fff; border-radius: 16px; padding: 44px; width: 400px; box-shadow: 0 8px 32px rgba(0,0,0,.1); }
.login-box h2 { font-size: 24px; color: #1a3a6b; margin-bottom: 6px; font-weight: 700; }
.login-box p { font-size: 14px; color: #888; margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: #444; margin-bottom: 7px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 11px 14px; border: 1.5px solid #e0e0e0; border-radius: 8px; font-size: 14px; outline: none; transition: border .2s; font-family: inherit; background: #fff; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: #1a3a6b; box-shadow: 0 0 0 3px rgba(26,58,107,0.08); }
.form-group textarea { min-height: 130px; resize: vertical; }
.alert { padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 20px; font-weight: 500; }
.alert-error { background: #ffeaea; color: #c00; border: 1px solid #ffcccc; }
.alert-success { background: #eafff0; color: #007a33; border: 1px solid #b3f0cc; }
.admin-nav { background: #1a3a6b; padding: 0 32px; display: flex; justify-content: space-between; align-items: center; height: 64px; box-shadow: 0 2px 12px rgba(0,0,0,.2); }
.admin-nav span { color: #fff; font-size: 16px; font-weight: 700; }
.admin-nav a { color: rgba(255,255,255,.8); text-decoration: none; font-size: 13px; font-weight: 500; }
.admin-nav a:hover { color: #FF6B00; }
.admin-container { max-width: 1050px; margin: 0 auto; padding: 44px 24px; }
.admin-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; margin-bottom: 44px; }
.admin-card { background: #fff; border-radius: 12px; padding: 28px; box-shadow: 0 2px 10px rgba(0,0,0,.06); text-align: center; border-top: 3px solid #1a3a6b; }
.admin-card .num { font-size: 40px; font-weight: 800; color: #1a3a6b; }
.admin-card .label { font-size: 13px; color: #888; margin-top: 6px; font-weight: 500; }
.admin-table { width: 100%; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); border-collapse: collapse; }
.admin-table th { background: #1a3a6b; color: #fff; padding: 14px 18px; text-align: left; font-size: 13px; font-weight: 600; }
.admin-table td { padding: 13px 18px; border-bottom: 1px solid #f0f0f0; font-size: 13px; color: #333; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #f8f9ff; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.badge-blue { background: #e6f0ff; color: #1a3a6b; }
.badge-orange { background: #fff0e6; color: #e05e00; }
.action-btns { display: flex; gap: 6px; }
.btn-del { background: #ffeaea; color: #c00; border: none; padding: 6px 12px; border-radius: 6px; font-size: 12px; cursor: pointer; font-weight: 600; }
.btn-del:hover { background: #ffcccc; }
.page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.page-header h2 { font-size: 22px; font-weight: 700; color: #1a3a6b; }
.form-card { background: #fff; border-radius: 14px; padding: 36px; box-shadow: 0 2px 16px rgba(0,0,0,.07); }

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 0 16px; }
  .nav-links { display: none; }
  .hero { padding: 60px 20px 50px; }
  .hero h1 { font-size: 28px; }
  .hero-stats { gap: 24px; }
  .hero-stat-num { font-size: 24px; }
  .section { padding: 44px 16px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .bocan-detail, .article-detail { padding: 32px 16px; }
  .share-box { flex-direction: column; gap: 16px; text-align: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .article-card { flex-direction: column; align-items: flex-start; gap: 12px; }
  .article-actions { margin-left: 0; }
}


/* ===============================
   PAGE DETAIL BOCAN
================================= */

.bocan-detail{
    max-width:900px;
    margin:80px auto;
    padding:0 20px;
    text-align:center;
}

.bocan-detail-cover{
    width:280px;
    height:400px;
    object-fit:cover;
    display:block;
    margin:0 auto 35px;
    border-radius:16px;
    box-shadow:0 18px 45px rgba(0,0,0,.18);
    transition:all .35s ease;
}

.bocan-detail-cover:hover{
    transform:translateY(-6px) scale(1.02);
    box-shadow:0 28px 60px rgba(0,0,0,.22);
}

.bocan-detail h1{
    font-size:34px;
    font-weight:800;
    color:#1a3a6b;
    margin-bottom:18px;
    line-height:1.3;
}

.bocan-detail-desc{
    font-size:17px;
    color:#555;
    line-height:1.7;
    max-width:700px;
    margin:0 auto 35px;
}

.bocan-detail-btns{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
    margin-top:25px;
}

.bocan-detail-btns a,
.bocan-detail-btns button{
    padding:14px 28px;
    border-radius:10px;
    text-decoration:none;
    font-size:15px;
    font-weight:600;
    border:none;
    cursor:pointer;
    transition:all .25s ease;
}

.bocan-detail-btns a:hover,
.bocan-detail-btns button:hover{
    transform:translateY(-2px);
}

.pdf-section{
    display:none;
    margin-top:45px;
}

.pdf-section.active{
    display:block;
}

.pdf-wrapper{
    border-radius:16px;
    overflow:hidden;
    border:2px solid #1a3a6b;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
}

.pdf-toolbar{
    background:#1a3a6b;
    padding:14px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.pdf-toolbar span{
    color:#fff;
    font-size:14px;
    font-weight:500;
}

.pdf-toolbar a{
    color:#FF6B00;
    text-decoration:none;
    font-weight:600;
}

.pdf-toolbar a:hover{
    text-decoration:underline;
}

/* ===============================
   MOBILE
================================= */

@media(max-width:768px){

.bocan-detail{
    margin:50px auto;
}

.bocan-detail-cover{
    width:220px;
    height:320px;
}

.bocan-detail h1{
    font-size:28px;
}

.bocan-detail-desc{
    font-size:15px;
}

.bocan-detail-btns{
    flex-direction:column;
}

.bocan-detail-btns a,
.bocan-detail-btns button{
    width:100%;
    justify-content:center;
}

}