/* ===== Deniz Şeker — portfolio page ===== */

/* ===== Hero ===== */
.profile-hero {
  padding-top: clamp(7rem, 12vw, 10rem);
}
.profile-grid {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.profile-photo {
  margin: 0;
  position: relative;
}
.profile-photo::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  opacity: 0.45;
}
.profile-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--orange);
  background: var(--panel);
}
.profile-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.6rem, 6.5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--orange);
}
.profile-role {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  margin-top: 0.5rem;
}
.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.6rem;
  margin-top: 0.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--muted);
}
.profile-meta-dot {
  color: var(--orange);
}
.profile-lede {
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
  max-width: 62ch;
}
.profile-cta {
  justify-content: flex-start;
  margin-top: 1.8rem;
}
.btn-icon {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}

/* ===== Stats ===== */
.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: clamp(3rem, 6vw, 4.4rem);
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.pstat-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  color: var(--orange);
  line-height: 1.2;
}
.pstat-label {
  color: var(--muted);
  font-size: 0.98rem;
  margin-top: 0.4rem;
}

/* ===== Reel ===== */
.reel-section,
.projects-section {
  background: var(--bg-soft);
}
.reel-frame {
  position: relative;
  margin-top: 2.4rem;
  aspect-ratio: 16 / 9;
  border: 2px solid var(--orange);
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
}
.reel-frame iframe,
.reel-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.reel-facade {
  display: block;
  cursor: pointer;
}
.reel-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.reel-facade:hover img {
  transform: scale(1.03);
  filter: brightness(0.85);
}
.reel-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(64px, 9vw, 92px);
  height: clamp(64px, 9vw, 92px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--orange);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, background 0.25s ease;
}
.reel-play svg {
  width: 44%;
  height: 44%;
  fill: currentColor;
  margin-left: 6%;
}
.reel-facade:hover .reel-play,
.reel-facade:focus-visible .reel-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #ffa04a;
}
.reel-more {
  margin-top: 1.2rem;
  text-align: right;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
}
.reel-more a {
  color: var(--orange);
}
.reel-more a:hover {
  text-decoration: underline;
}

/* ===== Experience timeline ===== */
.timeline {
  list-style: none;
  margin-top: 2.6rem;
  border-left: 2px solid var(--border);
  display: grid;
  gap: 2.6rem;
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.6rem;
  padding-left: 2rem;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px var(--bg);
}
.tl-date {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--orange);
  letter-spacing: 0.03em;
}
.tl-body h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.35;
}
.tl-org {
  display: inline-block;
  margin-top: 0.2rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 138, 30, 0.5);
}
a.tl-org:hover {
  color: var(--orange);
}
span.tl-org {
  border-bottom: 0;
  color: var(--muted);
}
.tl-body p {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 70ch;
}
.tl-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--orange);
}
.tl-link:hover {
  text-decoration: underline;
}

/* ===== Projects ===== */
.group-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 3rem 0 1.2rem;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.work-card,
.mini-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
a.work-card:hover,
a.mini-card:hover,
.mini-card:focus-within {
  transform: translateY(-5px);
  border-color: var(--orange);
}
.work-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 460 / 215;
  object-fit: cover;
  background: #1a1a1a;
}
.work-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
}
.work-title,
.mini-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.35;
}
.work-role {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--orange);
}
.work-link {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.mini-card {
  gap: 0.3rem;
  padding: 1.2rem 1.25rem;
}
.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.88rem;
}
.mini-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}
.mini-links a:hover {
  color: var(--orange);
}

/* ===== Skills ===== */
.skill-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.4rem;
}
.skill-col {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem 1.6rem;
}
.skill-level {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.skill-dots {
  display: inline-flex;
  gap: 4px;
}
.skill-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.skill-expert .skill-dots i,
.skill-advanced .skill-dots i:nth-child(-n+2),
.skill-basic .skill-dots i:first-child {
  background: var(--orange);
}
.skill-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.skill-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 1rem;
}
.skill-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.skill-tools {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}
.info-card {
  border-top: 2px solid var(--orange);
  padding-top: 1rem;
}
.info-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}
.info-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
}
.info-title a {
  border-bottom: 1px solid rgba(255, 138, 30, 0.5);
}
.info-title a:hover {
  color: var(--orange);
}
.info-sub {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ===== Contact ===== */
.link-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2.2rem;
}
.link-pills a {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.link-pills a:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-3px);
}
.contact-note {
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .profile-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .profile-photo {
    width: min(240px, 62vw);
    margin: 0 auto;
  }
  .profile-meta,
  .profile-cta {
    justify-content: center;
  }
  .profile-lede {
    margin-left: auto;
    margin-right: auto;
  }
  .profile-stats { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .skill-cols { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .tl-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding-left: 1.4rem;
  }
  .work-grid,
  .mini-grid,
  .info-grid { grid-template-columns: 1fr; }
  .reel-more { text-align: center; }
  .contact-actions .btn { white-space: normal; }
}
