@import url("https://fonts.googleapis.com/css?family=Poppins");
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');
:root {
    --Frud-color: rgba(255, 215, 145, 0.657);
    --primary-color: rgb(255, 255, 255);
    --second-color: rgb(0, 0, 0);
    --third-color: rgb(0, 0, 0);
    --hover-color: rgb(138, 138, 138);
    --less-color : rgb(100, 100, 100);
}

.fade {
    opacity: 0;
    transition: all 0.8s ease-out;
    transform: translateY(15%);
}
.fade.show {
    opacity: 1;
    transform: translateY(0%);
}

a {
    text-decoration: none;
}
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto Slab", serif;
    background-color: #f4f6f8;
}

.navbar {    
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
    z-index: 1000;
    background: rgba(36, 36, 36, 0.4);
}
.logo-wrapper img {
    width: 100px;
    margin-left: 20px;
}

.nav-container {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-right: 20px;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Search Bar */
.search {
    display: flex;
    align-items: center;
    border: 1px solid var(--second-color);
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
}

.search input {
    border: none;
    outline: none;
    padding: 8px 12px;
    background: transparent;
    color: var(--second-color);
    width: 180px;
}

.search input::placeholder {
    color: rgba(0, 0, 0, 0.7);
}

.search button {
    border: none;
    padding: 8px 12px;
    color: rgba(0, 0, 0, 0.7);
    background: transparent;
    cursor: pointer;
    transition: background 0.3s;
}

.search button:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    margin-right: 20px;
    border: none;
    cursor: pointer;
    font-size: 30px;
    color: var(--second-color);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    border: solid 2px var(--second-color);
    top: 60px;
    right: 25px;
    width: auto;
    height: auto;
    border-radius: 20px;
    backdrop-filter: blur(2px);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    background-color: rgba(255, 255, 255, 0.9);
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    padding: 20px 0;
    border-bottom: 1px solid var(--second-color);
}

.mobile-menu ul li:last-child {
    border-bottom: none;
}

.mobile-menu ul li a {
    color: var(--second-color);
    text-decoration: none;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu.active {
    display: block;
}
    

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    margin-right: 20px;
    border: none;
    cursor: pointer;
    font-size: 30px;
    color: var(--primary-color);
}

.dropdown-btn:hover {
    cursor: pointer;
    color: var(--hover-color);
}

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
    top: 3.25rem;
    right: 12rem;
}

.dropdown-content a {
    color: var(--primary-color);
    text-decoration: none;
    display: block;
    padding: 10px;
}

.dropdown-content a:hover {
    background-color: #00000065;
}

    /* .dropdown-btn:hover .dropdown-content {
display: block;
} */
.dropdown-content.active {
    display: block;
}

/*  */
/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    border: solid 2px black;
    top: 60px;
    right: 10px;
    width: auto;
    /* height: 700px; */
    border-radius: 20px;
    backdrop-filter: blur(2px);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    width: 180px;
    padding: auto;
    text-align: center;
    transition: all 0.3s ease-in-out;
    background: rgba(255, 255, 255, 0.9);
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    padding: 20px 0;
    border-bottom: 1px solid var(--second-color);
}

.mobile-menu ul li:last-child {
    border-bottom: none;
}

.mobile-menu ul li a {
    color: var(--second-color);
    text-decoration: none;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu ul li a i {
    color: var(--second-color);
    margin-right: 10px;
    font-size: 22px;
}

.mobile-menu.active {
    display: block;
}

/* end Navbar */

.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo span {
    color: #2196f3;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

.contact button {
    background-color: #ffcc00;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
}

.banner {
    text-align: center;
    padding: 10px;
    background-color: #333;
}

.unit-ready {
    background-color: rgb(89, 211, 73);
    padding: 3px 8px;
    color: black;
    font-weight: bold;
}

.tour-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin: 20px auto;
    max-width: 1200px;
}

.tour-card {
    box-shadow: -1px 2px 10px rgba(81, 81, 81, 0.23) ;
    border-radius: 8px;
    overflow: hidden;
    width: 280px;
    text-align: left;
}
.tour-container a:nth-of-type(even) {
    transform: translateY(10%);

}
.tour-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.botm-crd {
    margin-top: 20px;
}

.text-mark {
    text-align: center;
    font-size: 30px;
    margin: 50px 0 100px 0;
}

.tour-info {
    padding: 15px;
    color: #333;
}

.price {
    color: #ffcc00;
    font-weight: bold;
}

.article {
    padding-top: 150px;
    padding-bottom: 90px;
    text-align: left;
    background-color: #cfcfcf4b;
    margin: auto;
}

.article h2, .article p {
    padding: 0 16%;
}


.article h2 {
    font-size: 40px;
}

.wr {
    margin-top: 8px;
    color: #6b6b6b;
}

.featured-article {
    position: relative;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.557)), url(assets/images/prambanan1.png);
    background-repeat: no-repeat;
    font-size: calc(16 + 1%);
    background-position: center center;
    background-size: 1200px;
    height: calc(600px) ;
    border-radius: 30px;
    margin: 30px auto;
    max-width: 1200px;
}

