/* ============================================================
   TAYFUN EVCİL — PORTFOLIO
   style.css — all visual styles
   ============================================================ */

/* RESET & ROOT */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #0a0a0a;
  --white:   #f5f2ed;
  --red:     #d4000a;
  --gray:    #888;
  --light:   #e8e4de;

  --f-display: 'Playfair Display', serif;
  --f-body:    'Libre Baskerville', serif;
  --f-cond:    'Barlow Condensed', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--f-body);
  overflow-x: hidden;
  cursor: crosshair;
}

/* ============================================================
   MASTHEAD
   ============================================================ */
.masthead {
  border-bottom: 3px solid var(--black);
  padding: 0.6rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
}
.masthead-date {
  font-family: var(--f-cond);
  font-size: 11px;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.masthead-title {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.masthead-title span { color: var(--red); }

.masthead-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.masthead-nav a {
  font-family: var(--f-cond);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  transition: color 0.15s;
}
.masthead-nav a:hover { color: var(--red); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 0 3rem;
  border-bottom: 1px solid var(--black);
  overflow: hidden;
}
.hero-overline {
  font-family: var(--f-cond);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  padding: 1.2rem 0 0.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--light);
}
.hero-overline::before { content: 'Vol. I  No. 1'; }
.hero-overline::after  { content: ''; flex: 1; height: 1px; background: var(--light); }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 2px 1.6fr;
  min-height: 82vh;
}
.hero-left {
  padding: 2.5rem 3rem 3rem 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 2px solid var(--black);
}
.hero-divider { background: var(--black); }
.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-kicker {
  font-family: var(--f-cond);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1.2rem;
}
.hero-name {
  font-family: var(--f-display);
  font-size: clamp(3.8rem, 7.5vw, 7rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--black);
}
.hero-name em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--gray);
  font-size: 0.72em;
}

.hero-pull {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--light);
}
.pull-quote {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--black);
  margin-bottom: 1rem;
}
.pull-quote::before {
  content: '"';
  color: var(--red);
  font-size: 2.5rem;
  line-height: 0;
  vertical-align: -0.6rem;
  margin-right: 2px;
}
.pull-attr {
  font-family: var(--f-cond);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}

