/* ==========================================================================
   Jordan Taylor Books - Clean Static Stylesheet
   Zero PHP / Zero Database / Pure Static Performance & Security
   ========================================================================== */

/* Local Fonts */
@font-face {
  font-family: 'Questrial';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/questrial/questrial-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('fonts/newsreader/newsreader-200-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/newsreader/newsreader-300-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/newsreader/newsreader-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/newsreader/newsreader-300-italic.woff2') format('woff2');
}

:root {
  --color-white: #ffffff;
  --color-dark: #3a3836;
  --color-section-bg: #f5f4f2;
  --color-muted: #75685b;
  --color-border: rgba(58, 56, 54, 0.15);
  
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Questrial', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --container-max: 1100px;
  --text-container-max: 720px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-white);
  color: var(--color-dark);
  font-family: var(--font-sans);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Header */
.site-header {
  width: 100%;
  padding: 24px 20px;
  background-color: var(--color-white);
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: 31px;
  object-fit: contain;
}

.brand-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark);
}

/* Main Content */
main {
  width: 100%;
}

/* Author Hero Image */
.hero-portrait-section {
  padding: 30px 20px 20px;
  display: flex;
  justify-content: center;
}

.author-portrait {
  width: 320px;
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

/* About Section */
.about-section {
  max-width: var(--text-container-max);
  margin: 0 auto;
  padding: 40px 20px 50px;
  text-align: center;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 44px);
  font-weight: 200;
  letter-spacing: -0.01em;
  color: var(--color-dark);
  margin-bottom: 24px;
}

.section-title.text-left {
  text-align: left;
}

.about-text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-dark);
  margin-bottom: 30px;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin-bottom: 44px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  opacity: 0.75;
}

.social-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Books Graphic Link */
.books-feature {
  margin: 20px 0 10px;
  display: flex;
  justify-content: center;
}

.books-feature a {
  display: inline-block;
  transition: transform 0.2s ease;
}

.books-feature a:hover {
  transform: scale(1.02);
}

.books-img {
  width: 300px;
  height: auto;
}

/* Meet the Foxes Section */
.foxes-section {
  background-color: var(--color-section-bg);
  padding: 80px 20px;
  margin-top: 40px;
}

.foxes-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.foxes-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.foxes-text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-dark);
  margin-bottom: 32px;
}

.fox-photo-wrap {
  display: flex;
  justify-content: center;
}

.fox-photo {
  width: 260px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Outline Buttons */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-outline-dark {
  border: 1px solid var(--color-dark);
  color: var(--color-dark);
  background-color: transparent;
}

.btn-outline-dark:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.btn-outline-white {
  border: 1px solid var(--color-white);
  color: var(--color-white);
  background-color: transparent;
}

.btn-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
}

/* Contact Cover Banner */
.contact-cover {
  position: relative;
  min-height: 380px;
  background-image: url('images/Jordan-reading-red.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
}

.cover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
}

.cover-content {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
}

.cover-title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 5vw, 50px);
  font-weight: 200;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  color: var(--color-white);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 60px 20px 30px;
  background-color: var(--color-white);
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-center {
  text-align: center;
  margin-bottom: 50px;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 300;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  color: var(--color-muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(58, 56, 54, 0.08);
  padding-top: 24px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-brand {
  font-family: var(--font-sans);
  color: var(--color-dark);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .foxes-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .foxes-content {
    align-items: center;
  }
  
  .section-title.text-left {
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  /* Disable parallax on mobile touch screens for better performance */
  .contact-cover {
    background-attachment: scroll;
  }
}
