/* Reset Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #F8FAFC;
    color: #333333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header & Navigasi --- */
.main-header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-nav a {
    text-decoration: none;
    color: #444444;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}

.main-nav a.active {
    color: #FF7F00;
}

.btn-orange {
    background-color: #FF7F00;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
}


/* --- Hamburger Menu (Default Sembunyi di Desktop) --- */
.hamburger-menu {
    display: none; /* Sembunyi di laptop */
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: 0.3s;
    border-radius: 2px;
}

/* --- Pengaturan Khusus Mobile (Breakpoint 768px) --- */
@media (max-width: 768px) {
    /* 1. HEADER: PAKSA LOGO TENGAH & SLIM */
    .header-container {
        display: flex !important;
        justify-content: flex-start !important; /* Dirubah ke kiri */
        align-items: center !important;
        height: 55px !important; /* Biar kurus/slim */
        position: relative !important;
    }

    .logo {
        margin: 0 !important; /* Hapus auto biar nggak narik ke tengah */
        z-index: 10;
    }

    .logo img {
        height: 35px !important; /* Menyesuaikan header slim */
    }

    /* 2. HAMBURGER: POSISI KANAN */
    .hamburger-menu {
        display: flex !important; 
        position: absolute !important;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 100000 !important;
        background: transparent;
        border: none;
        flex-direction: column;
        gap: 5px;
    }

    .hamburger-menu span {
        display: block;
        width: 24px;
        height: 3px;
        background-color: #333;
        border-radius: 5px;
        transition: 0.3s;
    }

    .header-cta.desktop-only {
        display: none !important;
    }

    /* 3. NAVIGASI: DROPDOWN GLASSMORPHISM */
    .main-nav ul {
        display: none; 
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        
        background: rgba(255, 255, 255, 0.95); 
        backdrop-filter: blur(10px); 
        -webkit-backdrop-filter: blur(10px); 
        
        flex-direction: column;
        padding: 15px 0;
        gap: 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        border-top: 1px solid rgba(0,0,0,0.05);
        z-index: 99999 !important;
    }

    .main-nav ul.show {
        display: flex !important;
    }

    .main-nav ul li {
        width: 100%;
        text-align: center;
        list-style: none;
    }

    .main-nav ul li a {
        display: block;
        padding: 15px 0;
        width: 100%;
        font-size: 16px;
        font-weight: 700;
        color: #333 !important;
        text-transform: uppercase;
        text-decoration: none;
        transition: 0.2s ease-in-out; /* Animasi perpindahan warna */
    }

    /* 4. ANIMASI WARNA TOMBOL (HOVER/ACTIVE) */
    .main-nav ul li a:hover,
    .main-nav ul li a:active,
    .main-nav ul li a.active {
        color: #FF7F00 !important; /* Warna Orange */
    }

    /* 5. ANIMASI X (SILANG) */
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }

    /* 6. UTILITAS VISIBILITY */
    .mobile-only {
        display: block !important;
        padding: 10px 20px;
    }
}

/* --- Helper Class --- */
.mobile-only { display: none !important; }
.desktop-only { display: block; }

/* --- Pengaturan Layout Utama (Portal Grid) --- */
.article-section {
    padding: 40px 0;
    background-color: #fff;
}

.portal-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 2/3 untuk Headline, 1/3 untuk Sidebar */
    gap: 30px;
    margin-bottom: 40px;
}

/* --- 1. Headline Area (Artikel Utama) --- */
.featured-card {
    position: relative;
    overflow: hidden;
}

.featured-img {
    position: relative;
    height: 450px; /* Foto besar untuk headline */
    width: 100%;
}

.featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Efek Overlay Teks di Atas Gambar */
.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85)); /* Gradasi biar teks kebaca */
    color: #fff;
}

.featured-overlay h2 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin: 10px 0;
}

.featured-overlay h2 a {
    color: #fff;
    text-decoration: none;
}

.badge-v2 {
    background-color: #FF7F00; /* Warna Oranye Tripseribu */
    color: #fff;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
}

.meta-v2 {
    font-size: 13px;
    opacity: 0.8;
}

/* --- 2. Trending Area (Sidebar List) --- */
.trending-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.list-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee; /* Garis tipis antar list */
}

.list-item:last-child {
    border-bottom: none;
}

.list-img {
    flex: 0 0 100px; /* Ukuran thumbnail tetap */
    height: 80px;
}

.list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.list-text .category {
    font-size: 11px;
    font-weight: 700;
    color: #FF7F00;
    text-transform: uppercase;
}

.list-text h4 {
    font-size: 15px;
    line-height: 1.4;
    margin-top: 5px;
}

.list-text h4 a {
    color: #1a202c;
    text-decoration: none;
    transition: 0.3s;
}

.list-text h4 a:hover {
    color: #FF7F00;
}

