/*
Theme Name: Ahmet Avşar
Author: Ahmet Avşar Prodüksiyon
Description: Ahmet Avşar resmi web sitesi için tek sayfalık tema.
Version: 2026.10.27.2110
Requires at least: 5.0
Text Domain: ahmet-avsar
*/

:root {
  --bg: #120d0f;
  --bg-2: #1b1316;
  --wine: #4a1722;
  --gold: #c9a35c;
  --gold-soft: #e2c992;
  --cream: #f2e8d8;
  --muted: #a8998a;
  --line: rgba(201, 163, 92, .22);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.section { padding: 120px 0; }

.eyebrow {
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; }
h2 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 28px; }
em { font-style: italic; color: var(--gold-soft); }
.section-lead { color: var(--muted); max-width: 560px; margin-bottom: 40px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font: 600 13px/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.btn-gold { background: var(--gold); color: var(--bg); border: 1px solid var(--gold); }
.btn-gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn-line { border: 1px solid var(--line); color: var(--cream); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-soft); }
.link { color: var(--gold); font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.link:hover { color: var(--gold-soft); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px, 4vw, 48px);
  transition: background .3s, padding .3s;
}
.admin-bar .nav { top: 32px; }
.nav.scrolled { background: rgba(18, 13, 15, .92); backdrop-filter: blur(8px); padding-block: 14px; border-bottom: 1px solid var(--line); }
.brand { font-family: var(--serif); font-size: 24px; letter-spacing: .04em; }
.brand span { color: var(--gold); font-style: italic; }
.nav-links { display: flex; gap: 36px; align-items: center; font-size: 14px; letter-spacing: .06em; }
.nav-links a { color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--cream); }
.nav-links .nav-cta { color: var(--gold); border: 1px solid var(--line); padding: 8px 18px; }
.nav-toggle { display: none; background: none; border: 0; width: 32px; height: 20px; position: relative; cursor: pointer; }
.nav-toggle span { position: absolute; left: 0; right: 0; height: 1px; background: var(--cream); transition: transform .3s, top .3s; }
.nav-toggle span:first-child { top: 5px; }
.nav-toggle span:last-child { top: 14px; }
.nav.open .nav-toggle span:first-child { top: 10px; transform: rotate(45deg); }
.nav.open .nav-toggle span:last-child { top: 10px; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px clamp(20px, 6vw, 96px) 80px;
  overflow: hidden;
}
.hero-photo {
  position: absolute; inset: 0;
  /* images/hero.jpg eklenince sanatçı fotoğrafı burada görünür */
  background:
    linear-gradient(90deg, var(--bg) 25%, rgba(18,13,15,.55) 60%, rgba(18,13,15,.2)),
    url("images/hero.jpg") right center / cover no-repeat,
    radial-gradient(ellipse at 75% 40%, var(--wine) 0%, transparent 60%),
    var(--bg);
}
.hero-inner { position: relative; max-width: 620px; }
.hero-mono { width: 150px; height: auto; margin-bottom: 28px; opacity: .9; }
.hero h1 { font-size: clamp(64px, 11vw, 140px); line-height: .92; margin-bottom: 28px; }
.hero-lead { color: var(--muted); font-size: 18px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
.hero-scroll::after { content: ""; display: block; width: 1px; height: 40px; background: var(--gold); margin: 10px auto 0; opacity: .6; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px 80px; align-items: start; }
.portrait { position: relative; }
.portrait img { width: 100%; max-width: 400px; margin-left: auto; filter: contrast(1.05); }
.portrait::before {
  content: ""; position: absolute; inset: 18px -18px -18px auto; width: min(400px, 100%);
  border: 1px solid var(--gold); opacity: .5; z-index: -1;
}
.about .facts { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
.about-text p { color: #cfc3b3; margin-bottom: 18px; }
.about-text .quote {
  font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.4;
  color: var(--gold-soft); border-left: 1px solid var(--gold); padding-left: 24px; margin-top: 32px;
}
.facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.facts li { padding: 28px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--serif); font-size: 40px; font-weight: 500; color: var(--gold); line-height: 1.1; }
.facts span { font-size: 13px; color: var(--muted); }

/* Repertoire strip */
.repertoire { border-block: 1px solid var(--line); background: var(--bg-2); padding: 28px 0; }
.genres { list-style: none; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; }
.genres li { font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--cream); }
.genres li:not(:last-child)::after { content: "◆"; font-size: 8px; color: var(--gold); margin-left: 24px; vertical-align: middle; font-style: normal; }

/* Music */
.music {
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(18,13,15,.82) 30%, rgba(18,13,15,.92) 100%),
    url("images/mikrofon.jpg") center top / cover no-repeat;
}
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.video-featured { grid-column: 1 / -1; }
.video-frame { aspect-ratio: 16 / 9; border: 1px solid var(--line); background: #000; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video figcaption { padding-top: 12px; font-size: 14px; color: var(--muted); }
.video figcaption strong { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--cream); }
.music-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.release { background: var(--bg-2); border: 1px solid var(--line); padding: 40px; display: flex; flex-direction: column; gap: 14px; }
.release h3 { font-size: 32px; }
.release p { color: var(--muted); flex: 1; }
.release-year { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.release-upcoming { background: linear-gradient(140deg, var(--wine), var(--bg-2) 70%); }

/* Projects */
.projects { background: var(--bg-2); }
.lock { border: 1px solid var(--line); background: var(--bg); padding: clamp(32px, 6vw, 64px); text-align: center; }
.lock .section-lead, .lock .note { margin-inline: auto; }
.lock-icon { color: var(--gold); margin-bottom: 16px; }
.lock-form { display: flex; gap: 10px; max-width: 420px; margin: 0 auto 12px; }
.lock-form input {
  flex: 1; min-width: 0; background: var(--bg-2); color: var(--cream); border: 1px solid var(--line);
  padding: 12px 14px; font: 15px var(--sans); border-radius: 2px;
}
.lock-form input:focus { outline: none; border-color: var(--gold); }
.lock-msg { min-height: 1.7em; font-size: 14px; color: #e08a7a; margin-bottom: 8px; }
.lock.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* Açılan içerik: görsellere sağ tık / sürükleme kapalı, filigranlı */
.locked-content .ph { position: relative; user-select: none; }
.locked-content .ph img { pointer-events: none; -webkit-user-drag: none; }
.locked-content .ph::after {
  content: "© Ahmet Avşar"; position: absolute; right: 14px; bottom: 10px;
  font-family: var(--serif); font-style: italic; font-size: 18px; color: rgba(255,255,255,.55);
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: -16px 0 40px; }
.tags li { border: 1px solid var(--line); padding: 6px 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.ph { display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); background: var(--wine); }
.ph-1 { grid-column: 1 / -1; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ph:hover img { transform: scale(1.03); }
.note { font-size: 14px; color: var(--muted); max-width: 640px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-list { list-style: none; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact-list a:hover { color: var(--gold-soft); }
.contact-form { display: grid; gap: 18px; background: var(--bg-2); border: 1px solid var(--line); padding: 40px; align-self: start; }
.contact-form label { display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  background: var(--bg); color: var(--cream); border: 1px solid var(--line);
  padding: 12px 14px; font: 15px var(--sans); border-radius: 2px; resize: vertical;
}
.contact-form :focus { outline: none; border-color: var(--gold); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: 13px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-logo { width: 110px; height: auto; }

/* WhatsApp */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: var(--bg);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  transition: transform .2s;
}
.wa:hover { transform: scale(1.06); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 860px) {
  .section { padding: 80px 0; }
  .nav-toggle { display: block; z-index: 2; }
  .nav-links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px;
    background: var(--bg); font-size: 20px;
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav.open .nav-links { opacity: 1; pointer-events: auto; }
  .hero-photo { background:
    linear-gradient(0deg, var(--bg) 30%, rgba(18,13,15,.45)),
    url("images/hero.jpg") 66% top / cover no-repeat,
    radial-gradient(ellipse at 60% 20%, var(--wine) 0%, transparent 65%),
    var(--bg); }
  .hero { align-items: flex-end; padding: 100px 20px 56px; }
  .hero-scroll { display: none; }
  .hero h1 { font-size: 60px; margin-bottom: 20px; }
  .hero-lead { font-size: 16px; margin-bottom: 28px; }
  .hero-actions .btn { flex: 1 1 100%; text-align: center; }
  h2 { font-size: 32px; margin-bottom: 20px; }
  .container { width: calc(100% - 32px); }
  .about-text .quote { font-size: 20px; padding-left: 16px; }
  .facts li { padding: 18px 16px; }
  .facts strong { font-size: 30px; }
  .genres li { font-size: 18px; }
  .release h3 { font-size: 26px; }
  .video figcaption strong { font-size: 19px; }
  .lock-form { flex-direction: column; }
  .footer { padding-bottom: 96px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .about-grid, .contact-grid, .music-grid, .videos { grid-template-columns: 1fr; gap: 48px; }
  .videos { gap: 32px; }
  .about .facts { grid-template-columns: 1fr 1fr; }
  .portrait img { max-width: 320px; margin-inline: auto; }
  .portrait::before { display: none; }
  .hero-mono { width: 110px; margin-bottom: 20px; }
  .gallery { grid-template-columns: 1fr; }
  .genres { justify-content: center; }
  .genres li:not(:last-child)::after { margin-left: 16px; }
  .release, .contact-form { padding: 28px; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
