:root {
  /* Vibrant & Mature Dark Violet/Gold Palette */
  --bg-dark: #0d0b18;
  --bg-gradient: linear-gradient(135deg, #0d0b18 0%, #1a1533 50%, #2a1b4e 100%);
  --accent-gold: #f59e0b;
  --accent-gold-glow: #fbbf24;
  --accent-indigo: #6366f1;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --card-bg: #ffffff;
  
  --font-heading: 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: #f8fafc;
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
}

.container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(13, 11, 24, 0.98);
  backdrop-filter: blur(10px);
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  width: 100%;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand-logo {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent-gold);
}

/* Hero Section */
.hero {
  background: 
    radial-gradient(circle at 50% 20%, rgba(245, 158, 11, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 40%),
    var(--bg-gradient);
  color: #ffffff;
  padding: 6rem 1rem;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin: 1.2rem 0;
  line-height: 1.4;
  padding: 0 1rem;
}

.highlight-gold {
  color: var(--accent-gold-glow);
  text-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.hero-intro {
  max-width: 650px;
  margin: 0 auto 2rem auto;
  color: #94a3b8;
  font-size: 1.1rem;
}

/* Badges & Buttons */
.badge-gold {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
}

.btn-gold {
  background: #f59e0b;
  color: #0d0b18;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-amazon {
  background: #ff9900;
  color: #111111;
}

.btn-flipkart {
  background: #2874f0;
  color: #ffffff;
}

/* Section Common */
.section {
  padding: 5rem 0;
  width: 100%;
}

.bg-light {
  background-color: #fcfaf7 !important; /* Warm Champagne/Parchment */
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--text-dark);
}

.divider {
  width: 60px;
  height: 4px;
  background: var(--accent-gold);
  margin: 0.6rem auto 0 auto;
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Card Styling */
.card {
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid rgba(245, 158, 11, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

/* Author Section */
.author-card {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 3rem;
  align-items: center;
}

.author-photo-wrapper {
  flex: 1;
  min-width: 240px;
  text-align: center;
}

.author-photo {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--accent-gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.author-bio-content {
  flex: 2;
  min-width: 280px;
}

.section-label {
  color: var(--accent-gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.author-bio-content h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin: 0.4rem 0 1rem 0;
}

.author-bio-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Featured Book */
.book-card {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 3rem;
  align-items: center;
}

.book-cover-wrapper {
  flex: 1;
  min-width: 240px;
  text-align: center;
}

.book-cover {
  max-width: 100%;
  max-height: 440px;
  border-radius: 8px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
  animation: subtleFloat 6s ease-in-out infinite;
}

@keyframes subtleFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.book-info {
  flex: 2;
  min-width: 280px;
}

.book-info h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin: 0.8rem 0;
}

.book-synopsis {
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

.buy-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Book Fairs Gallery Grid */
.fairs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
}

.fair-card {
  overflow: hidden;
  width: 100%;
}

.fair-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.fair-image-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.fair-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.fair-card:hover .fair-image {
  transform: scale(1.06);
}

.fair-info {
  padding: 1.2rem;
  text-align: center;
  background: #ffffff;
}

.fair-location {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.3rem;
}

.fair-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* Upcoming Column / Grid */
.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.upcoming-card {
  padding: 2.5rem;
  border-left: 4px solid var(--accent-gold);
}

.upcoming-status {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.upcoming-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.upcoming-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.release-date {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dark);
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.review-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: var(--accent-gold);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.review-text {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.2rem;
}

.reviewer-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: #ffffff;
  padding: 4rem 1rem 2rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(245, 158, 11, 0.2);
}

.footer-content h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.footer-content p {
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.copyright {
  margin-top: 3rem;
  font-size: 0.85rem;
  color: #64748b;
}

/* Mobile Media Queries - STRICT FIX */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem 1.2rem;
    padding: 0;
  }

  .author-card, .book-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
  }

  .buy-buttons {
    justify-content: center;
  }

  .fairs-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .fair-card {
    max-width: 100% !important;
  }

  .fair-image-wrapper {
    height: 220px !important;
  }

  .fair-image {
    width: 100% !important;
    max-width: 100% !important;
  }
}
/* Premium Contact Card Styling */
.contact-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: 0 15px 35px rgba(13, 11, 24, 0.06);
  text-align: center;
}

.contact-icon {
  font-size: 2.2rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.contact-header h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.contact-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.contact-body {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1.5rem 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-gold);
}

.contact-value {
  font-size: 1.05rem;
  color: var(--text-dark);
  font-weight: 500;
}

.email-link {
  color: var(--accent-indigo);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.email-link:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}

/* Social Buttons Row */
.contact-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.btn-instagram {
  background: #ffffff;
  color: #c13584;
  border-color: rgba(193, 53, 132, 0.3);
}

.btn-instagram:hover {
  background: #c13584;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(193, 53, 132, 0.25);
}

.btn-amazon {
  background: #ffffff;
  color: #d97706;
  border-color: rgba(217, 119, 6, 0.3);
}

.btn-amazon:hover {
  background: #ff9900;
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 153, 0, 0.3);
}
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;

  /* Soft parchment base color */
  background-color: #faf7f2;

  /* Delicate floral/leaf SVG pattern overlay */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath fill='%23d4c5b2' fill-opacity='0.18' d='M40 0c2 10 10 18 20 20-10 2-18 10-20 20-2-10-10-18-20-20 10-2 18-10 20-20zm0 40c2 10 10 18 20 20-10 2-18 10-20 20-2-10-10-18-20-20 10-2 18-10 20-20z'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-attachment: fixed; /* Keeps background still while scrolling */
}