:root{
    --pink:#e84393;
}

*{
    margin:0; padding:0;
    font-family:Verdana , Geneva,tahoma,sans-serif;
    outline: none ; border:none;
    text-decoration:none;
    text-transform: capitalize;
    transition: .2s  linear;
}
/* --- Colors for Light Theme (Default) --- */
:root {
  --body-color: #fdfdfd;
  --title-color: #19191b;
  --text-color: #5b5b5d;
  --container-color: #ffffff;
}


html{
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
    overflow-x: hidden;
}
/* --- Colors for Dark Theme --- */
body.dark-theme {
  --body-color: #121212;
  --title-color: #f1f1f2;
  --text-color: #abb2bf;
  --container-color: #1d1d1f;
}

/* --- Apply variables to your elements --- */
body {
  background-color: var(--body-color);
  color: var(--text-color);
  transition: .4s; /* Smooth transition when switching */
}

h1, h2, h3 {
  color: var(--title-color);
}
section{
    padding: 2rem 9%;
}

header{
    position : fixed;
    top:0; left:0; right:0;
    background: #fff;
    padding : 2rem 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0.5rem 1rem rgba(0, 0, 0, 0.1);
}
header .logo{
    font-size: 3rem;
    color: #333;
    font-weight: bolder;
}
header .logo span{
    color:pink;
}
header .navbar{
    position : relative;
    padding : 15px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 60px;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 35px rgba(0,0,0,0,0.5);
    border:0.5px solid#ccc;
}
header .navbar a{
    font-size: 2rem;
    padding: 0 1.5rem;
    color: #666;
}
header .navbar a:hover{
    color : var(--pink);
}
header .icons a{
    font-size: 2.5rem;
    color:#333;
    margin-left: 1.5rem;
}
header .icons a:hover{
    color:var(--pink);
}
header #toggler{
    display : none;
}
header  .fa-bars{
    font-size: 3rem;
    color: #333;
    border-radius: .5rem;
    padding:.5rem 1.5rem;
    cursor: pointer;
    border: .1rem solid rgba(0, 0, 0, 0.3);
    display: none;
}

/* Style mobile menu links */
header.navbar a{
    margin:1.5rem ;
    padding :1.5rem;
    background: #fff;
    border : 1rem solid rgba(0, 0, 0, 0.1);
    display:block;
}

/* Glassmorphism Header on Scroll */
header.window-scroll {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
  padding: 1.5rem 7%; /* Slightly slimmer header on scroll */
}

/* Home Section */
.home{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.25)),
        url('assets/images/book-cover.jpeg') center/cover no-repeat;
    color: #fff;
    margin-top: 6rem;
    padding: 2rem 9%;
}

.home::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    pointer-events: none;
}

.home-content{
    position: relative;
    z-index: 1;
    max-width: 50rem;
}
.home .fade-in{
    animation: fadeIn 1.8s ease-out;
    background-size: cover;
    background-position: center;
}

.home-content h3{
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #ffb3d9; /* Light pink to match button theme */
}

.home-content p{
    font-size: 1.6rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: #f4f4f4;
}

.home-image{
    display: none;
}

.heading{
    text-align: center;
    font-size: 4rem;
    padding:  1rem;
    margin: 2rem 0;
    color:#333;
    background:rgba(255,51,153,.05) ;
}
.heading span{
    color:var(--pink);
}

.btn{
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--pink);
    color: #fff;
    font-size: 1.6rem;
    border-radius: 5rem;
    cursor: pointer;
}

.btn{
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--pink);
    color: #fff;
    font-size: 1.6rem;
    border-radius: 5rem;
    cursor: pointer;
}

.btn:hover{
    background: #c0217b;
    transform: scale(1.05);
}

/* Button Hover Interaction */
.btn {
  transition: transform 0.3s ease;
}

