body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0f1115; /* Sleek dark background */
    color: #e0e6ed; /* Soft white text */
    line-height: 1.6;
}

header {
    background-color: #161a22;
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-weight: bold;
    font-size: 1.4rem;
    color: #ffb703; /* Gold accent color */
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #e0e6ed;
    text-decoration: none;
    font-weight: 500;
}

.hero {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(rgba(15, 17, 21, 0.8), rgba(15, 17, 21, 0.9)), url('hero-bg.jpg') no-repeat center center/cover;
}

.hero h1 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background-color: #ffb703;
    color: #0f1115;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
}

section {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

h2 {
    color: #ffb703;
    border-bottom: 2px solid #161a22;
    padding-bottom: 10px;
}

.book-grid {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.book-card {
    background-color: #161a22;
    padding: 20px;
    border-radius: 8px;
    flex: 1;
    text-align: center;
}

.book-placeholder {
    background-color: #242b35;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    margin-bottom: 15px;
    color: #8892b0;
}

.buy-links {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.buy-btn {
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
}

.amazon { background-color: #ff9900; color: #000; }
.ridero { background-color: #00b4d8; color: #fff; }

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
}

.social-links a {
    color: #ffb703;
    text-decoration: none;
    font-size: 1.1rem;
}

footer {
    text-align: center;
    background-color: #0a0c10;
    padding: 40px 20px;
    margin-top: 60px;
}
.hero-subtitle {
    font-size: 1.5rem;
    color: #ffb703;
    margin-top: -10px;
    margin-bottom: 30px;
}
.book-card h3 {
    margin-bottom: 5px;
    font-size: 1.6rem;
    letter-spacing: 1px;
}
.book-card .subtitle {
    font-style: italic;
    color: #a0aec0;
    font-size: 0.95rem;
    margin-top: 0;
    margin-bottom: 15px;
}
.book-card .genre {
    color: #ffb703;
    font-weight: bold;
    font-size: 0.9rem;
}
.book-card .description {
    text-align: justify;
    font-size: 0.95rem;
    color: #cbd5e0;
}
.book-image-container {
    width: 100%;
    margin-bottom: 20px;
}
.book-cover-img {
    max-width: 200px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
}
.tutoring-target {
    font-style: italic;
    color: #ffb703;
    font-size: 1.1rem;
}
.waitlist-box {
    background-color: #161a22;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}
.social-links p {
    display: inline-block;
    margin: 0 15px;
    color: #e0e6ed; /* Keeps the platform name white */
}

/* Horizontal Cover Slider Styles */
.slider-wrapper {
    position: relative;
    margin-bottom: 15px;
    width: 100%;
}

.cover-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 15px;
    padding-bottom: 10px;
}

/* Hide bulky scrollbars but keep functionality */
.cover-slider::-webkit-scrollbar {
    height: 6px;
}
.cover-slider::-webkit-scrollbar-thumb {
    background: #ffb703;
    border-radius: 10px;
}

.slide-item {
    flex: 0 0 100%; /* Makes each image take up full width of card */
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cover-label {
    display: inline-block;
    background-color: #242b35;
    color: #ffb703;
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: 12px;
    margin-top: 8px;
    font-weight: bold;
}

.swipe-hint {
    font-size: 0.75rem;
    color: #a0aec0;
    margin-top: 5px;
    font-style: italic;
    letter-spacing: 1px;
}

.lang-switch {
    border: 1px solid #ffb703;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #ffb703 !important;
}
.lang-switch:hover {
    background-color: #ffb703;
    color: #0f1115 !important;
}

/* Coming Soon Book Badge */
.coming-soon {
    background-color: #242b35 !important;
    color: #a0aec0 !important;
    border: 1px dashed #718096;
    cursor: default;
    pointer-events: none;
}
/* Custom Responsive Formatting for Mobile and Small Screens */
@media (max-width: 768px) {
    /* Navbar Alignment */
    .navbar {
        flex-direction: column;
        padding: 15px;
        gap: 10px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    /* Hero Text Adjustments */
    .hero h1 {
        font-size: 2.2rem !important;
        letter-spacing: 2px;
    }

    .hero p {
        font-size: 1rem !important;
    }

    /* Books Layout Stack */
    .book-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 10px;
    }

    .book-card {
        width: 100%;
        max-width: 340px; /* Perfectly frames the swipe slider on phone screens */
        margin: 0 auto;
    }
    
    /* Cover Image Resizing */
    .book-cover-img {
        width: 100%;
        height: auto;
        max-height: 420px;
        object-fit: contain;
    }

    /* Buy Buttons and Input Form Alignment */
    .buy-links, .waitlist-form {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .buy-btn, .form-submit-btn, .form-input {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}
/* Perfect Centering For The Book Section */
.books-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
}

.book-grid {
    display: flex;
    justify-content: center; /* Centers the cards perfectly horizontally */
    align-items: flex-start;
    gap: 30px;
    width: 100%;
    margin: 0 auto;
}

