/* ============================================
   PORTFOLIO — Osman Berkecan Yildirim
   Aesthetic: pixel-persona — Steel Blue / Dark Editorial
   ============================================ */

:root {
  /* Palette — Dark (default) */
  --black: hsl(220 10% 10%);
  --surface: hsl(220 15% 12%);
  --surface-raised: hsl(220 15% 16%);
  --border: hsl(220 13% 20%);
  --border-hover: hsl(220 13% 26%);
  --muted: hsl(220 10% 50%);
  --body: hsl(220 10% 60%);
  --heading: hsl(220 10% 85%);
  --white: hsl(220 10% 92%);
  --accent: hsl(210 25% 45%);
  --accent-dim: hsl(210 25% 45% / 0.12);
  --accent-glow: hsl(210 25% 45% / 0.08);
  --nav-bg: hsl(220 10% 10% / 0.85);

  /* Typography */
  --font-display: 'Satoshi', sans-serif;
  --font-body: 'Satoshi', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --section-pad: clamp(80px, 12vw, 160px);
  --container: min(1100px, 90vw);
  --radius: 0.5rem;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Light Mode ---- */
html.light {
  --black: hsl(0 0% 100%);
  --surface: hsl(220 20% 96%);
  --surface-raised: hsl(220 20% 93%);
  --border: hsl(220 15% 88%);
  --border-hover: hsl(220 15% 80%);
  --muted: hsl(220 10% 50%);
  --body: hsl(220 15% 40%);
  --heading: hsl(220 18% 12%);
  --white: hsl(220 18% 8%);
  --accent: hsl(210 25% 45%);
  --accent-dim: hsl(210 25% 45% / 0.1);
  --accent-glow: hsl(210 25% 45% / 0.06);
  --nav-bg: hsl(0 0% 100% / 0.8);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--body);
  background: var(--black);
  line-height: 1.7;
  overflow-x: hidden;
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

strong {
  font-weight: 600;
  color: var(--heading);
}

::selection {
  background: var(--accent);
  color: white;
}


/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 48px);
  height: 64px;
  transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--heading);
  letter-spacing: -0.01em;
}

.nav__logo-dot {
  color: var(--accent);
}

.nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
  border-radius: var(--radius);
}

.nav__link:hover {
  color: var(--heading);
  transform: translateY(-1px);
}

.nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__link.active {
  color: var(--heading);
}

.nav__link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__theme-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav__theme-btn:hover {
  color: var(--heading);
  background: var(--surface);
}

.nav__cta {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: white;
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  padding: 8px 20px;
  cursor: pointer;
  transition: opacity 0.2s var(--ease), transform 0.15s var(--ease);
  text-decoration: none;
}

.nav__cta:hover {
  opacity: 0.9;
}

.nav__cta:active {
  transform: scale(0.98);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}

.nav__hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--heading);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav__hamburger.open span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--nav-bg);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
  position: relative;
}

.mobile-menu__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
  border-radius: var(--radius);
}

.mobile-menu__link:hover {
  color: var(--heading);
  transform: translateY(-2px);
}

.mobile-menu__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-menu__link.active {
  color: var(--heading);
}

.mobile-menu__link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-menu__cta {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: white;
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  padding: 12px 28px;
  margin-top: 16px;
  text-decoration: none;
  transition: opacity 0.2s var(--ease);
}

/* ---- Hero / About ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: var(--section-pad) 0;
  padding-top: calc(var(--section-pad) - 10px);
  overflow: hidden;
}

.hero__container {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Profile photo */
.hero__photo-wrapper {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border-hover);
  margin-bottom: 20px;
  box-shadow: 0 0 0 4px var(--black);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.hero__photo-wrapper:hover {
  border-color: var(--accent);
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.7rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero__index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.hero__line {
  width: 40px;
  height: 1px;
  background: var(--border-hover);
}

.hero__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.hero__name {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero__name-line {
  display: block;
  font-size: clamp(2rem, 5.5vw, 4.2rem);
  color: var(--heading);
}

.hero__name-line--accent {
  color: var(--accent);
}

.hero__role {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.hero__role-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1 rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 6px 16px;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
}

.hero__summary {
  max-width: 640px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--body);
  margin-bottom: 20px;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: var(--radius);
  transition: all 0.2s var(--ease);
  cursor: pointer;
  border: none;
}

.hero__cta--primary {
  background: var(--accent);
  color: white;
}

.hero__cta--primary:hover {
  opacity: 0.9;
}

.hero__cta--secondary {
  background: none;
  color: var(--heading);
  border: 1px solid var(--border);
}

.hero__cta--secondary:hover {
  background: var(--surface);
}

.hero__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 600px;
  margin-bottom: 56px;
}

.hero__detail-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__detail-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 4px;
}

.hero__detail-value {
  font-size: 0.95rem;
  color: var(--heading);
  font-weight: 500;
}

.hero__detail-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Social Links */
.hero__socials {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.hero__social {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.hero__social:hover {
  color: var(--heading);
}

.hero__social svg {
  opacity: 0.6;
  transition: opacity 0.2s var(--ease);
}

.hero__social:hover svg {
  opacity: 1;
}

/* Scroll Hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero__scroll-hint span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ---- Divider ---- */
.divider {
  width: var(--container);
  margin: 0 auto;
}

.divider__line {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-hover), transparent);
}

/* ---- Section Shared ---- */
.section {
  padding: var(--section-pad) 0;
}

