/* Variables untuk konsistensi warna sesuai request */
:root {
    --primary-color: #6C5CE7;
    --accent-color: #FFBE76;
    --bg-color: #FEF9EF;
    --font-main: 'Nunito', sans-serif;
    --font-display: 'Luckiest Guy', cursive;
}

body {
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Update pada hero-banner */
.hero-banner {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-top: 0; /* Pastikan margin top nol */
    top: 0;
    z-index: 10; /* Di bawah navbar (z-50) */
}

.hero-banner img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block; /* Menghilangkan whitespace kecil di bawah gambar */
    border-bottom: 8px solid var(--primary-color);
}

@media (min-width: 768px) {
    .hero-banner img {
        height: 610px;
    }
}
/* Main Content Styling */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.title-main {
    font-family: var(--font-display);
    color: var(--accent-color);
    font-size: 48px;
    text-transform: uppercase;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    /* Memberikan efek outline/stroke khas komik */
    -webkit-text-stroke: 1.5px var(--primary-color);
}

.description {
    font-family: var(--font-main);
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.6;
    max-width: 900px;
}
/* Container untuk mengatur posisi intro */
.intro-section {
    position: relative;
    margin-top: -50px; /* Membuat balon kata agak naik menimpa sedikit banner */
    z-index: 20;
    display: flex;
    justify-content: center;
    padding: 0 1.5rem;
}

/* Styling Balon Kata (Speech Bubble) */
.speech-bubble {
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50px;
    padding: 3rem;
    position: relative;
    max-width: 900px;
    box-shadow: 12px 12px 0px var(--primary-color);
    text-align: center;
}

