/* --- Global & Variable Setup --- */
:root {
    --primary-color: #008080; /* Hijau Toska */
    --secondary-color: #00A896; /* Toska lebih cerah */
    --accent-color: #f37736;   /* Oranye */
    --highlight-color: #FFC107;/* Kuning */
    --dark-color: #333333;   /* Abu-abu Gelap untuk Teks */
    --light-color: #f8f9fa; /* Latar Belakang Cerah */
    --white-color: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; line-height: 1.6; color: var(--dark-color); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- Utility & Tombol --- */
.btn { display: inline-block; background-color: var(--accent-color); color: var(--white-color); padding: 12px 25px; border-radius: 5px; text-decoration: none; font-weight: 600; transition: background-color 0.3s ease; border: 2px solid var(--accent-color); }
.btn:hover { background-color: #e06c2c; border-color: #e06c2c;}
.btn-outline { display: inline-block; background-color: transparent; color: var(--primary-color); padding: 10px 20px; border: 2px solid var(--primary-color); border-radius: 5px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; }
.btn-outline:hover { background-color: var(--primary-color); color: var(--white-color); }

.content-section { padding: 80px 0; }
.content-section h2 { text-align: center; font-size: 2.5rem; margin-bottom: 60px; color: var(--primary-color); }
.content-section { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.content-section.visible { opacity: 1; transform: translateY(0); }

/* --- Header & Navigasi --- */
#header { background-color: var(--white-color); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
#header nav { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); text-decoration: none; }
.nav-links { display: flex; list-style: none; }
.nav-links li { margin-left: 30px; }
.nav-links a { text-decoration: none; color: var(--dark-color); font-weight: 600; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--accent-color); }

/* --- Slider Section (BARU) --- */
.slider-container {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    flex: 0 0 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Overlay gelap */
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.2rem;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px 15px;
    z-index: 3;
    transition: background 0.3s;
}
.slider-nav:hover { background: rgba(255, 255, 255, 0.4); }
.slider-nav.prev { left: 10px; }
.slider-nav.next { right: 10px; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 3;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--accent-color);
}

/* --- Seksi Lainnya (About, Books, Contact, Footer) --- */
/* (Styling dari CSS sebelumnya sebagian besar masih relevan) */
#about { background-color: var(--light-color); }
.about-content { display: flex; align-items: center; gap: 50px; }
.about-image { flex: 1; }
.about-image img { width: 100%; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.about-text { flex: 1; }
.about-text h3 { color: var(--primary-color); font-size: 1.8rem; margin-bottom: 15px; }
.book-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.book-card { background: var(--white-color); border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); overflow: hidden; text-align: center; padding-bottom: 20px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.book-card:hover { transform: translateY(-10px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.book-card img { width: 100%; height: auto; margin-bottom: 15px; }
.book-card h3 { color: var(--primary-color); margin-bottom: 10px; padding: 0 15px; }
.book-card p { font-size: 0.9rem; padding: 0 15px; margin-bottom: 20px; }
#contact { background-color: var(--light-color); }
.contact-content { display: flex; gap: 50px; }
.contact-info, .contact-form { flex: 1; }
.contact-info h3, .contact-form h3 { font-size: 1.8rem; color: var(--primary-color); margin-bottom: 20px; }
.contact-info p { margin-bottom: 15px; }
.contact-info i { color: var(--secondary-color); margin-right: 10px; }
.contact-form form { display: flex; flex-direction: column; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 5px; font-family: 'Poppins', sans-serif; }
.contact-form button { align-self: flex-start; border: none; cursor: pointer; }
#footer { background-color: var(--dark-color); color: var(--white-color); text-align: center; padding: 40px 0; }
.social-links a { color: var(--white-color); font-size: 1.5rem; margin: 0 15px; transition: color 0.3s ease; }
.social-links a:hover { color: var(--accent-color); }
#footer p { margin-top: 20px; font-size: 0.9rem; }

/* --- Pricing Section (BARU) --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.pricing-card {
    background: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border: 2px solid #eee;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.popular {
    transform: scale(1.05);
    border-color: var(--accent-color);
    box-shadow: 0 8px 30px rgba(243, 119, 54, 0.3);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: var(--white-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
}
.price span {
    font-size: 1rem;
    font-weight: 400;
    color: #777;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 10px;
    color: #555;
}

.pricing-features i {
    margin-right: 10px;
}
.pricing-features i.fa-check { color: var(--secondary-color); }
.pricing-features i.fa-times { color: #ccc; }

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card { margin-bottom: 30px; }
    .pricing-card.popular { transform: scale(1); }
}

@media (max-width: 768px) {
    .nav-links { display: none; } /* Implement hamburger menu for full functionality */
    .slide-content h1 { font-size: 2.5rem; }
    .about-content, .contact-content { flex-direction: column; }
}