:root{

--primary:#ba7b27;
--surface:#FFFBFF;
--card:#fcf5ed;
--text:#1C1B1F;

--radius:24px;

} 

/*=============================
               Scroll Bar

==============================*/

/* Chrome, Edge, Opera */

::-webkit-scrollbar{

width:14px;

}



::-webkit-scrollbar-track{

background:

linear-gradient(

180deg,

#07111b,

#0b2435,

#07111b

);

}



::-webkit-scrollbar-thumb{

border-radius:999px;

border:3px solid transparent;

background-clip:padding-box;

background:

linear-gradient(

180deg,

#8de5ff,

#4aa8ff,

#1f6fff

);

}



::-webkit-scrollbar-thumb:hover{

background:

linear-gradient(

180deg,

#bff7ff,

#70c9ff,

#3388ff

);

}



/* Firefox */

*{

scrollbar-width:thin;

scrollbar-color:

#d7b16f

#121212;

}


/*********************** MAIN CSS START */

a {
    text-decoration: none;
    color: inherit;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{

font-family:'Inter',sans-serif;

background:var(--surface);

color:var(--text);

line-height:1.7;


}

.brand-font{
font-family:'Marcellus SC',serif;
color: var(--primary);
}

.bn{
font-family:'Noto Serif Bengali',serif;
}

.container{

width:min(1200px,92%);

margin:auto;

}

.topbar{

position:fixed;

top:0;

left:0;

right:0;

height:72px;

background:rgba(255,255,255,.9);

backdrop-filter:blur(12px);

z-index:1000;

}

.nav-container{

height:72px;

display:flex;

align-items:center;

justify-content:space-between;

}

/*.logo{

font-size:1.4rem;

text-decoration:none;

color:var(--primary);

}*/

.logo{

display:flex;

align-items:center;

gap:12px;

text-decoration:none;

}

.logo-image{

width:48px;

height:48px;

object-fit:contain;

display:block;

color: var(--primary);

}

.logo span{

font-size:1.4rem;

color:var(--primary);

}

nav{

display:flex;

gap:24px;

align-items:center;

}

nav a{

text-decoration:none;

color:var(--text);

font-weight:500;

}

.hero{

min-height:80vh;

display:flex;

align-items:center;

background-size:cover;

background-position:center;

}

.hero-content{

color:white;

max-width:700px;

}

.hero h1{

font-size:4rem;

margin-bottom:20px;

}

.hero p{

font-size:1.2rem;

margin-bottom:30px;

}

.btn{

display:inline-block;

padding:14px 28px;

border-radius:999px;

text-decoration:none;

font-weight:600;

}

.btn-primary{
    background:var(--primary);
    color:white;
    transition:.3s;
}

.btn-primary:hover{
    background:transparent;
    border:2px solid var(--primary);
    color:var(--primary);
    transform:translateY(-2px);
}

.btn-outline{
    background:transparent;
    border:2px solid var(--primary);
    color:var(--primary);
    transition:.3s;
}

.btn-outline:hover{
    background:var(--primary);
    color:white;
    transform:translateY(-2px);
}


.section{

padding:50px 0;

}

.card{

background:var(--card);

padding:30px;

border-radius:var(--radius);

}

.footer-grid{

display:grid;

grid-template-columns:
2fr 1fr 1fr;

gap:40px;

}

footer{

padding:80px 0 30px;

background:#f3efe9;

margin-top:100px;

}

.copyright{

text-align:center;

margin-top:40px;

}

.books-grid{

display:grid;

grid-template-columns:
repeat(auto-fill,minmax(280px,1fr));

gap:30px;

}

.book-card{

background:var(--card);

border-radius:24px;

overflow:hidden;

box-shadow:
0 8px 30px
rgba(0,0,0,.08);

transition:.25s;

}

.book-card:hover{

transform:translateY(-8px);

}

.book-cover{

width:100%;

aspect-ratio:7/9;

object-fit:cover;

display:block;

}

/*.book-detail-cover{

width:100%;

max-width:400px;

display:block;

border-radius:20px;

box-shadow:
0 12px 30px rgba(0,0,0,.15);

}*/

.book-content{

padding:20px;

}

/*.book-title{

font-size:1.2rem;

font-weight:700;

margin-bottom:10px;

}*/

.book-meta{

opacity:.8;

margin-bottom:15px;

}

.book-isbn{

text-decoration: underline overline;

opacity:.8;

margin-bottom:15px;

font-size: 15px;
}


.price{

font-weight:700;

font-size:1.2rem;

color:var(--primary);

}

.price-box{

display:flex;

align-items:center;

gap:12px;

margin:10px 0;

}


.discount-badge{

display:inline-block;

padding:4px 10px;

border-radius:999px;

font-size: 1rem;

font-weight:600;

background:#fa8c97;

color:#824046;

}

.product-title{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:12px;
}

/*
.edition-badge{
    display:inline-block;
    padding:4px 10px;
    border-radius:999px;

    font-size:.8rem;
    font-weight:600;
    letter-spacing:.5px;

    background:rgba(140,90,24,.12);
    color:#8C5A18;

    border:1px solid rgba(140,90,24,.25);

    vertical-align:middle;
}
.edition-badge{
    font-size:.75rem;
    padding:3px 8px;

    border-left:3px solid #8C5A18;
    background:rgba(140,90,24,.08);

    color:var(--text-secondary);

    border-radius:4px;
}*/

.edition-badge{
    font-size:.30em;
    padding:.15em .5em;

    border-radius:4px;

    border-left:3px solid #8C5A18;
    background:rgba(140,90,24,.08);

    color:var(--text);

    position:relative;
    top:-1.5em;
}

/* =========================
   STATUS TAG
========================= */

.book-details-column{
    position:relative;
}

.corner-status{
    position:absolute;
    top:70px;
    right:0;
    width:140px;
    height:140px;
    overflow:hidden;
    z-index:10;
}

.corner-status span{
    position:absolute;

    top:32px;
    right:-65px;

    min-width:240px;

    padding:8px 20px;

    text-align:center;

    font-size:.75rem;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;

    transform:rotate(45deg);

    color:#fff;
    white-space:nowrap;
}

.status-live span{
    background:#4caf50;
}

.status-draft span{
    background:#ff9800;
}

.status-upcoming span{
    background:#2196f3;
}

.status-out-of-stock span{
    background:#f44336;
}

/* =========================
   TAGS
========================= */

.tags-box{
    display:flex;
    flex-wrap:wrap;
    gap:8px;

    margin-bottom:20px;
}

.product-tag{
    padding:6px 14px;

    border-radius:999px;

    font-size:.8rem;

    background:rgba(76,175,80,.12);
    border:1px solid rgba(76,175,80,.25);

    color:#4caf50;

    margin-bottom:16px;
}


/* =========================
   LINKS
========================= */

.product-links{
    display:flex;
    flex-wrap:wrap;
    gap:12px;

    margin-top:20px;
}



.search-box{

width:100%;

max-width:500px;

height:56px;

padding:0 24px;

border-radius:999px;

border:1px solid #ccc;

font-size:16px;

}


.form-card{

max-width:900px;

margin:auto;

padding:40px;

background:var(--card);

border-radius:24px;

}

.form-group{

margin-bottom:20px;

}

.form-group label{

display:block;

margin-bottom:8px;

font-weight:600;

}

.form-group input,
.form-group textarea,
.form-group select{

width:100%;

padding:14px;

border-radius:12px;

border:1px solid #ccc;

background:var(--surface);

color:var(--text);

}

.form-group textarea{

min-height:150px;

resize:vertical;

}

.success-box{

padding:20px;

border-radius:16px;

background:#e8f7e8;

color:#145214;

margin-bottom:20px;

}


.no-results{
    text-align:center;
    padding:60px;
    border-radius:24px;
    background:var(--card);
}

.no-results h3{
    margin-bottom:10px;
}




.file-upload{

position:relative;

}

.file-upload label{

display:block;

padding:20px;

border:2px dashed var(--primary);

border-radius:20px;

cursor:pointer;

text-align:center;

font-weight:600;

transition:.3s;

}

.file-upload label:hover{

background:rgba(140,90,24,.08);

}

.file-upload input{

display:none;

}




.theme-toggle{
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;

    width: 52px;
    height: 52px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;
    cursor:pointer;
}

.theme-toggle:focus,
.theme-toggle:active,
.theme-toggle:focus-visible{

    outline:none !important;
    border:none !important;
    box-shadow:none !important;

}



.mobile-menu-btn{

font-size:28px;
border:none;
background:transparent;
cursor:pointer;
color:var(--text);

z-index:2000;

}






/* BOOK.PHP - BOOK META DATA */

.product-layout{

display:grid;

grid-template-columns:380px 1fr;

gap:50px;

align-items:start;

}

.product-detail-cover{

width:100%;

border-radius:24px;

box-shadow:
0 20px 50px rgba(0,0,0,.20);

}

.product-title{

font-size:2.5rem;

font-weight:700;

margin-bottom:10px;

}

.product-subtitle{

font-size:1.1rem;

opacity:.7;

margin-bottom:10px;

}

.product-author{

font-style:italic;

opacity:.8;

margin-bottom:25px;

}

.price-card{

margin:20px 0;

display:flex;

align-items:center;

gap:15px;

}

.old-price{

text-decoration:line-through;

opacity:.5;

font-size:1.2rem;

}

.new-price{

font-size:2rem;

font-weight:700;

color:var(--primary);

}

.product-description{

margin:25px 0;

line-height:1.9;

}

.product-meta-card{

background:var(--card);

border-radius:20px;

padding:20px;

margin:25px 0;

}

.meta-row{

display:flex;

justify-content:space-between;

padding:10px 0;

border-bottom:1px solid rgba(0,0,0,.08);

}

.meta-row:last-child{

border-bottom:none;

}

.product-actions{

display:flex;

flex-wrap:wrap;

gap:12px;

margin-top:25px;

}


@media(max-width:768px){

.product-layout{

grid-template-columns:1fr;

}
.product-title{

font-size:2rem;

}

}




/***********  ONLINE STORE BUTTON *******/

.buy-online{

    display:flex;

    align-items:center;

    gap:12px;

    flex-wrap:wrap;

    margin-top:15px;

}

.store-btn{

    width:40px;

    height:40px;

    display:block;

    flex-shrink:0;

    border-radius:10px;

    background-color:rgba(255,255,255,.95);

    background-position:center;

    background-repeat:no-repeat;

    background-size:24px auto;

    box-shadow:
    0 2px 8px rgba(0,0,0,.12);

    transition:.2s ease;

}

.store-btn:hover{

    transform:translateY(-2px);

    box-shadow:
    0 4px 12px rgba(0,0,0,.18);

}

.amazon-btn{

    background-image:
    url('../img/amazon.webp');

}

.flipkart-btn{

    background-image:
    url('../img/flipkart.webp');

}

.discount-ribbon{

    display:flex;

    align-items:center;

    justify-content:center;

    min-height:40px;

    padding:0 14px;

    border-radius:999px;

    font-weight:600;

}



/*
.store-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:32px;

    height:32px;

    padding:4px;

    border-radius:8px;

    background:var(--card);

    transition:.2s;

}

.store-btn:hover{

    transform:translateY(-2px);

}

.store-btn img{

    max-width:20px;

    max-height:20px;

    display:block;

}*/







/*************  SLOKA ***********/

.shloka-container{

max-width:900px;

margin:auto;

}

.shloka-badge{

display:inline-block;

padding:8px 16px;

border-radius:999px;

background:var(--md-sys-color-primary-container);

margin-bottom:20px;

font-weight:600;

}

.shloka-card{

padding:40px;

border-radius:28px;

background:var(--card);

margin-bottom:24px;

text-align:center;

}

.sanskrit-block{

font-size:1.5rem;

line-height:1.8;

margin-bottom:24px;

}

.translit-block{

font-style:italic;

opacity:.8;

line-height:1.8;

}

.audio-card,
.meaning-card,
.explanation-card{

background:var(--card);

padding:24px;

border-radius:24px;

margin-bottom:24px;

}

.audio-card audio{

width:100%;

margin-top:12px;

}

.meaning-card p,
.explanation-card p{

line-height:2;

}

.keywords{

display:flex;

flex-wrap:wrap;

gap:10px;

margin-bottom:24px;

justify-content:center; 
align-items:center; 

}

.keyword{

padding:8px 14px;

border-radius:999px;

background:var(--md-sys-color-secondary-container);

font-size:.9rem;

}

.video-card{

text-align:center;

margin-top:24px;

}

/****************** AUDIO **************/

.audio-play-btn{

    display:flex;
    align-items:center;
    gap:10px;

    padding:12px 20px;

    border-radius:999px;

    cursor:pointer;

    font-weight:600;

    transition:.3s;

    user-select:none;
}

.audio-play-btn:hover{

    transform:translateY(-2px);

}

.sloka-action-panel{

    display:flex;
    flex-wrap:wrap;
    gap:12px;

    justify-content:center; 
    align-items:center; 
    margin:25px 0;

}


/* YOUTUBE BUTTON */
.youtube-btn{

    display:flex;
    align-items:center;
    gap:10px;

    padding:12px 18px;

    border-radius:12px;

    background:#cc4553;

    color:#fff;

    text-decoration:none;

    font-weight:600;

    transition:.2s;

}

.youtube-btn:hover{

    opacity:0.9;

}




/******************* CONTACT PAGE *************/

.contact-hero{

text-align:center;
margin-bottom:40px;

}

.contact-grid{

display:grid;
grid-template-columns:
repeat(auto-fit,minmax(220px,1fr));

gap:20px;

margin-bottom:30px;

}

.contact-card{

padding:24px;

border-radius:24px;

background:var(--card);

text-align:center;

}

.contact-form-card{

padding:32px;

border-radius:24px;

background:var(--card);

margin-bottom:30px;

}

.form-group{

margin-bottom:20px;

}

.form-group label{

display:block;

margin-bottom:8px;

font-weight:600;

}

.form-group input,
.form-group textarea{

width:100%;

padding:14px;

border-radius:12px;

border:1px solid var(--border);

background:var(--surface);

color:var(--text);

}

.services-card,
.faq-card,
.contact-cta{

padding:30px;

border-radius:24px;

background:var(--card);

margin-top:30px;

}

.services-grid{

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(220px,1fr));

gap:20px;

margin-top:20px;

}