/* HERO RIGHT */
.hero-bg-number {
  position: absolute;
  top: -0.1em;
  right: -0.05em;
  font-family: var(--f-display);
  font-size: clamp(18rem, 35vw, 34rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  user-select: none;
  pointer-events: none;
}
.hero-right-content {
  position: relative;
  z-index: 2;
  padding: 3rem;
}
.hero-pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-pillar {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.2s;
}
.hero-pillar:hover { border-color: rgba(212,0,10,0.4); }
.pillar-num {
  font-family: var(--f-cond);
  font-size: 9px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.2em;
  min-width: 24px;
  opacity: 0.8;
}
.pillar-text {
  font-family: var(--f-display);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.pillar-text em {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: 0.72em;
  color: rgba(255,255,255,0.35);
  margin-top: 2px;
}

.hero-stats-row {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat {
  flex: 1;
  padding: 1.2rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hero-stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--f-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat-num sup { font-size: 0.5em; color: var(--red); }
.stat-label {
  font-family: var(--f-cond);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-top: 4px;
}

/* ============================================================
   SECTION RULES
   ============================================================ */
.section-rule {
  height: 3px;
  background: var(--black);
  position: relative;
}
.section-rule::after {
  content: attr(data-label);
  position: absolute;
  right: 3rem;
  top: 50%;
  transform: translateY(-50%);
  background: var(--black);
  color: var(--white);
  font-family: var(--f-cond);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0 10px;
}

/* ============================================================
   ABOUT
   ============================================================ */
#about { padding: 4rem 3rem; }

.about-layout {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.about-num {
  font-family: var(--f-display);
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 900;
  line-height: 1;
  color: var(--light);
}
.about-section-title {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 1.5rem;
}
.about-body {
  font-family: var(--f-body);
  font-size: 0.9rem;
  line-height: 1.9;
  color: #333;
}
.about-body p { margin-bottom: 1rem; }
.drop-cap::first-letter {
  float: left;
  font-family: var(--f-display);
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 0.8;
  margin: 0.05em 0.08em 0 0;
  color: var(--black);
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f-cond);
  font-size: 12px;
  margin-bottom: 2rem;
}
.info-table tr { border-bottom: 1px solid var(--light); }
.info-table td { padding: 0.7rem 0; }
.info-table td:first-child {
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  width: 40%;
  font-size: 10px;
}
.info-table td:last-child {
  font-weight: 500;
  color: var(--black);
}

.red-box {
  background: var(--red);
  color: var(--white);
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.red-box-label {
  font-family: var(--f-cond);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 0.5rem;
}
.red-box-text {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5;
}

/* ============================================================
   EXPERIENCE
   ============================================================ */
#experience { padding: 4rem 3rem; }

.exp-header-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--light);
}
.exp-title {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.exp-title em { color: var(--red); font-style: italic; }
.exp-dek {
  font-family: var(--f-body);
  font-size: 0.85rem;
  line-height: 1.8;
  color: #555;
}

.exp-feature {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr;
}
.exp-main  { padding-right: 3rem; border-right: 1px solid var(--light); }
.exp-sidebar { padding-left: 2rem; border-right: 1px solid var(--light); }
.exp-sidebar:last-child { border-right: none; }

.exp-card {
  padding: 2rem 0;
  border-bottom: 1px solid var(--light);
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.5rem;
  transition: background 0.2s;
}
.exp-card:hover  { background: rgba(212,0,10,0.02); }
.exp-card:last-child { border-bottom: none; }

.exp-year {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--light);
  line-height: 1;
  padding-top: 3px;
}
.exp-co {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--black);
  margin-bottom: 2px;
}
.exp-role-label {
  font-family: var(--f-cond);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}
.exp-copy {
  font-family: var(--f-body);
  font-size: 0.8rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 0.8rem;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 5px; }
.pill {
  font-family: var(--f-cond);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--black);
  padding: 3px 8px;
  color: var(--black);
}

/* SIDEBAR */
.sidebar-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--light);
}
.sidebar-item:last-child { border-bottom: none; }
.sidebar-label {
  font-family: var(--f-cond);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.4rem;
}
.sidebar-value {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
}
.sidebar-sub {
  font-family: var(--f-body);
  font-size: 0.75rem;
  color: #666;
  margin-top: 3px;
  line-height: 1.6;
}
.sidebar-big-num {
  font-family: var(--f-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}
.sidebar-big-num sup { font-size: 0.4em; color: var(--red); }

/* ============================================================
   SKILLS
   ============================================================ */
#skills {
  background: var(--black);
  color: var(--white);
  padding: 4rem 3rem;
}
.skills-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.skills-heading {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.skills-heading em { font-style: italic; color: var(--red); }
.skills-issue {
  font-family: var(--f-cond);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  text-align: right;
  line-height: 1.9;
}

.skills-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.skill-col {
  padding: 0 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.skill-col:first-child { padding-left: 0; }
.skill-col:last-child  { border-right: none; }

.skill-col-title {
  font-family: var(--f-cond);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.5rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.skill-entry {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}
.skill-entry:last-child { border-bottom: none; }
.skill-name {
  font-family: var(--f-body);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}
.skill-mark {
  font-family: var(--f-cond);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.skill-mark.core { color: var(--red); }

/* ============================================================
   PROJECTS
   ============================================================ */
#projects { padding: 4rem 3rem; }

.proj-masthead-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--black);
}
.proj-section-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.02em;
}
.proj-count {
  font-family: var(--f-cond);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gray);
  text-transform: uppercase;
}

.proj-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
}
.proj-card {
  padding: 2rem;
  border: 1px solid var(--light);
  transition: background 0.2s;
  position: relative;
}
.proj-card:hover { background: rgba(212,0,10,0.025); }

