* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a{
    text-decoration: none;
}
ul {
    list-style: none;
}
.active {
    color: #008496;
    font-weight: bold;
}
body , html {
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed; 
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background: rgba(0, 0, 0, 0.058); 
    backdrop-filter: blur(2px); 
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.299);
    padding: 15px 5%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.logo:hover {
    color: #004b00;
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem; 
}

.nav-links li {
    list-style: none;
    position: relative;
}

.nav-links a {
    color: whitesmoke;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 5px 10px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: crimson;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: crimson;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links .active a {
    color: crimson;
    font-weight: 600;
}

.nav-links .active a::after {
    width: 100%;
}

.ctn {
    background: crimson;
    color: #111 !important;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ctn:hover {
    background: crimson;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(233, 176, 97, 0.3);
}

header{
    width: 100vw;
    height: 100vh;
    background-image: url('./background\ desa2.jpg');
    background-position: bottom;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    
}
.header-content{
    margin-bottom: 150px;
    color:#ffffff;
    text-align: center;

}
.header-contenth2{
    font-size: 4vmin;
}
.line {
    width: 300px;
    height: 4px;
    background: #00a1a1;
    margin: 8px auto;
    border-radius: 5px;
}
.header-content h1{
    font-size: 7vmin;
    margin-top: 50px;
    margin-bottom: 30px;
    text-align: center;
}
.ctn {
    padding: 8px 15px;
    background: #00a1a1;
    border-radius: 30px;
    color: whitesmoke;
}
.menu-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    cursor: pointer;
    display: none;
}

/* Places */
section {
    width: 80%;
    margin: 80px auto;
}
.title {
    text-align: center;
    font-size: 30px;
    color:#484872;
}
.row {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.row .col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.places .row {
    margin-top: 50px;
}

h4 {
    font-size: 20px;
    color: #484872;
    margin: 20px auto;
}
.ctn {
    margin: 10px auto;
}

p {
    color: #545454;
    padding: 0px 40px ;
}
.events .ctn {
    margin-top: 30px;    
}

.line{
    width: 280px;
}

/*explore*/
.explore {
    width: 100%;
    height: 100vh;
    background-image: url(./patung\ catur\ muka\ 4.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}
.explore-content {
    width: 60%;
    padding: 50px;
    color: whitesmoke;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.explore-content h1 {
    font-size: 7vmin;
}
.explore-content line {
    margin-bottom: 50px;
}
.explore-content p {
    color: aliceblue;
}
.explore-content .ctn {
    margin-top: 40px;
}
.content-col {
    width: 40%;
}
.image-col {
    width: 60%;
}
.about .image-gallery {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
}
.image-gallery img {
    max-width: 300px;
    margin: 10px;
}

.content-col h1 {
    font-size: 7vmin;
    color: #484872;
}
.content-col .line {
    margin-left: 0 auto;
    margin-bottom: 20px;
    width: 300px;
}
.content-col p {
    padding: 0;
    margin: 30px auto;
}

.content-col .ctn {
    margin: 0 auto;
}

.footer{
    width: 100%;
   min-height: 100px;
    padding: 20px 80px;
    margin: 0;
    background: #484872;
    text-align: center;
}
.footer p {
    color: whitesmoke;
    margin: 20px auto;
    padding: 20px;
}

/*Mobile device*/
@media only screen and (max-width:900px){
    .menu-btn{
        display: block;
    }
    .navbar {
        padding: 0;
    }
    .logo {
        position: absolute;
        top: 30px;
        left: 30px;
    }
    .nav-links {
        flex-direction: column;
        width: 100%;
        height: 100vh;
        justify-content: center;
        background: #484872;
        margin-top: -900px;
        transition: all 0.5s ease;
    }
    .mobile-menu {
        margin-top: 0px;
        border-bottom-right-radius: 30%;
    }

    .nav-links li{
        margin: 30px auto;
    }
    .header .line{
        width: 200px;
    }

    /* Places */
    .row {
        flex-direction: column;
    }
    .row .col {
        margin: 20px auto;
    }
    .col img {
        max-width: 90%;
    }
    .h4{
        font-size: 50px;
    }

    .title{
        font-size: 20px;
    }

    /* explore */
    .explore-content {
        width: 100%;
    }
    .about .col {
        width: 100%;
    }
    .image-gallery {
        justify-content: center;
        align-items: center;
    }
    .image-gallery img {
        width: 90%;
    }
    .footer {
        padding: 10px;
    }
    .explore .line{
        width: 220px;
        margin-left: -6px;
    }
    .explore p{
        font-size: 1rem;
        text-align: center; 
       
    }

    /*gallery*/
    .gallery .center-line {
    width: 120px; 
    height: 4px;
    background: #00a1a1; 
    margin: 10px auto;
    border-radius: 5px; 
    }

    .gallery h1{
        font-size: 30px;
    }

    .gallery img{
        width: 500px;  
    }
}

/* Animations */
img {
    transition: transform .3s ease;
}
img:hover {
    transform: scale(1.1);
}
.ctn:hover {
    background: whitesmoke;
    color: #fc036b;
    box-shadow: 2px 3px 5px black;
}

/*Button*/
.button {
    background-color: #00a1a1;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
    background-color:#00a1a1;
    transform: scale(1.05);
}