/*
Theme Name: Desaku waonu
Author: Zalmin La Haza
Description: Tema WordPress lengkap dengan Tailwind dan Custom Post Type
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Poppins:wght@300;400;500&display=swap');
.font-great-vibes { font-family: 'Great Vibes', cursive; }
.font-poppins { font-family: 'Poppins', sans-serif; }


/* === Font Kombinasi 1: Poppins + Inter === */

.font-inter-body {
    font-family: 'Inter', sans-serif;
}

.font-poppins-heading {
    font-family: 'Poppins', sans-serif;
}


/* === Font Kombinasi 2: Playfair Display + Lato === */

.font-lato-body {
    font-family: 'Lato', sans-serif;
}

.font-playfair-heading {
    font-family: 'Playfair Display', serif;
}


/* === Font Kombinasi 3: Montserrat + Roboto === */

.font-roboto-body {
    font-family: 'Roboto', sans-serif;
}

.font-montserrat-heading {
    font-family: 'Montserrat', sans-serif;
}


/* === Font Kombinasi 4: Raleway + Open Sans === */

.font-open-body {
    font-family: 'Open Sans', sans-serif;
}

.font-raleway-heading {
    font-family: 'Raleway', sans-serif;
}


/* === Font Kombinasi 5: Bebas Neue + Nunito === */

.font-nunito-body {
    font-family: 'Nunito', sans-serif;
}

.font-bebas-heading {
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 1px;
    text-transform: uppercase;
}

[x-cloak] {
    display: none;
}

.hover-slide::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: top 0.7s ease-in-out;
}

.group:hover .hover-slide::before {
    top: 0;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 1s ease-out forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in-up.show {
    opacity: 1;
    transform: translateY(0);
}

.gradient-bottom {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(255, 255, 255, 0));
}

.thumbnail:hover img {
    transform: scale(1.05);
}

.thumbnail img {
    transition: transform 0.3s ease-in-out;
}

@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translate(-50%, 20%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.animate-float-up {
    animation: floatUp 1s ease-out forwards;
}


/* Untuk WordPress Editor Output */

.prose h1 {
    @apply text-3xl font-bold text-gray-800;
}

.prose h2 {
    @apply text-2xl font-semibold text-gray-700 mt-8;
}

.prose h3 {
    @apply text-xl font-medium text-gray-600 mt-6;
}

.prose p {
    @apply text-base leading-relaxed text-gray-700;
}

.prose ul {
    @apply list-disc pl-6;
}

.prose ol {
    @apply list-decimal pl-6;
}

.prose a {
    @apply text-indigo-600 hover: underline;
}




        /* Mengatur animasi fade-in khusus untuk dropdown */
        .dropdown-menu {
            opacity: 0;
            transform: translateY(10px);
            visibility: hidden;
            transition: opacity 0.7s ease-out, transform 0.7s ease-out;
        }

        .dropdown-group:hover .dropdown-menu {
            opacity: 1;
            transform: translateY(0);
            visibility: visible;
        }

        /* Mengatur animasi untuk mobile menu */
        #mobile-menu.hidden {
            transform: translateY(-100%);
            transition: transform 0.7s ease-in-out;
        }
        #mobile-menu.active {
            transform: translateY(0);
            transition: transform 0.7s ease-in-out;
        }

        /* Latar belakang gradient untuk header */
        .header-gradient {
            background-image: linear-gradient(to right, #400494, #0a62c6);
            opacity:0.95;
        }


   /* Full screen map */
    #map {
      width: 100%;
      height: 500px;
      border-radius: 1rem;
    }

    /* Optional animation */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .animate-fade-in {
      animation: fadeIn 1s ease-out;
    }


/*Swiper*/
    .swiper-button-next,
    .swiper-button-prev {
      width: 50px;
      height: 50px;
      background: rgba(15, 160, 173, 0.916);
      backdrop-filter: blur(8px);
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      opacity: 1;
      transition: all 0.3s ease;
      color: white;
      font-size: 24px;
    }

    .swiper:hover .swiper-button-next,
    .swiper:hover .swiper-button-prev {
      opacity: 1;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
      content: '';
    }

    .card-hover:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
