/*
Theme Name: Darihati Agency
Theme URI: https://darihati.agency
Author: Darihati Agency Team
Author URI: https://darihati.agency
Description: Custom WordPress theme for Darihati Agency
Version: 1.0
License: GPL v2 or later
Text Domain: darihati
*/

/* =========================================
   TARUH INI DI BARIS PALING ATAS (BARIS 1)
   Supaya pasti terbaca & tidak error
========================================= */

/* Wadah Utama - KITA PAKSA UKURANNYA */
#motion-container {
    width: 200px !important;
    height: 200px !important;
    margin: 0 auto 30px;
    position: relative;
    display: flex !important;
    justify-content: center;
    align-items: center;
    overflow: visible !important;
    background: transparent;
}

/* Wrapper */
.motion-graphic {
    width: 100% !important;
    height: 100% !important;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- 1. ORBIT --- */
.motion-type-orbit .motion-center {
    width: 50px; height: 50px; background: #D92323; 
    border-radius: 50%; position: absolute; z-index: 2;
    box-shadow: 0 0 20px rgba(217, 35, 35, 0.8);
}
.motion-type-orbit .motion-ring {
    width: 140px; height: 140px; border: 1px solid rgba(217, 35, 35, 0.5);
    border-radius: 50%; position: absolute;
    animation: spinRight 5s linear infinite;
}
.motion-type-orbit .motion-dot {
    width: 10px; height: 10px; background: #fff; border-radius: 50%;
    position: absolute; top: 50%; left: -5px;
    box-shadow: 0 0 10px #fff;
}

/* --- 2. GRID --- */
.grid-box {
    width: 120px !important; height: 120px !important;
    display: grid; grid-template-columns: 1fr 1fr; gap: 5px;
}
.grid-cell {
    background: rgba(217, 35, 35, 0.2);
    border: 1px solid #D92323;
    width: 100%; height: 100%;
}
.grid-cell:nth-child(1) { animation: flicker 1s infinite; }
.grid-cell:nth-child(2) { animation: flicker 2s infinite; }
.grid-cell:nth-child(3) { animation: flicker 1.5s infinite; }
.grid-cell:nth-child(4) { animation: flicker 2.5s infinite; }

/* --- 3. PERCENT --- */
.motion-type-percent .track {
    width: 140px !important; height: 140px !important; 
    border: 6px solid #333; border-radius: 50%; position: absolute;
}
.motion-type-percent .bar {
    width: 140px !important; height: 140px !important; 
    border: 6px solid #D92323; border-radius: 50%; position: absolute;
    border-left-color: transparent;
    animation: spinLoad 2s infinite alternate;
}
.motion-type-percent .text {
    position: absolute; font-weight: bold; font-size: 24px; color: #fff;
    z-index: 10;
}

/* --- 4. WAVE --- */
.motion-type-wave svg {
    width: 180px !important; height: 60px !important;
    display: block !important;
    fill: none; stroke: #D92323; stroke-width: 4; stroke-linecap: round;
    animation: waveSlide 2s linear infinite;
}

/* --- 5. STAR --- */
.motion-type-star .core {
    width: 15px; height: 15px; background: #fff; border-radius: 50%;
    box-shadow: 0 0 20px 5px #D92323;
    animation: glowPulse 1s infinite alternate;
}
.motion-type-star .orbit-ring {
    width: 160px; height: 160px; border: 1px dashed rgba(255, 255, 255, 0.3);
    border-radius: 50%; position: absolute;
    animation: spinRight 10s linear infinite;
}
.motion-type-star .orbit-dot {
    width: 8px; height: 8px; background: #D92323; border-radius: 50%;
    position: absolute; right: 0; top: 50%;
}

/* --- KEYFRAMES --- */
@keyframes spinRight { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes flicker { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; box-shadow: 0 0 10px #D92323; } }
@keyframes spinLoad { 0% { transform: rotate(-45deg); } 100% { transform: rotate(225deg); } }
@keyframes waveSlide { from { transform: translateX(0); } to { transform: translateX(-20px); } }
@keyframes glowPulse { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.3); opacity: 1; } }

/* =========================================
   BATAS AKHIR KODE ANIMASI
========================================= */

/* === 1. SETUP DASAR (RESET) === */
:root {
    --bg-dark: #050505;     
    --bg-light: #ffffff;    
    --accent-red: #D92323;  
    --font-main: 'Inter', sans-serif;
    --nav-height: 100px;
    --primary: #D92323;
    --primary-hover: #b31b1b;
    --foreground: #ffffff;
    --border: #222;
    --muted: #888888;
    --card: #0a0a0a;
    --radius: 8px;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box;
    font-family: var(--font-main); 
}

html { 
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    overflow-x: hidden;
}

body { 
    background-color: var(--bg-dark); 
    color: #fff; 
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px;
    width: 100%;
}

/* === ONE SCREEN, ONE SECTION === */
.section .hero, .light-section, .dark-section {
    min-height: 80vh;
    height: 100vh;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding-top: 0px!important; 
    padding-bottom: 0px !important;
    box-sizing: border-box !important;
    margin: 0 !important; 
    position: relative !important;
    overflow: hidden;
}

/* === MAGNET SCROLL === */
html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* === 2. UTILITY === */
.text-red { color: var(--accent-red); }
.section-label {
    font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; margin-bottom: 25px;
    text-transform: uppercase; display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; display: block; width: 30px; height: 2px; background-color: var(--accent-red); }
.dark-section { background-color: var(--bg-dark); color: #fff; padding: 100px 0; }
.light-section { background-color: var(--bg-light); color: #111; padding: 120px 0; }
.medium-title { font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 30px; color: #111; }
.big-title { font-size: 3rem; font-weight: 800; margin-bottom: 50px; color: #fff; }
.category-title { color: var(--accent-red); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 20px; text-transform: uppercase; }

/* === 3. NAVBAR === */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background-color: transparent;
    transition: all 0.4s ease-in-out;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    width: 90%; 
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.logo {
    flex-shrink: 0;
    margin-right: 20px;
}

.logo img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-white { display: block; }
.logo-dark { display: none; }

.menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin-left: auto; 
    margin-right: 30px;
}

.menu li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

.menu li a:hover {
    color: #f50000;
}

.btn-nav {
    flex-shrink: 0;
    padding: 10px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.btn-nav:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.hamburger {
    display: none;
    cursor: pointer;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 5px 0;
    transition: 0.3s;
}

/* STATE SAAT DI-SCROLL */
nav.scrolled {
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}

nav.scrolled .logo-white { display: none; }
nav.scrolled .logo-dark { display: block; }

nav.scrolled .menu li a {
    color: #000000;
}

nav.scrolled .menu li a:hover {
    color: #f50000;
}

nav.scrolled .btn-nav {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #000000;
}

nav.scrolled .btn-nav:hover {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #000000;
}

nav.scrolled .hamburger span {
    background-color: #000000;
}

/* RESPONSIVE / MOBILE VIEW */
@media (max-width: 768px) {
    .hamburger {
        display: block; 
        z-index: 1001;
    }

    .menu {
        margin-left: 0; 
        margin-right: 0;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #000000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        gap: 40px;
        transition: 0.4s ease;
    }

    .menu.active {
        right: 0;
    }
    
    nav.scrolled .menu li a, 
    .menu li a {
        color: #ffffff; 
        font-size: 20px;
    }

    .btn-nav {
        display: none;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
        background-color: #fff;
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
        background-color: #fff;
    }
}

/* === 4. HERO SECTION === */
.hero { min-height: 90vh; display: flex; align-items: center; padding: 50px 0; position: relative; padding-top: 100px; }
.hero-layout { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.hero-text { flex: 1; max-width: 600px; }
.hero h1 { font-size: 4rem; font-weight: 900; line-height: 1.1; text-transform: uppercase; margin-bottom: 30px; }
.hero-description { border-left: 4px solid #333; padding-left: 20px; margin-bottom: 40px; max-width: 480px; }
.hero-description p { color: var(--text-gray); font-size: 1.1rem; line-height: 1.6; }
.hero-buttons { display: flex; gap: 20px; align-items: center; }
.btn-primary { background-color: #fff; color: #000; padding: 15px 30px; border-radius: 50px; text-decoration: none; font-weight: 700; transition: 0.3s; }
.btn-primary:hover { background-color: #ddd; }
.btn-secondary { color: #fff; text-decoration: none; font-weight: 600; transition: 0.3s; }
.btn-secondary:hover { color: var(--accent-red); }

.hero-card {
    flex: 0 0 400px; height: 450px; background: #0a0a0a;
    border: 1px solid #222; border-radius: 20px; position: relative;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 30px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); overflow: hidden;
}
.card-content h3 { font-size: 1.5rem; margin-bottom: 5px; font-weight: 700; }
.card-content p { font-size: 0.75rem; color: #666; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.slider-indicators { display: flex; gap: 8px; margin-top: 10px; }
.line { height: 4px; flex: 1; background-color: #333; border-radius: 2px; transition: background-color 0.3s ease; }
.line.active { background-color: var(--accent-red); }
.card-decoration { position: absolute; top: 50px; left: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; opacity: 0.2; }
.card-decoration span { width: 4px; height: 4px; background-color: #fff; border-radius: 50%; }

/* === 5. PROCESS (WHO WE ARE) === */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-top: 20px; }
.process-card {
    background: #fff; padding: 30px; border-radius: 20px; border: 1px solid #f0f0f0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05); transition: 0.3s ease;
}
.process-card:hover { transform: translateY(-10px); box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.process-icon { font-size: 2.5rem; margin-bottom: 20px; background: #f9f9f9; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.process-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; color: #000; }
.process-card p { font-size: 0.9rem; color: #666; line-height: 1.5; }

/* === 6. SERVICES === */
.grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.service-box {
    background: #0a0a0a; border: 1px solid var(--border-dark); padding: 40px; border-radius: 16px;
    position: relative; transition: all 0.3s ease; display: flex; flex-direction: column; justify-content: space-between; min-height: 250px;
    text-decoration: none; color: inherit; cursor: pointer;
}
.service-box:hover { border-color: var(--accent-red); background: #0f0f0f; transform: translateY(-5px); }
.service-box h3 { font-size: 1.4rem; margin-bottom: 10px; font-weight: 700; color: #fff; }
.service-box p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.6; }
.icon-box { font-size: 2rem; margin-bottom: 20px; }

@media (max-width: 768px) {
    .section, .light-section, .dark-section {
        height: auto !important;      /* Jangan dikunci 100vh di HP */
        overflow: visible !important; /* Biarkan user scroll ke bawah */
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }
}

/* === 7. WORKS MARQUEE === */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 600px;
}

.text-primary {
  color: red (--primary);
}
.works {
  padding: 8rem 0;
  background-color: var(--bg-dark);
}

.works-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.works-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.625rem 1.25rem;
  background-color: transparent;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--primary) var(--muted);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary-hover);
  color: var(--foreground);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  border-radius: 20px;
}

.work-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
  group: true;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-card:hover img {
  transform: scale(1.1);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.work-card:hover .work-overlay {
  opacity: 1;
}

.work-category {
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.work-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.work-card:hover .work-title {
  transform: translateY(0);
}

.work-desc {
  color: var(--muted);
  font-size: 0.875rem;
  transform: translateY(20px);
  transition: transform 0.3s ease 0.1s;
}

.work-card:hover .work-desc {
  transform: translateY(0);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--foreground);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background-color: var(--card);
  border-color: var(--muted);
}

/* === 8. TEAM === */
.about-desc { font-size: 1.1rem; color: #555; line-height: 1.6; margin-bottom: 60px; max-width: 700px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-top: 60px; text-align: center; }
.team-card .img-box {
    width: 240px; height: 240px; margin: 0 auto 25px auto; border-radius: 50%;
    overflow: hidden; border: 3px solid transparent; transition: 0.3s;
}
.team-card img {
    width: 100%; height: 100%; object-fit: cover; object-position: center top;
    filter: grayscale(100%); transition: transform 0.5s ease, filter 0.5s ease;
}
.team-card:hover .img-box { border-color: #ddd; }
.team-card:hover img { filter: grayscale(0%); transform: scale(1.15); }
.team-card h4 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; color: #000; }
.team-card .role { font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent-red); }

/* === 9. FOOTER === */
footer { border-top: 1px solid #222; text-align: center; padding-top: 0px; padding-bottom: 0px; }
#contact .giant-text {
    font-size: 8rem; font-weight: 900; margin-bottom: 20px; margin-top: 0px;
    background: linear-gradient(to right, #fff, #666);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
#contact .text-outline {
    font-size: inherit !important;
    line-height: inherit !important;
}
.contact-info { color: #888; font-size: 1.2rem; margin-bottom: 0px; }
.footer-bottom { font-size: 0.8rem; color: #444; margin-top: 0px; }

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
    .nav { padding: 15px 20px; }
    .hamburger { display: flex; z-index: 2001; }
    .menu {
        position: fixed; top: 0; right: -100%; width: 75%; height: 100vh;
        background-color: #000; flex-direction: column; justify-content: center; align-items: center;
        gap: 30px; transition: 0.4s ease-in-out; box-shadow: -5px 0 15px rgba(0,0,0,0.5); z-index: 2000;
    }
    .menu.active { right: 0; }
    .menu a { font-size: 1.2rem; }
    .desktop-only { display: none; }
    .btn-nav-mobile { display: inline-block; color: #fff; border: 1px solid #fff; padding: 10px 30px; border-radius: 30px; margin-top: 20px; }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

    .hero-layout { flex-direction: column; text-align: center; gap: 50px; }
    .hero-description { margin: 20px auto; border: none; padding: 0; }
    .hero-buttons { justify-content: center; }
    .hero-card { width: 100%; max-width: 350px; height: 350px; }
    .hero h1 { font-size: 2.5rem; }
    .giant-text { font-size: 4rem; }
    .marquee-content.small-height img { height: 180px; width: 280px; }
    .marquee-content.big-height img { height: 250px; width: 380px; }
}

/* === TAMBAHAN ANIMASI HERO SLIDER === */
#slider-title, #slider-desc {
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 1;
    transform: translateY(0);
}

.text-hidden {
    opacity: 0; 
    transform: translateY(10px);
}

/* === BAGIAN WHO WE ARE === */
#dh-about-section {
    display: block !important;
    background-color: #ffffff !important;
    padding: 100px 5%;
    position: relative;
    z-index: 90;
    width: 100%;
    overflow: hidden;
}

.dh-label-line {
    background-color: #D92323;
    display: inline-block;
    width: 40px;
    height: 3px;
    vertical-align: middle;
    margin-right: 10px;
}

.dh-label-text {
    color: #D92323;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-family: sans-serif;
}

.dh-headline {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.2;
    color: #000000;
    font-family: sans-serif;
    display: block;
    max-width: 900px;
    margin-top: 20px;
}

.dh-description {
    font-size: 18px;
    color: #444444;
    line-height: 1.6;
    font-family: sans-serif;
    display: block;
    max-width: 800px;
    margin-top: 20px;
}

.dh-highlight {
    color: #D92323;
}

.dh-card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.dh-card {
    flex: 1;
    min-width: 200px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: default;
    border: 1px solid #eee;
}

.dh-icon {
    font-size: 30px;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.dh-card-title {
    display: block;
    font-size: 20px;
    margin-bottom: 10px;
    color: #000000;
    font-weight: bold;
    transition: color 0.3s ease;
}

.dh-card-desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
    display: block;
    transition: color 0.3s ease;
}

.dh-card:hover {
    background: #2c2c2c;
    border-color: #0c0c0c;
    transform: translateY(-5px);
}

.dh-card:hover .dh-card-title,
.dh-card:hover .dh-icon {
    color: #ffffff !important;
}

.dh-card:hover .dh-card-desc {
    color: #cccccc !important;
}

.dh-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background-color: #D92323;
    transition: width 0.4s ease-in-out;
}

/* === PENGECUALIAN KHUSUS === */
section.auto-height-section {
    height: auto !important; 
    min-height: 80vh !important;
    overflow: visible !important;
    justify-content: flex-start !important;
    padding-top: 100px !important; 
    padding-bottom: 100px !important;
}

#journal {
    height: auto !important;
    min-height: auto !important;
    display: block !important;
    overflow: visible !important;
    justify-content: unset !important;
}

/* --- A. SERVICES SECTION (5 COLUMNS UPDATE) --- */
#container-tech, #container-creative { 
    display: grid !important; 
    grid-template-columns: repeat(5, 1fr) !important; 
    gap: 20px; 
    width: 100%; 
}

.service-box {
    background: #050505;
    border: 1px solid #222;
    padding: 30px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    position: relative;
}

.service-box:hover {
    transform: translateY(-10px);
    border-color: #D92323;
    background: #0a0a0a;
}

.service-box .icon-box {
    font-size: 32px;
    margin-bottom: 25px;
    color: #fff;
    transition: color 0.3s ease;
}

.service-box:hover .icon-box {
    color: #D92323;
}

.service-box h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    min-height: 47px; 
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-box p {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
}

@media (max-width: 1200px) { 
    #container-tech, #container-creative { grid-template-columns: repeat(3, 1fr) !important; } 
}
@media (max-width: 768px) { 
    #container-tech, #container-creative { grid-template-columns: 1fr !important; } 
}

/* --- B. BLOG / JOURNAL SECTION --- */
.journal-section { padding: 100px 20px; background-color: #050505; color: #fff; border-top: 1px solid #222; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; border-bottom: 1px solid #333; padding-bottom: 20px; }
.section-title { font-size: 50px; font-weight: 800; line-height: 1; }
.view-all-link { color: #aaa; text-decoration: none; font-size: 14px; transition: color 0.3s; }
.view-all-link:hover { color: #D92323; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { background: #111; border: 1px solid #222; border-radius: 8px; overflow: hidden; transition: transform 0.3s ease, border-color 0.3s ease; display: flex; flex-direction: column; text-decoration: none; color: #fff; height: 100%; }
.blog-card:hover { transform: translateY(-5px); border-color: #D92323; }
.blog-thumb { width: 100%; height: 240px; object-fit: cover; filter: grayscale(100%); transition: filter 0.3s ease; }
.blog-card:hover .blog-thumb { filter: grayscale(0%); }
.blog-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-meta { font-size: 12px; color: #888; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; display: flex; gap: 10px; }
.blog-cat { color: #D92323; font-weight: bold; }
.blog-title { font-size: 20px; font-weight: 700; line-height: 1.4; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.blog-excerpt { font-size: 14px; color: #bbb; line-height: 1.6; margin-bottom: 25px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { margin-top: auto; font-size: 13px; font-weight: bold; color: #fff; display: flex; align-items: center; gap: 5px; }
.arrow { transition: transform 0.3s; }
.blog-card:hover .arrow { transform: translateX(5px); }
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.work-item { position: relative; display: block; overflow: hidden; border-radius: 8px; }
.work-item img { width: 100%; height: 100%; object-fit: cover; transition: all 0.5s ease; display: block; }
.work-cat { position: absolute; bottom: 20px; left: 20px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(0,0,0,0.6); padding: 5px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s ease; opacity: 1; transform: translateY(0); z-index: 10; }
.work-title { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.8); font-size: 24px; font-weight: 800; color: #fff; text-align: center; opacity: 0; transition: all 0.4s ease; width: 90%; z-index: 10; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.work-item:hover img { transform: scale(1.1); filter: brightness(0.3); }
.work-item:hover .work-cat { opacity: 0; transform: translateY(10px); }
.work-item:hover .work-title { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.impact-section { background-color: #000; color: #fff; padding: 100px 20px; border-bottom: 1px solid #222; }
.impact-title { font-size: 80px; line-height: 1; font-weight: 800; margin-bottom: 40px; letter-spacing: -2px; }
.text-outline { color: #222; -webkit-text-stroke: 1px #555; }
.contact-details { font-size: 20px; margin-top: 30px; color: #aaa; }
.contact-link { color: #fff; text-decoration: none; transition: 0.3s; }
.contact-link:hover { color: #D92323; }
.separator { margin: 0 15px; color: #444; }

.main-footer { background-color: #000; color: #fff; padding: 60px 5% 30px; font-family: sans-serif; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr 1fr; gap: 40px; margin-bottom: 60px; }
.label { font-size: 12px; color: #666; letter-spacing: 1px; margin-bottom: 20px; font-weight: bold; text-transform: uppercase; }
.footer-logo { max-width: 150px; margin-bottom: 30px;  }
.social-links a { color: #fff; margin-right: 20px; text-decoration: none; font-size: 14px; border: 1px solid #333; padding: 8px 12px; border-radius: 50%; transition: 0.3s; }
.social-links a:hover { background: #fff; color: #000; }
.footer-nav { list-style: none; padding: 0; }
.footer-nav li { margin-bottom: 12px; }
.footer-nav a { color: #ddd; text-decoration: none; transition: 0.3s; }
.footer-nav a:hover { color: #fff; padding-left: 5px; }
.footer-bottom { border-top: 1px solid #222; padding-top: 30px; display: flex; justify-content: space-between; font-size: 12px; color: #555; }
    
.floating-widget { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 15px; z-index: 9999; }
.float-btn { width: 50px; height: 50px; background: #fff; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 24px; text-decoration: none; box-shadow: 0 4px 15px rgba(0,0,0,0.3); transition: transform 0.3s ease; }
.float-btn:hover { transform: scale(1.1); }
.email-btn { background: #fff; color: #000; }
.wa-btn { background: #25D366; color: #fff; }

@media (max-width: 768px) { .impact-title { font-size: 40px; } .footer-grid { grid-template-columns: 1fr; gap: 30px; } .spacer { display: none; } }

#motion-container { transition: opacity 0.5s ease; }
.fade-out { opacity: 0 !important; }
.orb-center { width: 50px; height: 50px; background: #D92323; border-radius: 50%; position: absolute; box-shadow: 0 0 20px rgba(217,35,35,0.8); }
.orb-ring { width: 140px; height: 140px; border: 1px solid rgba(217,35,35,0.5); border-radius: 50%; position: absolute; animation: spinInfinite 6s linear infinite; }
.orb-dot { width: 10px; height: 10px; background: #fff; border-radius: 50%; position: absolute; top: 50%; left: -5px; box-shadow: 0 0 10px #fff; }
.grid-wrap { display: grid; grid-template-columns: 1fr 1fr; width: 120px; height: 120px; gap: 4px; }
.grid-item { background: rgba(217,35,35,0.1); border: 1px solid #D92323; width: 100%; height: 100%; }
.grid-item:nth-child(even) { animation: flicker 2s infinite; }
.grid-item:nth-child(odd) { animation: flicker 1s infinite; }
.pct-track { width: 140px; height: 140px; border: 6px solid #333; border-radius: 50%; position: absolute; }
.pct-bar { width: 140px; height: 140px; border: 6px solid #D92323; border-radius: 50%; position: absolute; border-left-color: transparent; animation: spinOscillate 2s ease-in-out infinite alternate; }
.pct-text { font-size: 24px; font-weight: bold; color: #fff; position: absolute; z-index: 10; }
.wave-svg { width: 180px; height: 60px; fill: none; stroke: #D92323; stroke-width: 4; stroke-linecap: round; animation: waveMove 2s linear infinite; }
.star-core { width: 20px; height: 20px; background: #fff; border-radius: 50%; box-shadow: 0 0 30px 10px #D92323; animation: pulse 1s infinite alternate; }
.star-ring { width: 160px; height: 160px; border: 1px dashed rgba(255,255,255,0.3); border-radius: 50%; position: absolute; animation: spinInfinite 10s linear infinite; }
    
@keyframes spinInfinite { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes spinOscillate { 0% { transform: rotate(-45deg); } 100% { transform: rotate(225deg); } }
@keyframes flicker { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; background: rgba(217,35,35,0.5); } }
@keyframes waveMove { from { transform: translateX(0); } to { transform: translateX(-20px); } }
@keyframes pulse { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.3); opacity: 1; } }

/* 1. Paksa kolom brand (yang isi logo & socials) untuk center */
.footer-col.brand-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Ini kunci buat nengahin logo & area socials */
    text-align: center !important;
}

/* 2. Pastikan area label "SOCIALS" juga di tengah */
.social-area {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 20px !important;
}

/* 3. Reset margin yang bikin miring dan set ke tengah */
.footer-social {
    display: flex !important;
    justify-content: center !important; /* Menengah kan icon secara horizontal */
    gap: 15px !important;
    margin-left: 0 !important; /* WAJIB: Hapus 150px yang tadi */
    margin-right: 0 !important;
    width: auto !important;
    padding: 0 !important;
}

/* 4. Desain icon (tetap seperti versi kamu tapi tanpa margin aneh) */
.footer-social a {
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    color: #fff !important;
    transition: all 0.3s ease !important;
}/* =========================================
   FIX TINGGI CONTACT & FOOTER
========================================= */
#contact, 
footer,
.impact-section, 
.main-footer {
    min-height: auto !important; 
    height: auto !important;
    display: block !important;
    padding-top: 60px !important;
    padding-bottom: 40px !important;
    background-color: #000 !important;
}

/* =============================================
   CSS KHUSUS BLOG (DARI blog.html)
============================================= */

/* 1. Card Artikel */
.section-title .text-outline {
    color: #D92323 !important;
    -webkit-text-fill-color: #D92323 !important; /* Jika sebelumnya transparan */
    -webkit-text-stroke: 0px !important; /* Hapus garis pinggir jika ingin jadi solid merah */
}
.blog-card-single {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card-single:hover {
    border-color: #dc3545;
    background: rgba(255, 255, 255, 0.02);
    transform: translateY(-5px);
}

/* 2. Gambar Artikel */
.blog-thumb-single {
    height: 220px;
    width: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

.blog-card-single:hover .blog-thumb-single {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.blog-img-wrapper {
    overflow: hidden;
}

/* 3. Link Judul */
.blog-title-single a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}
.blog-title-single a:hover {
    color: #dc3545;
}

/* 4. Kategori Badge */
.category-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
    margin-bottom: 10px;
    display: block;
}

/* 5. Sidebar Style */
.sidebar-item {
    background: #0f0f0f;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.1);
}

.sidebar-link {
    display: block;
    padding: 8px 0;
    color: #aaa;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
}

.sidebar-link:hover {
    color: #dc3545;
    padding-left: 10px;
}

/* 6. Bootstrap Compatibility */
.bg-black {
    background-color: #000 !important;
}

.ls-2 {
    letter-spacing: 2px;
}

.object-fit-cover {
    object-fit: cover !important;
}

/* 7. Pagination Styles */
.btn-group .btn {
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: #fff;
}

.btn-group .btn:hover,
.btn-group .btn.active {
    background: #D92323;
    border-color: #D92323;
}

.btn-group .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 8. Form Styles untuk Blog */
.form-control.bg-dark {
    background-color: rgba(255,255,255,0.05) !important;
    border-color: rgba(255,255,255,0.2) !important;
    color: #fff !important;
}

.form-control.bg-dark::placeholder {
    color: rgba(255,255,255,0.5) !important;
}

.btn-black {
    background-color: #000 !important;
    color: #fff !important;
    border: 1px solid #000 !important;
}

.btn-black:hover {
    background-color: #fff !important;
    color: #000 !important;
}

/* 9. Responsive Blog */
@media (max-width: 768px) {
    .w-75 {
        width: 100% !important;
    }
    
    .ps-lg-5 {
        padding-left: 0 !important;
    }
    
    .sidebar-item {
        padding: 20px;
    }
}

/* === BLOG ARCHIVE === */
.blog-archive-section {
    padding: 100px 0;
    background: #000;
    color: #fff;
}

.archive-header {
    text-align: center;
    margin-bottom: 60px;
}

.archive-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.archive-description {
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.blog-card {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card-image {
    height: 220px;
    overflow: hidden;
}

.card-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .card-thumbnail {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 25px;
}

.blog-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #999;
}

.blog-card-category {
    color: #ff0000;
    font-weight: 600;
}

.blog-card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-card-excerpt {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-card-readmore {
    color: #ff0000;
    font-weight: 600;
}

/* =============================================
   SINGLE POST STYLES
   ============================================= */

/* Main Container */
.single-post-page {
    min-height: 100vh;
    background: #000;
}

/* Post Content Styling */
.post-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #e0e0e0;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    color: #ffffff;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.post-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

.post-content h2 {
    font-size: 2rem;
    line-height: 1.3;
}

.post-content h3 {
    font-size: 1.75rem;
    line-height: 1.4;
}

.post-content h4 {
    font-size: 1.5rem;
}

.post-content h5 {
    font-size: 1.25rem;
}

.post-content h6 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Lists */
.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content ul li {
    list-style-type: disc;
}

.post-content ol li {
    list-style-type: decimal;
}

/* Blockquote */
.post-content blockquote {
    border-left: 4px solid #dc3545;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #aaa;
    font-size: 1.25rem;
}

.post-content blockquote p {
    margin-bottom: 0;
}

/* Code */
.post-content pre {
    background: #111;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid #333;
}

.post-content code {
    background: #111;
    color: #dc3545;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Images in content */
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.post-content .wp-caption {
    max-width: 100%;
    margin: 1.5rem 0;
}

.post-content .wp-caption-text {
    text-align: center;
    font-style: italic;
    color: #888;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Tables */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.post-content table th,
.post-content table td {
    padding: 0.75rem;
    border: 1px solid #333;
    text-align: left;
}

.post-content table th {
    background: #111;
    color: #fff;
    font-weight: 600;
}

.post-content table td {
    background: #0a0a0a;
}

/* Links in content */
.post-content a {
    color: #dc3545;
    text-decoration: none;
    border-bottom: 1px solid rgba(220, 53, 69, 0.3);
    transition: all 0.3s ease;
}

.post-content a:hover {
    color: #fff;
    border-bottom-color: #dc3545;
}

/* Breadcrumb */
.breadcrumb {
    --bs-breadcrumb-divider: '›';
    font-size: 0.875rem;
}

.breadcrumb-item a {
    color: #dc3545 !important;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #fff !important;
}

/* Author Box */
.author-box {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.author-box img {
    border: 2px solid #dc3545 !important;
}

/* Related Posts */
.related-card {
    transition: transform 0.3s ease;
}

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

.related-card img {
    transition: transform 0.5s ease;
}

.related-card:hover img {
    transform: scale(1.05);
}

/* Post Navigation */
.post-navigation a {
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.post-navigation a:hover {
    color: #fff;
}

/* Comments */
.comment-form label {
    color: #fff;
    display: block;
    margin-bottom: 0.5rem;
}

.comment-form input,
.comment-form textarea {
    background: #111 !important;
    border-color: #333 !important;
    color: #fff !important;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}

.comment-list {
    list-style: none;
    padding-left: 0;
}

.comment-list .comment {
    background: #111;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #333;
}

/* Responsive */
@media (max-width: 768px) {
    .post-header h1 {
        font-size: 2rem;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-meta > div {
        margin-bottom: 0.5rem;
    }
    
    .featured-image img {
        height: 300px !important;
    }
}

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.nav-links {
    display: flex;
    gap: 10px;
}

.page-numbers {
    display: inline-block;
    padding: 8px 16px;
    background: #111;
    color: #ccc;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.page-numbers.current {
    background: #ff0000;
    color: #fff;
}

.page-numbers:hover {
    background: #222;
    color: #fff;
}

/* === BLOG PAGE (home.php) === */
.blog-page {
    background: #000;
    color: #fff;
    padding-top: 80px;
}

.blog-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: #dc3545;
    background: rgba(255, 255, 255, 0.02);
    transform: translateY(-5px);
}

.blog-img-wrapper {
    overflow: hidden;
}

.blog-thumb {
    height: 220px;
    width: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

.blog-card:hover .blog-thumb {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.blog-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-title a:hover {
    color: #dc3545;
}

.category-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
    margin-bottom: 10px;
    display: block;
}

.sidebar-item {
    background: #0f0f0f;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.1);
}

.sidebar-link {
    display: block;
    padding: 8px 0;
    color: #aaa;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
}

.sidebar-link:hover {
    color: #dc3545;
    padding-left: 10px;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    background: #111;
    color: #ccc;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #333;
    transition: all 0.3s;
}

.page-numbers.current {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

.page-numbers:hover {
    background: #222;
    color: #fff;
}

/* Featured Post */
.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-thumb {
        height: 180px;
    }
    
    .sidebar-item {
        padding: 20px;
    }
}

/* =============================================
   MODERN BLOG PAGE STYLES
   ============================================= */

/* Blog Page Base */
.blog-modern-page {
    background: #000;
    color: #fff;
}

/* Hero Section */
.blog-hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(220, 53, 69, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.blog-hero .container {
    position: relative;
    z-index: 2;
}

.hero-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.label-line {
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.label-text {
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaa;
    font-weight: 500;
}

.text-gradient {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.search-bar .input-group {
    max-width: 500px;
    margin: 0 auto;
}

.search-bar .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

.search-bar .form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
    color: #fff;
}

.search-bar .btn-gradient {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
    border: none;
    color: white;
    padding: 1rem 1.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
}

.scroll-indicator span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.indicator-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 auto;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Featured Posts */
.featured-posts {
    background: #0a0a0a;
}

.section-header {
    margin-bottom: 3rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
}

.featured-card {
    background: #111;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(220, 53, 69, 0.3);
}

.card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .card-image img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.8) 100%);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.1);
}

.card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

.badge.bg-gradient {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 20px;
}

.card-content {
    padding: 1.5rem;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.875rem;
}

.category-tag {
    background: rgba(220, 53, 69, 0.15);
    color: #ff6b6b;
    padding: 4px 10px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-tag:hover {
    background: rgba(220, 53, 69, 0.25);
    color: #fff;
}

.meta-date {
    color: #888;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

.card-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: #ff6b6b;
}

.card-excerpt {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 12px;
    color: #fff;
}

.reading-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #888;
    font-size: 0.875rem;
}

/* Articles Grid */
.blog-grid-section {
    padding: 5rem 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(220, 53, 69, 0.2);
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.category-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: background 0.3s ease;
}

.category-badge:hover {
    background: #dc3545;
}

.article-content {
    padding: 1.5rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.875rem;
    color: #888;
}

.meta-divider {
    color: #666;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

.article-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #ff6b6b;
}

.article-excerpt {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: gap 0.3s ease;
}

.read-more-link:hover {
    gap: 10px;
    color: #fff;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.author-name {
    font-size: 0.875rem;
    color: #888;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 4rem;
}

.pagination-nav .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    margin: 0 4px;
    background: rgba(255, 255, 255, 0.05);
    color: #aaa;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pagination-nav .page-numbers:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #ff6b6b;
    border-color: rgba(220, 53, 69, 0.3);
}

.pagination-nav .page-numbers.current {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
    color: #fff;
    border-color: transparent;
}

.pagination-nav .prev,
.pagination-nav .next {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
}

/* No Posts */
.no-posts {
    padding: 4rem 2rem;
    text-align: center;
}

.no-posts-icon {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #111;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #fff;
    position: relative;
    padding-bottom: 0.75rem;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
}

/* Categories Widget */
.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    color: #aaa;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.category-item:last-child {
    border-bottom: none;
}

.category-item:hover {
    color: #fff;
    padding-left: 8px;
}

.category-name {
    font-size: 0.9375rem;
}

.category-count {
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
}

/* Popular Widget */
.popular-post {
    display: flex;
    gap: 12px;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.popular-post:last-child {
    border-bottom: none;
}

.popular-image {
    flex: 0 0 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.popular-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-content h5 {
    margin: 0 0 4px 0;
    font-size: 0.9375rem;
    line-height: 1.3;
}

.popular-content h5 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.popular-content h5 a:hover {
    color: #ff6b6b;
}

.popular-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #888;
}

/* Tags Widget */
.tags-widget .widget-content {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #aaa;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.8125rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tag-item:hover {
    background: rgba(220, 53, 69, 0.15);
    color: #ff6b6b;
    border-color: rgba(220, 53, 69, 0.3);
    transform: translateY(-2px);
}

/* Newsletter Widget */
.newsletter-card {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(255, 107, 107, 0.05) 100%);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.newsletter-icon {
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.newsletter-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.newsletter-card p {
    margin-bottom: 1.5rem;
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.75rem 1rem;
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.newsletter-form .btn-gradient {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
    border: none;
    color: white;
    padding: 0.75rem;
    font-weight: 600;
}

.form-note {
    font-size: 0.75rem;
    color: #888;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* CTA Section */
.blog-cta {
    padding: 6rem 0;
    background: radial-gradient(circle at 50% 50%, rgba(220, 53, 69, 0.1) 0%, transparent 50%);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-primary {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(220, 53, 69, 0.3);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: white;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .blog-sidebar {
        position: static;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Dark Theme Utility Classes */
.dark-section {
    background: #000;
    color: #fff;
}

.bg-dark-soft {
    background: rgba(255, 255, 255, 0.05) !important;
}

.text-gray {
    color: #aaa !important;
}

.mt-6 {
    margin-top: 4rem;
}

/* ============================================
   FIX BLOG LAYOUT - HAPUS BOOTSTRAP DEPENDENCY
   ============================================ */

/* 1. Main Blog Layout */
.blog-main-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 60px;
    width: 100%;
}

.blog-content-area {
    width: 100%;
}

.sidebar-area {
    width: 100%;
}

/* 2. Fix Container Spacing */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* 3. Fix Hero Section Alignment */
.blog-hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 80vh;
}

/* 4. Override Bootstrap-like classes */
.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.text-center {
    text-align: center !important;
}

.w-75 {
    width: 75% !important;
}

/* 5. Fix Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    width: 100%;
}

.col-lg-8, .col-lg-4 {
    position: relative;
    width: 100%;
    padding: 0 15px;
}

/* 6. Responsive Layout */
@media (max-width: 992px) {
    .blog-main-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .w-75 {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .blog-main-layout {
        gap: 30px;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* 7. Fix Utility Classes */
.mt-5 { margin-top: 3rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.pt-5 { padding-top: 3rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.ps-lg-5 { padding-left: 3rem !important; }

@media (max-width: 768px) {
    .ps-lg-5 { padding-left: 0 !important; }
}

/* 8. Force Display for Blog Elements */
.articles-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)) !important;
    gap: 30px !important;
    width: 100% !important;
}

.article-card {
    background: #111 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.3s ease !important;
    display: block !important;
    width: 100% !important;
}

.article-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

/* 9. Fix Images */
.article-image img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    display: block !important;
}

/* 10. Fix Text Colors */
.text-gray {
    color: #aaa !important;
}

.text-white {
    color: #fff !important;
}

.text-danger {
    color: #D92323 !important;
}

/* 11. Fix Buttons */
.btn-gradient {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%) !important;
    border: none !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

/* 12. Fix Forms */
.form-control {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    width: 100% !important;
    font-size: 1rem !important;
}

.input-group {
    display: flex !important;
    width: 100% !important;
}

/* 13. Fix Sidebar */
.blog-sidebar {
    width: 100% !important;
    position: sticky !important;
    top: 100px !important;
}

.sidebar-item {
    background: #111 !important;
    border-radius: 16px !important;
    padding: 25px !important;
    margin-bottom: 30px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    width: 100% !important;
}

/* 14. Fix Display Properties */
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.align-items-center { align-items: center !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }

/* 15. Fix CTA Section */
.blog-cta {
    padding: 80px 0 !important;
    background: #000 !important;
    text-align: center !important;
    width: 100% !important;
}

.cta-buttons {
    display: flex !important;
    gap: 20px !important;
    justify-content: center !important;
    margin-top: 30px !important;
}

.btn-primary {
    background: #D92323 !important;
    color: white !important;
    padding: 15px 30px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    display: inline-block !important;
    border: none !important;
    font-weight: 600 !important;
}

.btn-outline-light {
    background: transparent !important;
    color: white !important;
    padding: 15px 30px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    display: inline-block !important;
    border: 1px solid white !important;
    font-weight: 600 !important;
}

/* ============================================
   FIX BLOG LAYOUT TANPA BOOTSTRAP
   ============================================ */

/* Layout Utama */
.blog-main-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 60px;
    width: 100%;
}

.blog-content-area, .sidebar-area {
    width: 100%;
}

/* Responsive */
@media (max-width: 992px) {
    .blog-main-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Perbaiki Grid Artikel */
.articles-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)) !important;
    gap: 30px !important;
    width: 100% !important;
}

.article-card {
    background: #111 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    display: block !important;
    width: 100% !important;
}

/* Sidebar */
.blog-sidebar {
    width: 100% !important;
    position: sticky !important;
    top: 100px !important;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}