.proj-card.featured {
  grid-row: span 2;
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.proj-card.featured:hover { background: #111; }

.proj-num-label {
  font-family: var(--f-cond);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1rem;
}
.proj-card.featured .proj-num-label { color: rgba(255,255,255,0.25); }

.proj-card-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 0.4rem;
}
.proj-card.featured .proj-card-title {
  font-size: 1.7rem;
  color: var(--white);
}
.proj-client {
  font-family: var(--f-cond);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.proj-desc {
  font-family: var(--f-body);
  font-size: 0.78rem;
  line-height: 1.85;
  color: #555;
  margin-bottom: 1rem;
}
.proj-card.featured .proj-desc { color: rgba(255,255,255,0.5); }

.proj-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.proj-tag {
  font-family: var(--f-cond);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.35);
  padding: 2px 7px;
}
.proj-card:not(.featured) .proj-tag {
  border-color: var(--light);
  color: var(--gray);
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
  border-top: 3px solid var(--black);
}
.contact-left {
  background: var(--red);
  color: var(--white);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-right {
  background: var(--black);
  color: var(--white);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-section-label {
  font-family: var(--f-cond);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 1.5rem;
}
.contact-headline {
  font-family: var(--f-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.contact-headline em {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: 0.75em;
  opacity: 0.6;
}
.contact-body {
  font-family: var(--f-body);
  font-size: 0.85rem;
  line-height: 1.8;
  opacity: 0.75;
  margin-top: 2rem;
}
.contact-cta {
  font-family: var(--f-cond);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 2rem;
}
.contact-link-list { list-style: none; }
.contact-link-list li { border-bottom: 1px solid rgba(255,255,255,0.1); }
.contact-link-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  text-decoration: none;
  color: var(--white);
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 700;
  transition: letter-spacing 0.3s;
}
.contact-link-list a:hover { letter-spacing: 0.04em; }
.contact-link-list a span {
  font-family: var(--f-cond);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  opacity: 0.4;
}
.contact-footnote {
  font-family: var(--f-cond);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.3;
}

/* CONTACT FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  margin: 1.5rem 0;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-label {
  font-family: var(--f-cond);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.form-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 0.8rem;
  padding: 0.7rem 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}
.form-input::placeholder { color: rgba(255,255,255,0.2); }
.form-input:focus { border-color: rgba(255,255,255,0.35); }
.form-textarea { min-height: 100px; }
.form-submit {
  font-family: var(--f-cond);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--black);
  border: none;
  padding: 0.85rem 1.5rem;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s, color 0.2s;
}
.form-submit:hover { background: var(--red); color: var(--white); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--black);
  border-top: 3px solid var(--red);
  padding: 1.2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}
.footer-copy {
  font-family: var(--f-cond);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .masthead          { padding: 0.6rem 1.5rem; }
  .masthead-nav      { display: none; }
  .hero              { padding: 0 1.5rem; }
  .hero-grid         { grid-template-columns: 1fr; }
  .hero-left         { border-right: none; border-bottom: 2px solid var(--black); padding: 2rem 0; }
  .hero-right        { min-height: 50vh; }
  .hero-divider      { display: none; }
  .about-layout      { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-num         { display: none; }
  #about,
  #experience,
  #projects          { padding: 3rem 1.5rem; }
  #skills            { padding: 3rem 1.5rem; }
  .exp-header-row    { grid-template-columns: 1fr; }
  .exp-feature       { grid-template-columns: 1fr; gap: 2rem; }
  .exp-main          { padding-right: 0; border-right: none; border-bottom: 1px solid var(--light); padding-bottom: 2rem; }
  .exp-sidebar       { padding-left: 0; }
  .skills-columns    { grid-template-columns: 1fr; }
  .skill-col         { padding: 1.5rem 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .proj-grid         { grid-template-columns: 1fr; }
  .proj-card.featured { grid-row: auto; }
  #contact           { grid-template-columns: 1fr; }
  .contact-left,
  .contact-right     { padding: 3rem 1.5rem; }
  footer             { flex-direction: column; gap: 0.5rem; padding: 1.2rem 1.5rem; text-align: center; }
}
