/* File: assets/css/wireframe.css - CSS untuk semua wireframe */

/* ===== GLOBAL STYLES ===== */
:root {
    /* Colors sesuai wireframe */
    --wireframe-bg: #ffffff;
    --wireframe-text: #000000;
    --wireframe-border: #cccccc;
    --wireframe-blue: #2563eb;
    --wireframe-yellow-light: rgba(255, 255, 240, 0.9);
    --wireframe-yellow-dark: rgba(255, 255, 200, 0.8);
    --wireframe-blur: rgba(255, 255, 255, 0.85);
    --wireframe-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    
    /* Spacing */
    --wireframe-gap: 20px;
    --wireframe-padding: 30px;
    --wireframe-radius: 8px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    color: var(--wireframe-text);
    background: var(--wireframe-bg);
    line-height: 1.5;
}

/* Container */
.wireframe-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Navigation (konsisten semua halaman) */
.wireframe-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    border-bottom: 1px solid var(--wireframe-border);
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-section img {
    height: 50px;
    width: auto;
}

.logo-section h1 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
}

/* Navigation sesuai wireframe Halaman 1 */
.wireframe-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--wireframe-blue);
}

/* Language Switcher (bendera bulat) */
.language-switcher-wf {
    display: flex;
    gap: 10px;
}

.language-switcher-wf a {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.language-switcher-wf a.active {
    border-color: var(--wireframe-blue);
    transform: scale(1.1);
}

.language-switcher-wf img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* WhatsApp Float */
.whatsapp-float-wf {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--wireframe-shadow);
    z-index: 1000;
    transition: all 0.3s;
}

.whatsapp-float-wf:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float-wf img {
    width: 30px;
    height: 30px;
}

/* ===== WIREFRAME COMPONENTS ===== */

/* 1. DIAGRAM COMPONENT (untuk layout seperti wireframe) */
.wireframe-diagram {
    display: grid;
    gap: var(--wireframe-gap);
    margin: var(--wireframe-padding) 0;
}

/* 2. FRAME UNTUK GAMBAR (sesuai wireframe) */
.wf-image-frame {
    border: 1px solid var(--wireframe-border);
    border-radius: var(--wireframe-radius);
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
}

.wf-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 3. FRAME UNTUK CAPTION (15,16) - Kuning pucat translucent */
.wf-caption-frame {
    background: var(--wireframe-yellow-light);
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--wireframe-radius);
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.4;
}

/* 4. FRAME DENGAN BACKGROUND BLUR (Halaman 2) */
.wf-blur-frame {
    background: var(--wireframe-blur);
    backdrop-filter: blur(10px);
    padding: var(--wireframe-padding);
    border-radius: var(--wireframe-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 5. FRAME TIDAK LANCIP (untuk gambar di slide) */
.wf-rounded-frame {
    border-radius: var(--wireframe-radius);
    overflow: hidden;
    border: 1px solid var(--wireframe-border);
}

/* 6. FRAME UJUNG LANCIP (untuk galeri) */
.wf-pointed-frame {
    border-radius: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid #000;
}

.wf-pointed-frame::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid #000;
    pointer-events: none;
}

/* 7. BUTTON VIEW MORE (font biru + panah bawah) */
.wf-view-more {
    color: var(--wireframe-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid var(--wireframe-blue);
    border-radius: 30px;
    transition: all 0.3s;
}

.wf-view-more:hover {
    background: var(--wireframe-blue);
    color: white;
}

.wf-view-more i {
    transition: transform 0.3s;
}

.wf-view-more:hover i {
    transform: translateY(3px);
}

/* 8. TEXT BEFORE/AFTER (vertikal seperti di wireframe) */
.wf-text-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    color: var(--wireframe-text);
}

/* 9. GRID LAYOUT UNTUK HALAMAN 3 */
.wf-goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--wireframe-gap);
    margin: var(--wireframe-padding) 0;
}

.wf-goal-item {
    padding: var(--wireframe-padding);
    border: 1px solid var(--wireframe-border);
    border-radius: var(--wireframe-radius);
    background: white;
}

.wf-goal-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.wf-goal-item p {
    font-size: 14px;
    color: #666;
}

/* 10. SLIDE NAVIGATION */
.wf-slide-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--wireframe-padding) 0;
    border-top: 1px solid var(--wireframe-border);
    margin-top: var(--wireframe-padding);
}

.wf-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid var(--wireframe-border);
    border-radius: var(--wireframe-radius);
    text-decoration: none;
    color: var(--wireframe-text);
    transition: all 0.3s;
}

.wf-slide-btn:hover {
    border-color: var(--wireframe-blue);
    color: var(--wireframe-blue);
}

/* ===== PAGE SPECIFIC STYLES ===== */

/* Halaman 1 (Home) */
.page-home {
    padding-top: 80px;
}

/* Halaman 2 (About) - Text dengan blur background */
.page-about .text-blur-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: var(--wireframe-radius);
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Halaman 3 (Goals) */
.page-goals .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-goals .section-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Halaman 4-9 (Gallery) */
.page-gallery .slide-container {
    display: none;
}

.page-gallery .slide-container.active {
    display: block;
}

.page-gallery .comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--wireframe-padding);
    margin: var(--wireframe-padding) 0;
}

/* Halaman 10 (Donation) */
.page-donation .video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--wireframe-padding);
    margin: var(--wireframe-padding) 0;
}

/* ===== UTILITY CLASSES ===== */
.wf-text-center { text-align: center; }
.wf-text-left { text-align: left; }
.wf-text-right { text-align: right; }
.wf-mt-20 { margin-top: 20px; }
.wf-mb-20 { margin-bottom: 20px; }
.wf-mt-40 { margin-top: 40px; }
.wf-mb-40 { margin-bottom: 40px; }
.wf-p-20 { padding: 20px; }
.wf-p-40 { padding: 40px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .wireframe-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .wf-goals-grid {
        grid-template-columns: 1fr;
    }
    
    .page-gallery .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .language-switcher-wf {
        gap: 5px;
    }
    
    .language-switcher-wf a {
        width: 30px;
        height: 30px;
    }
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #000;
}

.mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    border-top: 1px solid var(--wireframe-border);
    display: none;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    text-decoration: none;
    color: #000;
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.mobile-nav a:last-child {
    border-bottom: none;
}