* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    background: #f8fafc;
    color: #1e2a3a;
    line-height: 1.5;
    width: 100%;
    overflow-x: hidden;
}

.app {
    width: 100%;
    background: #FAF7F4;
}

.header {
    background: white;
    border-bottom: 1px solid #e9edf2;
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(4px);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a4c6e;
}

.nav {
    display: flex;
    gap: 2rem;
    background-color: rgba(255, 255, 255, 0.3); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-item {
    text-decoration: none;
    color: #2c4e6e;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-item:hover {
    color: #0080ff;
}

main {
    padding: 2rem 5% 4rem;
    width: 100%;
}

.section {
    margin-bottom: 5rem;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('https://images.squarespace-cdn.com/content/v1/56feae0ab6aa60ebb6039bf3/1610487562558-Y5EOWI3IJMIGNN5LHT8I/GE-Outdoor-LED-Lighting-Joann-Fabrics-3-465x300_tcm201-28975.jpg?format=2500w') center/cover no-repeat;
    filter: blur(3px);
    z-index: 0;
}

.hero {
    padding: 16rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1rem;
    animation: fadeUp 3s;
    position: relative;
    z-index: 1;
}

@keyframes fadeUp {
            0% {
                opacity: 0;
                transform: translateY(40px);
            }
            50% {
                opacity: 1;
                transform: translateY(0);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

.hero-desc {
    font-size: 1.2rem;
    color: #fefeff;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid white;
    width: 100ch;
    animation: typing 3s steps(30) forwards, blink .9s infinite;
    position: relative;
    z-index: 2;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100ch;
    }
}

@keyframes blink {
    from {
        border-color: transparent;
    }
    to {
        border-color: transparent;
    }
}

.button {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 0.95rem;
    position: relative;
    z-index: 999;
    background: black !important;
}

.button--primary {
    background: #1a4c6e;
    color: white;
    box-shadow: 0 2px 8px rgba(26,76,110,0.15);
}

.button--primary:hover {
    background: #0f3b5a;
    transform: translateY(-2px);
}

.button--secondary {
    background: #eef2f7;
    color: #ffffff;
    border: 1px solid #cbdde9;
}

.button--secondary:hover {
    background: #e2e8f0;
}

.tips-panel {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 3rem 2rem;
    margin: 2rem 0;
}

.tips-panel h3 {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #1a3a52;
}

.tips-list {
    display: grid;
    flex-wrap: wrap;
    gap: 1rem;
}

.tip {
    background: white;
    padding: 0.5rem 7rem;
    color: #1a4c6e;
    border: 1px solid #dce5ed;
    justify-content: center;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 2rem 0 1.2rem;
}

h2 {
    font-size: 1.7rem;
    font-weight: 600;
    color: #1a3a52;
    letter-spacing: -0.01em;
}

.link-more {
    color: #1a4c6e;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: 0.2s;
}

.link-more:hover {
    border-bottom-color: #1a4c6e;
}

.feed {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
    margin: 1.5rem 0;
}

.laporan-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    padding: 1.4rem;
    transition: all 0.25s ease;
    border: 1px solid #eef2f7;
    flex: 1 1 320px;
    max-width: 100%;
}

.laporan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.08);
    border-color: #dce5ed;
    justify-content: start;
    align-content: center;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #edf2f7;
}

.card-nama {
    font-weight: 700;
    color: #1a4c6e;
}

.card-status {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    background: #eef2ff;
    color: #1a4c6e;
}

.status-Diproses { background: #fff0db; color: #b45f06; }
.status-Selesai { background: #e0f2e0; color: #2e6b2e; }
.status-Ditolak { background: #ffe0e0; color: #c0392b; }
.status-Menunggu { background: #d9eaff; color: #2c6e9e; }

.card-lokasi, .card-deskripsi, .card-tanggal {
    margin: 0.6rem 0;
    font-size: 0.9rem;
    color: #3c5a74;
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
}

.card-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.card-actions select, .card-actions button {
    padding: 0.35rem 0.9rem;
    border-radius: 32px;
    font-size: 0.8rem;
    border: 1px solid #cbdde9;
    transition: 0.2s;
}

.btn-hapus-card { background: #e74c3c; color: white; border: none; }
.btn-hapus-card:hover { background: #c0392b; }
.btn-detail-card { background: #3498db; color: white; border: none; }
.btn-detail-card:hover { background: #2980b9; }
.btn-simpan-card { background: #2ecc71; color: white; border: none; }
.btn-simpan-card:hover { background: #27ae60; }

.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.stat-card {
    background: #f1f5f9;
    border-radius: 32px;
    padding: 1rem 1.5rem;
    text-align: center;
    flex: 1;
    min-width: 100px;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #5a7a9a;
    display: block;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1a4c6e;
}

.admin-summary {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding: 1rem 0;
}

.summary-item {
    background: #f1f5f9;
    padding: 0.5rem 1rem;
    border-radius: 40px;
}

.form-card {
    background: #ffffff;
    border: 1px solid #e2edf7;
    border-radius: 32px;
    padding: 2rem;
    margin: 1.5rem 0;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

label {
    font-weight: 500;
    color: #1a4c6e;
}

input, textarea, select {
    padding: 0.8rem 1.2rem;
    border-radius: 28px;
    border: 1px solid #cbdde9;
    font-family: inherit;
    font-size: 0.95rem;
    background: white;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #1a4c6e;
    box-shadow: 0 0 0 2px rgba(26,76,110,0.1);
}

.action-buttons {
    flex-direction: row;
    align-items: flex-end;
    gap: 1rem;
}

.admin-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer {
    border-top: 1px solid #e9edf2;
    padding: 1.8rem 5%;
    background: #fafcff;
    color: #5a7a9a;
    text-align: center;
}

@media (max-width: 700px) {
    .hero h1 {
        font-size: 2rem;
    }
    .header-inner {
        flex-direction: column;
        align-items: center;
    }
    .form-row {
        flex-direction: column;
    }
}

#form, h2 {
    padding: 10px 15px;
}
