/*
Theme Name: T.C. Kooring Author Theme
Theme URI: https://tckooring.com
Author: T.C. Kooring
Author URI: https://tckooring.com
Description: Custom author website theme for T.C. Kooring.
Version: 1.0
Text Domain: tckooring-theme
*/

/* FULL PAGE BACKGROUND */
body {
  background: url("background.png") no-repeat center top fixed;
  background-size: cover;
  margin: 0;
  font-family: system-ui, sans-serif;
  color: var(--text);
}

/* GLOBAL COLORS */
:root {
  --bg: #1a0f1f;
  --bg-alt: #240b2e;
  --text: #f8f4ff;
  --muted: #d2c6e6;
  --accent: #d4a84f;
  --accent-soft: rgba(212, 168, 79, 0.18);
  --card: #2b1535;
}

/* PAGE WRAPPER */
.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* TOP LOGO */
.top-logo {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.top-logo img {
  width: 220px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 14px rgba(212, 168, 79, 0.45));
}

/* HERO */
.hero {
  text-align: center;
  padding: 40px 20px 20px;
}

.hero-heading-main {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
}

.hero-heading-sub {
  font-size: 1.4rem;
  color: var(--muted);
}

.hero-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  margin: 28px auto 0;
}

/* NAVIGATION */
.main-nav {
  text-align: center;
  margin: 30px 0 40px;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 28px;
  flex-wrap: wrap;
}

.main-nav a {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(212, 168, 79, 0.45);
  background: rgba(212, 168, 79, 0.10);
  transition: all 0.25s ease;
}

.main-nav a:hover {
  background: rgba(212, 168, 79, 0.22);
  box-shadow: 0 0 12px rgba(212, 168, 79, 0.35);
}

/* AUTHOR SECTION */
.author-section {
  display: flex;
  gap: 40px;
  padding: 60px 20px;
  background: linear-gradient(to right, var(--bg-alt), var(--bg));
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  margin-bottom: 60px;
}

.author-photo {
  flex: 0 0 280px;
}

.author-photo-inner {
  padding: 10px;
  border-radius: 16px;
  background: radial-gradient(circle at top, var(--accent-soft), #1a0f1f);
}

.author-photo img {
  width: 100%;
  border-radius: 12px;
}

.author-name {
  margin-top: 14px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
}

.author-title {
  text-align: center;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* AUTHOR TEXT */
.author-text {
  flex: 1;
}

.author-text h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}

.author-text p {
  margin-bottom: 16px;
  color: var(--muted);
}

/* BOOK SECTION */
.book-section {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
  padding: 40px 20px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
  margin-bottom: 50px;
}

.book-cover-wrap {
  padding: 14px;
  border-radius: 14px;
  background: radial-gradient(circle at top, var(--accent-soft), #1a0f1f);
}

.book-cover {
  width: 100%;
  border-radius: 10px;
}

.book-meta {
  margin-top: 10px;
  text-align: center;
  color: var(--muted);
}

.book-text h2 {
  font-size: 1.8rem;
}

.book-tagline {
  font-style: italic;
  color: var(--accent);
  margin-bottom: 18px;
}

.book-text p {
  color: var(--muted);
  margin-bottom: 18px;
}

.buy-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.buy-links a {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(212, 168, 79, 0.6);
  background: rgba(212, 168, 79, 0.08);
  color: var(--accent);
}

/* UPDATES SECTION */
.updates-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 60px 0;
}

.update-card {
  background: var(--card);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(212, 168, 79, 0.25);
}

.update-title {
  font-size: 1.4rem;
  color: var(--accent);
  text-transform: uppercase;
}

.update-snippet {
  color: var(--muted);
  margin-bottom: 20px;
}

.update-button {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(212, 168, 79, 0.12);
  border: 1px solid rgba(212, 168, 79, 0.55);
  color: var(--accent);
}

/* CONTACT SECTION */
.contact-section {
  padding: 30px 20px;
  border-radius: 16px;
  background: #1f0d26;
}

.contact-label {
  font-weight: 600;
  color: var(--accent);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .author-section {
    flex-direction: column;
    text-align: center;
  }
  .book-section {
    grid-template-columns: 1fr;
  }
  .updates-section {
    grid-template-columns: 1fr;
  }
}
