:root {
  --primary: #ff9900;
  --text: #111;
  --muted: #555;
  --border: #ddd;
  --bg: #f7f7f7;
  --primary-color: #8b6f47;
  --primary-dark: #6b5437;
  --secondary-color: #a67c52;
  --accent-color: #c19a6b;
  --text-dark: #2c2416;
  --text-medium: #5a4a3a;
  --text-light: #8b7a6a;
  --bg-light: #faf8f5;
  --bg-cream: #f5f1eb;
  --bg-white: #ffffff;
  --border-color: #e5ddd5;

  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Lato", sans-serif;

  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}
body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}


h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}


#business-btn {
  cursor: pointer;
}
.nav-links .active {
  background: #245C9B;
  border-radius: 5px;
}
.navbar {
  background: #1F2A38;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 20px;
  position: sticky;
  top: 5px;
  z-index: 10;
}
.logo {
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: white;
  padding: 10px 15px;
  display: block;
  transition: 0.3s;
}

.nav-links a:hover {
  background: #245C9B;
  border-radius: 5px;
}

/* Dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  color: white;
  top: 45px;
  left: 0;
  background: #1F2A38;
  min-width: 160px;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 999;
}
.dropdown-content li {
  list-style: none;
}

.dropdown-content li a {
  padding: 10px 15px;
}

.dropdown-content li a:hover {
  background: #245C9B;
  cursor: pointer;

}

/* Show dropdown */
.dropdown.active .dropdown-content {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hamburger menu (hidden on desktop) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  height: 3px;
  width: 25px;
  background: #fff;
  margin: 4px 0;
  transition: 0.3s;
}



.container {
  max-width: 1200px;
  margin: auto;
  padding: 16px;
}

.book-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 300px 1fr 300px;
  gap: 24px;
  padding: 24px;
}

/* Left */
.book-cover img {
  width: 100%;
  border-radius: 6px;
}

/* Middle */
.book-info h1 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.book-info .subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.author {
  margin-bottom: 8px;
}
.rating {
  color: #f5a623;
  margin-bottom: 12px;
}
.description {
  font-size: 0.95rem;
  color: #222;
}

/* Right */
.buy-box {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}
.price {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 8px;
}
.old-price {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 0.9rem;
}
.btn {
  display: block;
  width: 100%;
  background-color: #0b1527;
  color: #fff;
  text-align: center;
  padding: 12px;
  border-radius: 4;
  text-decoration: none;
  font-weight: bold;
  margin-top: 16px;
}
.formats {
  margin-bottom: 12px;
}
.format {
  border: 1px solid var(--border);
  padding: 8px;
  border-radius: 6px;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.web-creator-footer {
  border-top: 1px solid #0b1527;
  color: #0b1527;
  padding: 10px 0;
  text-align: center;
}

.web-creator-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  gap: 100px;
}

.web-creator-text {
  margin: 0;
  font-size: 16px;
}

.web-creator-social {
  display: flex;
  gap: 15px;
  font-size: 20px;
}

.web-creator-icon {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.web-creator-icon:hover {
  color: #1da1f2; /* Change hover color as you like */
}

.web-creator-copy {
  margin: 0;
  font-size: 14px;
  color: #aaa;
}


/* Responsive */
@media (max-width: 1024px) {
  .book-card {
    grid-template-columns: 260px 1fr;
  }
  .buy-box {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .book-card {
    grid-template-columns: 1fr;
  }
  .book-info h1 {
    font-size: 1.4rem;
  }
    .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    left: -100%;
    background: #0d1117;
    flex-direction: column;
    width: 100%;
    transition: 0.3s ease;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    padding: 10px;
  }

  .nav-links.active {
    left: 0;
  }

  /* Dropdown inside mobile view */
  .dropdown-content {
    position: static;
    background: #222;
    box-shadow: none;
    border-radius: 0;
  }

  .dropdown.active .dropdown-content {
    display: block;
  }

}

.footer {
  background: #E4E7EB;
  color: black;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: #0b1527;
  margin-bottom: 1rem;
}

.footer-section p {
  color: black;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.footer-tagline {
  font-style: italic;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links .links {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 1px solid black;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-links #fb {
  background-image: url(icon/facebook.png);
  background-size: cover;
  background-position: center;
}
.social-links #tt {
  background-image: url(icon/tiktok.png);
  background-size: cover;
  background-position: center;
  background-color: #f5f1eb;
}
.social-links #ig {
  background-image: url(icon/insta.png);
  background-size: cover;
  background-position: center;
}
.social-links #ld {
  background-image: url(icon/linkedin.png);
  background-size: cover;
  background-position: center;
}
.social-links #bs {
  background-image: url(icon/bluesky.png);
  background-size: cover;
  background-position: center;
}

.social-links .links:hover {
  cursor: pointer;
  transform: translateY(-3px);
  /* background-color: #8B6F47; */
}

.footer-bottom {
  border-top: 1px solid rgba(56, 55, 55, 0.729);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  color: black;
  opacity: 0.8;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