.faq-item{

margin-top:20px;

padding-top:20px;

border-top:1px solid var(--border);

}

.contact-cta{

text-align:center;

}

/****************** HOME PAGE*******************/
.featured-books{
    display: flex;

    justify-content: center;
    align-items: center;

    grid-template-columns:
repeat(auto-fill,minmax(280px,1fr));

gap:30px;
}




/********************* FISH MOVING************************/

.logo-animation {
  position: relative;
  /*animation: swim 6s ease-in-out infinite;*/
}

@keyframes swim {
  0% {
    left: 0%;
    transform: scaleX(1); /* Facing right */
  }
  49% {
    transform: scaleX(1); /* Still facing right */
  }
  50% {
    left: calc(100% - 50px);
    transform: scaleX(-1); /* Turn around and face left */
  }
  99% {
    transform: scaleX(-1); /* Still facing left */
  }
  100% {
    left: 0%;
    transform: scaleX(1); /* Turn around and face right */
  }
}


.wolf{

    stroke:currentColor;
    fill:transparent;
    stroke-width:10;

    stroke-dasharray:1800;

    animation:
        drawCycle 10s linear infinite,
        fillCycle 10s linear infinite;

}

@keyframes drawCycle{
    /* Draw */
    0%{     stroke-dashoffset:1800; }
    40%{    stroke-dashoffset:0; }
    /* Pause */
    60%{    stroke-dashoffset:0; }
    /* Erase */
    100%{   stroke-dashoffset:1800; }
}

