/*
Theme Name: Elaine Paul Thrillers
Theme URI: 
Author: EPT
Author URI: 
Description: A book-forward suspense brand theme for domestic and psychological thrillers.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.0
License: 
License URI: 
Text Domain: thriller-pen-name
*/

/* Core Custom Properties based on Style Guide */
:root {
  /* Core palette */
  --bg-color: #020617; /* deep slate-black */
  --section-bg: #0f172a; /* charcoal / dark slate */
  --text-primary: #f8fafc; /* soft white */
  --text-secondary: #94a3b8; /* cool gray */
  --border-color: rgba(255, 255, 255, 0.12); /* translucent gray-white */
  
  /* Accent */
  --accent-color: #450a0a; /* very dark red / oxblood */
  --accent-hover: #3b0a10; 

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Spacing & Layout */
  --container-max: 1280px;
  --section-padding: 5rem 1.5rem;
}

/* Base Reset & Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Atmosphere 
   Using radial gradients to create moody lighting as requested */
.atmospheric-bg {
  position: relative;
  background: 
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.06), transparent 24%),
    radial-gradient(circle at 82% 22%, rgba(127,29,29,.18), transparent 30%),
    linear-gradient(180deg, rgba(8,15,28,.98) 0%, rgba(2,6,23,.94) 100%);
}

/* Typography Classes */
h1, h2, h3, h4, h5, h6 {
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.04em;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 1.125rem;
}

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--text-primary);
}

/* Layout Utilities */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: var(--section-padding);
}

.section-divider {
  border-top: 1px solid var(--border-color);
}

/* UI Components */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: none; /* Keep buttons readable */
  border-radius: 6px; /* squared or lightly rounded corners */
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #fff;
  border: 1px solid rgba(69, 10, 10, 0.9);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* Cards / Panels */
.panel {
  background: var(--section-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.panel-subtle {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1.5rem;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Responsive Utilities */
.hidden {
  display: none !important;
}

@media (min-width: 768px) {
  .md-flex {
    display: flex !important;
  }
}
/* Primary Navigation */
#site-navigation .primary-menu {
    display: flex;
    gap: 2rem;
    list-style: none !important;
    margin: 0;
    padding: 0 !important;
    font-size: 0.875rem;
}

#site-navigation .primary-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

#site-navigation .primary-menu a:hover {
    color: var(--text-primary);
}

/* Hide sub-menus (dropdowns) for now */
#site-navigation .primary-menu .sub-menu {
    display: none;
}
