/* GOOGLE FONTS - Premium Dark Romance Vibe */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@300;400;500;600&display=swap');

/* CSS-ONLY PAGE FADE-IN */
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: #02040f;
  color: #e6e6e6;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  opacity: 0;
  animation: fadeIn 0.9s forwards;
  animation-delay: 0.1s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Prevent FOUC / white flash before CSS loads */
html, body {
  background: #02040f !important;
}

/* COSMIC BACKGROUND */
.cosmic-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: 
    radial-gradient(ellipse at 50% 30%, rgba(80, 140, 255, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 70%, rgba(120, 255, 200, 0.15) 0%, transparent 65%),
    radial-gradient(ellipse at 70% 60%, rgba(200, 100, 255, 0.12) 0%, transparent 70%),
    linear-gradient(180deg, #0a0f1f 0%, #02040f 100%);
  background-size: 200% 200%, 200% 200%, 200% 200%, cover;
  animation: auroraShift 140s linear infinite;
  pointer-events: none;
  will-change: background-position;
}

.cosmic-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  box-shadow: 
    120px 80px 5px rgba(255,255,255,0.09),
    400px 150px 4px rgba(255,255,255,0.08),
    700px 220px 5px rgba(255,255,255,0.07),
    200px 420px 4px rgba(255,255,255,0.08),
    650px 480px 5px rgba(255,255,255,0.07),
    950px 520px 4px rgba(255,255,255,0.06);
  animation: starsTwinkle 9s ease-in-out infinite alternate;
  will-change: opacity;
}

.moon {
  position: fixed;
  top: 10%;
  right: 8%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle at 38% 38%, #f8f9ff, #c8d0e8 38%, #6b7a9c);
  border-radius: 50%;
  box-shadow: 0 0 70px #a0c0ff, 0 0 140px #4a7cff;
  z-index: -1;
  animation: moonPulse 15s ease-in-out infinite alternate;
  will-change: box-shadow;
}

/* Keyframes */
@keyframes auroraShift {
  0%   { background-position: 0% 50%, 100% 50%, 50% 50%, center; }
  100% { background-position: 200% 50%, -100% 50%, 150% 50%, center; }
}

@keyframes starsTwinkle {
  0%   { opacity: 0.6; }
  50%  { opacity: 1; }
  100% { opacity: 0.6; }
}

@keyframes moonPulse {
  from { box-shadow: 0 0 70px #a0c0ff, 0 0 140px #4a7cff; }
  to   { box-shadow: 0 0 110px #c0e0ff, 0 0 200px #6a9cff; }
}

/* TYPOGRAPHY */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
}

/* HEADER & NAV */
header {
  background: #11141c;
  padding: 12px 5%;
  border-bottom: 1px solid #1c2230;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 0 12px #3a5fcd);
  transition: 0.3s;
}

.logo:hover {
  filter: drop-shadow(0 0 20px #6c8bff);
  transform: scale(1.03);
}

.site-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #6c8bff;
  text-shadow: 0 0 12px #3a5fcd;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #e6e6e6;
  cursor: pointer;
  padding: 8px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: #e6e6e6;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.8px;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #6c8bff;
  text-shadow: 0 0 10px #3a5fcd;
}

/* MOBILE HAMBURGER MENU - checkbox 100% invisible */
@media (max-width: 768px) {
  .hamburger {
    display: block !important;
  }

  .nav-links {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #11141c;
    flex-direction: column;
    padding: 30px 5%;
    gap: 24px;
    border-top: 1px solid #1c2230;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  }

  /* When checkbox is checked → show menu */
  #mobile-menu-toggle:checked ~ .nav-links {
    display: flex !important;
  }

  /* Hamburger becomes X when open */
  #mobile-menu-toggle:checked + .hamburger {
    content: '✕';
  }
}

/* ──────────────────────────────────────────────── */
/* FIX: Completely hide the checkbox input everywhere */
/* ──────────────────────────────────────────────── */
.mobile-menu-toggle {
  display: none !important;
}

