/*
Theme Name: YS.Grafix
Theme URI: https://ysgrafix.com
Author: YS.Grafix
Author URI: https://ysgrafix.com
Description: COVERS. TITLES. FLYERS. — Music × Visual Design Portfolio
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: All Rights Reserved
Text Domain: ysgrafix
*/

:root {
  --bg:      #111213;
  --surface: #1a1a1a;
  --cyan:    #00e5ff;
  --lime:    #b8ff00;
  --purple:  #c084fc;
  --text:    #f0f0f0;
  --muted:   #555;
  --border:  rgba(255,255,255,.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); overflow-x: hidden; color: var(--text); }

.vk-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background-image: url("Works/rose.png"), url("Works/rose1.png"), radial-gradient(ellipse 70% 60% at 50% 30%, rgba(28,10,48,.85) 0%, rgba(17,18,19,.92) 60%);
  background-size: 200px 200px, 200px 200px, 100% 100%;
  background-position: 0 0, 100px 100px, 0 0;
  background-repeat: repeat, repeat, no-repeat;
}

.vk-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* NAV */
.vk-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  z-index: 100;
  background: rgba(17,18,19,.97);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.vk-nav__year { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.vk-nav__logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: .15em;
  color: var(--text);
  text-decoration: none;
}
.vk-nav__links { display: flex; gap: 24px; list-style: none; }
.vk-nav__links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #ddd;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s;
}
.vk-nav__links a:hover { color: var(--lime); }
.vk-nav__links a.active { border-bottom: 2px solid var(--text); padding-bottom: 1px; color: var(--text); }
.vk-nav__link--cta { display: inline-block; background: var(--lime); color: #000 !important; padding: 10px 18px; border: none; }
.vk-nav__link--cta:hover { color: #000 !important; filter: brightness(1.1); }
.vk-nav__link--cta.active { border-bottom: none; padding-bottom: 10px; }
.vk-nav__item--has-dropdown { position: relative; }
.vk-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  min-width: 140px;
  background: var(--lime);
  list-style: none;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s;
  z-index: 30;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.vk-nav__item--has-dropdown:hover .vk-nav__dropdown { opacity: 1; visibility: visible; }
.vk-nav__dropdown a {
  display: block;
  padding: 10px 20px;
  color: #000;
  font-size: 12px;
  letter-spacing: .1em;
  white-space: nowrap;
}
.vk-nav__dropdown a:hover { background: rgba(0,0,0,.12); color: #000; }
.vk-nav__dropdown a.active--child { background: rgba(0,0,0,.15); font-weight: 900; }

/* CENTER CONTENT */
.vk-center {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding-top: 90px;
  padding-bottom: 48px;
  width: 100%;
}

/* TITLE BAND */
.vk-title-band {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #000;
  padding: 24px 20px 28px;
  z-index: 2;
  align-self: stretch;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.vk-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(46px, 7.2vw, 88px);
  letter-spacing: .04em;
  line-height: .95;
  color: #fff;
  text-shadow: 0 2px 40px rgba(100,40,180,.4), 2px 2px 0 rgba(0,0,0,.7);
  position: relative;
  z-index: 2;
  margin: 0;
  width: 100%;
  text-align: center;
}

/* PRODUCTS */
.vk-products {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 48px auto 64px;
  padding: 0 32px;
}
.vk-product {
  background: rgba(26,26,26,.85);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 24px;
}
.vk-product__img-wrap { width: 100%; height: 240px; overflow: hidden; flex-shrink: 0; }
.vk-product__img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.vk-product__en {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  letter-spacing: .06em;
  color: var(--text);
  margin: 20px 16px 4px;
  text-align: center;
  line-height: 1;
}
.vk-product__en a { color: inherit; text-decoration: none; }
.vk-product__en a:hover { color: var(--lime); }
.vk-product__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--lime);
  margin: 0 16px 16px;
  text-align: center;
  line-height: 1.3;
}
.vk-product__lead {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 20px 20px;
  text-align: center;
  min-height: 3.2em;
}
.vk-product__btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  color: #000;
  background: var(--lime);
  padding: 10px 24px;
  text-decoration: none;
  display: inline-block;
  transition: transform .15s, filter .15s;
}
.vk-product__btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.vk-product__link { font-size: 11px; color: var(--muted); margin-top: 8px; text-decoration: none; letter-spacing: .08em; }
.vk-product__link:hover { color: var(--lime); }

/* TESTIMONIALS */
.vk-testimonials { position: relative; z-index: 10; width: min(1120px, 100%); margin: 0 auto 56px; padding: 0 32px; }
.vk-testimonials__head { margin-bottom: 22px; text-align: left; }
.vk-testimonials__kicker { display: inline-block; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .16em; color: var(--lime); margin-bottom: 8px; }
.vk-testimonials__title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(38px, 5.4vw, 58px); letter-spacing: .05em; color: var(--text); line-height: .95; }
.vk-testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vk-voice { background: rgba(12,12,12,.92); border: 1px solid var(--border); padding: 22px 20px 20px; text-align: left; min-height: 224px; display: flex; flex-direction: column; justify-content: space-between; }
.vk-voice__quote { font-size: 13px; line-height: 1.75; color: rgba(255,255,255,.88); margin-bottom: 18px; }
.vk-voice__author { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; letter-spacing: .07em; color: var(--lime); text-transform: uppercase; }
.vk-voice__meta { margin-top: 4px; font-size: 11px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }

/* CTA BLOCK */
.vk-cta-block {
  position: relative;
  z-index: 10;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-bottom: 0;
  background: #000;
  padding: 48px 24px 56px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.vk-cta-block__inner { width: 100%; max-width: 560px; margin: 0 auto; text-align: center; }
.vk-cta-block__title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(28px, 4vw, 40px); letter-spacing: .06em; color: var(--text); margin: 0 0 12px; line-height: 1.1; }
.vk-cta-block__lead { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.75); margin: 0 0 28px; }
.vk-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: stretch; }
.vk-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .14em;
  padding: 13px 28px;
  min-width: 200px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: transform .15s, filter .15s;
  color: #000;
  text-align: center;
}
.vk-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.vk-btn__sub { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: none; }
.vk-btn--commission { background: var(--purple); clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px)); }
.vk-btn--assets { background: var(--lime); clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }

/* BADGE & STAR */
.vk-badge { position: absolute; bottom: 24px; left: 38px; font-family: 'Space Mono', monospace; font-size: 9px; color: var(--muted); letter-spacing: .15em; border: 1px solid #2a2a2a; padding: 4px 10px; border-radius: 20px; }
.vk-star { position: absolute; bottom: 20px; right: 32px; }
.vk-star svg { width: 20px; height: 20px; fill: #aaa; }

/* HAMBURGER / DRAWER */
.vk-nav__hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 40px; height: 40px; background: none; border: 1px solid rgba(255,255,255,.15); cursor: pointer; z-index: 200; flex-shrink: 0; }
.vk-nav__hamburger span { display: block; width: 20px; height: 2px; background: var(--text); transition: transform .3s, opacity .3s; }
.vk-nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.vk-nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.vk-nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.vk-drawer { position: fixed; top: 0; right: 0; width: 280px; height: 100%; background: rgba(17,18,19,.98); border-left: 1px solid rgba(255,255,255,.1); z-index: 150; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; padding: 80px 32px 48px; gap: 0; }
.vk-drawer.is-open { transform: translateX(0); }
.vk-drawer__nav { list-style: none; display: flex; flex-direction: column; gap: 0; }
.vk-drawer__nav li { border-bottom: 1px solid rgba(255,255,255,.07); }
.vk-drawer__nav a { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: .14em; color: #ddd; text-decoration: none; text-transform: uppercase; padding: 16px 0; transition: color .2s; }
.vk-drawer__nav a:hover, .vk-drawer__nav a.active { color: var(--lime); }
.vk-drawer__sub { list-style: none; padding: 0 0 12px 16px; display: flex; flex-direction: column; gap: 0; }
.vk-drawer__sub li { border-bottom: 1px solid rgba(255,255,255,.04); }
.vk-drawer__sub a { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--muted); text-decoration: none; text-transform: uppercase; padding: 10px 0; transition: color .2s; }
.vk-drawer__sub a:hover, .vk-drawer__sub a.active { color: var(--lime); }
.vk-drawer__cta { margin-top: 28px; font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 900; letter-spacing: .14em; color: #000; background: var(--lime); padding: 14px 0; text-align: center; text-decoration: none; text-transform: uppercase; display: block; transition: filter .2s; }
.vk-drawer__cta:hover { filter: brightness(1.1); }
.vk-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 140; opacity: 0; pointer-events: none; transition: opacity .3s; }
.vk-overlay.is-open { opacity: 1; pointer-events: auto; }

/* SP CV BUTTON */
.vk-sp-cv { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 130; background: var(--lime); color: #000; font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; text-decoration: none; text-align: center; padding: 16px 24px; line-height: 1.2; }
.vk-sp-cv__sub { display: block; font-size: 10px; font-weight: 700; letter-spacing: .08em; color: rgba(0,0,0,.6); margin-top: 2px; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .vk-nav { padding: 16px 20px; }
  .vk-nav__links { display: none; }
  .vk-nav__hamburger { display: flex; }
  .vk-nav__logo { font-size: 24px; }
  .vk-title { font-size: clamp(38px, 11vw, 60px); }
  .vk-ctas { flex-direction: column; gap: 10px; align-items: center; }
  .vk-btn { padding: 12px 20px; min-width: 160px; }
  .vk-badge { left: 20px; }
  .vk-products { grid-template-columns: 1fr; margin: 40px 20px 48px; padding: 0; gap: 28px; }
  .vk-testimonials { padding: 0 20px; margin-bottom: 44px; }
  .vk-testimonials__head { text-align: center; }
  .vk-testimonials__grid { grid-template-columns: 1fr; gap: 12px; }
  .vk-voice { min-height: auto; }
  .vk-cta-block { padding: 40px 20px 80px; }
  .vk-cta-block__lead { color: rgba(255,255,255,.7); }
  .vk-sp-cv { display: block; }
}

/* WP Admin bar fix */
body.admin-bar .vk-nav { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .vk-nav { top: 46px; }
}
