/*
Theme Name: Mahogany’s Serenade Child Theme
Author: Mahogany’s Serenade
Description: Mahogany’s Serenade Child Theme
Version: 1.0
Template: hello-elementor

This is the child theme for Hello Elementor theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/
#main_header {
    position: absolute;
    width: 100%;
    margin: auto;
}
.chapters-carousel {
    padding-bottom: 90px; /* arrows aur pagination ke liye space */
    position: relative;
}

/* Arrows */
.chapters-carousel .swiper-button-prev,
.chapters-carousel .swiper-button-next {
    position: absolute;
    bottom: 20px; 
    top: auto;
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 18px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.chapters-carousel .swiper-button-prev:hover,
.chapters-carousel .swiper-button-next:hover {
    background: #e5e5e5;
    transform: scale(1.1);
}

/* Position center below */
.chapters-carousel .swiper-button-prev {
    left: 50%;
    transform: translateX(-70px);
}
.chapters-carousel .swiper-button-next {
    right: 50%;
    transform: translateX(70px);
}

/* Pagination dots above arrows */
.chapters-carousel .swiper-pagination {
    bottom: 70px;
}


/* Container for the subscription form */
.email-subscription-form {
    background-color: #1a1a1a;  /* Dark background */
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    margin: 20px auto;
}

/* Title of the form */
.email-subscription-form h3 {
    font-size: 24px;
    margin-bottom: 10px;
    font-family: 'Arial', sans-serif;
}

/* Subtitle text */
.email-subscription-form p {
    font-size: 16px;
    margin-bottom: 20px;
    font-family: 'Arial', sans-serif;
    font-weight: lighter;
}

/* Input field styling */
.email-subscription-form input[type="email"] {
    padding: 12px;
    width: 80%;
    max-width: 350px;
    border-radius: 5px;
    border: 2px solid #ccc;
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

/* Input field focus effect */
.email-subscription-form input[type="email"]:focus {
    border-color: #4CAF50;  /* Green focus color */
    outline: none;
}

/* Button styling */
.email-subscription-form button[type="submit"] {
    padding: 12px 20px;
    background-color: #fff;
    color: #333;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Button hover effect */
.email-subscription-form button[type="submit"]:hover {
    background-color: #4CAF50; /* Green background on hover */
    color: white;
    transform: scale(1.05); /* Slight scaling effect */
}

/* Success message styling */
.email-subscription-form p.success {
    color: #4CAF50;
    font-weight: bold;
    margin-top: 15px;
}

/* Error message styling */
.email-subscription-form p.error {
    color: #ff4d4d;
    font-weight: bold;
    margin-top: 15px;
}


/* Main Section Style */
.my-books-section {
    background-color: #111;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.my-books-section h2 {
    font-size: 3rem;
    margin-bottom: 50px;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    color: #fff;
}


/* Individual Book Item Style */
.book-item {
    width: 420px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
    .bookimg{
 background-color: #222;
    padding: 30px;
    border-radius: 10px;
    }
.book-item:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.6);
}

/* Book Cover Image */
.book-cover {
    width: 100%;
    height: 500px;
    border-radius: 0px;
}

/* Book Description Styling */
.book-description {
    font-size: 18px;
    margin-bottom: 25px;
    color: #fff;
}

/* Buttons (Buy & Learn More) */
.book-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* Buy on Amazon Button Style */
.buy-button, .learn-more-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #fff;
    color: #000;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-align: center;
    width: 48%;
}

.buy-button:hover, .learn-more-button:hover {
    background-color: #cc0000;
    transform: scale(1.05);
}

/* Insight Section at the Bottom */
.books-insight {
    margin-top: 60px;
    background-color: #2c2c2c;
    padding: 40px;
    border-radius: 10px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.books-insight h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
}

.books-insight p {
    font-size: 1.3rem;
    font-style: italic;
    color: #ccc;
    line-height: 1.6;
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .book-container {
        flex-direction: column;
        align-items: center;
    }

    .book-item {
        width: 90%;
        margin-bottom: 30px;
    }

    .buy-button, .learn-more-button {
        width: 100%;
        padding: 14px 30px;
    }
}