/* Scroll Reveal Animation */
.reveal-effect {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal-effect.active {
  opacity: 1;
  transform: translateY(0);
}


/*.home-image{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}*/

.home-image img{
    max-width: 100%;
    height: auto;
    border-radius: 2rem;
    box-shadow: none;
}

.about .row{
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding :2rem 0;
    padding-bottom: 3rem;
}
.about .row .video-container{
    flex: 1 1 40rem;
    position: relative;
    min-height: 30rem;
}
.about .row .video-container video{
    width: 100%;
    height: 100%;
    border: 1.5rem solid #fff;
    border-radius: .5rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,0.1);
    object-fit: cover;
    display: block;
}
.about .row .video-overlay{
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    min-height: 7rem;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 .75rem 1.5rem rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.about .row .video-overlay h3{
    font-size: 2rem;
    color: #222;
    text-transform: none;
    letter-spacing: .03em;
    margin: 0;
}
.about .row .about-container{
    flex: 1 1 40rem;
    padding-left: 5rem;
}
.about .row .about-container h3,
.about .row .about-container p{
    text-transform: none;
}
.about .row .about-container h3{
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #222;
}
.about .row .about-container p{
    font-size: 1.5rem;
    line-height: 1.5;
    color: #999;
    margin-bottom: 2rem;
    padding-top:1rem;

}

.icons-container {
    background: #eee;
    display :flex;
    gap : 1.5rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.icons-container .icons{
    background: #fff   ;
    border: 1.5rem solid rgba(0,0,0,0.1);
    padding : 2rem;
    display: flex;
    align-items: center;
    flex: 1 1 20rem;
}

.icons-container .icons img{
    width: 5rem;
    margin-right: 2rem;
}
.icons-container .icons .info{
    text-align: right;
}
.icons-container .icons h3{
    font-size: 2rem;
    color: #333;
    padding-bottom: 1.5rem;
}

.icons-container .icons span{
    font-size: 1.5rem;
    color: #555;
    padding-bottom: 1.3rem;
}


.products .box-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}


/* Book Box Hover Glow */
.products .box:hover {
  box-shadow: 0 1rem 2rem rgba(0,0,0,0.05);
  transform: translateY(-5px);
  transition: 0.3s;
}
.products .box-container .box{
    flex: 1 1 30rem;
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,0.1);
    border-radius: .5rem;
    background: #fff;
    border: .1rem solid rgba(0,0,0,0.1);
    position : relative;
    padding: 2rem;
    
}
.products .box-container .box .discount{
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255,51,153, .05);
    color: var(--pink);
    font-size: 2rem;
    z-index:1;
    padding: .7rem 1rem;
    border-radius: .5rem;
}
.products .box-container .box .image{
    position: relative;
    text-align: center;
    padding-top: 2rem;
    overflow: hidden;
}

.products .box-container .box img{
    height: 25rem;
    display: block;
    margin: 0 auto;
}

.products .box-container .box:hover img{
    transform :scale(1.1);
}


.products .box-container .box .content{
    padding: 1.5rem 2rem 1.5rem 2rem;
    text-align: left;
}

.products .box-container .box .content h3{
    font-size: 1.1rem;
    color: #000;
    margin: 0 0 .4rem;
}

.products .box-container .box .content .price{
    font-size: 1rem;
    color: #000;
    font-weight: 700;
}
.products .box-container .box .image .icons{
    position: absolute;
    bottom :-7rem; left:0; right:0;
    display : flex;
}
.products .box-container .box:hover .image .icons{
    bottom: 0;

}
.products .box-container .box .image .icons a{
    height:1.5rem;
    line-height: 1.5em;
    width:50%;
    
    padding: 1rem;
    background: var(--pink);
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    white-space: nowrap;
}
.products .box-container .box .image .icons .cart-btn{
    border-left:  .1rem solid #fff7;
    border-right: .1rem solid #fff7;
    width :100%;
}

.products .box-container .box .image .icons a:hover{
    background-color: #333;
}

.products .box-container .box .content{
    padding: 1.5rem 2rem 1.5rem 2rem;
    text-align: left;
}
.products .box-container .box .content h3{
    font-size: 1.4rem;
    color: #000;
    margin: 0 0 .5rem;
}
.products .box-container .box .content .price{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    color: #000;
    font-weight: 700;
    padding-top: 1rem;
}

.products .box-container .box .content .price .current{
    color: var(--pink);
    font-size: 1.5rem;
}

.products .box-container .box .content .price .original{
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}


.review .box-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.review .box-container .box{
    flex: 1 1 24rem;
    max-width: 24rem;
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,0.1);
    border-radius: .5rem;
    position :relative;
    padding: 2rem 1.5rem;
}
.review .box-container .box .fa-quote-right{
    position:absolute;
    bottom :1.5rem; right:1.5rem;
    display: flex;
    font-size: 4rem;
    color:#eee;
}
.review .box-container .box .stars i{
    color:var(--pink);
    font-size: 2rem;
}
.review .box-container .box p{
    font-size: 1.5rem;
    color: #999;
    line-height: 1.5;
    padding: 1rem 0;
}
.review .box-container .box .user{
    display: flex;
    padding-top: 2rem;
    align-items: center;
}
.review .box-container .box .user img{
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}
.review .box-container .box .user h3{
    font-size: 2rem;
    color: #333;
}
.review .box-container .box .user span{
    font-size: 1rem;
    color: #999;
}