/* --- 3. Edukasi Grid (Bagian Bawah) --- */
.divider {
    border: 0;
    border-top: 2px solid #1a202c; /* Garis tegas ala portal berita */
    margin: 40px 0;
}

.edukasi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mini-card {
    background: none;
}

.mini-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 4px;
}

.mini-content .category {
    font-size: 11px;
    font-weight: 700;
    color: #FF7F00;
}

.mini-content h4 {
    font-size: 18px;
    margin-top: 8px;
}

.mini-content h4 a {
    color: #1a202c;
    text-decoration: none;
}

/* --- Responsive buat HP --- */
@media (max-width: 768px) {
    .portal-grid, .edukasi-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-img {
        height: 300px;
    }
    
    .featured-overlay h2 {
        font-size: 22px;
    }
}

/* --- Footer Section --- */
/* --- SECTION LOGO STYLES --- */
.brand-showcase {
    padding: 96px 0;
    background-color: #ffffff;
    border-top: 1px solid #f8fafc;
    position: relative;
    overflow: hidden;
}

.top-line-decoration {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, #f97316, transparent);
}

.container-center {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
}

.brand-logo {
    margin: 0 auto;
    height: 128px; /* Mobile */
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.7s transform cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    .brand-logo { height: 176px; }
}

.logo-group:hover .brand-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
    filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15));
}

.slogan-text {
    margin-top: 40px;
    font-size: 18px;
    font-weight: 900;
    color: #cbd5e1;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-style: italic;
    line-height: 1.625;
}

@media (min-width: 768px) {
    .slogan-text { font-size: 20px; }
}

.accent {
    color: rgba(249, 115, 22, 0.5);
    transition: color 0.5s ease;
}

.logo-group:hover ~ .slogan-wrapper .accent {
    color: #f97316;
}

.divider-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    opacity: 0.2;
}

.horizontal-bar {
    width: 48px;
    height: 1px;
    background-color: #0f172a;
}

.circle-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #f97316;
}


/*LOGO2*/
.brand-section {
    padding: 96px 0;
    background-color: #ffffff;
    border-top: 1px solid #f8fafc;
    position: relative;
    overflow: hidden;
}

.top-divider {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, #f97316, transparent);
}

.container-center {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-left: 16px;
    padding-right: 16px;
    text-align: center;
}

.logo-box {
    position: relative;
    display: inline-block;
}

.logo-image {
    margin-left: auto;
    margin-right: auto;
    height: 128px; /* Mobile height (32) */
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    .logo-image {
        height: 176px; /* Desktop height (44) */
    }
}

/* Hover Effects Logo */
.logo-box:hover .logo-image {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
    filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15));
}

.text-content {
    margin-top: 40px;
}

.slogan-title {
    font-size: 18px; /* lg */
    font-weight: 900;
    color: #cbd5e1; /* slate-300 */
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-style: italic;
    line-height: 1.625;
}

@media (min-width: 768px) {
    .slogan-title {
        font-size: 20px; /* xl */
    }
}

.accent-text {
    color: rgba(249, 115, 22, 0.5); /* orange-500/50 */
    transition: color 0.5s ease;
}

/* Hover Effects Text Accent */
.logo-box:hover ~ .text-content .accent-text {
    color: #f97316; /* orange-500 */
}

.bottom-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    opacity: 0.2;
}

.side-line {
    width: 48px;
    height: 1px;
    background-color: #0f172a; /* slate-900 */
}

.center-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background-color: #f97316; /* orange-500 */
}



/* --- FOOTER STYLES --- */
.site-footer {
    background-color: #030712;
    color: #ffffff;
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .footer-container {
        padding: 0 48px;
    }
}

.footer-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

@media (min-width: 768px) {
    .footer-wrapper {
        flex-direction: row;
    }
}

.footer-info {
    text-align: center;
}

@media (min-width: 768px) {
    .footer-info {
        text-align: left;
    }
}

.footer-logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-style: italic;
}

.footer-logo-accent {
    color: #f97316;
    font-size: 14px;
    letter-spacing: 0.1em;
    font-style: normal;
}

.footer-copyright {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

@media (min-width: 768px) {
    .footer-status {
        justify-content: flex-start;
    }
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #f97316;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.company-tag {
    font-size: 10px;
    color: #475569;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.footer-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-btn {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background-color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s ease;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    color: inherit;
    text-decoration: none;
}

.footer-btn i {
    font-size: 20px;
    transition: all 0.5s ease;
}

/* Instagram Hover Effect */
.instagram:hover {
    border-color: rgba(236, 72, 153, 0.5);
    color: #ec4899;
}

.instagram:hover i {
    transform: scale(1.1) rotate(6deg);
}

/* Email Hover Effect */
.email:hover {
    border-color: rgba(249, 115, 22, 0.5);
    color: #f97316;
}

.email:hover i {
    transform: scale(1.1);
}