/* Ekor Balon Kata */
.speech-bubble::before {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 10%;
    border-width: 30px 30px 0 0;
    border-style: solid;
    border-color: var(--primary-color) transparent transparent transparent;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 10.5%;
    border-width: 25px 25px 0 0;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

/* Animasi mengambang pelan */
.floating-intro {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
/* Desktop Responsiveness */
@media (min-width: 768px) {
    .hero-banner img {
        height: 610px; /* Tinggi sesuai permintaan untuk desktop */
    }
    
    .title-main {
        font-size: 4.5rem;
    }
}
/* Responsivitas Desktop */
@media (min-width: 768px) {
    .intro-section {
        margin-top: -120px; /* Di desktop overlap lebih berani */
    }

    .title-main {
        font-size: 56px; /* Ukuran mantap untuk desktop */
    }

    .speech-bubble {
        padding: 3.5rem;
        border-radius: 60px;
    }
}
/* --------------------------------------------------------------------------- */
/* Service Section Styling */
.services-section {
    padding: 4rem 1.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* Comic Card Design */
.comic-card {
    background: white;
    border: 4px solid var(--primary-color);
    padding: 2rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Hard Shadow ala Komik */
    box-shadow: 10px 10px 0px var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

/* Efek Hover Menarik */
.comic-card:hover {
    transform: translate(-5px, -5px) rotate(-2deg);
    box-shadow: 15px 15px 0px var(--accent-color);
    border-color: var(--accent-color);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(4px 4px 0px var(--primary-color));
    transition: transform 0.3s ease;
}

.comic-card:hover .card-icon {
    transform: scale(1.2) rotate(5deg);
}

.card-title {
    font-family: var(--font-display);
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.comic-card:hover .card-title {
    color: var(--accent-color);
}

.card-text {
    font-family: var(--font-main);
    color: #333;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.4;
}

/* Label "POP" ala komik untuk hover */
.comic-card::after {
    content: 'BOOM!';
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 5px 10px;
    font-family: var(--font-display);
    font-size: 0.8rem;
    border: 3px solid var(--primary-color);
    transform: rotate(15deg);
    opacity: 0;
    transition: 0.3s;
}

.comic-card:hover::after {
    opacity: 1;
}
/* ------------------------------------------------------------------------------- */
/* Footer Styling */
.footer-comic {
    background-color: var(--primary-color);
    position: relative;
    padding-top: 4rem;
    margin-top: 100px; /* Memberi ruang untuk divider miring */
    color: white;
    font-family: var(--font-main);
}

/* Garis Miring Dekoratif ala Komik */
.footer-divider {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--primary-color);
    transform: skewY(-2deg);
    z-index: 1;
    border-top: 8px solid var(--accent-color);
}

.footer-content {
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 4px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-family: var(--font-display);
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.footer-tagline {
    font-weight: 700;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-heading {
    font-family: var(--font-display);
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 800;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 10px;
}

/* Social Box ala Panel Kecil */
/* Update CSS untuk Ikon Sosial Media */
.social-icons {
    display: flex;
    gap: 1.2rem;
    margin-top: 1rem;
}

.social-box {
    background: white;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--accent-color);
    box-shadow: 5px 5px 0px var(--accent-color); /* Hard shadow ala komik */
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}
/* Membuat Balon Teks */
.social-box::after {
    content: attr(aria-label); /* Mengambil teks dari aria-label */
    position: absolute;
    bottom: 120%; /* Muncul di atas ikon */
    left: 50%;
    transform: translateX(-50%) scale(0); /* Sembunyi & mengecil */
    background-color: var(--accent-color); /* Warna oranye peach */
    color: var(--primary-color); /* Warna ungu */
    padding: 6px 12px;
    border-radius: 8px;
    border: 3px solid var(--primary-color);
    font-family: var(--font-main);
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none; /* Agar tidak mengganggu klik */
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 4px 4px 0px var(--primary-color);
    z-index: 100;
    opacity: 0;
}

/* Membuat Segitiga/Ekor Tooltip */
.social-box::before {
    content: '';
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%) scale(0);
    border-width: 8px 8px 0 8px;
    border-style: solid;
    border-color: var(--primary-color) transparent transparent transparent;
    transition: all 0.2s ease;
    z-index: 99;
    opacity: 0;
}

/* Munculkan saat Hover */
.social-box:hover::after,
.social-box:hover::before {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

/* Geser tooltip sedikit ke atas saat hover agar efek 'Pop' terasa */
.social-box:hover::after {
    bottom: 130%;
}
.social-box:hover::before {
    bottom: 120%;
}
.social-box svg {
    transition: transform 0.2s ease;
    width: 24px;
    height: 24px;
    stroke: var(--primary-color); /* Warna ikon mengikuti warna brand */
}

/* Efek Hover: Ikon membesar, kotak seolah tertekan */
.social-box:hover {
    transform: translate(3px, 3px);
    box-shadow: 0px 0px 0px var(--accent-color);
    background-color: var(--accent-color);
}

.social-box:hover svg {
    transform: scale(1.2);
    stroke: white; /* Ikon berubah jadi putih saat di-hover */
}

.footer-bottom {
    padding: 2rem 0;
    text-align: center;
    font-weight: 900;
    font-size: 0.9rem;
    text-transform: uppercase;
}
/* Container FAB */
.wa-fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

/* Tombol Utama */
.wa-fab-button {
    background-color: #25D366; /* Warna asli WA agar familiar */
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 20px; /* Tidak bulat sempurna agar lebih unik */
    border: 4px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 8px 8px 0px var(--primary-color);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
}

.wa-fab-button:hover {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 12px 12px 0px var(--accent-color);
    background-color: #1eb954;
}

/* Balon Kata Chat Me */
.wa-chat-bubble {
    background: white;
    border: 3px solid var(--primary-color);
    padding: 8px 15px;
    border-radius: 15px;
    font-family: var(--font-main);
    font-weight: 800;
    color: var(--primary-color);
    font-size: 14px;
    box-shadow: 5px 5px 0px var(--primary-color);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Munculkan balon kata saat hover tombol */
.wa-fab-container:hover .wa-chat-bubble {
    opacity: 1;
    transform: translateY(0);
}

/* Responsif Mobile */
@media (max-width: 768px) {
    .wa-fab-container {
        bottom: 20px;
        right: 20px;
    }
    .wa-fab-button {
        width: 55px;
        height: 55px;
    }
}

/* Efek Retakan Gaya Sketsa (Uncolored) */
.crack-wrapper {
    position: absolute;
    width: 100px;
    height: 100px;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

.crack-line {
    position: absolute;
    background: #000000; /* Hitam tinta */
    width: 3px; /* Garis lebih tebal agar seperti goresan pena */
    height: 100%;
    left: 50%;
    top: 0;
    transform-origin: center;
    /* Membuat bentuk garis yang lebih tidak beraturan/tajam */
    clip-path: polygon(10% 0%, 90% 0%, 50% 100%, 45% 50%);
    opacity: 0;
    animation: crack-pop-ink 0.4s ease-out forwards;
}

@keyframes crack-pop-ink {
    0% {
        transform: scale(0) rotate(var(--rot));
        opacity: 1;
    }
    100% {
        transform: scale(1.8) rotate(var(--rot));
        opacity: 0;
    }
}

/* Teks "CRACK!" Gaya Manga */
.crack-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    /* Hitam Putih High Contrast */
    color: #FFFFFF; 
    text-shadow: 
        3px 3px 0px #000, 
       -1px -1px 0px #000,  
        1px -1px 0px #000,
       -1px  1px 0px #000,
        1px  1px 0px #000;
    font-size: 20px;
    letter-spacing: 2px;
    white-space: nowrap;
    animation: text-pop-ink 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes text-pop-ink {
    0% { transform: translate(-50%, -50%) scale(0) rotate(-10deg); opacity: 0; }
    50% { transform: translate(-50%, -50%) scale(1.5) rotate(5deg); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.2) rotate(0deg); opacity: 0; }
}
/* Styling Form Input Komik */
.comic-input {
    border: 4px solid var(--primary-color);
    padding: 12px 15px;
    font-family: var(--font-main);
    font-weight: 700;
    outline: none;
    transition: all 0.2s;
    background: #FEF9EF;
}

.comic-input:focus {
    box-shadow: 6px 6px 0px var(--accent-color);
    transform: translate(-3px, -3px);
    background: white;
}

.comic-input::placeholder {
    color: #a0aec0;
    font-style: italic;
    font-weight: 400;
}

/* Comic Grid System */
.comic-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr); /* Mobile: 1 kolom */
    grid-auto-rows: 250px;
    gap: 20px;
    padding: 10px;
}


@media (min-width: 768px) {
    .comic-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .panel-img {
    
    /* Efek Manga: Full Grayscale dengan Kontras Tinggi */
    filter: grayscale(0%) contrast(100%) brightness(90%);
   
}
}

/* Individual Panel - Manga Version */
.portfolio-panel {
    position: relative;
    background: #fff;
    border: 6px solid #000; /* Border lebih tebal agar lebih "inked" */
    overflow: hidden;
    /* Shadow hitam pekat khas manga */
    box-shadow: 10px 10px 0px #000; 
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.portfolio-panel:hover {
    transform: scale(1.02) rotate(-1deg);
    /* Saat hover, shadow tetap hitam namun sedikit lebih panjang */
    box-shadow: 15px 15px 0px #000;
    z-index: 10;
}

.panel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Efek Manga: Full Grayscale dengan Kontras Tinggi */
    filter: grayscale(100%) contrast(150%) brightness(90%);
    transition: 0.5s;
}

.portfolio-panel:hover .panel-img {
    /* KEMBALI NORMAL: Grayscale 0% artinya berwarna penuh */
    filter: grayscale(0%) contrast(100%) brightness(100%);
    transform: scale(1.1);
}
/* Hover hanya aktif di Desktop (layar lebar) */
@media (min-width: 769px) {
    .portfolio-panel:hover .panel-img {
        filter: grayscale(0%) contrast(100%) brightness(100%);
        transform: scale(1.1);
    }
}

/* Khusus Mobile & Tablet */
@media (max-width: 768px) {
    .panel-img {
        filter: grayscale(0%) contrast(100%) brightness(100%);
    }
    
    /* Hilangkan transform scale di mobile agar tidak berat saat scroll */
    .portfolio-panel:hover .panel-img {
        transform: none;
    }
}
/* Caption ala Kotak Narasi Komik B&W */
.panel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff; /* Latar belakang putih */
    padding: 15px;
    border-top: 5px solid #000;
    transform: translateY(100%);
    transition: 0.3s;
}

.portfolio-panel:hover .panel-caption {
    transform: translateY(0);
}

/* Styling teks di dalam caption agar kontras */
.panel-caption h3 {
    color: #000 !important;
    text-transform: uppercase;
    font-weight: 900;
}

.panel-caption p {
    color: #000 !important;
    opacity: 0.8;
}

/* Label Kecil di Pojok (The "POW!" box) */
.panel-corner {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #000; /* Inverted: Background hitam */
    color: #fff;      /* Teks putih */
    font-family: var(--font-display);
    padding: 4px 12px;
    border: 2px solid #fff;
    font-size: 14px;
    transform: rotate(15deg);
    box-shadow: 3px 3px 0px #000;
}
/* Testimonials Styling */
#testimonials .speech-bubble {
    transition: transform 0.3s ease;
}

#testimonials .flex:hover .speech-bubble {
    transform: translateY(-5px);
}

/* Animasi sederhana agar avatar terlihat 'hidup' */
#testimonials img {
    transition: 0.3s;
}

#testimonials .flex:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Responsive adjustment */
@media (max-width: 768px) {
    #testimonials .flex {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
    }
    
    #testimonials .absolute {
        display: none; /* Sembunyikan ekor balon di mobile agar rapi */
    }
}

/* CTA Animation */
#cta .relative {
    animation: cta-entry 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes cta-entry {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Efek tombol bergetar pelan tiap beberapa detik */
#cta a.bg-\[\#FFBE76\] {
    animation: button-shake 5s infinite;
}

@keyframes button-shake {
    0%, 90%, 100% { transform: rotate(0deg); }
    92% { transform: rotate(3deg); }
    94% { transform: rotate(-3deg); }
    96% { transform: rotate(2deg); }
    98% { transform: rotate(-2deg); }
}
/* Custom Halftone Background */
.halftone-bg {
    background-image: radial-gradient(circle, #000 1.5px, transparent 1.5px);
    background-size: 10px 10px;
}

/* Animasi mengapung pelan untuk box About */
#about .relative {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#about .relative:hover {
    transform: translateY(-8px) scale(1.01);
}