@keyframes fillCycle{
    0%,40%{    fill:transparent; }
    45%,60%{   fill:currentColor; }
    65%,100%{  fill:transparent; }
}




/**************************************
 * ************** Service Collage ****************/



.services-collage{

display:grid;

grid-template-columns:1.2fr 1fr;

grid-template-rows:

250px

180px

220px;

gap:20px;

}



.service{

position:relative;

display:flex;

justify-content:center;

align-items:center;

overflow:hidden;

border-radius:24px;

text-decoration:none;

color:white;

background-size:cover;

background-position:center;

transition:0.4s;

}



.service:hover{

transform:translateY(-8px);

}



.service::before{

content:"";

position:absolute;

inset:0;

background:inherit;

transition:0.7s;

}



.service:hover::before{

transform:scale(1.1);

}



.overlay{

position:absolute;

inset:0;

background:

linear-gradient(

rgba(0,0,0,.15),

rgba(186, 123, 39,1)

);

z-index:1;

}



.content{

position:relative;

z-index:2;

text-align:center;

padding:25px;

}



.content h3{

font-size:2rem;

margin-bottom:15px;

}



.content p{

max-width:260px;

margin:auto;

opacity:.92;

line-height:1.7;

}



/* Collage Layout */

.writing{

grid-row:1/3;

background-image:url('../assets/img/hero.webp');

}



