/* =================================================================== */
/*                STYLES FOR GALLERY PAGE - REVENGE LEGENDS            */
/* =================================================================== */

#gallery {
    padding-top: 60px; /* Kurangi padding atas karena header sudah solid */
    min-height: calc(100vh - 160px); /* Pastikan konten mengisi layar */
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 800px; /* Batasi lebar agar tidak terlalu stretched di layar besar */
    margin: 40px auto 0;
}

.book-option {
    display: flex;
    align-items: center;
    background-color: var(--card-bg);
    border: 1px solid var(--stone-border);
    padding: 25px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.book-option:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--product-title-gold);
    box-shadow: 0 5px 25px rgba(0,0,0,.3);
}

.book-icon-container {
    background-color: var(--dark-bg);
    padding: 20px;
    border-radius: 8px;
    margin-right: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-icon-container i {
    font-size: 2.5rem;
    color: var(--product-title-gold);
}

.book-details {
    flex-grow: 1;
}

.book-details h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 8px;
    text-transform: none;
}

.book-details p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-color);
}

.book-arrow i {
    font-size: 1.5rem;
    color: #888;
    transition: color 0.3s ease, transform 0.3s ease;
}

.book-option:hover .book-arrow i {
    color: var(--product-title-gold);
    transform: translateX(5px);
}

/* --- Responsive Styles for Gallery --- */
@media (max-width:900px){
    .gallery-grid {
        grid-template-columns:1fr;
    }
}
@media (max-width:768px){
    .book-option {
        flex-direction: column;
        text-align: center;
    }
    .book-icon-container {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .book-arrow {
        display: none; /* Sembunyikan panah di mobile */
    }
}
