/* === RESET & VARIABEL === */
:root {
    --navy: #0f172a;
    --navy-light: #1e293b;
    --orange: #f97316;
    --orange-dark: #ea580c;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark); background: var(--bg-light); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === TOP BAR === */
.top-bar {
    background: var(--navy);
    color: #cbd5e1;
    font-size: 0.85rem;
    padding: 8px 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-links { display: flex; gap: 20px; }
.top-links a { color: #cbd5e1; transition: color 0.2s; }
.top-links a:hover { color: var(--orange); }

/* === NAVBAR === */
.navbar {
    background: var(--bg-white);
    padding: 12px 0; /* ✅ Dikurangi agar lebih compact */
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* === LOGO IMAGE === */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.3rem;
    text-decoration: none; /* ✅ Hapus underline */
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo-img {
    height: 42px; /* ✅ Sesuaikan tinggi logo */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Jika logo hanya image tanpa teks */
.logo-text-only {
    display: none; /* ✅ Sembunyikan teks jika pakai logo full */
}

/* Jika ingin tetap ada teks di samping logo */
.logo-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--navy);
}

.logo-text .orange {
    color: var(--orange);
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    text-decoration: none;
}

.nav-links a:hover, .nav-links a.active { 
    color: var(--orange); 
}

.menu-toggle { 
    display: none; 
    background: none; 
    border: none; 
    font-size: 1.5rem; 
    cursor: pointer; 
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .logo-img {
        height: 35px; /* ✅ Lebih kecil di mobile */
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
}

/* === BUTTONS === */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    display: inline-block;
    text-align: center;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-light); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* === HERO === */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 100%);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero h1 span { color: var(--orange); }
.hero p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 30px;
    line-height: 1.7;
}
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.book-mockup {
    width: 140px;
    height: 200px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    transform: rotate(-5deg);
}
.book-1 { background: #3b82f6; transform: rotate(-10deg); }
.book-2 { background: var(--orange); transform: rotate(0deg); z-index: 2; }
.book-3 { background: var(--navy-light); transform: rotate(10deg); }

/* === SECTIONS === */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-white); }
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--navy);
}
.section-title span { color: var(--orange); }
.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 50px;
}

/* ========================================
   SECTION TENTANG - TACE PUBLISHING
   ======================================== */
#tentang {
    padding-top: 0 !important; /* ✅ Hapus padding atas section */
    margin-top: 5px; /* ✅ Tarik ke atas sedikit */
    padding-bottom: 20px !important; /* ✅ Kurangi dari 60-80px jadi 20px */
    margin-bottom: 0 !important;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
    padding: 40px 0 60px 0; /* ✅ Kurangi padding atas */
}

/* Gambar - naikkan ke atas */
.about-image {
    margin-top: 0; /* ✅ HAPUS margin-top */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    display: flex;
}

.about-image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    display: block;
}

/* Konten teks */
.about-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 0; /* ✅ Hapus padding atas */
}

.about-content .section-label {
    color: var(--orange);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--navy);
    line-height: 1.2;
    margin-top: 0; /* ✅ Hapus margin atas */
}

.about-content h2 span {
    color: var(--orange);
}

.about-content p {
    color: var(--text-gray);
    margin-bottom: 12px;
    line-height: 1.7;
    font-size: 16px;
}

/* Fitur list */
.about-features {
    margin: 15px 0;
    list-style: none;
    padding: 0;
    flex-grow: 1;
}

.about-features li {
    padding: 8px 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.about-features li::before {
    content: '✓';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: var(--orange);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* Tombol CTA */
.about-content .btn {
    margin-top: auto;
    align-self: flex-start;
    padding: 12px 28px;
    background: var(--orange);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.about-content .btn:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 30px 0 40px 0;
    }
    
    .about-image img {
        height: 280px;
    }
}

/* === KEUNGGULAN === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.feature-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border);
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.feature-icon {
    width: 50px;
    height: 50px;
    background: #fff7ed;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--navy);
}
.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* === PERPUSTAKAAN DIGITAL === */
.books-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.book-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    border: 1px solid var(--border);
}
.book-card:hover { transform: translateY(-5px); }
.book-cover {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
    position: relative;
}
.book-cover .badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--orange);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.book-info { padding: 20px; }
.book-info h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--navy);
    line-height: 1.4;
}
.book-info p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.5;
}
.btn-link {
    display: block;
    text-align: center;
    padding: 10px;
    background: var(--navy);
    color: #fff;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.2s;
}
.btn-link:hover { background: var(--navy-light); }

