/*
Theme Name: Yoon Sun Choi
Theme URI: https://yoonsunchoi.com
Author: Yoon Sun Choi
Description: A clean, elegant theme for jazz singer and pianist
  Yoon Sun Choi. White background, gold lettering, light blue
  accents.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yoonsunchoi
*/

/* ── Reset & Base ─────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #ffffff;
  --color-text: #2c2c2c;
  --color-gold: #c5a55a;
  --color-blue: #6aadcf;
  --color-light-gray: #f5f5f5;
  --color-mid-gray: #999999;
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Inter", Helvetica, Arial, sans-serif;
  --max-width: 1100px;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
}

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

a:hover {
  color: var(--color-blue);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-gold);
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1em;
}

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

/* ── Layout ───────────────────────────────────────────────── */

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-content {
  flex: 1;
}

/* ── Header ───────────────────────────────────────────────── */

.site-header {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--color-light-gray);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-branding a {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Navigation ───────────────────────────────────────────── */

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  padding: 0;
  margin: 0;
}

.main-navigation a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Hero ─────────────────────────────────────────────────── */

.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  text-align: center;
  color: #ffffff;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 0.3em;
}

.hero-content p {
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* ── Sections ─────────────────────────────────────────────── */

.section {
  padding: 4rem 0;
}

.section--alt {
  background: var(--color-light-gray);
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background: var(--color-gold);
  margin: 0.8rem auto 0;
}

/* ── About ────────────────────────────────────────────────── */

.about-text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
}

/* ── Shows ────────────────────────────────────────────────── */

.shows-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
}

.show-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e8e8e8;
}

.show-thumb {
  flex-shrink: 0;
}

.show-thumb img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.show-date {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-gold);
  white-space: nowrap;
  min-width: 100px;
}

.show-info {
  flex: 1;
}

.show-venue {
  font-weight: 600;
}

.show-location {
  color: var(--color-mid-gray);
  font-size: 0.9rem;
}

.show-ticket {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 1rem;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.show-ticket:hover {
  background: var(--color-gold);
  color: #ffffff;
}

.shows-section-group {
  margin-bottom: 2.5rem;
}

.shows-section-group h3 {
  text-align: center;
  margin-bottom: 1rem;
}

.show-item--past {
  opacity: 0.6;
}

/* ── Blog / Posts ─────────────────────────────────────────── */

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.post-card {
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.post-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.post-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-card-body {
  padding: 1.2rem;
}

.post-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4em;
}

.post-card-body h3 a {
  color: var(--color-text);
}

.post-card-body h3 a:hover {
  color: var(--color-gold);
}

.post-card-date {
  font-size: 0.8rem;
  color: var(--color-mid-gray);
  margin-bottom: 0.5em;
}

.post-card-excerpt {
  font-size: 0.9rem;
  color: #555;
}

/* ── Music ────────────────────────────────────────────────── */

.music-embeds {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.music-embeds iframe {
  margin-bottom: 2rem;
}

.music-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.music-link {
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--color-gold);
  border-radius: 3px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s;
}

.music-link:hover {
  background: var(--color-gold);
  color: #ffffff;
}

/* ── Single Post ──────────────────────────────────────────── */

.single-post-header {
  text-align: center;
  padding: 3rem 0 1.5rem;
}

.single-post-header h1 {
  font-size: 2.4rem;
}

.single-post-meta {
  color: var(--color-mid-gray);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.single-post-content {
  max-width: 700px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.single-post-content p {
  font-size: 1.05rem;
}

.single-post-content img {
  margin: 1.5rem auto;
  border-radius: 4px;
}

.single-post-content blockquote {
  border-left: 3px solid var(--color-gold);
  padding-left: 1.2rem;
  margin: 1.5rem 0;
  color: #555;
  font-style: italic;
}

/* ── Archive ──────────────────────────────────────────────── */

.archive-header {
  text-align: center;
  padding: 3rem 0 2rem;
}

/* ── Page ─────────────────────────────────────────────────── */

.page-header {
  text-align: center;
  padding: 3rem 0 1.5rem;
}

.page-content {
  max-width: 700px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

/* ── Footer ───────────────────────────────────────────────── */

.site-footer {
  background: var(--color-text);
  color: #cccccc;
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-social a {
  color: #cccccc;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--color-gold);
}

.footer-copy {
  opacity: 0.6;
}

/* ── Buttons ──────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 0.7rem 2rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.btn--gold {
  background: var(--color-gold);
  color: #ffffff;
  border: 1px solid var(--color-gold);
}

.btn--gold:hover {
  background: #b3933e;
  border-color: #b3933e;
  color: #ffffff;
}

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

.btn--outline:hover {
  background: var(--color-gold);
  color: #ffffff;
}

/* ── View All link ────────────────────────────────────────── */

.view-all {
  text-align: center;
  margin-top: 2rem;
}

/* ── WordPress Defaults ───────────────────────────────────── */

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin: 1.5rem auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.85rem;
  color: var(--color-mid-gray);
  text-align: center;
  margin-top: 0.4rem;
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-navigation ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-light-gray);
    gap: 0;
  }

  .main-navigation ul li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--color-light-gray);
  }

  .main-navigation ul li:last-child {
    border-bottom: none;
  }

  .main-navigation.toggled ul {
    display: flex;
  }

  .site-header .container {
    position: relative;
  }

  .hero {
    height: 60vh;
    min-height: 350px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .show-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 2.5rem 0;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.7rem;
  }

  .site-branding a {
    font-size: 1.1rem;
  }
}