/* ──────────────────────────────────────────────── */
/* HERO SECTION - restored dark panel + glow like content blocks */
/* ──────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 10;
  margin: 40px auto 0;
  max-width: 1180px;
  padding: 0 5%;
}

.hero-content {
  background: #11141c;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
  padding: 65px 8%;
  text-align: center;
  border: 1px solid #1f2635;
}

.hero h1 {
  color: #6c8bff;
  text-shadow: 0 0 25px #3a5fcd, 0 0 40px #3a5fcd;
  font-size: 4.2rem;
  margin: 0 0 18px;
  line-height: 1.1;
}

.hero p {
  color: #c5cadb;
  font-size: 1.55rem;
  font-style: italic;
  margin: 0;
  text-shadow: 0 0 12px rgba(58, 95, 205, 0.3);
}

/* CONTENT (About section and others - unchanged but kept for reference) */
.content {
  max-width: 1180px;
  margin: 60px auto 80px;
  padding: 65px 5%;
  background: #11141c;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
  position: relative;
  z-index: 10;
  flex: 1 0 auto;
}

.content h2 {
  color: #6c8bff;
  text-shadow: 0 0 15px #3a5fcd;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 35px;
}

/* BOOK LIST */
.book-list {
  display: flex;
  gap: 35px;
  flex-wrap: wrap;
  justify-content: center;
}

.book {
  background: #161a24;
  padding: 20px;
  width: 260px;
  border-radius: 8px;
  border: 1px solid #1f2635;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease;
  text-align: center;
}

.book:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 0 30px #3a5fcd;
  border-color: #3a5fcd;
}

.book img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 0 12px #000;
  transition: 0.3s;
  margin-bottom: 15px;
}

.book:hover img {
  box-shadow: 0 0 18px #3a5fcd;
}

.book h3 {
  color: #6c8bff;
  text-shadow: 0 0 8px #3a5fcd;
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.book p {
  color: #9aa0b5;
  line-height: 1.55;
  font-style: italic;
  margin-bottom: 12px;
}

/* Amazon links - styled like nav links, centered */
.amazon-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 15px;
}

.amazon-links a {
  color: #e6e6e6;
  font-weight: 600;
  letter-spacing: 0.8px;
  transition: 0.3s;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 6px;
}

.amazon-links a:hover {
  color: #6c8bff;
  text-shadow: 0 0 10px #3a5fcd;
  background: rgba(58, 95, 205, 0.15);
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg, #3a5fcd, #6c8bff);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  letter-spacing: 0.6px;
  box-shadow: 0 0 15px rgba(58, 95, 205, 0.4);
  transition: all 0.3s;
}

.btn:hover {
  background: linear-gradient(135deg, #6c8bff, #3a5fcd);
  transform: translateY(-3px);
  box-shadow: 0 0 25px #3a5fcd;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 50px 20px 30px;
  background: #0a0c11;
  color: #9aa0b5;
  border-top: 1px solid #1f2635;
  margin-top: auto;
}

.social-links {
  margin-top: 15px;
}

.social-links a {
  color: #9aa0b5;
  margin: 0 12px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.3s;
}

.social-links a:hover {
  color: #6c8bff;
}

/* FORM STYLING */
.form-container {
  max-width: 820px;
  margin: 40px auto;
  padding: 55px 45px;
  background: #161a24;
  border-radius: 14px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.85);
  border: 1px solid #1f2635;
}

.form-field {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 28px;
}

.form-field label {
  flex: 1 1 300px;
  font-weight: 600;
  color: #c5cadb;
  font-size: 1.06rem;
  line-height: 1.4;
}

.form-field .input-wrapper {
  flex: 2 1 420px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="number"],
.form-field textarea {
  flex: 1;
  padding: 15px 18px;
  background: #0f121a;
  border: 1px solid #2a3347;
  border-radius: 8px;
  color: #e6e6e6;
  font-size: 1.02rem;
  transition: all 0.3s;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #6c8bff;
  box-shadow: 0 0 0 4px rgba(108,139,255,0.18);
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.radio-group {
  display: flex;
  gap: 40px;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 400;
  color: #d0d4e0;
  cursor: pointer;
}

.form-container button.btn {
  width: 100%;
  padding: 18px;
  font-size: 1.15rem;
  margin-top: 20px;
}

/* SERVICES */
.services {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.services li {
  background: #1c2230;
  padding: 22px;
  border-radius: 8px;
  border: 1px solid #2a3347;
}