/* ======= HOMEPAGE-MOBILE.CSS (MODIFIED FONT & COLOR) ======= */

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #b7a3e3;
  color: #2D1D47; /* Updated font color to match homepage.css */
  overflow-x: hidden;
  font-family: 'Roboto', sans-serif; /* Default body font */
}

/* ===== Navbar ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(45, 29, 71, 0.95);
  padding: 12px 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  font-family: 'Roboto', sans-serif; /* Navbar font updated */
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 40px;
  width: auto;
  border-radius: 50%;
}

.brand-name {
  color: white; /* Keep white for brand-name text */
  font-weight: 700;
  font-size: 16px;
  font-family: 'Roboto', sans-serif; /* Updated font */
}

/* Hamburger Menu Icon */
.menu-toggle {
  font-size: 26px;
  color: white;
  cursor: pointer;
  display: block;
}

/* Hide nav links initially */
.nav-links {
  position: fixed;
  top: 60px;
  left: -100%;
  width: 100%;
  height: calc(100vh - 60px);
  background: rgba(45, 29, 71, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transition: left 0.3s ease-in-out;
  z-index: 998;
}

.nav-links.show {
  left: 0;
}

.nav-links a {
  color: white;
  font-size: 18px;
  font-weight: 600;
  font-family: 'Roboto', sans-serif; /* Updated font */
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #f472b6;
}

/* ===== Main Content ===== */
.main-content {
  margin-top: 90px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  font-family: 'Roboto', sans-serif; /* Updated font */
}

.intro-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}

.text-content {
  font-size: 16px;
  line-height: 1.6;
  padding: 0 10px;
  font-family: 'Merriweather', serif; /* Updated paragraph font */
}

.text-content h1 {
    font-family: 'Playfair Display', serif; /* Keep Playfair Display for headings */
    font-weight: 700;
    font-size: 60px;
    margin-bottom: 8px;
    color: #2a2548; /* Heading color updated to match homepage.css */
}

.highlight {
  font-weight: 700;
  color: #2D1D47; /* Highlight color updated */
  font-style: normal; /* match homepage.css */
}

.intro-buttons {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  padding: 12px 25px;
  border-radius: 30px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Roboto', sans-serif; /* Updated font */
  text-decoration: none;
  text-align: center;
}

.preview-btn {
  border: 2px solid #2D1D47; /* Updated color */
  background: transparent;
  color: #2D1D47; /* Updated font color */
}

.preview-btn:hover {
  background: #2D1D47;
  color: white;
}

.buy-btn {
  background: linear-gradient(90deg, #f472b6, #ec4899);
  color: white;
  font-family: 'Roboto', sans-serif; /* Updated font */
}

/* Book Image Slider */
.book-image-slider {
  margin-top: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slider-image {
  width: 80%;
  border-radius: 5px;
  display: none;
}

.image-toggle-buttons {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.toggle-btn {
  background-color: #2D1D47; /* Updated */
  border: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.toggle-btn.active {
  background-color: #ec4899;
}

/* ===== Synopsis ===== */
.middle-content {
  background-color: rgba(45, 29, 71, 0.85);
  padding: 30px 15px;
  color: white;
}

.synopsis {
  text-align: justify;
  font-family: 'Merriweather', serif; /* Updated font */
}

.synopsis h2 {
  color: #B7A3E3;
  text-align: center;
  margin-bottom: 15px;
  font-size: 22px;
  font-family: 'Montserrat', sans-serif; /* Updated font */
  font-weight: 600;
}

/* ===== WhatsApp Icon ===== */
.whatsapp-icon {
  position: fixed;
  bottom: 70px;
  background-color: #25D366;
  border-radius: 50%;
  right: 20px;
  z-index: 1000;
}

.whatsapp-icon img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
}

/* ===== Footer ===== */
footer {
  background: linear-gradient(90deg, #f472b6, #ec4899);
  color: rgba(45, 29, 71, 0.9);
  font-size: 14px;
  padding: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  backdrop-filter: blur(5px);
  font-family: "Roboto", sans-serif; /* updated font */
}

footer a {
  color: rgba(45, 29, 71, 0.9);
  text-decoration: none;
  font-size: 18px;
  transition: transform 0.3s ease, color 0.3s ease;
}

footer a:hover {
  transform: scale(1.15);
  color: #fff;
}

footer p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
