/* ========================================
   ENES KAYA - PREMIUM UI PORTFÖY
   Tasarım Sistemi & Stiller (Bento/Glassmorphism)
   ======================================== */

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

:root {
  /* Renk Paleti */
  --bg-base: #090916;
  --bg-surface: rgba(255, 255, 255, 0.02);
  --bg-surface-hover: rgba(255, 255, 255, 0.05);

  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;

  --accent: #3b82f6;
  /* Modern Mavi */
  --accent-light: #60a5fa;
  --accent-glow: rgba(59, 130, 246, 0.15);

  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);

  --icon-bg: rgba(255, 255, 255, 0.05);

  /* Yuvarlatma - UI stili için geniş */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;

  /* Gölgeler */
  --shadow-ui: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px var(--accent-glow);

  /* Animasyon */
  --transition: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  --max-width: 1200px;
}

/* --- Light Tema --- */
[data-theme="light"] {
  --bg-base: #f5f5f7;
  --bg-surface: rgba(0, 0, 0, 0.03);
  --bg-surface-hover: rgba(0, 0, 0, 0.06);

  --text-primary: #1a1a1a;
  --text-secondary: #52525b;
  --text-tertiary: #a1a1aa;

  --accent: #2563eb;
  --accent-light: #3b82f6;
  --accent-glow: rgba(37, 99, 235, 0.1);

  --border: rgba(0, 0, 0, 0.08);
  --border-light: rgba(0, 0, 0, 0.15);

  --icon-bg: rgba(0, 0, 0, 0.05);

  --shadow-ui: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 40px var(--accent-glow);
}

[data-theme="light"] .navbar {
  background: rgba(245, 245, 247, 0.7);
}

[data-theme="light"] .hero__name {
  background: linear-gradient(to right, #1a1a1a, #52525b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .navbar__theme-toggle .icon-sun {
  display: none;
}

[data-theme="light"] .navbar__theme-toggle .icon-moon {
  display: block;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* Gizli scroll UI hissiyatı verir */
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
  transition: background-color var(--transition), color var(--transition);
}

html.menu-open,
body.menu-open {
  overflow: hidden;
}

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

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

/* --- Ortak UI Kart Stili (Glassmorphism) --- */
.ui-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 2rem;
  transition: var(--transition);
}

@media (hover: hover) and (pointer: fine) {
  .ui-card:hover {
    background: var(--bg-surface-hover);
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-ui);
  }
}

/* --- Navbar (Floating UI Island) --- */
.navbar-wrapper {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 1400px;
  z-index: 1000;
  /* Transition restricted to top to avoid horizontal jumps */
  transition: top var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: rgba(14, 14, 27, 1);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.navbar__logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  line-height: 1;
  transform: translateY(-2px);
}

.navbar__logo span {
  color: var(--accent);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  position: static;
  width: auto;
  height: auto;
  background: transparent;
  flex-direction: row;
  justify-content: flex-start;
  padding-top: 0;
}

.navbar__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transform: translateY(-1px);
}

@media (hover: hover) and (pointer: fine) {
  .navbar__links a:hover {
    color: var(--text-primary);
    background: var(--bg-surface-hover);
  }
}

.navbar__links a.active {
  color: var(--text-primary);
  background: var(--bg-surface-hover);
}

/* --- Tema Geçiş Butonu --- */
.navbar__theme-toggle {
  background: none;
  border: 1px solid var(--border);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
  flex-shrink: 0;
}

@media (hover: hover) and (pointer: fine) {
  .navbar__theme-toggle:hover {
    color: var(--text-primary);
    background: var(--bg-surface-hover);
    border-color: var(--border-light);
  }
}

.navbar__theme-toggle .icon-moon {
  display: none;
}

.navbar__theme-toggle .icon-sun {
  display: block;
}

.navbar__hamburger {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}

.navbar__hamburger span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: 0.3s;
}

.navbar__hamburger span:nth-child(1) {
  top: 14px;
}

.navbar__hamburger span:nth-child(2) {
  top: 19px;
}

.navbar__hamburger span:nth-child(3) {
  top: 24px;
}

/* --- Butonlar (Modern UI) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn--primary {
  background: var(--text-primary);
  color: var(--bg-base);
}

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
  }
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

@media (hover: hover) and (pointer: fine) {
  .btn--outline:hover {
    background: var(--bg-surface);
    border-color: var(--text-primary);
  }
}

/* --- Genel Bölüm Ayarları --- */
.section {
  padding: 8rem 1.5rem 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: 4rem;
}