.section__container {
  width: var(--container);
  margin: 0 auto;
}

.section__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
  justify-content: center;
}

.section__index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.section__line {
  width: 40px;
  height: 1px;
  background: var(--border-hover);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.03em;
}

/* ---- Experience Timeline ---- */
.exp__timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}

.exp__timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 12px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--border));
}

.exp__item {
  position: relative;
  padding-bottom: 48px;
}

.exp__item:last-child {
  padding-bottom: 0;
}

.exp__dot {
  position: absolute;
  left: -34px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--black);
  box-shadow: 0 0 0 3px var(--accent-dim);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.exp__item:hover .exp__dot {
  box-shadow: 0 0 0 6px var(--accent-dim);
  transform: scale(1.15);
}

.exp__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.exp__role {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--heading);
  letter-spacing: -0.01em;
}

.exp__date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.exp__company {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}

.exp__desc {
  font-size: 0.9rem;
  color: var(--body);
  line-height: 1.8;
  margin-bottom: 16px;
}

.exp__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.exp__tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 4px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.exp__item:hover .exp__tag {
  border-color: var(--border-hover);
}

/* ---- Projects Carousel ---- */
.projects__carousel {
  position: relative;
  overflow: hidden;
}

.projects__track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  will-change: transform;
}

.project-card {
  flex: 0 0 calc(50% - 12px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 32px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease-out), background 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.project-card:hover {
  border-color: var(--border-hover);
  background: var(--surface-raised);
  transform: translateY(-2px);
}

.project-card:hover::before {
  opacity: 1;
}

.project-card__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.project-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 12px;
  border-radius: var(--radius);
}

.project-card__badge--status {
  border: 1px solid var(--border-hover);
  background: transparent;
  color: var(--muted);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-dot--completed {
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.status-dot--active {
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-dim);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

.project-card__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.project-card__subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.project-card__divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 20px;
}

.project-card__details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.project-card__details li {
  font-size: 0.85rem;
  color: var(--body);
  line-height: 1.6;
  padding-left: 14px;
  position: relative;
}

.project-card__details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

.project-card__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-card__stack span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.project-card:hover .project-card__stack span {
  border-color: var(--border-hover);
}

/* Carousel Controls */
.projects__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--surface);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  cursor: pointer;
  z-index: 10;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease), opacity 0.2s var(--ease);
}

.projects__btn--prev {
  left: 12px;
}

.projects__btn--next {
  right: 12px;
}

.projects__btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--surface-raised);
}

.projects__btn:disabled {
  opacity: 0;
  pointer-events: none;
}

.projects__dots-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.projects__dots {
  display: flex;
  gap: 8px;
}

.projects__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-hover);
  border: none;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
  cursor: pointer;
  padding: 0;
}

.projects__dot.active {
  background: var(--accent);
  transform: scale(1.4);
}

/* ---- Skills ---- */
.skills__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.skill-group {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  transition: border-color 0.3s var(--ease);
}

.skill-group:hover {
  border-color: var(--border-hover);
}

.skill-group__title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
}

.skill-group__items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-tag {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--heading);
  padding: 6px 14px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s var(--ease-out), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.skill-tag:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  background: var(--accent-dim);
}

/* ---- Contact ---- */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact__intro {
  font-size: 1.05rem;
  color: var(--heading);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.contact__detail:hover {
  color: var(--heading);
}

.contact__detail svg {
  color: var(--accent);
  opacity: 0.7;
  flex-shrink: 0;
}

/* Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.form__input {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--heading);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.form__input::placeholder {
  color: var(--muted);
  opacity: 0.5;
}

.form__input:focus {
  border-color: var(--accent);
  background: var(--surface-raised);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: white;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 12px 24px;
  cursor: pointer;
  transition: opacity 0.2s var(--ease), transform 0.15s var(--ease-out);
}

.form__submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.form__submit:active {
  transform: translateY(0);
}

.form__submit svg {
  transition: transform 0.2s var(--ease);
}

.form__submit:hover svg {
  transform: translateX(3px);
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer__container {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__copy {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.footer__built {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  opacity: 0.5;
}

/* ---- Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 {
  transition-delay: 0.08s;
}

.reveal--delay-2 {
  transition-delay: 0.16s;
}

.reveal--delay-3 {
  transition-delay: 0.24s;
}

.reveal--delay-4 {
  transition-delay: 0.32s;
}

.reveal--delay-5 {
  transition-delay: 0.4s;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__right .nav__cta {
    display: none;
  }

  .nav__right .nav__theme-btn {
    display: flex;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero__details {
    grid-template-columns: 1fr;
  }

  .project-card {
    flex: 0 0 100%;
  }

  .skills__grid {
    grid-template-columns: 1fr;
  }

  .contact__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__scroll-hint {
    display: none;
  }

  .project-card {
    padding: 24px;
  }

  .exp__timeline {
    padding-left: 32px;
  }

  .exp__dot {
    left: -26px;
  }

  .exp__timeline::before {
    left: 8px;
  }

  .footer__container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__name-line {
    font-size: 2rem;
  }

  .section__header {
    margin-bottom: 40px;
  }

  .project-card {
    padding: 20px;
  }

  .skill-group {
    padding: 20px;
  }

  .exp__timeline {
    padding-left: 28px;
  }

  .exp__dot {
    left: -22px;
    width: 8px;
    height: 8px;
  }

  .exp__timeline::before {
    left: 8px;
  }
}