/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Courier New', Courier, monospace;
  background-color: #0a0a14; /* Very dark navy */
  color: #ddd;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Navigation Bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #0a0a14; /* Pure black */
  border-bottom: 2px solid #5a4ea8; /* subtle purple border */
  box-shadow: 0 2px 6px rgba(90, 78, 168, 0.4);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-family: 'Special Elite', Courier, monospace;
  font-weight: 400;
  font-size: 1.6rem;
  color: #4a7aff; /* soft blue */
}

.nav-items {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}

.nav-items a {
  color: #ccc;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.25s ease;
  font-family: 'Special Elite', Courier, monospace;
}

.nav-items a:hover {
  color: #7b69d9; /* subtle purple */
}

/* Hero Section */
.hero-section {
  display: flex;
  flex-direction: column; /* Stack vertically */
  align-items: center;    /* Center horizontally */
  gap: 1.5rem;
  text-align: center;
  padding: 3rem 2rem;
}

.hero-photo {
  width: 250px;
  max-width: 100%;
  border-radius: 6px;
  object-fit: cover;
  border: 2px solid #5a4ea8;
}

.hero-text h1 {
  font-weight: 400;
  font-size: 2.8rem;
  color: #4a7aff;
  margin-bottom: 0.4rem;
  font-family: 'Special Elite', Courier, monospace;
}

.hero-text p {
  font-size: 1.1rem;
  color: #bbb;
  font-family: 'Special Elite', Courier, monospace;
}

/* Author Section */
.author-section {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 3rem 2rem;
  background-color: #121223;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(75, 75, 130, 0.25);
  display: flex;
  flex-direction: row; /* photo left, bio right */
  align-items: center;
  gap: 2.5rem;
  color: #ccc;
  font-family: 'Courier New', Courier, monospace;
  text-align: left;
}

.author-photo {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid #4a7aff;
  box-shadow: none;
  margin: 0;
}

.author-bio {
  flex-grow: 1;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #bbb;
  font-family: 'Courier New', Courier, monospace;
}

.author-bio h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: #4a7aff;
  font-family: 'Special Elite', Courier, monospace;
}

/* Latest Work Section */
.work-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: center;
  max-width: 1000px;
  margin: 3rem auto;
  padding: 3rem 2rem;
  background-color: #121223;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(75, 75, 130, 0.25);
  color: #ccc;
  font-family: 'Special Elite', Courier, monospace;
}

.work-feature img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  border: 2px solid #4a7aff;
}

.work-details h3 {
  font-weight: 400;
  font-size: 1.8rem;
  margin-bottom: 0.7rem;
  color: #7b69d9;
  font-family: 'Special Elite', Courier, monospace;
}

.work-details p {
  color: #ccc;
  line-height: 1.5;
  margin-bottom: 1rem;
  font-family: 'Courier New', Courier, monospace;
}

.cta-btn {
  background-color: #4a7aff;
  color: #121223;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'Special Elite', Courier, monospace;
  text-decoration: none;
  display: inline-block;
}

.cta-btn:hover {
  background-color: #7b69d9;
  color: #eee;
}

/* Thoughts Section */
.thoughts-section {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 3rem 2rem;
  background-color: #1b1b32; /* slightly lighter */
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(74, 122, 255, 0.2);
  color: #ccc;
  font-family: 'Special Elite', Courier, monospace;
}

.thoughts-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.thoughts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.thoughts-list a {
  color: #7b69d9;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.25s ease;
}

.thoughts-list a:hover {
  color: #4a7aff;
}

/* Contact Section */
.contact-section {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 3rem 2rem;
  background-color: #121223;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(75, 75, 130, 0.25);
  text-align: center;
  font-family: 'Special Elite', Courier, monospace;
  color: #ccc;
}

.contact-section p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.contact-section a.cta-btn {
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-family: 'Special Elite', Courier, monospace;
}

Footer
.footer {
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
  background-color: #000;
  color: #555;
  font-family: 'Special Elite', Courier, monospace;
  margin-top: 3rem;
  user-select: none;
}


/* ==== Footer ==== */
footer {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #0a0a14;
  color: #aaa;
  border-top: 0px solid #333;
}

.social-icons {
  margin-top: 0rem;
}

.social-icons a {
  color: #555
  margin 0 12px;
  font-size: 1.5rem;
  transition: color 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  color: #ffffff;
}


/* Responsive */

