@import url('0style.css?v=20260812c');

/*──────────────────────────────────────────────────────
  Tema Desa Tulungrejo — Lanskap SVG Realistik
  Langit · Gunung · Sawah · Pohon · Rumah · Warga
──────────────────────────────────────────────────────*/
:root {
    --village-green: #1f6b46;
    --village-green-dark: #103f2d;
    --village-lime: #8fcf4f;
    --village-gold: #f4c95d;
    --village-cream: #fffdf4;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--village-cream);
    color: #19352a;
}

/* ── SVG Landscape ── */
.landscape {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.landscape svg {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 820px;
    object-fit: cover;
}

/* ── Sembunyikan maskot lama ── */
.maskot {
    display: none;
}

/* ── Header container ── */
.site-header {
    position: relative;
    min-height: 820px;
    overflow: hidden;
    background: transparent !important;
    background-size: auto !important;
    background-attachment: scroll !important;
}

/* Hapus pseudo-element CSS lama yang sekarang diganti SVG */
.site-header::before,
.site-header::after {
    display: none !important;
}

/* ── Overlay konten di atas SVG ── */
.screen {
    position: relative;
    z-index: 10;
    min-height: 820px;
    background: linear-gradient(180deg,
            rgba(5, 40, 25, .42) 0%,
            rgba(5, 40, 25, .18) 35%,
            rgba(5, 40, 25, .08) 55%,
            rgba(5, 40, 25, .25) 75%,
            rgba(5, 40, 25, .45) 100%);
}

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

/* ── Tipografi judul ── */
.lead {
    padding: 4.5rem 0 2rem;
    text-shadow: 0 2px 12px rgba(2, 25, 14, .5);
}

.lead .h3 {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 999px;
    background: rgba(10, 60, 35, .4);
    backdrop-filter: blur(6px);
    font-size: .85rem;
    letter-spacing: .15em;
    color: #fff;
    font-weight: 600;
}

.lead .h3::before {
    display: none;
}

.lead .h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: 3.2rem;
    color: #fff;
    line-height: 1.12;
    margin: .35em 0 .2em;
}

.lead .h1 a {
    color: inherit;
    text-decoration: none;
}

.lead .h1 a:hover {
    text-decoration: none;
}

.lead .h2 {
    color: #fffde0;
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: .03em;
}

.lead .h2 span {
    display: inline-block;
}

/* ── Form login card ── */
.form-access {
    padding-bottom: 3.5rem;
}

.access {
    max-width: 430px;
    margin: .75rem auto;
    padding: 0;
    color: #1a3528;
    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 20px;
    box-shadow: 0 18px 60px rgba(4, 36, 20, .28);
    backdrop-filter: blur(12px);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
}

.access:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 70px rgba(4, 36, 20, .35);
}

.access::after {
    display: none !important;
}

.access-head {
    padding: 1.3rem 1.4rem 1rem;
    background: linear-gradient(135deg, rgba(28, 90, 55, .1), rgba(120, 190, 70, .12));
}

.access-head h4 {
    color: var(--village-green-dark);
    letter-spacing: .06em;
    font-size: 1.15rem;
}

.access-head p {
    color: #5e7a6a;
    font-size: .88rem;
    margin-bottom: 0;
}

.access-body {
    padding: 1.3rem 1.4rem;
}

.access .form-control {
    height: 46px;
    border: 1px solid #c8dbcf;
    border-radius: 10px;
    background: #f8fdf7;
    font-size: .92rem;
    transition: border-color .2s, box-shadow .2s;
}

.access .form-control:focus {
    border-color: var(--village-green);
    box-shadow: 0 0 0 .2rem rgba(31, 107, 70, .16);
}

.access .btn-danger {
    min-height: 46px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #1f6b46, #2f8f58);
    font-weight: 600;
    letter-spacing: .04em;
    box-shadow: 0 7px 20px rgba(31, 107, 70, .28);
    transition: transform .2s, box-shadow .2s, background .2s;
}

.access .btn-danger:hover {
    background: linear-gradient(135deg, #18583a, #277c4c);
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(31, 107, 70, .38);
}

.access .notes {
    margin-top: .8rem;
    color: #628074;
    font-size: .82rem;
}

/* ── Halaman lain ── */
.page-header {
    background: linear-gradient(135deg, var(--village-green-dark), var(--village-green));
}

.site-footer {
    background: linear-gradient(160deg, #184c36, #0d3325);
}

/* ── Responsive ── */
@media (min-width: 992px) {
    body.index .lead {
        padding-bottom: 1.8rem;
    }

    body.index .access {
        margin-top: .5rem;
        margin-bottom: 0;
    }

    .access-wrapper .access {
        position: static;
    }

    .lead .h1 {
        font-size: 3.8rem;
    }
}

@media (max-width: 767px) {

    .site-header,
    .screen {
        min-height: auto;
    }

    .lead {
        padding-top: 2.5rem;
    }

    .lead .h1 {
        font-size: 2.2rem;
    }

    .maskot .place::after {
        bottom: 18%;
        opacity: .7;
    }

    .site-header::after {
        bottom: 6%;
        opacity: .65;
    }
}