/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: sans-serif; /* Using a generic sans-serif */
}

body {
    background-color: #111; /* Dark background */
    color: #f0f0f0; /* Light text color */
    line-height: 1.6;
    padding: 2rem; /* Add some padding around the content */
}

.container {
    max-width: 1100px; /* Max width for content */
    margin: 0 auto; /* Center the container */
}

/* Main Content Layout */
.main-content {
    display: flex;
    gap: 3rem; /* Space between columns */
    margin-bottom: 3rem;
}

.left-column {
    flex: 1; /* Takes up available space */
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Space between elements in the left column */
}

.right-column {
    flex: 1; /* Takes up available space */
}

/* Left Column Styling */
.left-column h1 {
    font-size: 3.5rem;
    font-weight: bold;
    line-height: 1.1;
    color: #fff; /* White heading */
    margin-bottom: 0.5rem;
}

.left-column h1 a {
    color: #fff; /* White hyperlink text */
    text-decoration: none; /* Optional: remove underline */
}

.left-column h1 a:hover {
    color: #fff; /* Maintain white on hover */
}

.left-column h2 {
    font-size: 1.2rem;
    color: #b91c1c; /* Reddish color from screenshot */
    font-weight: normal;
    margin-bottom: 1rem;
}

.left-column p {
    font-size: 0.95rem;
    color: #ccc; /* Lighter gray for paragraph */
}

.buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-latest, .btn-subscribe, .btn-read-more {
    background-color: #b91c1c; /* Reddish button background */
    color: #fff;
}

.btn-latest:hover, .btn-subscribe:hover, .btn-read-more:hover {
    background-color: #991b1b; /* Darker red on hover */
}

.btn-about {
    background-color: #e0e0e0; /* Light gray background */
    color: #333; /* Dark text */
}

.btn-about:hover {
    background-color: #ccc; /* Darker gray on hover */
}

.subscribe-section {
    margin-top: 2rem;
}

.subscribe-section h3 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: #eee;
}

.subscribe-form {
    display: flex;
    gap: 0.5rem;
}

.subscribe-form input[type="email"] {
    flex-grow: 1;
    padding: 0.8rem;
    border: 1px solid #444;
    border-radius: 6px;
    background-color: #222; /* Darker input background */
    color: #fff;
    font-size: 0.9rem;
}

.subscribe-form input[type="email"]::placeholder {
    color: #888;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: #ccc;
    font-size: 1.3rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #fff;
}

/* Ensure Font Awesome 6 Brand icons render correctly */
.fab {
    font-family: 'Font Awesome 6 Brands';
    font-weight: 400; /* Required for brand icons */
}

/* Right Column Styling */
.book-feature {
    background-color: #1f1f1f; /* Slightly lighter dark background */
    padding: 2rem;
  border-radius: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start; /* Ensure proper flow around the image */
}

.book-main {
  margin: auto;
  width: 100%;
  max-width: 600px; /* Increased max-width for wider rectangle */
}

.badge-new-release {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #b91c1c;
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: bold;
}

.book-image-placeholder {
    width: 150px; /* Adjust size as needed */
    height: 220px; /* Adjust size as needed */
    background-color: #333;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    margin-top: 1rem; /* Space below badge */
}

.book-feature h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.book-feature p {
    font-size: 0.9rem;
    color: #fff; /* Change text color to white */
    margin-bottom: 1.5rem;
    max-width: 100%; /* Prevent text from getting too wide */
    background-color: transparent; /* Remove background color */
}

/* Footer Styling */
.footer {
    border-top: 1px solid #333; /* Separator line */
    padding-top: 2rem;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 1rem;
}

.footer-logo span {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 50%;
    font-weight: bold;
    color: #ccc;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #aaa;
}

.footer-nav a {
    color: #aaa;
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #fff;
}

/* Basic Responsive Adjustments */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }

    .left-column h1 {
        font-size: 2.8rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        margin-top: 1rem;
    }

    .footer-nav a {
        margin: 0 0.75rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 1rem;
    }

    .left-column h1 {
        font-size: 2.2rem;
    }

    button {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-form button {
        width: 100%;
    }
}

/* Remove styles related to old theme if any were missed */
/* e.g., .logo, .nav-links, header specific styles, .social-links specific styles from old theme */
.logo, .nav-links, header, #burger-hider, section#main > nav, section#main > header, section#main > .social-links {
    display: none; /* Hide elements from the old structure if they somehow persist */
}


/* Add this to your Style/style.css file */

.book-gallery {
  padding: 20px 0; /* Add some spacing around the gallery */
  text-align: center; /* Center the optional h2 title */
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Creates 3 equal-width columns */
  gap: 20px; /* Space between books */
  padding: 0 15px; /* Optional padding for the grid itself */
}

/* Optional: Adjust book-feature styling if needed for the gallery */
.books-grid .book-feature {
  /* You might want to add specific styles here,
     e.g., if they need to be smaller than the main featured book */
  border: 1px solid #eee; /* Example: add a light border */
  padding: 15px;
  text-align: left; /* Or center, depending on your design */
}

.books-grid .book-image-placeholder {
  height: 200px; /* Example: Set a consistent height for book images */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9; /* Light background for placeholder */
  margin-bottom: 10px;
}

.books-grid .book-feature h3 {
  font-size: 1.2em; /* Adjust title size if needed */
  margin-top: 0;
}

.books-grid .book-feature p {
  font-size: 0.9em; /* Adjust paragraph size if needed */
  min-height: 60px; /* Example: ensure paragraphs have some consistent height */
}

/* Responsive adjustments: For smaller screens, you might want 1 or 2 columns */
@media (max-width: 992px) {
  .books-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 books per row on medium screens */
  }
}

@media (max-width: 600px) {
  .books-grid {
    grid-template-columns: 1fr; /* 1 book per row on small screens */
  }
}