.section__label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section__title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.section__divider {
  display: none;
  /* UI tasarımında gereksiz çizgilere yer yok */
}

/* --- Hero Bölümü --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 0 1.5rem;
}

.hero__content {
  max-width: 800px;
  z-index: 2;
}

.hero__greeting {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero__name {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -2px;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, #a1a1aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 2rem;
  min-height: 2em;
}

.typing-cursor {
  display: inline-block;
  color: var(--accent-light);
  font-weight: 300;
  animation: blink 0.7s infinite;
  margin-left: -1px;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero__description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.hero__socials {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 4rem;
}

.hero__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-primary);
  transition: var(--transition);
}

@media (hover: hover) and (pointer: fine) {
  .hero__socials a:hover {
    background: var(--text-primary);
    color: var(--bg-base);
    transform: translateY(-4px);
  }
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  animation: float 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-tertiary), transparent);
}

@keyframes float {

  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 10px);
  }
}

/* --- Hakkımda (Bento Layout) --- */
.about__content {
  max-width: 800px;
  margin: 0 auto;
}



.about__text {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.about__text p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 0;
  line-height: 1.8;
}

/* --- Yetenekler (Bento Grid) --- */
.skills__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  align-content: start;
}

.skill-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  transition: var(--transition);
}

@media (hover: hover) and (pointer: fine) {
  .skill-card:hover {
    background: var(--bg-surface-hover);
    border-color: var(--border-light);
    transform: translateY(-4px);
  }
}

.skill-card__header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
}

.skill-card__name {
  font-weight: 700;
  font-size: 1.1rem;
}

.skill-card__category {
  display: none;
  /* Kategori etiketi gizli */
}

/* --- Sayfalama (Pagination) --- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 2.5rem;
}

.pagination__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

@media (hover: hover) and (pointer: fine) {
  .pagination__btn:hover:not(:disabled) {
    background: var(--bg-surface-hover);
    border-color: var(--border-light);
    color: var(--text-primary);
    transform: scale(1.05);
  }
}

.pagination__btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.pagination__dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .pagination__dot:hover {
    background: var(--text-secondary);
  }
}

.pagination__dot.active {
  background: var(--text-primary);
  width: 28px;
  border-radius: 5px;
}

/* --- Projeler --- */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  align-content: start;
}

.project-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

@media (hover: hover) and (pointer: fine) {
  .project-card:hover {
    background: var(--bg-surface-hover);
    border-color: var(--border-light);
    transform: translateY(-8px);
  }
}

