/* 
 * Author Website - Custom Styles
 */

/* Global Styles */
:root {
    --primary-color: #17487e;      /* ~25% darker vs original blue */
    --secondary-color: #b9522c;    /* ~25% darker vs original orange */
    --accent-color: #c36939;       /* ~25% darker vs original accent */
    --light-color: #ffffff;
    --dark-color: #0c1220;         /* slightly deeper base dark */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background: #ffffff;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(23, 72, 126, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(185, 82, 44, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(195, 105, 57, 0.02) 0%, transparent 50%);
    min-height: 100vh;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 55%, #f7faff 100%) !important;
}

.navbar-dark {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 55%, #f7faff 100%) !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: #f8fafc;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
    border-bottom: 2px solid transparent;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #ffe9dc;
    border-bottom-color: rgba(255, 234, 220, 0.6);
}

.navbar-dark .navbar-nav .nav-link.active {
    color: #ffffff;
    border-bottom-color: var(--accent-color);
}

.navbar-dark .navbar-brand {
    color: #ffffff;
}

.navbar-dark .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.4);
}

.navbar-dark .navbar-toggler-icon {
    filter: invert(1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    /* Lightened gradient so foreground text stays readable */
    background: linear-gradient(120deg, #ffffff 0%, rgba(233, 242, 255, 0.4) 55%, rgba(251, 226, 213, 0.3) 100%);
    color: #0c1220;
    padding: 5rem 0.5rem;
    margin: 0.5rem 0.5rem 3rem 0.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.08);
}

/* Animated Books Background - Hero Section (Reduced) */
.hero-books-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hero-book-float {
    position: absolute;
    width: 70px;
    height: 90px;
    opacity: 0.08;
    transform-origin: center;
    animation: floatBookGentle 25s infinite ease-in-out;
    border-radius: 3px 6px 6px 3px;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.15),
        inset -2px 0 4px rgba(0, 0, 0, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Book spine effect */
.hero-book-float::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px 0 0 3px;
}

/* Book pages effect */
.hero-book-float::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 5%;
    bottom: 5%;
    width: 2px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.3) 100%);
}

/* Book Style Variations - More Realistic Book Covers */
.book-style-1 {
    background: linear-gradient(135deg, #17487e 0%, #1f5fa5 50%, #2a6bb8 100%);
    top: 15%;
    right: 8%;
    animation-delay: 0s;
    animation-duration: 28s;
}

.book-style-2 {
    background: linear-gradient(135deg, #b9522c 0%, #d9753f 50%, #f36b3a 100%);
    bottom: 20%;
    left: 10%;
    animation-delay: 8s;
    animation-duration: 32s;
    width: 60px;
    height: 80px;
}

.book-style-3 {
    background: linear-gradient(135deg, #c36939 0%, #e08a5a 50%, #ffa877 100%);
    top: 50%;
    right: 15%;
    animation-delay: 16s;
    animation-duration: 30s;
    width: 65px;
    height: 85px;
}

/* Floating Books for Other Sections */
.floating-books-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.floating-book {
    position: absolute;
    width: 60px;
    height: 80px;
    opacity: 0.06;
    transform-origin: center;
    animation: floatBookGentle 30s infinite ease-in-out;
    border-radius: 3px 6px 6px 3px;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.12),
        inset -2px 0 4px rgba(0, 0, 0, 0.08),
        inset 0 0 20px rgba(255, 255, 255, 0.08);
}

/* Book spine effect for floating books */
.floating-book::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px 0 0 3px;
}

/* Book pages effect for floating books */
.floating-book::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 5%;
    bottom: 5%;
    width: 2px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0.25) 100%);
}