.contact .row{
    display: flex;
    gap: 1.5rem;
    flex-wrap: nowrap;
    align-items: center;
    overflow-x: auto;
}
.contact .row form,
.contact .row .image{
    flex: 1 1 0;
    min-width: 0;
}
.contact .row form{
    padding: 2rem 2.5rem;   
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,0.1);
    border: .1rem solid rgba(0,0,0,0.1);
    border-radius: .5rem;
}
.contact .row img{
    width:100%;
}
.contact .row .content{
    flex: 1 1 40rem;
}
.contact .row form .box{
    width: 100%;
    padding: 1rem;
    font-size:1.7rem;
    color:#333;
    text-transform: none;
    margin: 1.7rem 0;
    border: .1rem solid rgba(0,0,0,0.1);
    border-radius: .5rem;
}
.contact .row form .box:focus{
    border-color: var(--pink);
}
.contact .row form textarea{
    height: 15rem;
    resize: none;
}

.footer .box-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 2rem 0;

}
.footer .box-container .box{
    flex : 1 1 25rem;
}
.footer .box-container .box h3{
    color :#333;
    font-size: 2rem;
    padding:1rem 0;
}
.footer .box-container .box a{
    display:block;
    color :#666;
    font-size: 1.5rem;
    padding:1rem 0;
}
.footer .box-container .box a:hover{
    color: var(--pink);
    text-decoration: underline;
}
.footer .box-container .box .payment-methods{
    margin-top: 1.5rem;
}
.footer .box-container .box .payment-methods span{
    display: block;
    color: #333;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}
.footer .box-container .box .payment-icons{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}
.footer .box-container .box .payment-icons i,
.footer .box-container .box .payment-icons .cmi-label{
    font-size: 2rem;
    color: #333;
}
.footer .box-container .box .payment-icons .cmi-label{
    padding: 0.6rem 1rem;
    border: .1rem solid rgba(0,0,0,0.1);
    border-radius: .7rem;
    font-weight: 700;
    text-transform: uppercase;
}
.footer .box-container .box img{
    margin-top: 2rem;
}
.footer .credit{
    align-items: center;
    text-align: center;
    padding: 1rem;
    padding-top: 2rem;
    margin-top: 1.5rem;
    font-size: 1.5rem;
    color: #333;
    border-top: .1rem solid rgba(0,0,0,0.1);
}
.footer .credit span{
    color: var(--pink);

}





















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

@keyframes slideDown {
    from {
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }
    to {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

@media(max-width : 991px){
    html{
    font-size: 55%;
    }
    header{
        padding:2rem;
    }
    .home{
        flex-direction: column;
        gap: 2rem;
    }
    .home-content{
        max-width: 100%;
    }
    .home-content h3{
        font-size: 5rem;
    }
    section{
        padding: 2rem;
    }
    .home{
        background-position:left;
    }
    .about .row{
        flex-direction: column;
    }
    .icons-container{
        padding: 3rem 2rem;
        gap: 1rem;
    }
    .icons-container .icons{
        flex: 1 1 18rem;
        padding: 1.5rem;
    }
    .icons-container .icons img{
        width: 4rem;
        margin-right: 1.5rem;
    }
}

@media(max-width : 768px){
    header label.fa-bars{
        display: block;
    }
    header .navbar{
        position : absolute;
        top:100%; left:0; right:0 ; 
        background : #eee;
        border-top : .1rem solid rgba(0,0,0,0,1);
        display: none;
        flex-direction: column;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        backdrop-filter: none;
        
    }
    header #toggler:checked ~ .navbar{
        display: flex;
        animation: slideDown 0.4s ease-out;
    }
    header .navbar a{
        margin: 0;
        padding: 1.5rem;
        background : #f0f0f0;
        border-bottom : .1rem solid rgba(0, 0, 0, 0.1);
        display: block;
        width: 100%;
        font-size: 1.8rem;
    }
    header .navbar a:last-child{
        border-bottom: none;
    }
    
    .icons-container{
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 1rem;
    }
    .icons-container .icons{
        flex: none;
        width: 100%;
        max-width: 30rem;
        margin: 0 auto;
        padding: 1.5rem;
    }
    .icons-container .icons img{
        width: 3.5rem;
        margin-right: 1rem;
    }
}

@media(max-width : 450px){
    html{
    font-size: 50%;
    }
    .heading{
        font-size: 3rem;
    }
    .icons-container .icons{
        padding: 1rem;
        border: 1rem solid rgba(0,0,0,0.1);
    }
    .icons-container .icons img{
        width: 3rem;
        margin-right: 0.8rem;
    }
    .icons-container .icons h3{
        font-size: 1.8rem;
        padding-bottom: 1rem;
    }
    .icons-container .icons span{
        font-size: 1.3rem;
    }
}





