/*
Theme Name: Demo Web Listrik Theme
Theme URI: https://temancuan.site/
Author: Bayu Program
Author URI: https://temancuan.site/
Description: semua elemen bisa diatur lewat widget (header, menu, footer, body).
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: temancuan
*/

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    padding-top: 60px;
}


.site-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 18px;
    background-color: rgb(236, 255, 249);
    box-shadow: 0.5px 0.5px 5px rgba(82, 82, 82, 0.5);
    height: 80px;
}

.menu-area {
    width: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;     
    box-sizing: border-box;
    margin: 0 auto;   
}

.img-logo-view {
    width: 120px;
    flex: 0 0 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-teks {
    flex: 1;
}

.menu-teks ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-teks a {
    color: #000;
    text-decoration: none;
    padding: 8px 12px;
    display: block;
}

.menu-toggle {
    position: absolute;
    right: 10px;
    top: 7px;
    display: none;
    background-color: #444;
    color: white;
    border: none;
    cursor: pointer;
}

.tutup-menu {
    display: none;
    text-align: right;
}

.tutup-menu button {
    background-color: sienna;
    color: white;
    margin: 10px;
    padding: 5px;
}

a {
    text-decoration: none;
}
p {
    font-size: medium;
    text-align: justify;
    letter-spacing: 0.5px;
    word-spacing: 1.5px;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    font-size: medium;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-icon:hover {
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.button-menu-hub {
    width: 165px;
    flex: 0 0 165px;
    font-size: medium;
}

.site-header {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
    background-color: #6ac176;
    background-image: linear-gradient(180deg, #6ac176 0%, #66bb72 100%);
    background-repeat: no-repeat;
    background-size: cover;
}

.site-header img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hider-colo {
    display: flex;
    align-items: center; 
    justify-content: center; 
    width: 100%;
    min-height: 600px;
}

.blog-tentangkami {
    width: 100%;
    margin-top: 25vh;
}

.blog-tentangkami-img {
    display: flex;
    
    align-items: center;
}

img.img-tentangkami {
    width: 100%;
}

.site-header .header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
}

.site-body {
    width: 75%;
    margin-left: 12.5%;
    min-height: 100vh;
    padding: 10px;
}


.header-beranda-content {
    padding: 0;
    margin: 0;
    margin-bottom: 50px;
}

.beranda-p-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.site-footer {
    position: relative;
    padding: 0;
    margin: 0;
    top: 50px;
}

.foot-warna {
    padding: 0;
    margin: 0;
    padding-top: 20px;
}

.col-footer {
    width: 75%;    
    margin-left: 12.5%;
    margin-right: 12.5%;
    margin-bottom: 50px;
    padding-bottom: 25px;
}

.footer-img {
    display: block;
    width: 200px;
}

.foot-text-hid {
    font-size: large;
}



@media (max-width: 768px) {

    .site-menu {
        height: 60px;
    }

    .menu-area {
        width: 90%;
    }

   .img-logo-view {
        width: 90px;
        flex: 0 0 90px;
    }
    
    .menu-teks ul {
        display: none; /* hidden dulu */
        position: fixed;
        right: 0;
        top: 0;
        padding: 15px;
        text-align: left;
        background-color: lightcyan;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        height: 100%;
    }

    
    .menu-teks ul.active {
        display: flex !important; /* munculin saat toggle */
    }

    .btn-kontak-kami {
        display: none;
    }

    .menu-toggle {
        display: block;
        margin-top: 20px;
        padding: 5px 10px;
        font-size: 18px;
    }

    .tutup-menu {
        display: block;
    }
}



