/* =========================================
   WOELANDARI: LOCATION PAGE (FINAL)
========================================= */
:root {
    --navy: #002B5B;
    --red: #EA4335;
    --bg-clean: #fcfcfc;
    --white: #FFFFFF;
}

* {
    box-sizing: border-box;
}

#lokasi-container {
    width: 100%;
    min-height: 45vh;
    background-color: var(--bg-clean);
    font-family: 'Courier Prime', monospace;
    color: var(--navy);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 5% 40px;
}

/* =========================================
   JUDUL GLOBAL
========================================= */
.lok-header-global {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto 30px auto;
    text-align: left;
    border-bottom: 2px solid var(--navy);
    padding-bottom: 10px;
}
.lok-title-global {
    font-family: 'Special Elite', cursive;
    font-size: 2rem;
    font-weight: bold;
    color: var(--navy);
    margin: 0;
}

/* =========================================
   GRID UTAMA
========================================= */
.lokasi-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.lok-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.lok-left { align-items: flex-start; }
.lok-center { align-items: center; }
.lok-right { align-items: flex-end; }

/* =========================================
   KOLOM KIRI: FOTO & BARCODE
========================================= */
.lok-photo-card {
    background: var(--white);
    border: 2px solid var(--navy);
    padding: 10px;
    margin-bottom: 15px;
    box-shadow: 6px 6px 0 rgba(0, 43, 91, 0.1);
    width: 100%;
    max-width: 380px;
}
.card-header {
    font-size: 0.65rem;
    font-weight: 900;
    color: var(--navy);
    border-bottom: 1px solid var(--navy);
    margin-bottom: 10px;
    padding-bottom: 5px;
    letter-spacing: 2px;
}
.lok-img-box {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border: 1px solid #eee;
}
.lok-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    transition: 0.5s ease;
}
.lok-photo-card:hover .lok-img {
    filter: grayscale(0%) contrast(1.1);
    transform: scale(1.05);
}

/* Barcode - diperbaiki */
.lok-barcode {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 380px;
}
.barcode-lines {
    width: 100%;
    height: 45px;
    margin-bottom: 8px;
    background: repeating-linear-gradient(
        to right,
        var(--navy) 0px,
        var(--navy) 2px,
        transparent 2px,
        transparent 6px,
        var(--navy) 6px,
        var(--navy) 8px,
        transparent 8px,
        transparent 13px,
        var(--navy) 13px,
        var(--navy) 15px,
        transparent 15px,
        transparent 19px
    );
    background-repeat: repeat-x;
    background-size: 100% 100%;
}
.barcode-text {
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 5px;
    text-align: center;
}

/* =========================================
   KOLOM TENGAH: ALAMAT & TOMBOL MAPS
========================================= */
.lok-address-card {
    position: relative;
    background: var(--white);
    border: 2px solid var(--navy);
    padding: 30px;
    overflow: hidden;
    box-shadow: 8px 8px 0 var(--navy);
    width: 100%;
    max-width: 400px;
}
.map-grid-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: 
        linear-gradient(rgba(0, 43, 91, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 43, 91, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}
.address-content {
    position: relative;
    z-index: 2;
    text-align: center;
}
.lok-label {
    font-size: 0.75rem;
    font-weight: 900;
    color: #888;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.lok-city {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 8px;
    color: var(--navy);
}
.lok-address {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #444;
    font-weight: bold;
    text-transform: uppercase;
}
.lok-btn-maps-large {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 15px 20px;
    background: var(--navy);
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    border: none;
    transition: 0.3s ease;
    letter-spacing: 1px;
    box-shadow: 4px 4px 0 var(--red);
}
.lok-btn-maps-large:hover {
    background: var(--red);
    transform: translate(3px, 3px);
    box-shadow: 1px 1px 0 var(--navy);
}

/* =========================================
   KOLOM KANAN: SOSMED, KONTAK, JAM
========================================= */
.lok-socmed {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 340px;
}
.lok-socmed a {
    width: 48px;
    height: 48px;
    border: 2px solid var(--navy);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--navy);
    text-decoration: none;
    font-size: 1.3rem;
    transition: 0.3s;
}
.lok-socmed a:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-3px);
}
.lok-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 340px;
}
.lok-wa-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--navy);
    text-decoration: none;
    color: var(--navy);
    background: var(--white);
    transition: 0.3s;
}
.wa-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.wa-label {
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--red);
    letter-spacing: 1px;
    margin-bottom: 3px;
}
.wa-num {
    font-size: 0.95rem;
    font-weight: 900;
}
.wa-icon {
    font-size: 1.6rem;
}
.lok-wa-box:hover {
    background: var(--navy);
    color: var(--white);
    box-shadow: 4px 4px 0 var(--red);
}
.lok-wa-box:hover .wa-label {
    color: #ffb4ae;
}
.lok-hours {
    width: 100%;
    max-width: 340px;
    border: 2px dashed var(--navy);
    padding: 15px 20px;
    text-align: right;
    margin-top: 25px;
}
.hours-title {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--red);
    margin-bottom: 5px;
    letter-spacing: 1px;
}
.hours-val {
    font-size: 0.85rem;
    font-weight: bold;
}

/* =========================================
   FOOTER
========================================= */
.lok-footer {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1300px;
    margin: 40px auto 0;
    padding-top: 15px;
    border-top: 1px dashed rgba(0, 43, 91, 0.3);
    font-size: 0.8rem;
    font-weight: bold;
}

/* =========================================
   RESPONSIVE (TABLET & HP)
========================================= */
@media (max-width: 900px) {
    .lok-header-global {
        text-align: center;
    }
    .lokasi-grid {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .lok-left, .lok-center, .lok-right {
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .lok-address-card,
    .lok-contacts,
    .lok-hours,
    .lok-photo-card,
    .lok-barcode,
    .lok-socmed {
        max-width: 100%;
    }
    .lok-socmed {
        justify-content: center;
    }
    .lok-hours {
        text-align: center;
    }
    .wa-text {
        text-align: center;
    }
    .lok-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        margin-top: 30px;
    }
    #lokasi-container {
        min-height: auto;
        padding: 50px 5%;
    }
}

/* =========================================
   PERBAIKAN UNTUK LAYAR SANGAT KECIL (≤480px)
========================================= */
@media (max-width: 480px) {
    #lokasi-container {
        padding: 30px 4%;
    }
    .lok-title-global {
        font-size: 1.6rem;
    }
    .lok-address-card {
        padding: 20px;
    }
    .lok-city {
        font-size: 1.1rem;
    }
    .lok-address {
        font-size: 0.75rem;
    }
    .lok-btn-maps-large {
        padding: 12px;
        font-size: 0.8rem;
    }
    .lok-wa-box {
        padding: 12px 15px;
    }
    .wa-num {
        font-size: 0.85rem;
    }
    .wa-icon {
        font-size: 1.4rem;
    }
    .barcode-lines {
        height: 35px;
    }
    .barcode-text {
        font-size: 0.7rem;
        letter-spacing: 3px;
    }
    .lok-footer {
        font-size: 0.7rem;
    }
}