.project-card__icon {
  width: 48px;
  height: 48px;
  background: var(--text-primary);
  color: var(--bg-base);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.project-card__name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.project-card__description {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.project-card__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.project-card__tech span {
  font-size: 0.75rem;
  padding: 0.4rem 1rem;
  background: var(--icon-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
}

.project-card__links {
  display: flex;
  gap: 1.5rem;
}

.project-card__links a {
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

@media (hover: hover) and (pointer: fine) {
  .project-card__links a:hover {
    color: var(--text-primary);
  }
}

/* --- Sertifikalar --- */
.certificates__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  align-content: start;
}

.certificate-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
}

@media (hover: hover) and (pointer: fine) {
  .certificate-card:hover {
    background: var(--bg-surface-hover);
    border-color: var(--border-light);
    transform: translateY(-4px);
  }
}

.certificate-card__icon {
  width: 48px;
  height: 48px;
  background: var(--icon-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.certificate-card__name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.certificate-card__org {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.certificate-card__date {
  display: block;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 0.5rem;
}

/* --- İletişim --- */
.contact__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 4rem;
}

.contact__info p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0;
  text-decoration: none;
  color: inherit;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: 1px solid transparent;
  height: 100%;
}



.contact__item-icon {
  width: 56px;
  height: 56px;
  background: var(--icon-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__item-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.contact__item-value {
  font-weight: 600;
  font-size: 1.1rem;
}

.contact__item-text {
  margin-left: 1rem;
}

.contact__email-action {
  margin-left: auto;
  margin-right: 0.5rem;
  width: 50px;
  height: 50px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  transition: var(--transition);
  text-decoration: none;
  flex-shrink: 0;
}

@media (hover: hover) and (pointer: fine) {
  .contact__email-action:hover {
    background: var(--bg-surface-hover);
    border-color: var(--border-light);
    transform: scale(1.05);
  }
}

/* Sosyal Medya Butonları */
.contact__socials {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  height: 100%;
}

.contact__social-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  height: 100%;
  flex: 1;
}

@media (hover: hover) and (pointer: fine) {
  .contact__social-btn:hover {
    background: var(--bg-surface-hover);
    border-color: var(--border-light);
    transform: scale(1.05);
  }
}

.contact__social-icon {
  width: 50px;
  height: 50px;
  background: var(--icon-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-light);
}

.contact__social-arrow {
  margin-left: auto;
  color: var(--text-tertiary);
  transition: var(--transition);
  flex-shrink: 0;
}

@media (hover: hover) and (pointer: fine) {
  .contact__social-btn:hover .contact__social-arrow {
    color: var(--text-primary);
    transform: translateX(4px) scale(0.95);
    /* Keep arrow motion relative to scaling button */
  }
}

/* Form (UI Stili) */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

/* --- Yukarı Çık Butonu --- */
.scroll-top {
  position: fixed;
  bottom: 3rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease, border-color 0.2s ease;
  z-index: 900;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .scroll-top:hover {
    background: var(--text-primary);
    color: var(--bg-base);
    border-color: var(--text-primary);
    transform: translateY(-2px);
  }
}

/* --- İletişim --- */

.contact__info p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.contact__item-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--icon-bg);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  flex-shrink: 0;
}

.contact__item-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact__item-value {
  font-weight: 600;
  color: var(--text-primary);
}

/* --- Footer --- */
.footer {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

.footer span {
  color: var(--text-primary);
  font-weight: 600;
}

/* --- Reveal Animasyonu --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ========================================
   RESPONSIVE (MOBİL & TABLET)
   ======================================== */

@media (max-width: 1024px) {




  .contact__content {
    grid-template-columns: 1fr;
    padding: 2.5rem;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {

  /* Overflow Fix - Critical */
  *,
  *::before,
  *::after {
    max-width: 100%;
  }

  html,
  body {
    overflow-x: hidden;
    width: 100%;
  }

  /* Genel Bölüm Boşlukları */
  .section {
    padding: 6rem 1.25rem 3rem;
    overflow: hidden;
  }

  .section__header {
    margin-bottom: 2.5rem;
  }

  .section__title {
    font-size: 2rem;
    letter-spacing: -0.5px;
  }

  /* Navbar Mobil UI */
  .navbar-wrapper {
    top: 1rem;
    left: 1rem;
    right: 1rem;
    width: auto;
    transform: none;
    max-width: none;
  }

  .navbar {
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-full);
  }

  .navbar__theme-toggle {
    margin-left: auto;
    margin-right: 0.75rem;
  }

  .navbar__hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
  }

  .navbar__hamburger.active span:nth-child(1) {
    transform: translate(-50%, 5px) rotate(45deg);
  }

  .navbar__hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .navbar__hamburger.active span:nth-child(3) {
    transform: translate(-50%, -5px) rotate(-45deg);
  }

  /* Body scroll kilidi - menü açıkken site hareket etmesin */
  html.menu-open,
  body.menu-open {
    overflow: hidden !important;
    touch-action: none !important;
    /* Mobil tarayıcılarda kaydırmayı kesin engeller */
    -webkit-overflow-scrolling: auto !important;
  }

  /* Menü açıkken arkaplanı karartan/bulanıklaştıran overlay */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 998;
    /* navbar-wrapper 1000, dolayısıyla navbar üstte kalır */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  [data-theme="light"] .menu-overlay {
    background: rgba(255, 255, 255, 0.3);
  }

  /* Premium Floating Dropdown Menu */
  .navbar__links {
    position: absolute !important;
    top: calc(100% + 0.75rem) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important;
    background: rgb(14 14 27) !important;
    /* Daha opak arka plan - alttaki metinlerin karışmasını önler */
    backdrop-filter: blur(32px) !important;
    -webkit-backdrop-filter: blur(32px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--radius-md) !important;
    padding: 1.25rem 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
    list-style: none !important;
    margin: 0 !important;

    /* Hidden state */
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-12px) scale(0.96) !important;
    transform-origin: top center !important;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    z-index: 999 !important;
  }

  [data-theme="light"] .navbar__links {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
  }

  .navbar__links.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1) !important;
  }

  .navbar__links li {
    width: 100%;
  }

  .navbar__links a {
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    padding: 0.875rem 1.25rem !important;
    display: block !important;
    text-align: left !important;
    color: var(--text-secondary) !important;
    border-radius: var(--radius-sm) !important;
    transition: all 0.25s ease !important;
    background: rgba(255, 255, 255, 0.01) !important;
  }

  [data-theme="light"] .navbar__links a {
    color: var(--text-secondary) !important;
    background: rgba(0, 0, 0, 0.01) !important;
  }

  @media (hover: hover) and (pointer: fine) {
    .navbar__links a:hover {
      background: rgba(255, 255, 255, 0.05) !important;
      color: var(--text-primary) !important;
    }
  }

  .navbar__links a.active {
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-primary) !important;
  }

  @media (hover: hover) and (pointer: fine) {
    [data-theme="light"] .navbar__links a:hover {
      background: rgba(0, 0, 0, 0.04) !important;
      color: var(--text-primary) !important;
    }
  }

  [data-theme="light"] .navbar__links a.active {
    background: rgba(0, 0, 0, 0.04) !important;
    color: var(--text-primary) !important;
  }

  /* Hero Bölümü */
  .hero {
    min-height: 100dvh;
    padding: 100px 1.25rem 4rem;
    align-items: center;
  }

  .hero__content {
    width: 100%;
  }

  .hero__name {
    font-size: clamp(2.25rem, 9vw, 3.25rem);
    letter-spacing: -1px;
    margin-bottom: 0.75rem;
  }

  .hero__title {
    font-size: clamp(1rem, 4vw, 1.4rem);
    margin-bottom: 1.25rem;
  }

  .hero__description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
    gap: 0.875rem;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__socials {
    margin-top: 2.5rem;
  }

  .hero__scroll {
    display: none;
  }



  .about__content {
    width: 100%;
    margin: 0 auto;
  }

  .about__text {
    padding: 2rem 1.5rem;
    width: 100%;
    margin: 0 auto;
  }

  .about__text p {
    font-size: 1.05rem;
    margin-bottom: 0;
  }



  /* Yetenekler */
  .skills__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .skill-card {
    padding: 1.25rem;
  }

  .skill-card__header {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0;
  }

  .skill-card__name {
    font-size: 0.95rem;
  }

  /* Projeler */
  .projects__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .project-card {
    padding: 1.75rem;
  }

  .project-card__links {
    flex-wrap: wrap;
    gap: 0.875rem;
  }

  /* Sertifikalar */
  .certificates__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .certificate-card {
    gap: 1rem;
    padding: 1.25rem;
  }

  /* İletişim */
  .contact__content {
    padding: 2rem 1.25rem;
    gap: 2rem;
  }

  .contact__info p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .contact__item {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .contact__socials {
    flex-direction: column;
    gap: 1rem;
  }

  .contact__social-btn {
    width: 100%;
  }

  .contact__item-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  .contact__item-value {
    font-size: 0.85rem;
    word-break: break-all;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px;
    /* iOS zoom engellemek için */
    padding: 0.875rem 1rem;
  }

  /* Footer */
  .footer {
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 5.5rem 1rem 2.5rem;
  }

  .hero__name {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .hero__greeting {
    font-size: 0.8rem;
  }

  .section__title {
    font-size: 1.75rem;
  }





  .project-card {
    padding: 1.5rem;
  }

  .project-card__name {
    font-size: 1.25rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }

  .contact__content {
    padding: 1.5rem 1rem;
  }
}
/* --- Modern Dokunmatik Feedback (Active State) --- */
.btn:active,
.contact__social-btn:active,
.contact__email-action:active,
.pagination__btn:active:not(:disabled),
.hero__socials a:active,
.navbar__theme-toggle:active,
.scroll-top:active,
.navbar__links a:active {
  background: var(--bg-surface-hover) !important;
  opacity: 0.9;
  transition: none !important;
}

/* Has-touch reset - ensures no unintended hover styles on touch */
.has-touch *:hover {
  box-shadow: none !important;
  transition: none !important;
}

