/*
Theme Name: RS Sei Lekop 
Theme URI: https://rseseilekop.com
Author: Santa Elisabeth Sei Lekop
Author URI: https://rseseilekop.com
Description: Tema untuk Rumah Sakit Santa Elisabeth Sei Lekop, dengan Custom Post Type untuk Dokter, Poliklinik, dan Berita. Berisi halaman terpisah untuk setiap bagian.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rs-sei-lekop
Tags: custom-post-types, responsive, one-column, accessibility-ready
*/

/* --- CSS dari HTML kamu --- */
/* Reset dan Font */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Arial', sans-serif; line-height: 1.6; color: #333; background-color: #f9f9f9; }

/* Header */
header { background: linear-gradient(135deg, #007bff, #0056b3); color: white; padding: 20px 0; position: fixed; width: 100%; top: 0; z-index: 100; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
nav { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
nav h1 { font-size: 1.8em; }
nav ul { list-style: none; display: flex; }
nav ul li { margin-left: 20px; }
nav ul li a { color: white; text-decoration: none; font-weight: bold; transition: color 0.3s; }
nav ul li a:hover { color: #cce7ff; }

/* Hero Slider */
.hero { position: relative; height: 100vh; overflow: hidden; margin-top: 80px; }
.slide { background-size: cover; background-position: center; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; color: white; transition: opacity 1s; }
.slide.active { opacity: 1; }
.slide:not(.active) { opacity: 0; }
.hero-content { background: rgba(0,0,0,0.5); padding: 40px; border-radius: 10px; max-width: 600px; }
.hero h2 { font-size: 3em; margin-bottom: 20px; }
.hero p { font-size: 1.2em; margin-bottom: 30px; }
.btn { background: #007bff; color: white; padding: 15px 30px; text-decoration: none; border-radius: 5px; transition: background 0.3s; display: inline-block; margin-top: 10px; }
.btn:hover { background: #0056b3; }
.slider-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; }
.dot { width: 15px; height: 15px; background: rgba(255,255,255,0.5); border-radius: 50%; margin: 0 5px; cursor: pointer; }
.dot.active { background: white; }

/* Section Umum */
section { padding: 60px 20px; max-width: 1200px; margin: 0 auto; animation: fadeIn 1s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
h2 { text-align: center; margin-bottom: 30px; font-size: 2.5em; color: #007bff; }
.subtitle { text-align: center; color: #666; font-size: 1.2em; margin-bottom: 50px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { background: white; padding: 20px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); text-align: center; transition: transform 0.3s; }
.card:hover { transform: translateY(-5px); }
.card img { width: 100%; height: 200px; object-fit: cover; border-radius: 5px; }

/* Formulir */
form { max-width: 600px; margin: 0 auto; background: white; padding: 30px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
form input, form textarea, form button { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 5px; font-size: 1em; }
form button { background: #007bff; color: white; border: none; cursor: pointer; font-size: 1.1em; }
form button:hover { background: #0056b3; }

/* Testimonial Slider */
.testimonial-slider { position: relative; overflow: hidden; }
.testimonial { display: none; text-align: center; padding: 20px; }
.testimonial.active { display: block; }
.testimonial img { width: 80px; height: 80px; border-radius: 50%; margin-bottom: 10px; }

/* Modal Styles */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); backdrop-filter: blur(5px); animation: fadeIn 0.3s; }
.modal-content { background-color: white; margin: 10% auto; padding: 20px; border-radius: 10px; width: 80%; max-width: 700px; box-shadow: 0 4px 8px rgba(0,0,0,0.2); position: relative; max-height: 80vh; overflow-y: auto; }
.close { color: #aaa; float: right; font-size: 28px; font-weight: bold; cursor: pointer; }
.close:hover { color: black; }
#doctorList .card { margin-bottom: 15px; }
#doctorList .card img { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 10px; }
#clinicDoctorList .doctor-item { background: #f9f9f9; padding: 15px; margin-bottom: 15px; border-radius: 8px; display: flex; align-items: center; }
#clinicDoctorList .doctor-item img { width: 80px; height: 80px; border-radius: 50%; margin-right: 15px; }
#clinicDoctorList .doctor-info h4 { margin: 0; color: #007bff; }
#clinicDoctorList .doctor-info p { margin: 5px 0; }
#clinicDoctorList .schedule { margin-top: 10px; }
#clinicDoctorList .schedule table { width: 100%; border-collapse: collapse; }
#clinicDoctorList .schedule th, #clinicDoctorList .schedule td { padding: 5px; text-align: left; border-bottom: 1px solid #ddd; }
#clinicDoctorList .schedule th { background: #007bff; color: white; }

/* Footer */
footer { background: #333; color: white; text-align: center; padding: 20px; }
footer .social { margin-top: 10px; }
footer .social a { color: white; margin: 0 10px; font-size: 1.5em; }

/* Responsif */
@media (max-width: 768px) {
    nav ul { flex-direction: column; }
    .hero h2 { font-size: 2em; }
    .grid { grid-template-columns: 1fr; }
    nav { flex-direction: column; }
    nav ul { margin-top: 10px; }
}