/* Reset أساسي */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #011036;
    color: #ffff;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    font-size: 2.5rem;
    color: #ffff;
}

.books-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.book-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s;
}

.book-card:hover {
    transform: translateY(-5px);
}

.book-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.book-content {
    padding: 15px;
}

.book-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #22223b;
}

.book-content p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: #4a4e69;
}

.download-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1a316b;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.download-btn:hover {
    background-color: #22223b;
}

@media (max-width: 600px) {
    .books-container {
        grid-template-columns: 1fr;
    }
}
.book-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* يحرك كل شيء في المنتصف */
    gap: 10px;
}


.room__topLeft {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: #1a316b;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, background-color 0.2s;
    z-index: 1000;
    cursor: pointer;
}

.room__topLeft:hover {
    background-color: #22223b;
    transform: scale(1.1);
}

.room__topLeft svg {
    fill: #fff; /* لون السهم */
    width: 32px;
    height: 32px;
}
