:root{

    --bg-main:#EFE9DD;
    --bg-section:#F8F4EC;

    --gold:#D4A24C;
    --gold-light:#F2C66D;

    --text-main:#2E2E2E;
    --text-secondary:#6B6B6B;

    --accent:#8C6338;
    --soft-brown:#A67C52;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}






    nav{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        width: 100%;
    }

    nav a{
        font-size: 0.95rem;
        padding: 8px 12px;
    }





body {
  background-color: #EFE9DD;
  color: var(--text-dark);
  line-height: 1.6;
  font-family: Georgia, 'Times New Roman', serif;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* HEADER - slim bar */
header {
  background: #e8dcc7; 
  padding: 18px 0;
  border-bottom: 3px solid var(--gold);
  height: 110px;
}

.header-inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav{

    margin-left: 180px;
}

.logo-area h1{
    margin: 0;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-dark);
}



.logo-area {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-box img {
  height: 80px; /* scaled down to fit 90px header */
  width: auto; /* scaled down to fit 90px header */
  display: block;
}

h1 {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--text-dark);
  line-height: 1.2;
}

.tagline{
    margin-top: 4px;
    font-size: .85rem;
    font-style: italic;
    color: var(--soft-brown);
    white-space: nowrap;
}


nav {
  display: flex;
  gap: 15px;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1rem;
}

nav a:hover{
    color:var(--accent-gold);
}

nav a{
    position:relative;
}

nav a.active::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px; /* Adjust if needed */
    width:100%;
    height:2px;
    background:#D4AF37;
}


/*==========================
        HERO SECTION
==========================*/

.hero{
    padding:40px 20px;
    background:var(--bg-section);
    border-bottom:3px solid var(--gold);
}


.hero-text{
    max-width:850px;
    margin:auto;
    text-align:center;
}

.hero-subtitle{
    color:var(--gold);
    font-size:1rem;
    letter-spacing:10px;
    text-transform:uppercase;
    margin-bottom:20px;
}

/* Main Heading */

.hero-text h1{
    font-size:4.5rem;
    line-height:1.1;
    margin-bottom:30px;

    color:var(--text-main);

    font-family:Georgia, serif;
    font-weight:700;
}

.hero-text h1 span{
    color:var(--gold);
}

/* Description */

.hero-description{
    max-width:650px;
    margin:auto;

    color:var(--text-secondary);

    font-size:1.2rem;
    line-height:1.8;
}

/* Decorative Line */

.hero::after{
    content:"";
    display:block;

    width:120px;
    height:2px;

    background:var(--gold);

    margin:50px auto 0;
}



/*==========================
        SEARCH      
==========================*/

.search{
    margin-top:-45px;
    position:relative;
    z-index:100;
}

.search-box{
    max-width:700px;
    margin:auto;
    display:flex;
    background:var(--bg-section);
    border:1px solid rgba(212,162,76,.4);
    border-radius:50px;
    overflow:hidden;
}

.search-box input{
    flex:1;
    padding:20px;
    background:none;
    border:none;
    color:var(--text-main);
    font-size:16px;
    outline:none;
}

.search-box button{
    width:80px;
    border:none;
    background:var(--gold)  ;
    cursor:pointer;
    font-size:20px;
}

#search-results{
    max-width:700px;
    margin:10px auto;
    background:#1E1A16;
    border-radius:10px;
    overflow:hidden;
}

.suggestion{
    padding:15px 20px;
    cursor:pointer;
    display:flex;
    justify-content:space-between;
    align-items:center;
    color:#F5F5F5;
    border-bottom:1px solid rgba(255,255,255,.1);
}

.suggestion:hover{
    background:#2A241E;
}

.suggestion span{
    color:gold;
    font-weight:bold;
}
.book-highlight{
    transform: translateY(-8px);

    box-shadow:
        0 0 15px rgba(212,162,76,.6),
        0 0 30px rgba(212,162,76,.4),
        0 0 50px rgba(212,162,76,.2);

    border: 2px solid #D4A24C;

    transition: all .5s ease;
}

/*==========================
      FEATURED BOOK
===========================*/

.featured-book{

    max-width:1200px;
    margin:60px auto;

    display:flex;
    align-items:center;
    gap:60px;

    padding:50px;

    background:
    linear-gradient(
        135deg,
        #090705,
        #1A120C
    );

    border-radius:20px;

    box-shadow:
    0 15px 30px rgba(0,0,0,.2);
}

.featured-image img{

    width:280px;

    filter:
    drop-shadow(
        0 20px 25px
        rgba(0,0,0,.8)
    );

    transition:.4s;
}

.featured-image img:hover{

    transform:
    translateY(-10px)
    scale(1.03);
}

.featured-content{

    flex:1;
}

.featured-content h4{

    color:var(--gold);
    letter-spacing:3px;
    margin-bottom:15px;
}