@media (max-width: 1024px) {
  .work-section {
    grid-template-columns: 1fr;
  }

  .work-feature img {
    margin-bottom: 1.5rem;
  }

  .author-section {
    flex-direction: column;
    text-align: center;
  }

  .author-photo {
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .nav-items {
    gap: 1rem;
  }

  .hero-section {
    padding: 2rem 1rem;
  }

  .hero-photo {
    width: 180px;
    height: auto;
    margin-bottom: 1.5rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .author-section {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
  }

  .author-photo {
    width: 160px;
    height: 160px;
    margin-bottom: 1rem;
  }

  .author-bio h2 {
    font-size: 1.5rem;
  }

  .author-bio {
    font-size: 1rem;
  }

  .work-section {
    padding: 2rem 1rem;
  }

  .work-details h3 {
    font-size: 1.4rem;
  }

  .work-details p {
    font-size: 0.95rem;
  }

  .cta-btn {
    width: 100%;
    padding: 0.85rem;
    font-size: 1rem;
  }

  .thoughts-section {
    padding: 2rem 1rem;
  }

  .thoughts-list a {
    font-size: 1rem;
  }

  .view-all-btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem;
  }

  .contact-section {
    padding: 2rem 1rem;
  }

  .contact-section p {
    font-size: 1rem;
  }

  .contact-section a.cta-btn {
    width: 100%;
    padding: 0.85rem;
    font-size: 1rem;
  }

  .footer {
    font-size: 0.85rem;
    padding: 1.5rem 1rem;
  }
}
/* Hide hamburger on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  width: 30px;
  height: 25px;
  z-index: 1100;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  background-color: #ccc;
  height: 3px;
  border-radius: 2px;
  position: absolute;
  width: 100%;
  transition: all 0.3s ease;
}

.hamburger {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger::before {
  content: '';
  top: -8px;
}

.hamburger::after {
  content: '';
  top: 8px;
}

/* Responsive nav behavior */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 60px; /* height of top-bar */
    right: 0;
    background-color: #000;
    width: 200px;
    border-left: 3px solid #5a4ea8;
    border-bottom-left-radius: 8px;
    border-top-left-radius: 8px;
    box-shadow: 0 2px 12px rgba(90, 78, 168, 0.7);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  nav.open {
    transform: translateX(0);
  }

  .nav-items {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.5rem;
  }

  .nav-items li {
    margin: 0;
  }

  .nav-items a {
    color: #ccc;
    font-size: 1.2rem;
    display: block;
    padding: 0.5rem 0;
  }
}
.nav-toggle.open .hamburger {
  background-color: transparent;
}

.nav-toggle.open .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.open .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}
.contact-page {
  max-width: 800px;
  margin: 4rem auto;
  padding: 3rem 2rem;
  background-color: #121223;
  border-radius: 8px;
  box-shadow: 0 0 14px rgba(74, 122, 255, 0.2);
  font-family: 'Special Elite', Courier, monospace;
  color: #ccc;
}

.contact-container h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #4a7aff;
}

.contact-container p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #aaa;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-size: 1rem;
  color: #bbb;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #333;
  background-color: #1b1b32;
  color: #eee;
  border-radius: 4px;
  font-size: 1rem;
  font-family: 'Special Elite', Courier, monospace;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #7b69d9;
  background-color: #1f1f3a;
}

.contact-form button.cta-btn {
  align-self: flex-start;
  background-color: #4a7aff;
  color: #121223;
  font-weight: 600;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button.cta-btn:hover {
  background-color: #7b69d9;
  color: #eee;
}
.books-page {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 3rem 2rem;
  background-color: #121223;
  border-radius: 8px;
  box-shadow: 0 0 14px rgba(90, 78, 168, 0.25);
  color: #ccc;
  font-family: 'Special Elite', Courier, monospace;
}

.books-container h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #4a7aff;
}

.books-container p {
  font-size: 1.1rem;
  color: #aaa;
  margin-bottom: 2rem;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  gap: 2rem;
}

.book-card {
  background-color: #1b1b32;
  border: 1px solid #2e2e4d;
  border-radius: 6px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.book-card:hover {
  transform: translateY(-5px);
  border-color: #4a7aff;
}

.book-card img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  border: 2px solid #4a7aff;
  margin-bottom: 1rem;
}

.book-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #7b69d9;
}

.book-card p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 1rem;
}
.blog-page {
  max-width: 900px;
  margin: 4rem auto;
  padding: 3rem 2rem;
  background-color: #121223;
  border-radius: 8px;
  box-shadow: 0 0 14px rgba(74, 122, 255, 0.2);
  font-family: 'Special Elite', Courier, monospace;
  color: #ccc;
}

.blog-container h1 {
  font-size: 2.5rem;
  color: #4a7aff;
  margin-bottom: 0.5rem;
}

.blog-container p {
  font-size: 1.1rem;
  color: #aaa;
  margin-bottom: 2rem;
}

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.blog-post {
  background-color: #1b1b32;
  border: 1px solid #2d2d4f;
  border-radius: 6px;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-5px);
  border-color: #7b69d9;
}

.blog-post h2 a {
  font-size: 1.5rem;
  color: #7b69d9;
  text-decoration: none;
}

.blog-post .meta {
  font-size: 0.85rem;
  color: #777;
  margin: 0.5rem 0;
}

.blog-post p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.5;
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  color: #4a7aff;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
}

.read-more:hover {
  color: #7b69d9;
}
@media (max-width: 1024px) {
  .book-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
  }
}

@media (max-width: 640px) {
  .book-grid {
    grid-template-columns: 1fr; /* 1 per row on mobile */
  }
}

.social-icons {
  margin-top: 1rem;
}

.social-icons a {
  color: #555;
  margin: 0 0.5rem;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #4a7aff; /* blue hover */
}

.social-icons a:hover {
  color: #7b69d9;
  text-shadow: 0 0 8px rgba(123, 105, 217, 0.5);
}