/* === PAKET KOLABORASI === */
.search-bar {
    display: flex;
    gap: 15px;
    max-width: 700px;
    margin: 0 auto 40px;
}
.search-bar input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
}
.search-bar select {
    padding: 12px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    background: #fff;
}
.search-bar button {
    padding: 12px 30px;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}
.book-price {
    color: var(--orange);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 10px 0;
}
.book-meta {
    font-size: 0.8rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* === PAKET PENERBITAN (PRICING) === */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    align-items: stretch;
}
.pricing-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: var(--shadow);
    border: 2px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
}
.pricing-card.popular {
    border-color: var(--orange);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}
.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.pricing-card h3 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 5px;
}
.pricing-card .subtitle {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    min-height: 40px;
}
.pricing-card .price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 5px;
}
.pricing-card .price-unit {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 20px;
}
.pricing-features {
    list-style: none;
    margin-bottom: 25px;
    flex: 1;
}
.pricing-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}
.pricing-features li::before { content: '✓'; color: var(--orange); font-weight: bold; }

/* === SEGERA TERBIT === */
.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.upcoming-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.upcoming-cover {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    padding: 20px;
    position: relative;
}
.upcoming-cover::after {
    content: 'Segera Terbit';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    backdrop-filter: blur(5px);
}
.upcoming-info { padding: 15px; }
.upcoming-info h4 {
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 5px;
    line-height: 1.4;
}
.upcoming-info p {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* === KONSULTASI & FAQ === */
.consult-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.consult-form, .faq-section {
    background: var(--bg-white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}
.consult-form h3, .faq-section h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--navy);
}
.consult-form h3 span, .faq-section h3 span { color: var(--orange); }
.consult-form > p, .faq-section > p {
    color: var(--text-gray);
    margin-bottom: 25px;
    font-size: 0.95rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}
.form-group { margin-bottom: 15px; }
.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--text-dark);
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* FAQ Accordion */
.faq-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-question {
    padding: 18px 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-light);
    transition: background 0.2s;
}
.faq-question:hover { background: #f1f5f9; }
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--orange);
    transition: transform 0.3s;
}
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 20px 18px;
}
.faq-answer p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* === FOOTER === */
.footer {
    background: var(--navy);
    color: #cbd5e1;
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 15px;
}
.footer-logo .logo-icon {
    background: var(--orange);
}
.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
}
.footer-col ul li {
    padding: 5px 0;
    font-size: 0.9rem;
}
.footer-col ul li a {
    color: #cbd5e1;
    transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--orange); }