.article-content {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    display: flex;
    padding: 30px;
    position: absolute;
    color: #ffffff;
    bottom: 0;
}

.article-l {
    display: grid;
    gap: 20px;
}

.wl {
    background-color: #2196f3;
    height: 180px;
}

.df {
    display: flex;    
    justify-content: space-between;

}

.cc {
    color: rgb(143, 143, 143);
}

.footer {
    top: 4rem;
    margin: 5rem;
    font-size: 0.8rem;
    font-weight: 0.5rem;
}

.top-footer p {
    padding: 1.5rem;
    text-align: center;
}

.top-footer {
    text-align: center;
}

.footer p {
    color: var(--less-color);
    font-size: 0.8rem;
}

.footer-col {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.4rem;
    padding: 2rem 0;
}

.footer-colms p,
h4 {
    padding: 0.5rem 0;
    text-align: left;
    max-width: 380px;
}

.footer-colms h4 {
    font-size: 0.8rem;
}

.footer-logo img {
    width: 75px;
}
.cta-buttons {
    display: flex;
    gap: 2rem;
}
.cta-buttons a{
    line-height: 5rem;
    justify-content: space-between;
    font-size: 20px;
    color: var(--less-color);
    text-decoration: none;
}




/* Responsive */
@media (max-width: 768px) {

    /*responsif navbar*/
    .nav-links,
    #searchFormNav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .dropdown-content {
        right: 11rem;
        position: absolute;
        display: none;
        overflow: scroll;
        max-height: 270px;
    }

    .dropdown-content-mobile.active {
        display: block;
    }

    /* end-resposi-navbar */

    /* responsif-carousel */
    .carousel {
        position: relative;
        width: 100%;
        height: auto;
        max-width: 600px;
        margin: auto;
        overflow: hidden;
        border-radius: 10px;
    }

    .carousel-inner {
        display: flex;
        transition: transform 0.5s ease-in-out;
    }

    .carousel-item {
        width: 100%;
        flex-shrink: 0;
        object-fit: cover;
        display: block;
    }

    .footer {
        top: 4rem;
        margin: 5rem;
        font-size: 0.8rem;
        font-weight: 0.5rem;
    }
    
    .top-footer p {
        padding: 1.5rem;
        text-align: center;
    }
    
    .top-footer {
        text-align: center;
    }
    
    .footer p {
        color: var(--less-color);
        font-size: 0.8rem;
    }
    
    .footer-col {
        display: flex;
        justify-content: space-between;
        width: 100%;
        font-size: 0.4rem;
        padding: 2rem 0;
    }
    
    .footer-colms p,
    h4 {
        padding: 0.5rem 0;
        text-align: left;
        max-width: 380px;
    }
    
    .footer-colms h4 {
        font-size: 0.8rem;
    }
    
    .footer-logo img {
        width: 75px;
    }
    

    /* end-responsif-carousel */

    /* responsive isi */
    .isi {
        grid-template-columns: 1fr;
        /* Satu kolom saat mode mobile */
        margin: 1rem;
    }

    .aside {
        order: 1;
        /* Memindahkan aside ke bawah artikel pada mode mobile */
    }

    .teks h1 {
        font-size: 1.5rem;
    }

    .teks p {
        font-size: 0.9rem;
    }

    .lokasi iframe {
        height: 250px;
    }

    /* end responsif isi */

    /* responsif booking */

    .tiket {
        margin: 1rem;
    }

    .gambar {
        flex-direction: column;
    }

    .gambar img {
        width: 100%;
    }

    .text-tiket h2 {
        font-size: 1.5rem;
    }

    .text-tiket p {
        font-size: 0.9rem;
    }

    .btn-tiket button {
        width: 100%;
    }

    .popup-tiket {
        width: 80%;
    }

    .featured-article {
        height: 300px;
        border-radius: 10px;
        font-size: 11px;
        padding: 0.1px;
        margin: 15px;
    }

    .article-content {
        padding: 10px;
    }

    .article-content {
        padding: 10px;
    }

    .article-content p {
        line-height: calc(11px + 20%) ;
    }

    .article-content h2 {
        line-height: 16px;
    }

    /* .tour-card:nth-of-type(even) {
        transform: translateY(0%);
    } */

    .botm-crd {
        margin-top: 0px;
    }
    
     
    

    /* end responsif booking */
    @media (max-width: 1083px) {

        /* .tour-card:nth-of-type(even) {
            transform: translateY(5%);
        
        } */
        
        
    }

    /* Responsif Destop */



    /* Responsif Destop end */
    
}
/* end Responsive */
@media (max-width: 425px) {
    .footer-col {
        display: flex;
        flex-wrap: wrap;
    }
}