/* Styling for Violence-Awareness Detail Pages */

/* Section: Content Wrapper */
.content-wrapper {
    position: relative;
    background-color: #FAFAFA !important;
    overflow: hidden;
    padding-top: 60px;
    padding-bottom: 80px;
    z-index: 1;
}

/* Background Radial Glow Accents */
.content-wrapper::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(163, 70, 211, 0.04) 0%, rgba(250, 250, 250, 0) 70%);
    top: 10%;
    left: -15%;
    pointer-events: none;
    z-index: -1;
}

.content-wrapper::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(93, 42, 119, 0.03) 0%, rgba(250, 250, 250, 0) 70%);
    bottom: 10%;
    right: -15%;
    pointer-events: none;
    z-index: -1;
}

/* Hero Header Area */
.panduan-header {
    background: linear-gradient(135deg, rgba(245, 239, 255, 0.5) 0%, rgba(250, 250, 250, 0.8) 100%);
    padding: 130px 0 60px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(93, 42, 119, 0.08);
    overflow: hidden;
}

.panduan-header::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(163, 70, 211, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
    top: -50px;
    right: 5%;
    pointer-events: none;
    z-index: 0;
}

/* Floating background geometric particles for Hero */
.panduan-header-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

.panduan-particle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.1), rgba(181, 23, 158, 0.05));
}

.panduan-particle-1 { width: 40px; height: 40px; top: 20%; left: 10%; animation: floatSlow 8s infinite ease-in-out; }
.panduan-particle-2 { width: 60px; height: 60px; bottom: 15%; right: 15%; animation: floatSlow 12s infinite ease-in-out alternate; }
.panduan-particle-3 { width: 25px; height: 25px; top: 40%; right: 8%; animation: floatSlow 6s infinite ease-in-out 1s; }

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
}

/* Typography elements in Hero */
.panduan-header-content {
    position: relative;
    z-index: 1;
}

.panduan-header-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--high-ungu) 0%, var(--semi-high-ungu) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
}

.panduan-header-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 5px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Immersive Breadcrumbs */
.breadcrumb-custom {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.breadcrumb-custom a {
    color: var(--semi-high-ungu);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-custom a:hover {
    color: var(--high-ungu);
}

.breadcrumb-custom-item::after {
    content: "/";
    margin-left: 8px;
    color: #9CA3AF;
}

.breadcrumb-custom-item.active {
    color: #6B7280;
}

/* Section transitions */
.curved-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.curved-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 25px;
    fill: #FAFAFA;
}

/* Main Split Layout Grid */
.panduan-grid {
    position: relative;
    z-index: 10;
}

/* Left Area: Illustration/Icon Container Card */
.visual-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.visual-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 28px;
    border: 1px solid transparent;
    background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8)), 
                      linear-gradient(135deg, rgba(93, 42, 119, 0.15), rgba(255, 255, 255, 0.15));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 
        0 15px 35px -15px rgba(93, 42, 119, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.02);
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Mesh gradient background inside card */
.visual-card-mesh {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(131, 56, 236, 0.04) 0%, transparent 60%),
                radial-gradient(circle at 70% 80%, rgba(230, 57, 70, 0.03) 0%, transparent 60%);
    z-index: 0;
}

/* Floating abstract background shapes inside card */
.visual-card-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.visual-card-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(93, 42, 119, 0.03);
    border: 1px dashed rgba(93, 42, 119, 0.1);
}

.visual-card-shape-1 { width: 140px; height: 140px; top: -20px; left: -20px; }
.visual-card-shape-2 { width: 160px; height: 160px; bottom: -40px; right: -40px; }

/* Large Central Icon Wrapper */
.visual-card-icon-container {
    width: 130px;
    height: 130px;
    border-radius: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    z-index: 2;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 
        0 10px 25px -10px rgba(93, 42, 119, 0.15),
        0 4px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.visual-card-icon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    filter: blur(15px);
    opacity: 0.35;
    z-index: -1;
    transition: all 0.5s ease;
}