.contact-list li {
    padding: 5px 0;
    font-size: 0.9rem;
}
.social-links {
    display: flex;
    gap: 12px;
}
.social-links a {
    width: 36px;
    height: 36px;
    background: var(--navy-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.social-links a:hover { background: var(--orange); }
.footer-bottom {
    border-top: 1px solid var(--navy-light);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .features-grid, .books-grid, .pricing-grid, .upcoming-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.popular { transform: scale(1); }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2rem; }
    .hero-image { display: none; }
    .about-grid, .consult-grid { grid-template-columns: 1fr; }
    .features-grid, .books-grid, .pricing-grid, .upcoming-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .search-bar { flex-direction: column; }
}

/* === FIX WARNA TEKS BRAND FOOTER === */
.footer-brand-name {
    color: #ffffff !important; /* ✅ Putih terang */
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.3px;
}

.footer-brand-name .orange {
    color: var(--orange) !important; /* ✅ Oranye untuk "Indonesia" */
}

/* Jika ada link di sekitar brand, hilangkan warna link */
.footer-brand a,
.footer-brand-name a {
    color: #ffffff !important;
    text-decoration: none;
}

.footer-brand a:hover,
.footer-brand-name a:hover {
    color: var(--orange) !important;
}

/* Override untuk semua kemungkinan selector */
footer .footer-brand-name,
footer .footer-brand .logo-text,
footer .footer-brand span,
.footer-column .footer-brand-name {
    color: #ffffff !important;
}

/* Jika teks ada di dalam <a> atau <div> */
footer .footer-brand a,
footer .footer-brand div,
footer .footer-brand span {
    color: #ffffff !important;
}

/* === HERO BOOK MOCKUPS === */
.hero-books {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    perspective: 1200px; /* Untuk efek 3D */
    position: relative;
    padding: 20px 20px;
    min-height : 400px;
}

.book-mockup {
    position: relative;
    width: 200px;
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.book-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* === HERO BOOK MOCKUPS - POSISI MIRING === */
.hero-books {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    perspective: 1200px;
    position: relative;
    padding: 40px 20px;
    min-height: 400px;
}

.book-mockup {
    position: relative;
    width: 200px;
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.book-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Buku 1 - Miring ke kiri */
.book-1 {
    transform: rotateY(20deg) rotateZ(-8deg) translateX(-30px);
    z-index: 1;
    animation: tiltLeft 4s ease-in-out infinite;
}

/* Buku 2 - Tegak di tengah (paling depan) */
.book-2 {
    transform: rotateY(0deg) translateZ(40px) scale(1.15);
    z-index: 3;
    box-shadow: 0 35px 70px rgba(0,0,0,0.5);
    animation: floatCenter 4s ease-in-out infinite;
}

/* Buku 3 - Miring ke kanan */
.book-3 {
    transform: rotateY(-20deg) rotateZ(8deg) translateX(30px);
    z-index: 1;
    animation: tiltRight 4s ease-in-out infinite;
}

/* Hover effect - buku jadi tegak dan membesar */
.book-mockup:hover {
    transform: rotateY(0deg) rotateZ(0deg) translateZ(60px) scale(1.2);
    z-index: 10;
    box-shadow: 0 45px 90px rgba(0,0,0,0.6);
    animation: none;
}

/* Animasi floating untuk efek hidup */
@keyframes tiltLeft {
    0%, 100% { 
        transform: rotateY(20deg) rotateZ(-8deg) translateX(-30px) translateY(0); 
    }
    50% { 
        transform: rotateY(20deg) rotateZ(-8deg) translateX(-30px) translateY(-15px); 
    }
}

@keyframes tiltRight {
    0%, 100% { 
        transform: rotateY(-20deg) rotateZ(8deg) translateX(30px) translateY(0); 
    }
    50% { 
        transform: rotateY(-20deg) rotateZ(8deg) translateX(30px) translateY(-15px); 
    }
}

@keyframes floatCenter {
    0%, 100% { 
        transform: rotateY(0deg) translateZ(40px) scale(1.15) translateY(0); 
    }
    50% { 
        transform: rotateY(0deg) translateZ(40px) scale(1.15) translateY(-20px); 
    }
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .hero-books {
        gap: 15px;
    }
    
    .book-mockup {
        width: 160px;
        height: 230px;
    }
    
    .book-1 { transform: rotateY(15deg) rotateZ(-6deg) translateX(-20px); }
    .book-2 { transform: rotateY(0deg) translateZ(30px) scale(1.1); }
    .book-3 { transform: rotateY(-15deg) rotateZ(6deg) translateX(20px); }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .hero-books {
        gap: 10px;
        padding: 20px 10px;
        min-height: 300px;
    }
    
    .book-mockup {
        width: 120px;
        height: 170px;
    }
    
    .book-1 { transform: rotateY(12deg) rotateZ(-5deg) translateX(-15px); }
    .book-2 { transform: rotateY(0deg) translateZ(20px) scale(1.08); }
    .book-3 { transform: rotateY(-12deg) rotateZ(5deg) translateX(15px); }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .book-mockup {
        width: 90px;
        height: 130px;
    }
    
    .hero-books {
        gap: 8px;
    }
}

/* ========================================
   GAMBAR KHUSUS HALAMAN PROFIL
   ======================================== */

.profil-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
    transition: all 0.4s ease;
}

.profil-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.profil-image img {
    width: 100%;
    height: 320px; /* ✅ Ukuran khusus profil (lebih kecil dari index) */
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.profil-image:hover img {
    transform: scale(1.03);
}

/* Dekorasi border oranye */
.profil-image::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid var(--orange);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.25;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .profil-image img {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .profil-image img {
        height: 250px;
    }
    .profil-image::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .profil-image img {
        height: 200px;
    }
}

/* === PAGINATION CONTROLS === */
.pagination-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.pagination-info {
    font-size: 14px;
    color: #64748b;
}

.pagination-info strong {
    color: #0f172a;
}

.per-page-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.per-page-selector label {
    font-size: 14px;
    color: #475569;
    font-weight: 500;
}

.per-page-selector select {
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.per-page-selector select:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* === PAGINATION BUTTONS === */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.pagination a {
    background: #fff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.pagination a:hover {
    background: #f97316;
    color: #fff;
    border-color: #f97316;
    transform: translateY(-2px);
}

.pagination span.current {
    background: #f97316;
    color: #fff;
    border: 1px solid #f97316;
    font-weight: 700;
}

.pagination span.dots {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: default;
}

.pagination a.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 768px) {
    .pagination-controls {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .per-page-selector {
        width: 100%;
    }
    
    .per-page-selector select {
        flex: 1;
    }
}