.featured-content h2{

    color:white;
    font-size:3rem;
    margin-bottom:20px;
}

.line{

    width:100px;
    height:2px;

    background:var(--gold);

    margin-bottom:25px;
}

.featured-content p{

    color:#D9D9D9;
    line-height:1.8;
    margin-bottom:30px;
    max-width:700px;
}

.featured-content a{

    display:inline-block;

    padding:15px 35px;

    background:var(--gold);
    color:white;

    text-decoration:none;
    border-radius:8px;

    font-weight:bold;

    transition:.3s;
}

.featured-content a:hover{

    background:var(--gold-light);
}


/*==========================
        BOOKS GRID
==========================*/

body{
    background:var(--bg-main);
    color:var(--text-main);
}


.books-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:60px;
    max-width:1200px;
    margin:50px auto;
    padding:0 40px;
}

.collection-title{
    text-align:center;
    margin-bottom:40px;
    padding:20px;
    font-size:40px;
    color:var(--gold) ;
    text-transform:uppercase;
    letter-spacing:2px;

}



/*==========================
        BOOK CARD
==========================*/

.book{
    position:relative;
    padding:0 35px 35px;
    border-right:1px solid rgba(184,134,11,0.5);
    transition:0.4s ease;
}




.book:last-child{
    border-right:none;
}


/*==========================
        BOOK IMAGE
==========================*/

.book img{
    width:100%;
    height:360px;
    object-fit:contain;
    display:block;

    filter:
    drop-shadow(0 20px 25px rgba(0,0,0,0.8));

    transition:0.4s ease;
}


.book img:hover{

    transform:
    translateY(-12px)
    scale(1.03);

    filter:
    drop-shadow(0 30px 35px rgba(0,0,0,0.9));
}



/*==========================
        BOOK DETAILS
==========================*/

.book h3{

    font-family:Georgia,serif;
    color:var(--gold);
    font-size:20px;
    margin-top:25px;
    margin-bottom:10px;

}


.book p{

    color:var(--text-secondary);
    font-size:14px;
    line-height:1.6;
    max-width:300px;

}



.book span{

    display:block;
    color:var(--gold);
    font-size:22px;
    margin-top:18px;

}



/*==========================
        BUTTONS
==========================*/



.book-actions{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:20px;
}

.preview-btn,
.buy-btn{
    display:flex;
    justify-content:center;
    align-items:center;

    width:120px;
    height:45px;

    border:1px solid var(--gold);
    background:transparent;
    color:var(--gold);

    text-decoration:none;
    text-transform:uppercase;
    font-size:13px;
    letter-spacing:1px;

    transition:.3s ease;
}

.preview-btn:hover,
.buy-btn:hover{
    background:var(--gold);
    color:var(--text-main)  ;
}

.book .price{
    color:var(--gold-light);
    text-shadow:0 0 8px rgba(242,198,109,0.4);
    font-size:28px;
    font-weight:bold;
    margin-top:18px;
    font-family:Georgia, serif;
}

.featured-buy-btn{
    display:inline-flex;
    justify-content:center;
    align-items:center;

    width:180px;
    height:55px;

    background:var(--gold);
    color:black;

    text-decoration:none;
    font-weight:bold;
    border-radius:8px;

    white-space:nowrap;
}





/*==========================
      COMING SOON FEATURE
==========================*/

.coming-book{

    margin:70px auto;
    max-width:1100px;

    display:flex;
    align-items:center;
    gap:60px;

    border:1px solid rgba(184,134,11,.5);
    border-radius:12px;

    padding:35px;

    background:
    linear-gradient(
    145deg,
    rgba(255,255,255,.03),
    rgba(0,0,0,.2)
    );

}


.coming-book img{

    width:250px;

    filter:
    drop-shadow(0 20px 25px black);

}


.coming-book h2{

    color:var(--gold);

    font-family:Georgia,serif;

    font-size:35px;

}


/*==========================
        QUOTE SECTION
==========================*/

.quote{
    max-width:1100px;
    margin:80px auto;
    padding:50px;

    background:
    linear-gradient(
        135deg,
        #090705,
        #1A120C
    );

    border-radius:20px;

    box-shadow:
        0 15px 30px rgba(0,0,0,.15);

    text-align:center;
}

.quote blockquote{
    color:#F5F0E6;
    font-size:2rem;
    font-style:italic;
    line-height:1.7;
    margin-bottom:25px;
    position:relative;
}

.quote blockquote::before{
    content:"❝";
    color:var(--gold);
    font-size:4rem;
    margin-right:10px;
}

.quote p{
    color:var(--gold);
    font-size:1.3rem;
    font-weight:bold;
    letter-spacing:1px;
}

/*==========================
        FOOTER
==========================*/

footer{
    background:#120F0C;
    border-top:3px solid #D4AF37;
    color:#E8DCC7;
    padding:60px 8%;
}

/* Footer Layout */

