* {
    text-decoration: none;
    margin: 0px;
    padding: 0px;
    box-sizing:border-box;
}

/* Style Body Tampilan Utama*/
body {
    margin: 40px;
    padding: 30px;
    background-image: url('img/hero-bg.jpg');
    background-size: cover;
}

/* Style Body Isi Tampilan Utama*/
.wrapper{
    width: 95%;
    max-width:1100px;
    margin: auto;
    position: relative;
}

/* Style Teks Ensiklopedia header*/
.logo a{
    font-weight: bold;
    float: left;
    font-size: 30px;
    color: white;
    font-family: 'Times New Roman', Times, serif;
}

/* Style logo home header*/
.logo-home a{
    display: flex;
    float: right;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Style logo back daftar objek wisata*/
.logo-back img{
    width: 50px;
    height: 50px;
    display: flex;
    float: right;
    margin-top: 20px;
    margin-bottom: 20px;
}   

/* Style menu header*/
.menu{
    float: right;
}

/* Style header header*/
nav{
    width: 95%;
    margin: auto;
    display: flex;
    line-height: 85px;
    top: 0;
    background-color: rgba(211, 211, 211, 0.2);
}


nav ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

nav ul li{
    float: left;
}

nav ul li a{
    color: white;
    font-size: 21px;
    text-align: center;
    padding: 0px 16px 0px 16px;
    text-decoration: none;
}

nav ul li a:hover{
    text-decoration: underline;
    color: black;
}

/* Style form input pencarian*/
form input{
    height: 25px;
}

.tmpl-awal {
    margin: auto;
    display: flex;
    margin-bottom: 50px;
}

section img{
    margin-top: 25px;
    margin-right: 100px;
    width: 380px;
}



h2{
    font-family: 'Times New Roman', Times, serif;
    font-weight: 800;
    font-size: 45px;
    margin-bottom: 20px;
    color: white;
    width: 100%;
    line-height: 50px;
}

a.lebih-lanjut {
    background: rgb(41, 131, 93);
    border-radius: 20px;
    margin-top: 20px;
    padding: 10px 20px 10px 20px;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

a.lebih-lanjut:hover{
    background: white;
    color: rgb(41, 131, 93);
}

/*
.box{
    border: 1px solid;
    color: red;
}

.box:after{
    content: "";
    display: block;
    clear: both;
}

.box .col-8{
    width: 10%;
    padding: 30px;
    box-sizing: border-box;
    border: 1px solid;
    text-align: center;
    float: left;
}


.icon{
    width: 70px;
    height: 70px;
    border: 1px solid;
    border-radius: 50%;
    text-align: center;
    line-height: 70px;
    font-size: 20px;
    margin: 0 auto;
}
*/

/* Style footer*/
footer{
    width: 100%;
    padding: 25px;
    background-color: rgb(41, 131, 93);
    color: #fff;
    text-align: center;
    font-size: 16px;
}

/*
.row{
    display: flex;
    flex-wrap: wrap;
    padding: 0 3px;
}
*/

/*
.column {
    flex :10%;
}

.column img {
    vertical-align: middle;
}
*/

/* Style Tabel Daftar Objek Wisata*/
.daftar-objek td{
    padding: 30px 15px;
    vertical-align: top;
}

/* Style Tampilan Container Detail Objek Wisata*/
.container-detail-wisata{
    width: 80%;
    margin: auto;
    background: white;
    padding: 20px;
    margin-top: 30px;
    border-radius: 10px;
}

/* Style Slider Gambar Pada Detail Objek wisata*/
.slider{
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 400px;
    overflow: hidden;
    margin: auto;
    border-radius: 10px;
}

.slides{
    display: flex;
    transition: 0.5s;
}

.slides img{
    width: 100%;
    max-width: 800px;
    height: 400px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Style Tombol Slider Gambar di Detail Objek wisata*/
.btn{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 20px;
}

.prev{
    left: 10px;
}

.next{
    right: 10px;
}

/* Style Tombol Kembali pada Detail Objek wisata*/
.btn-kembali{
    display: inline-block;
    margin: 20px;
    padding: 10px 18px;
    background-color: rgb(19, 69, 42);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-kembali:hover{
    background-color: rgb(25, 90, 55);
}

/* Style CSS untuk button Cari Objek*/
form input{
    padding: 8px;
    width: 250px;
    border-radius: 5px;
    border: none;
}

form button{
    padding: 8px 15px;
    background: darkgreen;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Style CSS Form Komentar*/
textarea{
    width: 400px;
    height: 120px;
    padding: 10px;
    border-radius: 5px;
    resize: none;
}

input[type=text]{
    width: 400px;
    padding: 10px;

    border: 1px solid gray;
    border-radius: 5px;

    outline: none;
}

button{
    padding: 10px 20px;
    background-color: darkgreen;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.box-komentar{
    background-color: #f5f5f5;
    padding: 15px;
    margin-top: 15px;
    border-radius: 10px;
}

.box-komentar h4{
    margin: 0;
    color: darkgreen;
}

.box-komentar p{
    margin-top: 10px;
}

/* Style CSS Tombol Download QR */
.btn-download{
    display:inline-block;
    margin-top:10px;
    padding:10px 18px;
    background:#198754;
    color:white;
    text-decoration:none;
    border-radius:6px;
    font-weight:bold;
}

.btn-download:hover{
    background:#146c43;
}

/* Style CSS Peta Provinsi*/
.map{
    background-color: rgba(221, 255, 225, 0.4);
    width:100%;
    text-align:center;
    margin-top:30px;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

#svgMap{
    width: 80%;
    height: 700px;
}

/* Style CSS Rating*/
.rating{
    display:inline-flex;
    flex-direction:row-reverse;
}

.rating input{
    display:none;
}

.rating label{
    font-size:35px;
    color:#ccc;
    cursor:pointer;
    transition:0.2s;
}

.rating label:hover,
.rating label:hover ~ label{
    color:gold;
}

.rating input:checked ~ label{
    color:gold;
}

/* Style CSS Tombol Youtube*/
.btn-youtube{
    display:inline-block;
    background:#ff0000;
    color:#fff;
    padding:10px 18px;
    border-radius:6px;
    text-decoration:none;
    font-weight:bold;
}

.btn-youtube:hover{
    background:#cc0000;
}   

/* Tampilan Android */
/* ===========================
   Responsive Android
=========================== */
@media screen and (max-width:768px){

body{
    margin:0;
    padding:0;
    background-position:center;
}

/* Wrapper */
.wrapper{
    width:100%;
    padding:0 15px;
    box-sizing:border-box;
}

/* ================= NAVBAR ================= */

nav{
    width:100%;
    display:block;
    line-height:normal;
    padding:15px 0;
    text-align:center;
}

/* Hilangkan float desktop */
.logo a,
.menu{
    float:none;
}

.logo{
    margin-bottom:15px;
}

.logo a{
    font-size:30px;
}

/* Menu */
.menu ul{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
}

.menu ul li{
    float:none;
    margin:8px;
}

.menu ul li a{
    font-size:16px;
    padding:5px 8px;
}

/* ================= HERO ================= */

.tmpl-awal{

    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    margin-top:30px;

}

.tmpl-awal img{

    width:85%;
    max-width:250px;
    margin:0 auto 20px auto;

}

.kolom{

    margin:0;

}

.kolom .deskripsi{

    font-size:20px;

}

h2{

    font-size:32px;
    line-height:40px;

}

a.lebih-lanjut{

    display:inline-block;
    margin-top:15px;

}

/* ================= FOOTER ================= */

footer{

    margin-top:40px;
    padding:15px;
    font-size:12px;

}
section img{

    margin:0 auto 20px auto;
    width:85%;
    max-width:250px;

}
.menu{

    float:none;

}
.wrapper{
        width:95%;
    }

    nav .wrapper{
        flex-direction:column;
        text-align:center;
    }

    .logo a{
        font-size:18px;
    }

    .logo-home img{
        width:28px;
        margin-bottom:10px;
    }

    .deskripsi-lanjut{
        font-size:14px;
        line-height:1.7;
    }

    .column{
        flex-direction:column;
        align-items:center;
    }

    .column img{
        width:90%;
        max-width:350px;
    }

    footer small{
        font-size:12px;
    }
}

/* ================= LEBIH LANJUT ================= */
.kolom{
    margin-top: 50px;
    margin-bottom: 50px;
}

.kolom .deskripsi-lanjut {
    margin-top: 10px;
    font-size: 20px;
    font-family: 'Times New Roman', Times, serif;
    color: white;
    text-align: center;
    background-color: rgba(64, 182, 133, 0.6);
}
.deskripsi-lanjut {
    padding: 18px 25px;
    background: rgba(25, 135, 95, 0.85);
    color: white;
    border-radius: 8px;
    line-height: 1.6;
    text-align: center;
    font-size: 15px;
    box-sizing: border-box;
}
.wisata-grid {
    width: 90%;
    max-width: 850px;
    margin: 30px auto;
    
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
.wisata-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;

    box-shadow: 0 4px 12px rgba(0,0,0,0.25);

    transition: 0.3s;

    text-align: center;
}
.wisata-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}
.wisata-card img {
    width: 100%;
    height: 200px;

    object-fit: cover;

    display: block;
}
.wisata-info {
    padding: 15px;
}
.wisata-info h3 {
    margin: 0 0 7px;

    color: #075b2d;

    font-size: 20px;
}
.wisata-info p {
    margin: 5px 0 10px;

    color: #555;

    font-size: 14px;
}
.wisata-info span {
    display: inline-block;
    background-color: #27885f;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
}
/* ================= LEBIH LANJUT TAMPILAN ANDROID ================= */
@media screen and (max-width: 768px) {
    .wisata-grid {
        width: 90%;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .wisata-card img {
        height: 200px;
    }
    .deskripsi-lanjut {
        width: 90%;
        font-size: 14px;
        padding: 15px;
    }
}