.visual-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 25px 50px -20px rgba(93, 42, 119, 0.18),
        0 0 35px 2px rgba(163, 70, 211, 0.06);
}

.visual-card:hover .visual-card-icon-container {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 
        0 15px 30px -10px rgba(93, 42, 119, 0.25),
        0 6px 12px rgba(0, 0, 0, 0.04);
}

.visual-card:hover .visual-card-icon-glow {
    filter: blur(20px);
    opacity: 0.6;
}

/* Category Glow colors */
.glow-fisik { background: linear-gradient(135deg, #FF6B6B, #FF8E53); }
.glow-psikis { background: linear-gradient(135deg, #8338EC, #B5179E); }
.glow-bullying { background: linear-gradient(135deg, #3A86FF, #00B4D8); }
.glow-seksual { background: linear-gradient(135deg, #E63946, #FF4D6D); }
.glow-diskriminasi { background: linear-gradient(135deg, #06D6A0, #118AB2); }
.glow-kebijakan { background: linear-gradient(135deg, #FFB703, #FB8500); }

/* Right Content Area Elements */
.content-area-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.content-area-title::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 45px;
    height: 4px;
    border-radius: 99px;
    background: var(--high-ungu);
}

.content-lead-text {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 20px;
    max-width: 650px;
}

.content-body-text {
    font-size: 1.2rem;
    color: #4B5563;
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: 650px;
}

.content-body-text p {
    margin-bottom: 1rem;
}

.text-highlight {
    background: linear-gradient(120deg, rgba(163, 70, 211, 0.08) 0%, rgba(232, 189, 255, 0.15) 100%);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    color: var(--high-ungu);
}

/* Premium Info Card (Dampak Card) */
.premium-info-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 10px 25px -15px rgba(93, 42, 119, 0.04),
        0 1px 3px rgba(0, 0, 0, 0.01);
    padding: 1.8rem 2.2rem;
    margin-top: 30px;
    margin-bottom: 35px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Left accent vertical gradient border-like element */
.premium-info-card-border {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 6px;
    border-radius: 20px 0 0 20px;
}

.premium-info-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 15px 35px -15px rgba(93, 42, 119, 0.12),
        0 4px 10px rgba(0, 0, 0, 0.02);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.info-card-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: rgba(93, 42, 119, 0.08);
    color: var(--high-ungu);
    flex-shrink: 0;
}

.info-card-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--high-ungu);
    margin: 0;
}

.info-card-text {
    font-size: 1.2rem;
    color: #4B5563;
    line-height: 1.7;
    margin: 0;
}

/* Premium CTA Pill Button */
.btn-cta-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    color: white !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-hover) 100%);
    border: none;
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.35);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-cta-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-red-hover) 0%, #D62828 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.btn-cta-premium-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-cta-premium-icon {
    font-size: 1.2rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cta-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.5);
}

.btn-cta-premium:hover::before {
    opacity: 1;
}

.btn-cta-premium:hover .btn-cta-premium-icon {
    transform: translateX(4px);
}

/* Entrance Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeUpIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .panduan-header {
        padding: 110px 0 45px;
    }
    
    .panduan-header-title {
        font-size: 2.2rem;
    }
    
    .visual-card-wrapper {
        margin-bottom: 40px;
    }
    
    .visual-card {
        height: 320px;
    }
    
    .visual-card-icon-container {
        width: 110px;
        height: 110px;
        font-size: 3.5rem;
    }
}

@media (max-width: 575.98px) {
    .panduan-header {
        padding: 100px 0 35px;
    }
    
    .panduan-header-title {
        font-size: 1.8rem;
    }
    
    .visual-card {
        height: 280px;
    }
    
    .visual-card-icon-container {
        width: 90px;
        height: 90px;
        font-size: 3rem;
    }
    
    .content-area-title {
        font-size: 1.7rem;
    }
    
    .premium-info-card {
        padding: 1.5rem 1.5rem;
    }
    
    .btn-cta-premium {
        width: 100%;
        padding: 12px 24px;
    }
}
