/* ==========================================================================
   Ra's Pyramid - Static Site Styles
   Dark Color Scheme based on WordPress TwentySeventeen
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Dark Color Scheme */
  --color-background: #222;
  --color-background-light: #262626;
  --color-background-lighter: #333;
  --color-text: #eee;
  --color-text-secondary: #ddd;
  --color-text-muted: #ccc;
  --color-text-subtle: #bbb;
  --color-border: #333;
  --color-border-light: #444;
  --color-link: #ddd;
  --color-link-hover: #fff;
  --font-body: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
  --content-width: 740px;
  --wide-width: 1000px;
}

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

html {
  font-size: 16px;
  line-height: 1.4;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--color-link-hover);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 1em;
  color: var(--color-text);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; color: var(--color-text-muted); }
h3 { font-size: 1.25rem; }

p {
  margin: 0 0 1.5em;
}

ul, ol {
  margin: 0 0 1.5em;
  padding-left: 1.5em;
}

em {
  color: var(--color-text-secondary);
}

/* --------------------------------------------------------------------------
   Site Header
   -------------------------------------------------------------------------- */
.custom-header {
  position: relative;
  width: 100%;
  background-color: var(--color-background-light);
}

/* Front page hero header */
.front-page .custom-header {
  display: table;
  height: 75vh;
  width: 100%;
}

.front-page .custom-header .parallax-section {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
}

/* Gradient overlay on header */
.front-page .custom-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
  z-index: 1;
}

.custom-header-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Site Branding */
.site-branding {
  position: relative;
  z-index: 2;
  display: table-cell;
  height: 100%;
  vertical-align: bottom;
  padding: 2rem;
  text-align: center;
}

.site-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.site-title a {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.site-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.navigation-top {
  background: var(--color-background);
  border-bottom: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  display: block;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-link);
  transition: color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-text-subtle);
}

/* Mobile navigation */
@media (max-width: 600px) {
  .nav-menu {
    flex-direction: column;
    align-items: center;
  }

  .nav-menu a {
    padding: 0.75rem 1rem;
  }
}

/* --------------------------------------------------------------------------
   Parallax Sections (Full-width image dividers)
   -------------------------------------------------------------------------- */
.parallax-section {
  position: relative;
  height: 400px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Fallback for iOS (doesn't support fixed attachment) */
@supports (-webkit-touch-callout: none) {
  .parallax-section {
    background-attachment: scroll;
  }
}

.parallax-header {
  background-image: url('../images/header.jpg');
}

.parallax-sun-logo {
  background-image: url('../images/sun-logo-section.jpg');
  height: 350px;
}

.parallax-contact {
  background-image: url('../images/parallax-contact.jpg');
  height: 300px;
}

.parallax-larry {
  background-image: url('../images/larry.jpg');
  height: 400px;
}

.parallax-marta {
  background-image: url('../images/marta.jpg');
  background-position: center top;
  height: 400px;
}

.parallax-ascension {
  background-image: url('../images/ascension-album.jpg');
  height: 350px;
}

/* --------------------------------------------------------------------------
   Main Content
   -------------------------------------------------------------------------- */
.site-content {
  background: var(--color-background);
}

.content-wrap {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 3rem 2rem;
}

.content-wrap.wide {
  max-width: var(--wide-width);
}

.page-header {
  margin-bottom: 2rem;
}

.page-title {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.page-subtitle {
  text-align: center;
  color: var(--color-text-subtle);
  font-style: italic;
  margin-bottom: 2rem;
}

.entry-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
}

.entry-content p {
  margin-bottom: 1.5em;
}

/* --------------------------------------------------------------------------
   Homepage Sections
   -------------------------------------------------------------------------- */
.intro-section {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--color-background);
}

.intro-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

.intro-section p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
}

/* Artist Bio Cards */
.bio-section {
  padding: 3rem 2rem;
  background: var(--color-background);
}

.bio-section .content-wrap {
  padding: 0;
}

.bio-card {
  margin-bottom: 2rem;
}

.bio-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.bio-card h3 a {
  color: var(--color-text-secondary);
}

.bio-card h3 a:hover {
  color: var(--color-link-hover);
}

.bio-card p {
  color: var(--color-text);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Album/Ascension Section
   -------------------------------------------------------------------------- */
.album-section {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--color-background);
}

.album-section h1,
.album-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.album-section .subtitle {
  color: var(--color-text-subtle);
  font-style: italic;
  margin-bottom: 2rem;
}

.album-section p {
  color: var(--color-text);
}

.button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #fff;
  color: #222;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.button:hover {
  background: var(--color-text-subtle);
  color: #222;
  transform: translateY(-2px);
}

/* Streaming Links */
.streaming-links {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.streaming-links h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--color-text-secondary);
}

.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.link-list a {
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border-light);
  font-size: 0.875rem;
  color: var(--color-link);
  transition: all 0.2s;
}

.link-list a:hover {
  background: var(--color-text-subtle);
  color: var(--color-background);
  border-color: var(--color-text-subtle);
}

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 3rem 2rem;
  background: var(--color-background);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-block h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-text-secondary);
}

.contact-block p {
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.contact-block a {
  color: var(--color-link);
}

/* Social Links */
.social-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.social-section h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-background);
  color: var(--color-text);
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid var(--color-border);
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-nav a {
  color: var(--color-text-subtle);
  font-size: 0.875rem;
}

.footer-nav a:hover {
  color: var(--color-link-hover);
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--color-text-subtle);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .site-title {
    font-size: 1.75rem;
  }

  .parallax-section {
    height: 250px;
    background-attachment: scroll;
  }

  .parallax-sun-logo,
  .parallax-contact,
  .parallax-ascension {
    height: 200px;
  }

  .content-wrap {
    padding: 2rem 1.5rem;
  }

  .intro-section {
    padding: 3rem 1.5rem;
  }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.375rem; }
}

@media (max-width: 480px) {
  .site-title {
    font-size: 1.4rem;
  }

  .parallax-section {
    height: 180px;
  }

  .nav-menu a {
    padding: 0.6rem 0.8rem;
    font-size: 0.75rem;
  }
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