.publishing{

background-image:url('assets/img/services/publishing.webp');

}



.philosophy{

grid-row:2/4;

background-image:url('assets/img/services/philosophy.webp');

}



.focus{
grid-row:1/4;
background-image:url('assets/img/services/printing.webp');

}



.distribution{

background-image:url('assets/img/services/distribution.webp');

}


@media (max-width: 900px)
{

.services-collage{

    grid-template-columns:1fr;

    grid-template-rows:none;

}

.service{

    min-height:280px;

}

.writing,
.publishing,
.philosophy,
.focus,
.distribution{

    grid-row:auto;

    grid-column:auto;

}

.content h3{

    font-size:1.7rem;

}

.content p{

    max-width:90%;

}

}


/*
.coming-soon {
    text-align:center; 
    max-width:700px; 
    margin:auto;
}

.coming-soon p{
    font-size:16px; 
    line-height:1.7;
}

.coming-soon span{
    display:inline-block;
        padding:10px 18px;
        border:1px solid #8C5A18;
        border-radius:25px;
        font-size:13px;
        letter-spacing:1px;
        text-transform:uppercase;
}*/

.coming-soon-card{
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 30px;
    text-align: center;

    background: var(--card);
    border: 1px solid rgba(140, 90, 24, 0.2);
    border-radius: 18px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);

    position: relative;
    overflow: hidden;

    animation: floatCard 6s ease-in-out infinite;
}

/* soft floating animation */
@keyframes floatCard{
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.coming-soon-card h2{
    font-family: 'Marcellus SC', serif;
    margin-bottom: 15px;
    color: #8C5A18;
    letter-spacing: 1px;
}

.coming-soon-card p{
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 12px;
}

/* glowing pulse dot */
.pulse-dot{
    width: 10px;
    height: 10px;
    background: #8C5A18;
    border-radius: 50%;
    margin: 0 auto 15px auto;
    box-shadow: 0 0 0 rgba(140,90,24,0.4);
    animation: pulse 1.8s infinite;
}

@keyframes pulse{
    0%{
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(140,90,24,0.5);
    }
    70%{
        transform: scale(1.2);
        box-shadow: 0 0 0 12px rgba(140,90,24,0);
    }
    100%{
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(140,90,24,0);
    }
}

/* badge */
.status-badge{
    display: inline-block;
    margin-top: 18px;
    padding: 10px 18px;

    border: 1px solid #8C5A18;
    border-radius: 30px;

    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;

    background: rgba(140,90,24,0.05);
}

/* mobile tuning */
@media(max-width:768px){
    .coming-soon-card{
        padding: 25px 18px;
        animation: none; /* avoid motion overload on mobile */
    }
}

