/*
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);
    }


 /* ================================
   STYLE UNTUK POSTINGAN WORDPRESS
   Elegan & Modern
================================= */

/* ================================
   STYLE UNTUK POSTINGAN WORDPRESS
   Heading dengan ukuran berbeda
================================= */

/* Kontainer utama konten */
.entry-content, .post-content {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.8;
  font-size: 1.05rem;
  color: #2d2d2d;
  margin: 0 auto;
  max-width: 750px;
  padding: 1rem;
}

/* Heading */
.entry-content h1, .post-content h1,
.entry-content h2, .post-content h2,
.entry-content h3, .post-content h3,
.entry-content h4, .post-content h4,
.entry-content h5, .post-content h5,
.entry-content h6, .post-content h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

/* Ukuran berbeda untuk tiap heading */
.entry-content h1 { font-size: 2.4rem; border-bottom: 3px solid #2563eb; padding-bottom: .3rem; }
.entry-content h2 { font-size: 2rem;   border-left: 4px solid #2563eb; padding-left: .5rem; }
.entry-content h3 { font-size: 1.7rem; color: #1f2937; }
.entry-content h4 { font-size: 1.4rem; color: #374151; }
.entry-content h5 { font-size: 1.2rem; color: #4b5563; }
.entry-content h6 { font-size: 1rem;   font-weight: 500; color: #6b7280; }

/* Paragraf */
.entry-content p {
  margin-bottom: 1.2rem;
  text-align: justify;
}

/* Link */
.entry-content a {
  color: #2563eb;
  text-decoration: none;
  transition: all 0.3s ease;
}
.entry-content a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* List (ul & ol) */
.entry-content ul, .entry-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
}
.entry-content ul li {
  list-style-type: disc;
  margin-bottom: .5rem;
}
.entry-content ol li {
  list-style-type: decimal;
  margin-bottom: .5rem;
}

/* Blockquote */
.entry-content blockquote {
  border-left: 5px solid #2563eb;
  background: #f3f4f6;
  padding: 1rem 1.5rem;
  font-style: italic;
  color: #374151;
  margin: 1.5rem 0;
  border-radius: .5rem;
}

/* Code */
.entry-content pre, .entry-content code {
  background: #1e293b;
  color: #f8fafc;
  font-family: "Fira Code", monospace;
  padding: .4rem .6rem;
  border-radius: .4rem;
  font-size: .95rem;
  overflow-x: auto;
}
.entry-content pre {
  padding: 1rem;
  margin-bottom: 1.5rem;
}

/* Table */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  border-radius: .6rem;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.entry-content table th, .entry-content table td {
  padding: .8rem 1rem;
  border: 1px solid #e5e7eb;
}
.entry-content table th {
  background: #2563eb;
  color: white;
  font-weight: 600;
}
.entry-content table tr:nth-child(even) {
  background: #f9fafb;
}

/* Gambar */
.entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  border-radius: .8rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.entry-content img:hover {
  transform: scale(1.02);
}

/* Caption */
.wp-caption {
  text-align: center;
  margin: 1.5rem auto;
  font-size: .9rem;
  color: #6b7280;
}

/* Responsive iframe (YouTube, dll.) */
.entry-content iframe {
  max-width: 100%;
  border-radius: .8rem;
}

/* HR (pemisah) */
.entry-content hr {
  border: 0;
  height: 2px;
  background: linear-gradient(to right, #2563eb, transparent);
  margin: 2rem 0;
  border-radius: 2px;
}


/*like dan dislike*/
.like-dislike-box {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
.like-dislike-box button {
  border: none;
  background: #f0f0f0;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.like-dislike-box button:hover {
  background: #ddd;
}
.like-dislike-box button.active {
  background: #2563eb;
  color: #fff;
}


/*facebook comment*/

.facebook-comments {
  margin-top: 30px;
  padding: 20px;
  background: #f9fafb;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.facebook-comments h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1d4ed8;
}
