/* Theme Name:  Sunday Thugwangel
   Theme URI:  https://example.com
   Author:     Thugwangel
   Author URI: https://example.com
   Description: Minimal custom theme for Thugwangel — burgundy background, white text, gold hover accents, black outlines.
   Version:    1.1
   License:    GNU General Public License v2 or later
   Text Domain: thugwangel
*/

/* -------------------- VARIABLES -------------------- */
:root {
  --color-primary: #5A0D1F; /* Deep Burgundy */
  --color-black: #0A0A0A;   /* Matte Black */
  --color-white: #FAF8F2;   /* Ivory White */
  --color-gold: #D7B77E;    /* Brushed Matte Gold */
  --font-heading: "Playfair Display", serif;
  --font-ui: "Inter", "Helvetica Neue", Arial, sans-serif;
  --transition-fast: 0.18s ease;
}

/* -------------------- RESET -------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body, #page { height: 100%; }
body {
  font-family: var(--font-ui);
  background: var(--color-primary);
  color: var(--color-white);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
#page { flex: 1; display: flex; flex-direction: column; }
.site-main { flex: 1; }

/* -------------------- CONTAINER -------------------- */
.container, .homepage-wrapper, .epk-wrapper, .subscriptions-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
}

/* -------------------- HEADINGS -------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-white);
  letter-spacing: 0.4px;
  text-rendering: optimizeLegibility;
  margin-bottom: 15px;
}

h1 { font-size: 3rem; text-align: center; }
h2 { font-size: 2rem; text-align: center; }
h3 { font-weight: normal; text-align: center; }

/* -------------------- NAVIGATION -------------------- */
.site-header {
  border-bottom: 3px solid var(--color-black);
  padding: 20px 0;
  background: transparent;
}
.site-branding h1 { font-size: 28px; }
.site-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  list-style: none;
}
.site-nav a {
  color: var(--color-white);
  text-decoration: none;
  padding: 8px 12px;
  border: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
  outline: 2px solid var(--color-black);
}
.site-nav a:hover {
  color: var(--color-gold);
  border-color: var(--color-black);
}

/* -------------------- HERO -------------------- */
.hero {
  padding: 120px 0;
  text-align: center;
}
.hero h1 { font-size: 64px; margin-bottom: 8px; letter-spacing: 3px; }
.hero p { font-size: 20px; margin-bottom: 20px; color: rgba(250,248,242,0.95); max-width: 900px; margin-left:auto;margin-right:auto; }

/* -------------------- BUTTONS -------------------- */
.button, .section a, .plan-button, .tier button {
  display: inline-block;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.button { border: 2px solid var(--color-black); background: transparent; color: var(--color-white); text-transform: uppercase; letter-spacing:1px; }
.button:hover { color: var(--color-gold); }

/* Section links & buttons */
.section a { background: var(--color-gold); color: var(--color-white); }
.section a:hover { background: var(--color-white); color: var(--color-black); }
.plan-button { background: var(--color-gold); color: var(--color-black); text-decoration: none; }
.plan-button:hover { background: transparent; color: var(--color-gold); border: 1px solid var(--color-gold); }
.tier button { background: var(--color-white); color: var(--color-gold); border: none; }
.tier button:hover { background: var(--color-gold); color: var(--color-black); }

/* -------------------- SECTIONS -------------------- */
.section, .tier, .plan-box, .card {
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--color-black);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 40px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.section:hover, .tier:hover, .plan-box:hover, .card:hover { transform: scale(1.02); box-shadow: 0 8px 25px rgba(0,0,0,0.4); }

/* -------------------- 3-COLUMN LAYOUT -------------------- */
.three-column, .bio-photos, .tracks, .plan-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.column, .bio-left, .photos-right, .track, .plan-box, .tier {
  flex: 1 1 280px;
  min-width: 280px;
}

/* BIO + PHOTOS */
.photos-right img { width: 100%; border-radius: 12px; border: 1px solid var(--color-black); }

/* TRACK EMBEDS */
.track iframe, .section iframe, .plan-box iframe {
  width: 100%;
  max-width: 100%;
  height: 300px;
  border-radius: 12px;
  border: 1px solid var(--color-black);
  margin-top: 15px;
}

/* -------------------- TABLES -------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
table th, table td {
  padding: 10px;
  border: 1px solid rgba(10,10,10,0.6);
  text-align: left;
}

/* -------------------- FOOTER -------------------- */
.site-footer {
  margin-top: auto; /* ensures sticky footer */
  position: relative;
  width: 100%;
  padding: 32px 0;
  border-top: 3px solid var(--color-black);
  text-align: center;
  font-size: 14px;
  background: var(--color-primary);
  color: var(--color-white);
}

/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 768px) {
  .hero h1 { font-size: 38px; }
  .container, .homepage-wrapper, .epk-wrapper, .subscriptions-wrapper { padding: 28px; }
  .site-nav { gap: 10px; flex-wrap: wrap; }
  .three-column, .bio-photos, .tracks, .plan-container { flex-direction: column; }
}
