/*
Theme Name: Kukuh Trans Jaya Theme
Theme URI: https://cangeus.netlify.app/
Author: CanGeus
Author URI: https://cangeus.netlify.app/
Description: Tema kustom untuk website Kukuh Trans Jaya.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-theme, rental-mobil
Text Domain: kukuhtransjaya
*/


/* Base Styles */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Smooth transitions for navbar */
nav {
    transition: all 0.3s ease-in-out;
}

/* Custom button hover effects */
/*.btn-primary {*/
/*    @apply bg-black text-white py-3 px-8 rounded-full font-bold transition-all duration-300 hover:bg-yellow-500 hover:text-black hover:scale-105;*/
/*}*/

/*.btn-secondary {*/
/*    @apply border-2 border-yellow-500 text-white py-3 px-8 rounded-full font-bold transition-all duration-300 hover:bg-yellow-500 hover:text-black hover:scale-105;*/
/*}*/

/* Card hover effects */
/*.card-hover {*/
/*    @apply transition-all duration-300 hover:shadow-xl hover:scale-105;*/
/*}*/

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #fbbf24;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f59e0b;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus states for accessibility */
/* a:focus,
button:focus {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
} */

/* Responsive text sizes */
.text-responsive {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
}

/* Custom gradients */
.gradient-yellow-black {
    background: linear-gradient(135deg, #fbbf24 0%, #000000 100%);
}

.gradient-black-yellow {
    background: linear-gradient(135deg, #000000 0%, #fbbf24 100%);
}

/* Utility classes */
.backdrop-blur-custom {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Styling untuk Paginasi Swiper di Review Section */

.review-swiper .swiper-pagination-bullet {
    background-color: #ffda7c;
    /* Warna titik putih */
    width: 10px;
    height: 10px;
    opacity: 0.7;
}

.review-swiper .swiper-pagination-bullet-active {
    background-color: #fbbf24;
    /* Warna titik aktif juga putih */
    opacity: 1;
}

/* Styling untuk Navigasi Swiper di Gallery Section */

.gallery-swiper+.swiper-button-prev {
    color: #fbbf24;
    /* Warna panah kuning (amber-400) */
}

.gallery-swiper+.swiper-button-next {
    color: #fbbf24 !important;
    /* Warna panah kuning (amber-400) */
}

#armada-filter-buttons .filter-btn {
    cursor: pointer;
    transition: all 0.3s ease;
}

#armada-filter-buttons .filter-btn.active {
    background-color: #fbbf24;
    /* yellow-500 */
    color: black;
}


/* Memberi warna pada menu yang sedang aktif */
.current-menu-item>a,
.current-menu-ancestor>a {
    color: #eab308;
    /* Ini adalah kode warna untuk yellow-500 di Tailwind CSS */
}

/* Print styles */
@media print {

    nav,
    .no-print {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-gray-600 {
        color: #000 !important;
    }

    .text-gray-300 {
        color: #fff !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark mode support (if needed in future) */
@media (prefers-color-scheme: dark) {
    /* Add dark mode styles here if needed */
}



/*--------------------------------------------------------------
# Styling untuk Area Komentar
--------------------------------------------------------------*/

/* Wrapper Utama */
.comments-area {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #f9fafb;
    /* gray-50 */
    border-radius: 1rem;
}

.comments-title {
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
    /* gray-200 */
}

/* Daftar Komentar */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list .children {
    list-style: none;
    margin-left: 2rem;
    padding-left: 1rem;
    border-left: 2px solid #e5e7eb;
    /* gray-200 */
}

/* Setiap item komentar */
.comment-body {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    /* gray-200 */
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-author .avatar {
    border-radius: 9999px;
}

.comment-author .fn {
    font-weight: 700;
    font-size: 1.125rem;
    font-style: normal;
}

.comment-author .says {
    display: none;
}

.comment-meta {
    font-size: 0.875rem;
    color: #6b7280;
    /* gray-500 */
}

.comment-meta a {
    text-decoration: none;
    color: #6b7280;
    /* gray-500 */
}

.comment-meta a:hover {
    text-decoration: underline;
}

.comment-content {
    color: #374151;
    /* gray-700 */
}

.reply {
    text-align: right;
    margin-top: 1rem;
}

.comment-reply-link {
    display: inline-block;
    background-color: #f3f4f6;
    /* gray-100 */
    color: #1f2937;
    /* gray-800 */
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
}

.comment-reply-link:hover {
    background-color: #e5e7eb;
    /* gray-200 */
}

/* Formulir Komentar */
.comment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
    /* gray-800 */
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    /* gray-300 */
    border-radius: 0.5rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #eab308;
    /* yellow-500 */
    box-shadow: 0 0 0 2px rgba(234, 179, 8, 0.4);
}

.comment-form .submit,
button[type="submit"] {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.comment-form .submit:hover,
button[type="submit"]:hover {
    background-color: #eab308;
    /* yellow-500 */
    color: #000000;
    transform: scale(1.05);
}


/*Artikel*/
article.content h1 {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700;    /* font-bold */
    margin-top: 1.5rem;
    margin-bottom: 1rem;
  }
  article.content h2 {
    font-size: 1.5rem;   /* text-2xl */
    font-weight: 600;    /* font-semibold */
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
  }
  article.content h3 {
    font-size: 1.25rem;  /* text-xl */
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }
  article.content p {
    margin-bottom: 1rem;
    line-height: 1.75rem; /* leading-relaxed */
  }
  article.content ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
  }
  article.content ol {
    list-style-type: decimal;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
  }
  article.content li {
    margin-bottom: 0.25rem;
  }
  article.content blockquote {
    border-left: 4px solid #eab308; /* border-yellow-500 */
    padding-left: 1rem;
    font-style: italic;
    color: #4b5563; /* text-gray-600 */
    margin: 1rem 0;
  }
  article.content img {
    border-radius: 0.5rem; /* rounded-lg */
    margin: 1rem 0;
    max-width: 100%;
    height: auto;
  }
  article.content a {
    color: #2563eb; /* text-blue-600 */
    text-decoration: underline;
  }
  article.content a:hover {
    color: #1e40af; /* hover:text-blue-800 */
  }