@charset "utf-8";
/* assets/css/site.css */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}
html,
body{
    height:100%;
}

body{
    display:flex;
    flex-direction:column;
    min-height:100vh;
}

footer{
    margin-top:auto;
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
}

.thank-you-message{
    text-align:center;
    padding:80px 20px;
}

.thank-you-message h1{
    margin-bottom:20px;
}

.thank-you-message p{
    margin-bottom:30px;
}

.page-banner{
background:#7622e2;
color:white;
padding:80px 0;
text-align:center;
}

.about-section{
padding:80px 0;
}

.about-grid{
display:grid;
grid-template-columns:1fr 2fr;
gap:50px;
}

.author-photo{
width:100%;
border-radius:20px;
}

.about-section p{
margin-bottom:20px;
}

.reading-box{
    display:flex;
    align-items:flex-start;
    gap:30px;
    margin:40px 0;
}

.reading-box img{
    border-radius:10px;
}

.reading-box h2{
    margin-top:0;
}

.music-section {
    padding: 60px 0;
}

.music-section h2 {
    margin-bottom: 30px;
}

.music-section h3 {
    margin-top: 35px;
    margin-bottom: 10px;
    color: #333;
}

.music-section p {
    margin-bottom: 18px;
    line-height: 2;
}

.music-section a {
    color: #0066cc;
    text-decoration: none;
}

.music-section a:hover {
    text-decoration: underline;
}
.book-gallery {
    margin-bottom: 80px;
}

.Characters {
    margin-top: 40px;
}

.Characters h2 {
    margin-bottom: 80px;
}
.carousel {
    position: relative;
    width: 500px;
    height: 700px;
    margin: 0 auto;
    overflow: hidden;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slide.active {
    display: block;
}

.books-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
    max-width:1400px;
    margin:0 auto;
    padding:30px;
}

.book-card{
    background:white;
    border-radius:10px;
    padding:20px;
    box-shadow:0 2px 10px rgba(0,0,0,0.15);
    display:flex;
    flex-direction:column;
}
.book-card img{
    width:100%;
    max-width:300px;
    height:auto;
    object-fit:contain;
    border:none;

}

.book-card h3{
    text-align:center;
    margin-bottom:10px;
}

.book-card p{
    line-height:1.6;
}


.book-buttons{
    margin-top:auto;
    display:flex;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
}

.buy-btn{
    background:#7b2cbf;
    color:white;
    text-decoration:none;
    padding:10px 20px;
    border-radius:6px;
    font-weight:bold;
}

.buy-btn:hover{
    background:#5a189a;
}
.book-card p{
    margin-bottom:15px;
    line-height:1.6;
    text-align:left;
}


body{
    background:#F5EEFF;
    color:#333;
}


/* CONTAINER */

.container{
    width:90%;
    max-width:1200px;
    margin:0 auto;
}

/* HEADER */

.site-header{
    background:#7b2cbf;
    padding:20px 0;
}

.site-header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
}

.logo{
    color:white;
    text-decoration:none;
    font-size:2rem;
    font-weight:bold;
}

/* NAVIGATION */

nav ul{
    list-style:none;
    display:flex;
    gap:25px;
}

nav ul li a{
    color:white;
    text-decoration:none;
    font-weight:bold;
    transition:0.3s;
}

nav ul li a:hover{
    color:#c9b0ff;
}

/* HERO */

.hero{
    text-align:center;
    padding:60px 20px;
    background:#f5f5f5;
}

.hero img{
    width:250px;
    max-width:100%;
    border-radius:12px;
    margin-bottom:25px;
}

.hero h1{
    margin-bottom:20px;
    font-size:2.5rem;
}

.hero p{
    max-width:700px;
    margin:0 auto 25px;
    font-size:1.1rem;
}

/* BUTTONS */

.btn{
    display:inline-block;
    background:#7b2cbf;
    color:white;
    text-decoration:none;
    padding:12px 28px;
    border-radius:6px;
    font-weight:bold;
    transition:0.3s;
}

.btn:hover{
    background:#5a189a;
}

/* REVIEWS */

.review{
    max-width:900px;
    margin:60px auto;
    text-align:center;
    padding:30px;
}

.review h2,
h2{
    text-align:center;
    margin-top:50px;
    margin-bottom:30px;
}

.review p{
    font-size:1.1rem;
    margin-bottom:15px;
}

.links-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
    max-width:1200px;
    margin:60px auto;
    padding:0 20px;
}

.link-card{
    background:#fff;
    padding:30px;
    border-radius:12px;
    box-shadow:0 2px 10px rgba(0,0,0,.1);
    text-align:center;
}

.link-card img{
    width:100%;
    max-width:250px;
    height:250px;
    object-fit:contain;
    display:block;
    margin:0 auto 20px;
}

.link-card h3{
    margin-bottom:15px;
}

.link-card p{
    margin-bottom:20px;
}

/* FOOTER */

footer{
background:#7b2cbf;
color:white;
text-align:center;
padding:30px;
}


.quote-carousel{
    background:#f5f5f5;
    padding:60px 20px;
    text-align:center;
}

.quote-carousel h2{
    margin-bottom:30px;
}

.quote-box{
    max-width:800px;
    margin:0 auto;
    position:relative;
    min-height:160px;
}

.quote{
    display:none;
    animation:fadeIn 0.8s ease;
}

.quote.active{
    display:block;
}

.quote p{
    font-size:1.2rem;
    font-style:italic;
    margin-bottom:20px;
}

.quote h4{
    color:#7b2cbf;
}

/* CONTACT FORM */

.contact{
    padding:60px 20px;
    text-align:center;
    background:#f8f8f8;
}

.contact p{
    margin-bottom:30px;
}

.contact-form{
    max-width:700px;
    margin:0 auto;
    display:flex;
    flex-direction:column;
    gap:15px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:15px;
    border:1px solid #ccc;
    border-radius:8px;
    font-size:16px;
    font-family:inherit;
}

.contact-form input:focus,
.contact-form textarea:focus{
    outline:none;
    border-color:#7b2cbf;
}

.contact-form textarea{
    resize:vertical;
}

.contact-form button{
    align-self:center;
}

/* SOCIAL ICONS */

.social-icons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    margin-bottom:20px;
}

.social-icons a{
    color:white;
    font-size:28px;
    text-decoration:none;
    transition:all 0.3s ease;
}

.social-icons a:hover{
    color:#c9b0ff;
    transform:scale(1.15);
}

	.hero,
.quote-carousel,
.contact {
    background: transparent;
}


@keyframes fadeIn{
    from{
        opacity:0;
    }
    to{
        opacity:1;
    }
}

@media(max-width:768px){
    .about-grid{
        grid-template-columns:1fr;
    }

    nav ul{
        flex-wrap:wrap;
        justify-content:center;
    }
}



