/*
Theme Name: YH Tune Studio
Theme URI: https://yhtunestudio.com
Author: YH Tune Studio
Author URI: https://yhtunestudio.com
Description: A premium dark music education marketplace theme for YH Tune Studio.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yh-tune-studio
Tags: education, music, courses, dark, one-column, custom-logo, featured-images
*/

:root { --bg: #191714; --surface: #24201c; --surface-strong: #12110f; --ink: #f4eee2; --muted: #afa79b; --line: rgba(244, 238, 226, .13); --gold: #d7a946; --gold-dark: #b78729; --radius: 7px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "DM Sans", Arial, sans-serif; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; height: auto; }
.site-shell { min-height: 100vh; overflow: hidden; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(18, 17, 15, .6); backdrop-filter: blur(14px); }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.header-inner { display: flex; min-height: 80px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: "Space Grotesk", Arial, sans-serif; font-weight: 700; letter-spacing: -.02em; }
.brand img { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; }
.brand span span { color: var(--gold); }
.primary-nav { display: flex; align-items: center; gap: 32px; color: var(--muted); font-size: 14px; font-weight: 600; }
.primary-nav a:hover, .footer-links a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: var(--radius); padding: 0 20px; cursor: pointer; font-size: 14px; font-weight: 700; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: #211a0d; }
.button-gold:hover { background: #e2b657; }
.button-outline { border-color: rgba(244, 238, 226, .24); background: rgba(18, 17, 15, .38); color: var(--ink); }
.button-outline:hover { border-color: var(--gold); background: var(--surface); }
.button-ghost { background: transparent; color: var(--muted); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); font-size: 25px; cursor: pointer; }
.mobile-nav { display: none; }
.hero { position: relative; display: flex; min-height: 780px; align-items: flex-end; overflow: hidden; padding: 140px 0 112px; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 9, 8, .92), rgba(10, 9, 8, .66) 48%, rgba(10, 9, 8, .15)); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 80%, rgba(215, 169, 70, .08), transparent 30%); pointer-events: none; }
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold); }
h1, h2, h3 { margin: 0; font-family: "Space Grotesk", Arial, sans-serif; letter-spacing: -.045em; }
h1 { margin-top: 22px; font-size: clamp(48px, 7vw, 88px); line-height: .99; }
.gold { color: var(--gold); }
.hero-copy { max-width: 570px; margin: 28px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 46px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.hero-proof strong { color: var(--ink); }
.search-wrap { position: relative; z-index: 2; margin-top: -48px; }
.search-box { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 20px 48px rgba(0,0,0,.25); }
.search-box svg { width: 21px; margin-left: 12px; color: var(--gold); }
.search-box input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search-box input::placeholder { color: #817a71; }
.section { padding: 118px 0; }
.section-dark { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(18,17,15,.58); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading h2 { margin-top: 12px; font-size: clamp(32px, 5vw, 48px); line-height: 1.08; }
.section-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-size: 14px; font-weight: 700; }
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 42px; }
.category-tile { display: flex; min-height: 128px; flex-direction: column; justify-content: space-between; padding: 17px; border: 1px solid var(--line); background: var(--surface); transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.category-tile:hover { transform: translateY(-3px); border-color: var(--gold); background: #302a21; }
.category-icon { color: var(--gold); font-family: Georgia, serif; font-size: 34px; }
.category-title { display: flex; align-items: center; justify-content: space-between; font-family: "Space Grotesk", Arial, sans-serif; font-size: 14px; font-weight: 700; }
.course-toolbar { display: flex; align-items: center; gap: 8px; overflow-x: auto; }
.filter { white-space: nowrap; border: 1px solid var(--line); background: transparent; color: var(--muted); padding: 9px 12px; cursor: pointer; font-size: 12px; font-weight: 700; }
.filter.active, .filter:hover { border-color: var(--gold); background: var(--gold); color: #211a0d; }
.course-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 42px; }
.course-card { overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.course-card:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 18px 45px rgba(0,0,0,.24); }
.course-art { position: relative; display: flex; min-height: 190px; align-items: end; justify-content: space-between; padding: 16px; overflow: hidden; }
.course-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 50%); }
.course-art-sunset { background: linear-gradient(135deg, #5f2c32, #d68e43); }
.course-art-ivory { background: linear-gradient(135deg, #6b746e, #dfbd82); }
.course-art-violet { background: linear-gradient(135deg, #352b55, #b85f70); }
.course-art-blue { background: linear-gradient(135deg, #193b55, #4e9ca6); }
.course-glyph { position: relative; color: rgba(255,255,255,.78); font-family: Georgia, serif; font-size: 90px; line-height: .7; }
.course-category { position: absolute; top: 16px; right: 16px; padding: 5px 8px; background: rgba(18,17,15,.62); color: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.wishlist { position: relative; z-index: 1; display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(255,255,255,.25); background: rgba(18,17,15,.65); color: var(--ink); cursor: pointer; }
.wishlist.active { color: var(--gold); }
.course-body { padding: 20px; }
.course-body h3 { font-size: 19px; line-height: 1.16; }
.course-instructor, .course-meta, .course-price-old { color: var(--muted); font-size: 12px; }
.course-instructor { margin-top: 8px; }
.rating { display: flex; align-items: center; gap: 5px; margin-top: 15px; font-size: 12px; }
.stars { color: var(--gold); letter-spacing: .08em; }
.course-meta { display: flex; gap: 12px; margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--line); }
.course-footer { display: flex; align-items: end; justify-content: space-between; gap: 8px; margin-top: 17px; }
.course-price { font-family: "Space Grotesk", Arial, sans-serif; font-size: 20px; font-weight: 700; }
.course-level { color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.center-action { margin-top: 40px; text-align: center; }
.instructor-band { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 70px; }
.instructor-band h2 { max-width: 520px; margin-top: 12px; font-size: clamp(40px, 5vw, 62px); line-height: 1.02; }
.instructor-band p { max-width: 430px; margin: 24px 0 0; color: var(--muted); line-height: 1.7; }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.step { min-height: 260px; padding: 30px; border: 1px solid var(--line); background: var(--surface); }
.step.gold-step { margin-top: 32px; border-color: var(--gold); background: var(--gold); color: #211a0d; }
.step-icon { color: var(--gold); font-size: 22px; }
.gold-step .step-icon { color: #211a0d; }
.step-number { margin-top: 55px; font-family: "Space Grotesk", Arial, sans-serif; font-size: 34px; font-weight: 700; }
.step h3 { margin-top: 3px; font-size: 18px; }
.step p { margin-top: 8px; font-size: 13px; line-height: 1.6; opacity: .72; }
.site-footer { border-top: 1px solid var(--line); background: var(--surface-strong); }
.footer-inner { display: flex; min-height: 100px; align-items: center; justify-content: space-between; gap: 24px; }
.footer-tagline, .footer-links { color: var(--muted); font-size: 12px; }
.footer-links { display: flex; gap: 22px; }
.no-results { margin-top: 42px; border: 1px dashed var(--line); padding: 55px; color: var(--muted); text-align: center; }
@media (max-width: 980px) { .primary-nav, .header-actions { display: none; } .menu-toggle { display: block; } .mobile-nav { padding: 20px; border-top: 1px solid var(--line); background: var(--surface-strong); } .mobile-nav.open { display: block; } .mobile-nav a { display: block; padding: 10px 0; color: var(--muted); font-size: 14px; } .mobile-nav .button { width: 100%; margin-top: 12px; } .category-grid { grid-template-columns: repeat(3, 1fr); } .course-grid { grid-template-columns: repeat(2, 1fr); } .instructor-band { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 600px) { .container { width: min(100% - 28px, 1180px); } .header-inner { min-height: 70px; } .brand { font-size: 14px; } .brand img { width: 34px; height: 34px; } .hero { min-height: 720px; padding: 120px 0 88px; } h1 { font-size: clamp(46px, 14vw, 68px); } .hero-copy { font-size: 16px; } .hero-proof { gap: 15px; } .search-box { flex-direction: column; align-items: stretch; padding: 10px; } .search-box svg { margin-left: 8px; } .search-box input { height: 42px; } .search-box .button { width: 100%; } .section { padding: 80px 0; } .section-heading { align-items: start; flex-direction: column; } .category-grid { grid-template-columns: repeat(2, 1fr); } .course-toolbar { width: calc(100vw - 28px); } .course-grid { grid-template-columns: 1fr; } .footer-inner { align-items: start; flex-direction: column; justify-content: center; padding: 28px 0; } .footer-links { flex-wrap: wrap; } }
