@charset "utf-8";
/* CSS Document */
:root {
      --accent: #6b5bff;
      --bg: #ffffff;
      --text: #00000;
      --muted: #000000;
      --card: #cccccc;
    }
    * {box-sizing: border-box;}
	
	@font-face {
  	font-family: MyBenFont;
  	src: url(sansation_light.woff);
	}
	
    body {
      font-family: MyBenFont;
      background: var(--bg);
      color: var(--text);
      line-height: 1.5;
	  margin-top:0px;
    }
    header {
      background: #fffebe;
      padding: 16px 30px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
	  margin-top:-20px;
    }
    header h1 {font-size: 1.4rem; margin: 0;}
	.boiwalalogo{
		height:120px;
		margin:5px;
	}
    nav a {
      color: var(--text);
      text-decoration: none;
      margin: 0 10px;
      font-weight: 600;
    }
    nav a:hover {color: var(--accent);}
	
	/* Hamburger icon hidden by default */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #c70000;
}

/* Hidden checkbox */
.menu-toggle {
  display: none;
}

/* Responsive layout */
@media (max-width: 750px) {
  header {
    flex-wrap: wrap;
  }

  /* Show hamburger */
  .hamburger {
    display: block;
  }

  /* Hide nav by default */
  header nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fffebe;
    border-top: 2px solid #c70000;
    margin-top: 10px;
    padding: 10px 0;
  }

  header nav a {
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
  }

  /* Show nav when checkbox checked */
  .menu-toggle:checked + .hamburger + nav {
    display: flex;
  }
}
	
	.banner{
		margin-top:0px;
	}

    .hero {
      text-align: center;
      padding:20px;
    }
    .hero h2 {font-size: 2rem; margin-bottom: 10px;}
    .hero p {color: var(--muted);}

    .book-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
      gap: 20px;
      padding: 20px 30px;
      max-width: 1200px;
      margin: 0 auto;
    }
    .book-card {
      background: var(--card);
      border-radius: 10px;
      padding: 16px;
      transition: transform 0.3s;
    }
    .book-card:hover {transform: translateY(-5px);}
    .book-card img {
      width: 100%;
      height: 300px;
      object-fit: cover;
      border-radius: 8px;
    }
    .book-info {margin-top: 10px;}
    .book-info h3 {margin: 5px 0; font-size: 1.1rem;}
    .book-info p {font-size: 0.9rem; color: var(--muted);}
    .book-info button {
      background: var(--accent);
      color: #fff;
      border: none;
      padding: 8px 12px;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 600;
      margin-top: 8px;
    }

    .author-section {
      padding: 40px 30px;
      max-width: 1000px;
      margin: 0 auto;
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      align-items: center;
    }
    .author-section img {
      width: 150px;
      border-radius: 10px;
    }
    .author-details {flex: 1;}
    .author-details h3 {margin-top: 0;}

    footer {
      text-align: center;
      padding: 20px;
      color: var(--muted);
      font-size: 0.9rem;
      border-top: 1px solid #1e293b;
    }

.e-book {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}
.e-book h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}
.e-book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.e-book-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.2s;
}
.e-book-item:hover {
  transform: translateY(-6px);
}
.e-book-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: #eee;
}
.e-book-title {
  padding: 12px;
  font-weight: 600;
  color: #444;
  font-size: 15px;
}
.read-btn {
  display: block;
  width:100%;
  margin: 10px auto 15px;
  padding: 8px 14px;
  background: #0078d7;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
}
.read-btn:hover {
  background: #005fa3;
}
	
/* Reset / base */
    *{box-sizing:border-box}
    html,body{height:100%;margin:0;font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial;}
    body{background:#fff;color:#000;padding:24px;}

    /* Main wrapper required by you */
    .book-details{
      max-width:1200px;
      margin:0 auto;
      display:grid;
      grid-template-columns: 420px 1fr;         /* left column fixed-ish, right flexible */
      gap:48px;
      align-items:start;
      padding:16px;
    }

    /* Left: book cover container */
    .book-details .cover-wrap{
      background:transparent;
      padding:0px;                             /* space between image and border */
      border-radius:10px;
      border:1px solid #c70000;                /* red border like the screenshot */
      width:100%;
      box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    }

    .book-details .cover-wrap img{
      display:block;
      width:100%;
      height: auto;
      border-radius:6px;
      object-fit:cover;
      vertical-align:middle;
      /* enforce a tall aspect similar to the screenshot */
    }

    /* Right: details */
    .book-details .details{
      padding-top:8px;
    }

    .book-details h1{
      font-size:2rem;
      margin:0 0 12px;
      line-height:1.05;
      font-weight:800;
    }

    .book-details .description{
      color:#111;
      max-width:760px;
      font-size:0.98rem;
      margin-bottom:20px;
      line-height:1.5;
    }

    .meta-grid{
      display:block;
      gap:24px;
    }

    .meta-item{
      font-size:0.95rem;
      color:#111;
    }
    .meta-item strong{display:inline-block;width:68px;color:#000}

    /* responsive rules */
    @media (max-width:980px){
      .book-details{
        grid-template-columns: 360px 1fr;
        gap:30px;
        padding:12px;
      }
      .book-details h1{font-size:1.7rem}
    }

    @media (max-width:720px){
      /* stack vertically */
      .book-details{
        grid-template-columns: 1fr;
        gap:18px;
        align-items:center;
        text-align:center;
      }
      .book-details .details{padding:0}
      .meta-grid{justify-content:center}
      .meta-item strong{width:auto;margin-right:6px}
      .book-details .cover-wrap img{max-height:60vh}
    }

