/* Custom CSS dari <style> di _header.html */

body {
    font-family: 'Inter', sans-serif;
    background-color: #f5f5f5;
}
/* Kelas warna diganti dengan Primary dari config Tailwind */
.text-orange-600 { color: #f97316; } /* Primary 500/600 */
.bg-orange-600 { background-color: #f97316; } /* Primary 500/600 */
.border-orange-600 { border-color: #f97316; } /* Primary 500/600 */

/* ==================================== */
/* Styles untuk Modal (Gabungan dari yang lama & baru) */
/* ==================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    /* Penting: Gunakan Flex untuk centering modal */
    justify-content: center; 
    align-items: center;
}
.modal-content {
    background-color: #fff;
    /* margin: 5% auto; <-- diaktifkan lagi karena flex centering sudah di modal class */
    padding: 2.5rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    position: relative;
    animation: slideUp 0.3s ease-out;
}
.close-btn { /* Menggunakan close-btn agar sesuai dengan HTML footer sebelumnya */
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close-btn:hover,
.close-btn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
.close-button { /* Tambahan untuk kompatibilitas */
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}
.close-button:hover,
.close-button:focus {
    color: #000;
    text-decoration: none;
}


/* ==================================== */
/* Styles untuk Konten Artikel (#rayi-raka-travel-content) */
/* ==================================== */
#rayi-raka-travel-content {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
    color: #333;
    margin: 20px auto;
    max-width: 900px;
    font-size: 16px;
    width: calc(100% - 40px);
    box-sizing: border-box;
}

#rayi-raka-travel-content p {
    margin-bottom: 8px;
}

#rayi-raka-travel-content ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 8px;
}

#rayi-raka-travel-content ul li {
    margin-bottom: 3px;
    line-height: 1.4;
}

#rayi-raka-travel-content strong {
    color: #0056b3;
    font-weight: bold;
}

#rayi-raka-travel-content h1,
#rayi-raka-travel-content h2,
#rayi-raka-travel-content h3 {
    color: #2c3e50;
    margin-top: 20px;
    margin-bottom: 10px;
}

#rayi-raka-travel-content h1 {
    text-align: center;
    font-size: 2.2em;
    color: #0056b3;
}

#rayi-raka-travel-content h2 {
    font-size: 1.8em;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
}

#rayi-raka-travel-content h3 {
    font-size: 1.4em;
    color: #34495e;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

#rayi-raka-travel-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
    min-width: 600px;
    font-size: 1em;
}

#rayi-raka-travel-content table th,
#rayi-raka-travel-content table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

#rayi-raka-travel-content table th {
    background-color: #f2f2f2;
    color: #555;
    white-space: nowrap;
}

/* Tambahan dari Style yang baru Anda berikan */
.comparison-table thead th {
    background-color: #fff9c4;
    color: #5d4037;
}

/* ==================================== */
/* Styles untuk Scroll-to-Top */
/* ==================================== */
#scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 40;
}

#scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

#scroll-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

/* ==================================== */
/* Media Queries */
/* ==================================== */
@media (max-width: 768px) { 
    /* Style lama */
    #rayi-raka-travel-content {
        font-size: 15px;
        width: calc(100% - 30px);
    }
    /* Style baru */
    .article-content {
        padding: 1.5rem;
    }
    .prose h2, .prose h3 {
        font-size: 1.5rem;
    }
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) { 
    #rayi-raka-travel-content {
        font-size: 14px;
        margin: 0;
        width: 100%;
    }
    #rayi-raka-travel-content ul {
        margin-left: 15px;
        padding-left: 0;
    }
    #rayi-raka-travel-content table th,
    #rayi-raka-travel-content table td {
        padding: 4px;
    }
    #rayi-raka-travel-content h1 {
        font-size: 1.8em;
    }
    #rayi-raka-travel-content h2 {
        font-size: 1.5em;
    }
    #rayi-raka-travel-content h3 {
        font-size: 1.2em;
    }
    #rayi-raka-travel-content p, #rayi-raka-travel-content ul {
        margin-bottom: 5px;
    }
}