/*
Theme Name: Hakan Ergün — Official Artist
Theme URI: https://hakanergun.com.tr/
Author: Hakan Ergün
Author URI: https://hakanergun.com.tr/
Description: A custom editorial artist theme for Hakan Ergün.
Version: 1.0.3
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hakan-ergun
Tags: music, artist, dark, custom-logo, custom-menu, featured-images, translation-ready
*/

:root {
  --he-bg: #0b0a0a;
  --he-bg-2: #151211;
  --he-panel: #1a1614;
  --he-cream: #f2eadc;
  --he-soft: #d4c7b7;
  --he-muted: #9e9286;
  --he-line: rgba(242, 234, 220, .18);
  --he-red: #be402e;
  --he-rust: #e06d42;
  --he-gold: #d6a868;
  --he-black: #060505;
  --he-display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --he-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --he-serif: Georgia, "Times New Roman", serif;
  --he-max: 1260px;
  --he-radius: 2px;
  --he-shadow: 0 25px 80px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--he-bg); color: var(--he-cream); font-family: var(--he-body); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--he-rust); }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { color: var(--he-bg); background: var(--he-gold); }

.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { clip: auto !important; clip-path: none; display: block; height: auto; left: 6px; padding: 14px 20px; top: 7px; width: auto; z-index: 100000; background: var(--he-gold); color: var(--he-bg); }
.container { width: min(calc(100% - 56px), var(--he-max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 56px), 850px); margin-inline: auto; }
.section { padding: 120px 0; position: relative; }
.section--tight { padding: 78px 0; }
.section--line { border-top: 1px solid var(--he-line); }
.eyebrow { margin: 0 0 20px; color: var(--he-gold); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 52px; }
.section-heading h2 { max-width: 780px; margin: 0; font-family: var(--he-display); font-size: clamp(45px, 7vw, 94px); line-height: .86; letter-spacing: -.085em; text-transform: uppercase; }
.section-heading p { max-width: 360px; margin: 0; color: var(--he-muted); font-size: 15px; }
.section-heading__link { flex: 0 0 auto; padding-bottom: 7px; border-bottom: 1px solid var(--he-rust); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }

.site-header { position: sticky; top: 0; z-index: 50; padding: 19px 0; border-bottom: 1px solid rgba(242,234,220,.12); background: rgba(11,10,10,.9); backdrop-filter: blur(18px); }
body.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-brand { display: inline-flex; align-items: center; gap: 13px; color: var(--he-cream); }
.site-brand:hover { color: var(--he-cream); }
.site-brand__mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--he-gold); color: var(--he-gold); font-family: var(--he-display); font-size: 12px; font-weight: 900; letter-spacing: -.06em; transform: rotate(-7deg); }
.site-brand__wordmark { display: block; font-family: var(--he-display); font-size: 20px; font-weight: 900; line-height: .9; letter-spacing: -.065em; text-transform: uppercase; }
.site-brand__tagline { display: block; margin-top: 6px; color: var(--he-muted); font-size: 8px; font-weight: 700; letter-spacing: .19em; line-height: 1; text-transform: uppercase; }
.custom-logo-link img { max-height: 44px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav ul { display: flex; align-items: center; gap: 25px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { color: var(--he-muted); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--he-cream); }
.header-cta, .button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 48px; padding: 0 21px; border: 1px solid var(--he-rust); background: var(--he-rust); color: #100b09; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease; }
.header-cta:hover, .button:hover { color: #100b09; background: var(--he-gold); border-color: var(--he-gold); transform: translateY(-3px); }
.button--ghost { border-color: var(--he-line); background: transparent; color: var(--he-cream); }
.button--ghost:hover { color: var(--he-bg); background: var(--he-cream); border-color: var(--he-cream); }
.button--arrow::after { content: "↗"; font-size: 16px; line-height: 0; }
.button--spotify { border-color: #9ad647; background: #9ad647; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--he-line); color: var(--he-cream); background: transparent; }
.menu-toggle span { display: block; width: 19px; height: 1px; margin: 4px auto; background: currentColor; }

.hero { min-height: 780px; display: flex; align-items: end; position: relative; overflow: hidden; padding: 190px 0 78px; border-bottom: 1px solid var(--he-line); isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(11,10,10,.96) 0%, rgba(11,10,10,.76) 36%, rgba(11,10,10,.2) 75%), linear-gradient(0deg, var(--he-bg) 0%, transparent 28%), url("assets/images/hakan-portrait.jpg") 73% center / cover no-repeat; filter: saturate(.75) contrast(1.1); }
.hero::after { content: "ANADOLU ROCK / 2025"; position: absolute; z-index: -1; right: -72px; top: 42%; color: rgba(242,234,220,.09); font-family: var(--he-display); font-size: clamp(70px, 13vw, 190px); font-weight: 900; letter-spacing: -.1em; line-height: .8; text-transform: uppercase; transform: rotate(-90deg); transform-origin: center; }
.hero__content { max-width: 880px; }
.hero__kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; color: var(--he-gold); font-size: 11px; font-weight: 850; letter-spacing: .21em; text-transform: uppercase; }
.hero__kicker::before { content: ""; width: 46px; height: 1px; background: currentColor; }
.hero h1 { max-width: 920px; margin: 0; font-family: var(--he-display); font-size: clamp(65px, 11.5vw, 165px); font-weight: 950; letter-spacing: -.1em; line-height: .78; text-transform: uppercase; }
.hero h1 em { display: block; color: var(--he-rust); font-family: var(--he-serif); font-size: .69em; font-style: italic; font-weight: 500; letter-spacing: -.08em; line-height: .94; text-transform: none; }
.hero__copy { max-width: 580px; margin: 38px 0 32px; color: var(--he-soft); font-size: 17px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__artist-line { position: absolute; bottom: 30px; right: 56px; color: var(--he-soft); font-family: var(--he-serif); font-size: 14px; font-style: italic; }

.marquee { overflow: hidden; border-bottom: 1px solid var(--he-line); background: var(--he-red); color: var(--he-cream); }
.marquee__track { display: flex; width: max-content; gap: 34px; padding: 13px 0; animation: he-marquee 27s linear infinite; }
.marquee span { font-family: var(--he-display); font-size: 13px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.marquee b { color: var(--he-gold); }
@keyframes he-marquee { to { transform: translateX(-50%); } }

.release-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 78px; align-items: center; }
.release-layout__copy h2, .bio-grid h2 { margin: 0; font-family: var(--he-display); font-size: clamp(46px, 6.2vw, 86px); line-height: .87; letter-spacing: -.085em; text-transform: uppercase; }
.release-layout__copy h2 em, .bio-grid h2 em { color: var(--he-rust); font-family: var(--he-serif); font-size: .68em; font-style: italic; font-weight: 500; letter-spacing: -.06em; text-transform: none; }
.release-layout__copy p { max-width: 380px; margin: 27px 0; color: var(--he-muted); font-size: 16px; }
.release-layout__media { min-height: 440px; overflow: hidden; border: 1px solid var(--he-line); background: var(--he-panel); }
.release-layout__media iframe { display: block; width: 100%; height: 440px; border: 0; }
.release-note { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--he-line); color: var(--he-muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

.bio-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 88px; align-items: start; }
.bio-grid__copy { padding-top: 42px; }
.bio-grid__copy p { margin: 0 0 21px; color: var(--he-soft); font-size: 17px; }
.bio-grid__image { position: relative; overflow: hidden; min-height: 510px; background: var(--he-panel); }
.bio-grid__image img { width: 100%; height: 100%; min-height: 510px; object-fit: cover; object-position: 48% center; filter: saturate(.82); }
.bio-grid__image::after { content: "H.E."; position: absolute; right: 18px; bottom: 12px; color: rgba(242,234,220,.8); font-family: var(--he-display); font-size: 90px; font-weight: 900; letter-spacing: -.13em; line-height: .75; }
.text-link { display: inline-flex; align-items: center; gap: 11px; padding-bottom: 7px; border-bottom: 1px solid var(--he-rust); color: var(--he-cream); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.text-link::after { content: "↗"; color: var(--he-rust); font-size: 17px; }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--he-line); border-bottom: 1px solid var(--he-line); }
.stat { padding: 29px 24px; border-right: 1px solid var(--he-line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--he-rust); font-family: var(--he-display); font-size: clamp(48px, 6vw, 76px); line-height: .8; letter-spacing: -.09em; }
.stat span { display: block; margin-top: 17px; color: var(--he-muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.gallery-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; grid-auto-rows: 235px; gap: 12px; }
.gallery-card { overflow: hidden; position: relative; border: 1px solid var(--he-line); background: var(--he-panel); }
.gallery-card:first-child { grid-row: span 2; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .6s ease; filter: saturate(.82); }
.gallery-card:hover img { transform: scale(1.05); filter: saturate(1.1); }
.gallery-card::after { content: "View moment ↗"; position: absolute; right: 15px; bottom: 13px; color: var(--he-cream); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: 0; transition: opacity .25s ease; }
.gallery-card:hover::after { opacity: 1; }

.video-panel { display: grid; grid-template-columns: .65fr 1.35fr; gap: 0; overflow: hidden; border: 1px solid var(--he-line); background: var(--he-panel); }
.video-panel__copy { display: flex; flex-direction: column; justify-content: space-between; padding: 38px; }
.video-panel__copy h2 { margin: 0; font-family: var(--he-display); font-size: clamp(43px, 5vw, 70px); line-height: .87; letter-spacing: -.08em; text-transform: uppercase; }
.video-panel__copy p { max-width: 300px; color: var(--he-muted); font-size: 14px; }
.video-panel__media { min-height: 430px; background: #050505; }
.video-panel__media iframe { display: block; width: 100%; height: 100%; min-height: 430px; border: 0; }

.event-list { border-top: 1px solid var(--he-line); }
.event-row { display: grid; grid-template-columns: 160px 1fr minmax(150px, .55fr) auto; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--he-line); }
.event-row > span { color: var(--he-gold); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.event-row h3 { margin: 0; font-family: var(--he-display); font-size: 29px; line-height: .95; letter-spacing: -.06em; text-transform: uppercase; }
.event-row p { margin: 0; color: var(--he-muted); font-size: 13px; }
.event-row a { color: var(--he-rust); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.post-card { overflow: hidden; border: 1px solid var(--he-line); background: var(--he-panel); }
.post-card__image { display: block; aspect-ratio: 1.35 / 1; overflow: hidden; background: var(--he-bg-2); }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); transition: transform .5s ease, filter .5s ease; }
.post-card:hover .post-card__image img { transform: scale(1.04); filter: saturate(1); }
.post-card__body { padding: 22px 21px 25px; }
.post-card__meta { margin-bottom: 14px; color: var(--he-gold); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.post-card h3 { margin: 0; font-family: var(--he-display); font-size: 27px; line-height: .94; letter-spacing: -.06em; text-transform: uppercase; }
.post-card p { margin: 13px 0 0; color: var(--he-muted); font-size: 13px; }
.post-card__link { display: inline-block; margin-top: 20px; color: var(--he-rust); font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }

.cta-banner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 55px 58px; position: relative; overflow: hidden; background: var(--he-cream); color: var(--he-bg); }
.cta-banner::before { content: "HE"; position: absolute; right: 14%; top: -50px; color: rgba(190,64,46,.12); font-family: var(--he-display); font-size: 230px; font-weight: 950; letter-spacing: -.15em; line-height: 1; }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { max-width: 780px; margin: 0; font-family: var(--he-display); font-size: clamp(44px, 6vw, 83px); line-height: .86; letter-spacing: -.09em; text-transform: uppercase; }
.cta-banner .button { border-color: var(--he-bg); background: var(--he-bg); color: var(--he-cream); }
.cta-banner .button:hover { border-color: var(--he-red); background: var(--he-red); color: var(--he-cream); }

.page-hero { padding: 140px 0 90px; position: relative; overflow: hidden; border-bottom: 1px solid var(--he-line); background: linear-gradient(110deg, var(--he-bg), var(--he-bg-2)); }
.page-hero::after { content: "H.E."; position: absolute; right: 3%; bottom: -46px; color: rgba(224,109,66,.14); font-family: var(--he-display); font-size: clamp(180px, 25vw, 360px); font-weight: 950; letter-spacing: -.14em; line-height: .7; }
.page-hero h1 { max-width: 970px; margin: 0; font-family: var(--he-display); font-size: clamp(65px, 12vw, 160px); line-height: .78; letter-spacing: -.1em; text-transform: uppercase; }
.page-hero h1 em { color: var(--he-rust); font-family: var(--he-serif); font-size: .65em; font-style: italic; font-weight: 500; text-transform: none; }
.page-hero p { max-width: 610px; margin: 30px 0 0; color: var(--he-muted); font-size: 17px; }
.content-area { padding: 84px 0 120px; }
.content-area h2, .content-area h3 { font-family: var(--he-display); line-height: .9; letter-spacing: -.07em; text-transform: uppercase; }
.content-area h2 { margin-top: 58px; font-size: 51px; }
.content-area h3 { margin-top: 38px; font-size: 32px; }
.content-area p, .content-area li { color: var(--he-soft); font-size: 17px; }
.content-area blockquote { margin: 38px 0; padding: 27px 30px; border-left: 3px solid var(--he-rust); background: var(--he-panel); color: var(--he-cream); font-family: var(--he-serif); font-size: 29px; font-style: italic; line-height: 1.15; }
.content-area img { margin: 30px 0; }
.entry-meta { color: var(--he-gold); font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }

.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.contact-layout h2 { margin: 0; font-family: var(--he-display); font-size: clamp(49px, 7vw, 94px); line-height: .85; letter-spacing: -.1em; text-transform: uppercase; }
.contact-layout__copy { color: var(--he-muted); font-size: 16px; }
.contact-details { margin: 33px 0 0; padding: 0; list-style: none; }
.contact-details li { padding: 17px 0; border-top: 1px solid var(--he-line); }
.contact-details li:last-child { border-bottom: 1px solid var(--he-line); }
.contact-details span { display: block; margin-bottom: 5px; color: var(--he-gold); font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.contact-details a { font-size: 18px; }
.contact-form { display: grid; gap: 15px; padding: 31px; border: 1px solid var(--he-line); background: var(--he-panel); }
.he-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; }
.contact-form label { display: grid; gap: 7px; color: var(--he-muted); font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 15px; outline: 0; border: 1px solid var(--he-line); background: var(--he-bg); color: var(--he-cream); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--he-rust); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form__note { margin: 0; color: var(--he-muted); font-size: 12px; }

.site-footer { padding: 76px 0 26px; border-top: 1px solid var(--he-line); background: #070606; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .6fr .8fr; gap: 60px; padding-bottom: 59px; }
.footer-grid h3 { margin: 0 0 19px; font-family: var(--he-display); font-size: 19px; letter-spacing: -.04em; text-transform: uppercase; }
.footer-brand-copy { max-width: 350px; margin: 20px 0 25px; color: var(--he-muted); font-size: 14px; }
.social-links, .footer-menu { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.social-links a, .footer-menu a, .footer-menu span { color: var(--he-muted); font-size: 13px; }
.social-links a:hover, .footer-menu a:hover { color: var(--he-rust); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid var(--he-line); color: #6f655d; font-size: 11px; }
.footer-bottom p { margin: 0; }

.pagination { display: flex; gap: 9px; margin-top: 50px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; border: 1px solid var(--he-line); color: var(--he-muted); font-size: 12px; }
.pagination .current, .pagination a:hover { border-color: var(--he-rust); background: var(--he-rust); color: var(--he-bg); }

@media (max-width: 980px) {
  .primary-nav { gap: 15px; }
  .primary-nav ul { gap: 14px; }
  .header-cta { padding-inline: 14px; }
  .hero { min-height: 680px; }
  .hero::before { background-position: 69% center; }
  .release-layout, .bio-grid, .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .bio-grid__copy { padding-top: 0; }
  .video-panel { grid-template-columns: .8fr 1.2fr; }
}

@media (max-width: 720px) {
  body.admin-bar .site-header { top: 46px; }
  .container, .narrow { width: min(calc(100% - 34px), var(--he-max)); }
  .section { padding: 76px 0; }
  .section-heading { display: block; margin-bottom: 34px; }
  .section-heading p { margin-top: 20px; }
  .site-header { padding: 13px 0; }
  .site-header__inner { gap: 12px; }
  .site-brand__mark { width: 34px; height: 34px; }
  .site-brand__wordmark { font-size: 18px; }
  .site-brand__tagline { font-size: 7px; }
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; top: 100%; right: 17px; left: 17px; padding: 17px; border: 1px solid var(--he-line); background: rgba(21,18,17,.99); box-shadow: var(--he-shadow); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; gap: 0; }
  .primary-nav li { border-bottom: 1px solid var(--he-line); }
  .primary-nav li:last-child { border-bottom: 0; }
  .primary-nav a { display: block; padding: 14px 4px; }
  .header-cta { display: none; }
  .hero { min-height: 690px; padding: 145px 0 55px; }
  .hero::before { background-position: 63% center; opacity: .9; }
  .hero::after { right: -105px; top: 44%; font-size: 110px; }
  .hero h1 { max-width: 100%; font-size: clamp(56px, 16vw, 94px); }
  .hero__copy { max-width: 350px; font-size: 15px; }
  .hero__artist-line { right: 17px; bottom: 20px; font-size: 12px; }
  .release-layout__media, .release-layout__media iframe { min-height: 310px; height: 310px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; border-right: 0; border-bottom: 1px solid var(--he-line); }
  .stat:last-child { border-bottom: 0; }
  .stat strong { font-size: 55px; }
  .stat span { margin-top: 0; text-align: right; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 175px; gap: 8px; }
  .gallery-card:first-child { grid-row: span 2; }
  .video-panel { grid-template-columns: 1fr; }
  .video-panel__media, .video-panel__media iframe { min-height: 260px; height: 260px; }
  .post-grid { grid-template-columns: 1fr; }
  .event-row { grid-template-columns: 1fr auto; gap: 8px 18px; }
  .event-row h3 { grid-column: 1 / -1; font-size: 27px; }
  .event-row p { grid-column: 1 / -1; }
  .event-row a { grid-column: 2; grid-row: 1; }
  .cta-banner { display: block; padding: 39px 25px; }
  .cta-banner .button { margin-top: 26px; }
  .page-hero { padding: 105px 0 67px; }
  .page-hero h1 { max-width: 100%; font-size: clamp(58px, 16vw, 96px); }
  .content-area { padding: 60px 0 82px; }
  .content-area p, .content-area li { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 25px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom p + p { margin-top: 8px; }
}
