/* =========================================================
   Celal Kumcu – portfolio
   Shared stylesheet for every page
   Colours: grey #F2F2F4 · blue #5F8DC3 · black #000 · white #FFF
   Font: DM Sans
   ========================================================= */

:root {
  --grey: #F2F2F4;
  --blue: #5F8DC3;
  --black: #000000;
  --white: #FFFFFF;
  --radius: 22px;
  --pill: 999px;
  --border: 2.5px solid var(--black);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--black);
  background: var(--grey);
}

img { display: block; max-width: 100%; }

a { color: inherit; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Text ---------- */

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
h1 { font-size: clamp(40px, 6vw, 80px); }
h2 { font-size: clamp(32px, 4.2vw, 46px); }
h3 { font-size: 22px; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Blue pill that highlights one word per section */
.highlight {
  display: inline-block;
  padding: 0 0.28em 0.05em;
  margin-top: 0.08em;
  background: var(--blue);
  border: var(--border);
  border-radius: var(--pill);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border: var(--border);
  border-radius: var(--pill);
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--black); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.btn-dark  { background: var(--black); color: var(--white); }
.btn-dark:hover { box-shadow: 3px 3px 0 var(--blue); }
.btn-light { background: var(--white); }
.btn-grey  { background: #D9D9D9; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1.5px solid var(--black);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}
.brand img { height: 46px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 16px;
  border: 2px solid transparent;
  border-radius: var(--pill);
  font-size: 16px;
  text-decoration: none;
}
.nav-links a:hover { border-color: var(--black); }
.nav-links a[aria-current="page"] { background: var(--blue); border-color: var(--black); }
.nav-links .btn { margin-left: 10px; padding: 8px 20px; }

.nav-toggle {
  display: none;
  padding: 8px 16px;
  background: none;
  border: var(--border);
  border-radius: var(--pill);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* ---------- Photo frame (white box with blue offset shadow) ---------- */

.photo-frame {
  border: var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 16px 16px 0 -2.5px var(--blue), 16px 16px 0 0 var(--black);
  overflow: hidden;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Shown until a real photo is added */
.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100%;
  font-size: 14px;
  color: #6B6B6B;
}
.photo-placeholder::before {
  content: "";
  width: 34px;
  height: 34px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='1.6'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='15.5' cy='8.5' r='1.8'/%3E%3Cpath d='M3 17l5-5 4 4 3-3 6 6'/%3E%3C/svg%3E");
}

/* ---------- Home: hero ---------- */

/* ---------- Shared: two columns (text + photo) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ---------- Home: hero ---------- */

.hero { padding: 72px 0 96px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.lead { max-width: 440px; margin: 28px 0 32px; }

.hero .photo-frame { width: 100%; max-width: 400px; aspect-ratio: 4 / 5; margin-left: auto; }

/* ---------- Home: journey ---------- */

.journey {
  padding: 72px 0 88px;
  background: var(--black);
  color: var(--white);
}
.journey .intro { max-width: 560px; margin: 14px 0 40px; }

.chapters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chapter {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 26px;
  border: 1.5px solid #6B6B6B;
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
.chapter:hover { border-color: var(--white); transform: translateY(-4px); }
.chapter .step {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.7;
}
.chapter p { margin: 14px 0 22px; font-size: 16px; }
.chapter .more { margin-top: auto; font-size: 15px; font-weight: 700; }

/* The current chapter (IT) is the one blue thing in this section */
.chapter.current { background: var(--blue); border-color: var(--blue); color: var(--black); }

/* ---------- Home: about me ---------- */

.about-teaser { padding: 96px 0; }

.about-teaser .photo-frame {
  aspect-ratio: 16 / 11;
  box-shadow: -16px 16px 0 -2.5px var(--blue), -16px 16px 0 0 var(--black);
}
.about-teaser p { max-width: 440px; margin: 20px 0 28px; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 22px 0;
  background: var(--white);
  border-top: 1.5px solid var(--black);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.footer-inner img { height: 58px; }
.footer-cta { flex: 1; min-width: 220px; }
.footer-cta p { margin: 0; font-size: 15px; }
.footer-cta .title { font-size: 18px; font-weight: 500; }
.footer-links { display: flex; gap: 28px; }
.footer-copy { width: 100%; margin: 0; font-size: 13px; color: #6B6B6B; }

/* =========================================================
   Content pages (About, Hospitality & Events, IT & Projects)
   ========================================================= */

/* Page title area */
.page-header { padding: 56px 0 48px; border-bottom: 1.5px solid var(--black); }
.breadcrumb { margin: 0 0 16px; font-size: 14px; font-weight: 700; text-transform: uppercase; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-header .lead { max-width: 560px; margin: 16px 0 0; }

/* A content section */
.section { padding: 72px 0; border-bottom: 1.5px solid var(--black); }
.section h2 + p { max-width: 560px; margin: 16px 0 0; }
.section .photo-frame { aspect-ratio: 4 / 3; }

/* Skill pills */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.tags li {
  padding: 6px 18px;
  border: 2px solid var(--black);
  border-radius: var(--pill);
  background: var(--white);
  font-size: 15px;
}

/* Small label above a group heading */
.label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 16px;
  border: 2px solid var(--black);
  border-radius: var(--pill);
  font-size: 14px;
}
.label-dark { background: var(--black); color: var(--white); }
.label-grey { background: #D9D9D9; }

/* Photo gallery and cards: 3 per row */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.gallery figure { margin: 0; }
.gallery a { display: block; }
.thumb {
  aspect-ratio: 4 / 3;
  border: 1.5px solid var(--black);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { margin-top: 12px; font-size: 15px; }
.gallery figcaption strong { display: block; font-size: 16px; }

/* Light cards (About: "What I bring") */
.card {
  padding: 28px 26px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--white);
}
.card p { margin: 12px 0 0; font-size: 16px; }

/* Timeline (About: "My story") */
.timeline { margin: 36px 0 0; padding: 0; list-style: none; max-width: 680px; }
.timeline li {
  position: relative;
  padding: 0 0 28px 32px;
  border-left: 2.5px solid var(--black);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 4px;
  width: 16px;
  height: 16px;
  border: 2.5px solid var(--black);
  border-radius: 50%;
  background: var(--white);
}
.timeline li.now::before { background: var(--blue); }
.timeline .year { font-size: 14px; font-weight: 700; text-transform: uppercase; }
.timeline h3 { margin: 4px 0 6px; font-size: 20px; }
.timeline p { margin: 0; }

/* Projects (IT page): the blue section */
.projects { background: var(--blue); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.project {
  display: flex;
  flex-direction: column;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.project .thumb { border: 0; border-bottom: 1.5px solid var(--black); border-radius: 0; }
.project-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 22px; }
.project .tools { margin: 0; font-size: 13px; }
.project h3 { margin: 8px 0; font-size: 20px; text-transform: none; letter-spacing: 0; }
.project p { margin: 0 0 18px; font-size: 15px; }
.project a { margin-top: auto; font-size: 15px; font-weight: 700; color: #2F5F96; text-decoration: none; }
.project a:hover { text-decoration: underline; }

/* Previous / next buttons at the bottom of a page */
.page-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 40px 24px 56px;
}

/* ---------- Tablet and phone ---------- */

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
    background: var(--white);
    border-bottom: 1.5px solid var(--black);
  }
  .nav-links.open { display: flex; }
  .nav-links .btn { margin: 8px 0 0; text-align: center; }

  .hero { padding: 48px 0 72px; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 48px; }
  .hero .photo-frame { width: calc(100% - 16px); max-width: 340px; margin: 0 auto; }
  .about-teaser .photo-frame { margin-left: 16px; }
  .chapters { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
  .section .photo-frame { width: calc(100% - 16px); }
}

@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
  .page-nav { flex-direction: column; text-align: center; }
}