.book-style-4 {
    background: linear-gradient(135deg, #17487e 0%, #2a6bb8 100%);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    animation-duration: 35s;
}

.book-style-5 {
    background: linear-gradient(135deg, #b9522c 0%, #f36b3a 100%);
    bottom: 15%;
    right: 8%;
    animation-delay: 12s;
    animation-duration: 38s;
    width: 55px;
    height: 75px;
}

.book-style-6 {
    background: linear-gradient(135deg, #c36939 0%, #ffa877 100%);
    top: 20%;
    right: 10%;
    animation-delay: 5s;
    animation-duration: 33s;
}

.book-style-7 {
    background: linear-gradient(135deg, #17487e 0%, #1f5fa5 100%);
    bottom: 25%;
    left: 7%;
    animation-delay: 18s;
    animation-duration: 36s;
    width: 65px;
    height: 85px;
}

.book-style-8 {
    background: linear-gradient(135deg, #b9522c 0%, #d9753f 100%);
    top: 30%;
    left: 12%;
    animation-delay: 10s;
    animation-duration: 34s;
    width: 58px;
    height: 78px;
}

/* Gentle Floating Animation */
@keyframes floatBookGentle {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    20% {
        transform: translateY(-15px) translateX(8px) rotate(2deg);
    }
    40% {
        transform: translateY(-8px) translateX(-12px) rotate(-2deg);
    }
    60% {
        transform: translateY(-18px) translateX(6px) rotate(1.5deg);
    }
    80% {
        transform: translateY(-5px) translateX(-8px) rotate(-1deg);
    }
}

.hero .container,
section.position-relative .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-tiles {
    margin-top: 2.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.hero-tile-card {
    display: block;
    text-decoration: none;
    color: inherit;
    padding-left: 1rem;
    padding-right: 1rem;
}

.hero-tile-inner {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.25rem 1rem 1.5rem;
    height: 100%;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.hero-tile-inner h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--dark-color);
}

.hero-tile-inner p {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    color: #4b5563;
}

.hero-tile-cta {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: var(--accent-color);
    color: #fff;
}

.hero-tile-card:hover .hero-tile-inner {
    transform: translateY(-6px);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.16);
    background: #ffffff;
}

/* Book Cards */
.book-card {
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.book-card .card-img-top {
    height: 300px;
    object-fit: cover;
}

.book-card .card-title {
    font-weight: 600;
    color: var(--primary-color);
}

.book-card .badge {
    background-color: var(--accent-color);
}

.book-card .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.book-card .btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Modern Book Grid */
.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.book-card-modern {
    perspective: 1200px;
}

.book-card-inner {
    position: relative;
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.75rem 1.5rem 2.5rem;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    min-height: 360px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.book-card-inner:hover {
    transform: translateY(-12px);
    box-shadow: 0 26px 45px rgba(0, 0, 0, 0.16);
}

.book-cover-tilt {
    background: #fefefe;
    border-radius: 0.75rem;
    padding: 0.5rem;
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.12);
    transform: rotate(-4deg);
    transform-origin: bottom left;
    margin-bottom: 1.25rem;
}

.book-cover-tilt img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0.5rem;
    display: block;
}

.price-tag {
    position: absolute;
    bottom: 2.25rem;
    right: 1.5rem;
    background: var(--accent-color);
    color: #fff;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(255, 138, 74, 0.35);
}

.book-meta {
    color: #4b5563;
}

.book-author {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: rgba(79, 89, 102, 0.8);
    margin-bottom: 0.5rem;
}

.book-title {
    color: var(--dark-color);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.book-card-btn {
    position: absolute;
    bottom: 1rem;
    left: 1.5rem;
    right: 1.5rem;
    text-align: center;
    background: rgba(31, 95, 165, 0.08);
    border: 1px solid rgba(31, 95, 165, 0.2);
    color: var(--primary-color);
    padding: 0.5rem 0;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.book-card-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* Blog Cards */
.blog-card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
}

.blog-card .card-title {
    color: var(--primary-color);
    font-weight: 700;
}

.blog-tag {
    background-color: rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    font-weight: 500;
}

.blog-post-detail .blog-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.post-book-info {
    background: linear-gradient(135deg, #0f172a 0%, #1f2937 100%);
    color: #e5e7eb;
    padding: 1.5rem 1.75rem;
    border-radius: 1rem;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.35);
}

.post-book-info * {
    color: #e5e7eb !important;
}

.post-book-info .book-author-text {
    color: #f8fafc !important;
    opacity: 1 !important;
}

.post-book-info h2,
.post-book-info p,
.post-book-info a,
.post-book-info .text-muted {
    color: #e5e7eb !important;
}

.post-book-info .text-muted {
    color: #f8fafc !important;
    opacity: 1 !important;
}

.post-book-info .btn-outline-secondary {
    color: #e5e7eb;
    border-color: rgba(229, 231, 235, 0.5);
}

.post-book-info .btn-outline-secondary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.post-book-info .star {
    color: #ffffff !important;
    font-size: 1rem;
}

.post-book-info .star-filled {
    color: #facc15 !important;
}

.promo-banner {
    position: relative;
}

.promo-banner-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 1.25rem;
    min-height: 260px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.18);
    color: white;
    text-decoration: none;
}

.promo-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.55);
    transition: transform 0.6s ease, filter 0.4s ease;
}

.promo-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.7), rgba(17, 94, 89, 0.65));
}

.promo-banner-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
}

.promo-banner-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.promo-banner-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.promo-banner-card:hover .promo-banner-bg {
    transform: scale(1.05);
    filter: brightness(0.65);
}
.post-book-info .rating-text {
    color: #f8fafc !important;
    font-weight: 600;
}

/* Book Detail */
.book-cover {
    max-height: 500px;
    object-fit: contain;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
}

/* Book Designs Carousel */
#bookDesignCarousel {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    overflow: hidden;
}

#bookDesignCarousel .carousel-item img {
    max-height: 500px;
    object-fit: contain;
    background: #f8f9fa;
}