.footer-links{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    flex-wrap:wrap;
    gap:50px;
    margin-bottom:40px;
}

/* Headings */

.footer-links h3{
    color:#D4AF37;
    font-size:1.5rem;
    margin-bottom:20px;
    font-family:serif;
    position:relative;
}

.footer-links h3::after{
    content:"";
    width:50px;
    height:2px;
    background:#D4AF37;
    display:block;
    margin-top:8px;
}

/* Paragraph */

.footer-info p{
    max-width:350px;
    line-height:1.8;
    color:#C9BBA8;
}

/* Lists */

.footer-links ul{
    list-style:none;
    padding:0;
}

.footer-links ul li{
    margin:15px 0;
}

.footer-links ul li a{
    text-decoration:none;
    color:#E8DCC7;
    transition:.3s;
}

.footer-links ul li a:hover{
    color:#D4AF37;
    padding-left:8px;
}

/* Social Icons */

.social-icons{
    display:flex;
    gap:20px;
    margin-top:25px;
}

.social-icons a{
    width:45px;
    height:45px;
    display:flex;
    justify-content:center;
    align-items:center;
    border:1px solid #D4AF37;
    border-radius:50%;
    color:#D4AF37;
    font-size:20px;
    transition:.3s;
}

.social-icons a:hover{
    background:#D4AF37;
    color:#120F0C;
    transform:translateY(-5px);
}

/* Copyright */

.copyright{
    margin-top:50px;
    padding-top:25px;
    text-align:center;
    border-top:1px solid rgba(212,175,55,.3);
    color:#A89A86;
    font-size:14px;
}

.whatsapp{
    width:50px;
    height:50px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    border:2px solid #25D366;

    color:#25D366;

    box-shadow:
        0 0 10px #25D366,
        0 0 20px #25D366,
        0 0 30px rgba(37,211,102,.7);

    transition:.4s ease;
}

.whatsapp:hover{
    transform:translateY(-8px) scale(1.1);

    box-shadow:
        0 0 20px #25D366,
        0 0 40px #25D366,
        0 0 60px #25D366;

    background:#25D366;
    color:#120F0C;
}

.back-to-top{
    position:fixed;
    bottom:30px;
    right:30px;
    width:55px;
    height:55px;
    background:#D4AF37;
    color:#000;
    text-decoration:none;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:1.8rem;
    box-shadow:0 5px 15px rgba(0,0,0,0.3);
}

html{
    scroll-behavior:smooth;
}



.back-to-down{
    position:fixed;
    bottom:100px;
    right:30px;
    width:55px;
    height:55px;
    background:#D4AF37;
    color:#000;
    text-decoration:none;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:1.8rem;
    box-shadow:0 5px 15px rgba(0,0,0,0.3);
}

html{
    scroll-behavior:smooth;
}



/*==========================
        MOBILE FIRST
==========================*/

@media (max-width:768px){

    /* Header */

    header{
        height:auto;
        padding:20px 0;
    }

    .header-inner{
    flex-direction:column;
    justify-content:space-between;
    align-items:center;
}

    nav{
        margin-left:0;
        justify-content:center;
        gap:15px;
        flex-wrap:wrap;
    }
    nav a{
        font-size:.9rem;

    }

    .logo-box img{
        height:55px;
    }

    .logo-area h1{
        font-size: 1.7rem;
    }

    .tagline{
        font-size:.75rem;

    }

    /* Hero */
    .hero{
        padding-top:60px;
    }
    .hero-text h1{
        font-size:3rem;

    }

    .hero-subtitle{
        font-size:.8rem;
        letter-spacing:4px;
    }

    .hero-description{
        font-size:1rem;
    }

    /* Search */

    .search{
        margin-top:20px;
        padding:0 20px;
    }

    .search-box{
        width:100%;
    }

    /* Featured Book */

    .featured-book{
        flex-direction:column;
        text-align:center;
        padding:30px;
        gap:30px;
    }

    .featured-image img{
        width:220px;
    }

    .featured-content h2{
        font-size:2.2rem;
    }

    .line{
        margin:0 auto 25px;
    }

    /* Books Grid */

    .books-grid{
        grid-template-columns:1fr;
        padding:0 20px;
        gap:40px;
    }

    .book{
        border-right:none;
        border-bottom:1px solid rgba(184,134,11,.4);
        padding-bottom:40px;
        text-align:center;
    }

    .book p{
        max-width:100%;
    }

    .book-actions{
        justify-content:center;
        gap:10px;
        flex-wrap:wrap;
    }

    /* Collection Title */

    .collection-title{
        font-size:2rem;
    }

    /* Quote */

    .quote{
        margin:50px 20px;
        padding:30px;
    }

    .quote blockquote{
        font-size:1.5rem;
    }

    /* Footer */

    .footer-links{
        flex-direction:column;
        gap:30px;
    }

    .social-icons{
        justify-content:center;
    }
}