/*
Theme Name: Zeki Yuksel
Theme URI: https://zyuksel.com
Author: Zeki Yuksel
Description: Zeki Yuksel personal portfolio theme.
Version: 1.0.0
Text Domain: zyuksel
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Poppins:wght@400;500;600;700;800&display=swap');

:root { --accent: #ffb400; --bg: #111; --panel: #252525; --muted: #b8b8b8; --line: #333; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: #fff; font: 15px/1.7 "Open Sans", sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, p { margin-top: 0; }
h1, h2, h3, h4, h5, .button, .menu-label { font-family: Poppins, sans-serif; }
.site-main { min-height: 100vh; }
.shell { width: min(1140px, calc(100% - 48px)); margin: auto; padding: 70px 0; }
.page-title { position: relative; margin: 0 0 65px; text-align: center; text-transform: uppercase; }
.page-title h1 { position: relative; z-index: 2; margin: 0; font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1; }
.page-title h1 span, .accent { color: var(--accent); }
.page-title-bg { position: absolute; inset: 50% 0 auto; color: #ffffff12; font: 800 clamp(68px, 10vw, 110px)/1 Poppins, sans-serif; letter-spacing: 10px; transform: translateY(-50%); }
.section-title { margin: 0 0 28px; font-size: 26px; text-transform: uppercase; }
.divider { width: 40%; height: 1px; margin: 70px auto; background: var(--line); }

.icon-menu { position: fixed; z-index: 50; top: 50%; right: 28px; display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; transform: translateY(-50%); }
.icon-menu a { position: relative; display: grid; width: 50px; height: 50px; place-items: center; border-radius: 50%; background: #2b2a2a; transition: .25s; }
.icon-menu a:hover, .icon-menu .active { background: var(--accent); }
.menu-label { position: absolute; top: 0; right: 24px; z-index: -1; height: 50px; padding: 0 30px 0 18px; border-radius: 25px 0 0 25px; background: var(--accent); font-size: 15px; font-weight: 500; line-height: 50px; opacity: 0; transform: scaleX(0); transform-origin: right; transition: .25s; white-space: nowrap; }
.icon-menu a:hover .menu-label { opacity: 1; transform: scaleX(1); }
.menu-icon { width: 20px; height: 20px; fill: currentColor; }
.mobile-toggle { display: none; }

.home { position: relative; min-height: 100vh; overflow: hidden; }
.color-block { position: fixed; top: -50%; left: -83%; width: 100%; height: 200%; background: var(--accent); transform: rotate(-15deg); }
.home-photo { position: fixed; top: 40px; bottom: 40px; left: 40px; z-index: 2; width: calc(33.333% - 40px); border-radius: 30px; background: center/cover no-repeat url('assets/portrait.jpg'); box-shadow: 0 0 7px #0009; }
.home-content { display: flex; width: 50%; min-height: 100vh; margin-left: 42%; align-items: center; }
.home-copy { max-width: 650px; }
.mobile-photo { display: none; }
.home h1 { position: relative; margin: 0 0 20px; padding-left: 70px; color: var(--accent); font-size: clamp(42px, 4vw, 51px); font-weight: 700; line-height: 1.25; text-transform: uppercase; }
.home h1:before { content: ""; position: absolute; top: 29px; left: 0; width: 40px; height: 4px; border-radius: 4px; background: var(--accent); }
.home h1 span { display: block; color: #fff; }
.home p { max-width: 600px; margin-bottom: 28px; font-size: 16px; line-height: 2; }
.button { position: relative; display: inline-flex; min-height: 50px; padding: 0 66px 0 34px; align-items: center; overflow: hidden; border: 1px solid var(--accent); border-radius: 27px; background: transparent; color: #fff; font-size: 15px; font-weight: 600; text-transform: uppercase; cursor: pointer; }
.button:before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: translateX(100%); transition: .3s; }
.button:hover:before { transform: translateX(0); }
.button-icon { position: absolute; top: -1px; right: -1px; display: grid; width: 50px; height: 50px; place-items: center; border-radius: 50%; background: var(--accent); font-size: 22px; }
.socials { display: flex; gap: 12px; margin-top: 28px; }
.socials a { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: #2b2a2a; font-weight: 700; transition: .2s; }
.socials a:hover { background: var(--accent); }

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; margin: 0 0 30px; padding: 0; list-style: none; }
.info-grid .label { color: var(--muted); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.stat { min-height: 150px; padding: 20px 30px 25px; border: 1px solid var(--line); border-radius: 5px; }
.stat strong { display: block; color: var(--accent); font: 700 50px/1.2 Poppins, sans-serif; }
.stat strong span { font-size: 32px; vertical-align: top; }
.stat p { position: relative; margin: 6px 0 0; padding-left: 45px; text-transform: uppercase; }
.stat p:before { content: ""; position: absolute; top: 12px; left: 0; width: 30px; height: 1px; background: #777; }
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.skill-card { padding: 28px; border: 1px solid var(--line); border-radius: 5px; background: #171717; }
.skill-card h3 { margin-bottom: 18px; color: var(--accent); font-size: 19px; }
.tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: 5px 11px; border-radius: 3px; background: var(--panel); color: #ddd; font-size: 13px; }
.history-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { position: relative; padding: 0 0 42px 60px; }
.timeline li:before { content: ""; position: absolute; top: 0; bottom: 0; left: 20px; width: 1px; background: #333; }
.timeline-icon { position: absolute; top: 0; left: 0; z-index: 2; display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: var(--accent); font-weight: 700; }
.time { display: inline-block; margin-bottom: 12px; padding: 2px 10px; border-radius: 20px; background: var(--panel); color: #ddd; font-size: 12px; text-transform: uppercase; }
.timeline h3 { margin-bottom: 12px; font-size: 17px; text-transform: uppercase; }
.timeline h3 span { color: #aaa; font-size: 15px; font-weight: 500; }
.timeline p { color: #ddd; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.contact-intro { font-size: 16px; }
.contact-item { display: flex; gap: 18px; margin: 28px 0; align-items: center; }
.contact-item strong { display: block; color: #aaa; font-size: 13px; font-weight: 400; text-transform: uppercase; }
.contact-item .symbol { color: var(--accent); font-size: 30px; }
.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.form-grid textarea, .form-grid .wide, .form-message { grid-column: 1 / -1; }
.field { width: 100%; padding: 13px 24px; border: 1px solid transparent; border-radius: 25px; outline: 0; background: var(--panel); color: #fff; font: inherit; }
.field:focus { border-color: var(--accent); }
textarea.field { min-height: 180px; resize: vertical; }
.notice { margin-bottom: 25px; padding: 12px 18px; border-left: 3px solid var(--accent); background: var(--panel); }
.coming { display: grid; min-height: 100vh; place-content: center; padding: 30px; text-align: center; }
.coming h1 { margin-bottom: 15px; color: var(--accent); font-size: clamp(46px, 8vw, 90px); }
.coming p { font-size: 18px; }
.ai-box { max-width: 760px; margin: auto; text-align: center; }
.ai-box .field { margin: 24px 0; }

@media (max-width: 1024px) {
  .shell { width: min(720px, calc(100% - 48px)); padding: 55px 0 95px; }
  .icon-menu { top: auto; right: 0; bottom: 0; left: 0; display: flex; padding: 10px; justify-content: center; background: #1d1d1d; transform: none; }
  .icon-menu a { width: 46px; height: 46px; }
  .menu-label { display: none; }
  .color-block, .home-photo { display: none; }
  .home-content { width: auto; min-height: 100vh; margin: 0; padding: 45px 24px 100px; justify-content: center; text-align: center; }
  .mobile-photo { display: block; width: 270px; height: 270px; margin: 0 auto 30px; border: 4px solid #252525; border-radius: 50%; object-fit: cover; }
  .home h1 { padding: 0; font-size: 38px; }
  .home h1:before { display: none; }
  .home p { max-width: 660px; }
  .socials { justify-content: center; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .shell { width: calc(100% - 30px); padding-top: 35px; }
  .page-title { margin-bottom: 45px; }
  .page-title-bg { display: none; }
  .page-title h1 { font-size: 34px; }
  .home h1 { font-size: 29px; }
  .home p { font-size: 14px; line-height: 1.8; }
  .mobile-photo { width: 220px; height: 220px; }
  .info-grid, .stats, .skills-grid, .history-grid, .form-grid { grid-template-columns: 1fr; }
  .info-grid { gap: 8px; }
  .history-grid { gap: 0; }
  .timeline li { padding-left: 52px; }
  .form-grid textarea, .form-grid .wide { grid-column: auto; }
  .icon-menu { gap: 9px; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
