@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    text-decoration:none;
    font-family:'Poppins', sans-serif;
}

/* FORCE DESKTOP LAYOUT */
html, body{
    min-width:1200px;
}

body{
    background:#000;
    color:white;
    overflow-x:hidden;
}

/* TOP-LEFT FIXED LOGO */
.site-logo{
    position: fixed;
    top: 40px;     /* 👈 यही final position */
    left: 70px;
    width: 80px;
    opacity: 0;    /* loader के बाद दिखेगा */
    z-index: 2000;
}

/* ---------------- HEADER ---------------- */
header{
    margin-top:20px;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    padding:1rem 9%;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    z-index:100;
}

/* NAVBAR WITH SMALLER FONT */
nav a{
    font-size:1.2rem;
    color:white;
    margin-left:2.5rem;
    font-weight:400;
    transition:0.3s;
    border-bottom:2px solid transparent;
}

nav a:hover,
nav a.active{
    color:#b74b4b;
    border-bottom:2px solid #b74b4b;
}

/* ---------------- HOME SECTION ---------------- */
.home{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding-top:150px;
}

.main-title{
    font-size:4rem;
    font-weight:700;
    color:#b74b4b;
}

.sub-imprint{
    margin-top:2px;
    font-size:1.6rem;
    color:#ccc;
}

.subline{
    margin-top:5px;
    font-size:1.2rem;
    color:#ffc400;
}

/* ---------------- BOOK SERIES LOGOS ---------------- */
.series-gallery{
    margin-top:45px;
    display:flex;
    justify-content:center;
    gap:35px;
}

.series-card{
    width:200px;
    height:140px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgb(255, 255, 255);
    border-radius:14px;
    box-shadow:0 0 12px rgba(183,75,75,0.35);
    transition:0.35s ease;
}

.series-card img{
    max-width:85%;
    max-height:85%;
    object-fit:contain;
}

.series-card:hover{
    transform:translateY(-10px) scale(1.05);
    box-shadow:0 0 28px rgba(183,75,75,0.6);
}

/* ---------------- LOADER ---------------- */
.loading-page{
    position:fixed;
    inset:0;
    background:linear-gradient(to right,#2c5364,#203a43,#0f2027);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:1rem;
    z-index:9999;
}

.png-logo{
    width:150px;
    opacity:0;
    transform:scale(0.4);
    filter:brightness(0) invert(1);
}

.name-container{
    height:30px;
    overflow:hidden;
}

.logo-name{
    color:#fff;
    font-size:20px;
    letter-spacing:12px;
    text-transform:uppercase;
    opacity:0;
}


/* ===== CART ICON (SVG) ===== */
.cart-link{
  position:relative;
  margin-left:20px;
  display:inline-flex;
  align-items:center;
  vertical-align:middle;
}

.cart-svg{
  width:24px;
  height:24px;
  display:inline-block;
  vertical-align:middle;
  margin-top:-4px;   /* 👈 NAV TEXT KE LEVEL PE LANE KE LIYE */
}

.cart-count{
  position:absolute;
  top:-6px;
  right:-10px;
  background:#b74b4b;
  color:#fff;
  font-size:11px;
  padding:2px 6px;
  border-radius:50%;
  line-height:1;
}