#bookDesignCarousel .carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 0.25rem;
    padding: 0.5rem;
}

/* Awards Section */
.award-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.award-logo {
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
}

.book-info h1 {
    color: var(--primary-color);
    font-weight: 700;
}

.book-info .price {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 600;
}

.book-info .btn-purchase {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    padding: 0.5rem 2rem;
    font-weight: 600;
}

.book-info .btn-purchase:hover {
    background-color: #e05c5c;
    border-color: #e05c5c;
}

/* Author Section */
.author-image {
    border-radius: 50%;
    max-width: 300px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.author-bio {
    font-size: 1.1rem;
    line-height: 1.8;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(106, 76, 147, 0.25);
}

.contact-form .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 2rem;
}

.contact-form .btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--primary-color) !important;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 1.25rem;
}

footer .social-icons a {
    font-size: 1.25rem;
    margin-right: 1rem;
}

footer .social-icons a:hover {
    color: var(--accent-color) !important;
}

/* Admin Dashboard */
.admin-sidebar {
    background-color: var(--dark-color);
    color: white;
    min-height: calc(100vh - 56px);
    padding-top: 2rem;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.admin-sidebar .nav-link i {
    margin-right: 0.5rem;
}

.admin-content {
    padding: 2rem;
    background-color: #f9fafb;
}

.admin-card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.admin-card:hover {
    transform: translateY(-5px);
}

.admin-card .card-header {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

/* Admin Dark Theme */
.admin-theme-dark .admin-content {
    background-color: #020617;
    color: #e5e7eb;
}

.admin-theme-dark .admin-card {
    background-color: #0b1120;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.7);
}

.admin-theme-dark .admin-card .card-header {
    background-color: #1d2537;
}

.admin-theme-dark .table {
    color: #e5e7eb;
}

.admin-theme-dark .table thead tr {
    background-color: #111827;
}

.admin-theme-dark .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(31, 41, 55, 0.85);
}

.admin-theme-dark .table-striped tbody tr:nth-of-type(even) {
    background-color: rgba(17, 24, 39, 0.85);
}

.admin-theme-dark .btn-outline-primary,
.admin-theme-dark .btn-outline-secondary,
.admin-theme-dark .btn-outline-danger,
.admin-theme-dark .btn-outline-info {
    border-color: rgba(148, 163, 184, 0.8);
    color: #e5e7eb;
}

.admin-theme-dark .btn-outline-primary:hover,
.admin-theme-dark .btn-outline-secondary:hover,
.admin-theme-dark .btn-outline-danger:hover,
.admin-theme-dark .btn-outline-info:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

/* Contact Page Styles */
.contact-header-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-pen-icon {
    font-size: 4rem;
    color: var(--primary-color);
    animation: penWrite 3s ease-in-out infinite;
    transform-origin: center;
}

.contact-email-icon {
    color: var(--accent-color);
    font-size: 0.9rem;
}

@keyframes penWrite {
    0%, 100% {
        transform: rotate(0deg) translateY(0);
    }
    25% {
        transform: rotate(-5deg) translateY(-5px);
    }
    50% {
        transform: rotate(5deg) translateY(-3px);
    }
    75% {
        transform: rotate(-3deg) translateY(-5px);
    }
}

/* Children's Page Styles */
.children-page-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 240, 230, 0.6) 50%, rgba(230, 245, 255, 0.5) 100%);
    border-bottom: 3px solid rgba(185, 82, 44, 0.2);
}

.children-title {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
}

.children-subtitle {
    color: var(--secondary-color);
    font-weight: 500;
}

.children-book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.children-book-card {
    perspective: 1000px;
}

.children-book-inner {
    position: relative;
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 2px solid rgba(185, 82, 44, 0.1);
}

.children-book-inner:hover {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: 0 15px 35px rgba(185, 82, 44, 0.2);
    border-color: rgba(185, 82, 44, 0.3);
}

.children-book-cover {
    position: relative;
    margin-bottom: 1rem;
    transform: rotate(-3deg);
    transition: transform 0.4s ease;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

.children-book-inner:hover .children-book-cover {
    transform: rotate(0deg) scale(1.05);
}

.children-book-cover img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 0.75rem;
    border: 3px solid rgba(255, 255, 255, 0.9);
}

.children-book-meta {
    text-align: center;
    margin-bottom: 1rem;
}

.children-book-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.children-book-author {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.children-book-price {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

.children-book-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(23, 72, 126, 0.3);
}

.children-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(23, 72, 126, 0.4);
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .book-card .card-img-top {
        height: 200px;
    }
    
    .author-image {
        max-width: 200px;
        margin-bottom: 2rem;
    }
    
    .children-book-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    .contact-pen-icon {
        font-size: 3rem;
    }
}