:root {
  --red: #e62727;
  --cream: #f3f2ec;
  --gray-light: #dcdcdc;
  --teal: #1e93ab;
  --bg: #f9f9f9;
  --text-main: #222222;
  --text-muted: #555555;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 999px;
  --shadow-soft: 0 22px 45px rgba(0, 0, 0, 0.08);
  --shadow-subtle: 0 10px 25px rgba(0, 0, 0, 0.04);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top left, #ffffff 0, #f9f9f9 40%, #f3f2ec 100%);
  line-height: 1.6;
  cursor: url("./resimler/cursor-sword-48.png") 8 8, auto;
}

a,
button,
.btn,
.btn-social,
.minecraft-wa-fab,
input,
textarea,
select {
  cursor: url("./resimler/cursor-sword-48.png") 8 8, pointer;
}

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

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

.container {
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
}

/* NAVBAR */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(243, 242, 236, 0.86);
  border-bottom: 1px solid rgba(220, 220, 220, 0.6);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--red);
  font-size: 1rem;
}

.logo span {
  color: var(--text-main);
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.nav-links a {
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  color: var(--text-muted);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.nav-links a:hover {
  background: rgba(230, 39, 39, 0.06);
  color: var(--red);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
}

/* HERO */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.important-section {
  padding-top: 0.6rem;
}

.important-alert {
  background:
    linear-gradient(135deg, rgba(230, 39, 39, 0.14), rgba(230, 39, 39, 0.06)),
    #fff;
  border: 2px solid rgba(230, 39, 39, 0.45);
  border-left: 8px solid var(--red);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.2rem 1.2rem;
  box-shadow: 0 12px 30px rgba(230, 39, 39, 0.16);
}

.important-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 0.6rem;
}

.important-heading h2 {
  margin: 0;
  color: #b91c1c;
  letter-spacing: 0.05em;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
}

.important-siren,
.important-cross {
  font-size: 1.2rem;
}

.important-text {
  margin: 0;
  text-align: center;
  color: #3f1313;
  font-weight: 500;
}

.important-subtitle {
  margin: 0.85rem 0 0.45rem;
  color: #7f1d1d;
}

.important-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.important-list li {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(230, 39, 39, 0.28);
  border-left: 4px solid rgba(230, 39, 39, 0.9);
  border-radius: 10px;
  padding: 0.55rem 0.72rem;
  font-weight: 500;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(220, 220, 220, 0.7);
  max-height: 420px;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 4vw, 3rem);
  margin: 0.1rem 0;
  letter-spacing: -0.03em;
}

.hero-text h2 {
  margin: 0.2rem 0 0.8rem;
  font-weight: 500;
  color: var(--teal);
  font-size: 1.1rem;
}

.hero-subtitle {
  margin-top: 0.5rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.hero-contact {
  margin-top: 1.6rem;
}

.btn {
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    color 0.15s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--red), #ff6b6b);
  color: #ffffff;
  box-shadow: 0 16px 35px rgba(230, 39, 39, 0.25);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(230, 39, 39, 0.3);
}

.btn.secondary {
  background: #ffffff;
  color: var(--teal);
  border: 1px solid rgba(30, 147, 171, 0.25);
}

.btn.secondary:hover {
  background: #f5fdff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-subtle);
}

.btn.ghost {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text-main);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-subtle);
}

.hero-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  font-size: 0.9rem;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: none;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-social:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.btn-social .social-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.btn-github {
  background: #24292f;
  box-shadow: 0 4px 14px rgba(36, 41, 47, 0.4);
}

.btn-github:hover {
  box-shadow: 0 8px 20px rgba(36, 41, 47, 0.5);
}

.btn-linkedin {
  background: #0a66c2;
  box-shadow: 0 4px 14px rgba(10, 102, 194, 0.4);
}

.btn-linkedin:hover {
  box-shadow: 0 8px 20px rgba(10, 102, 194, 0.5);
}

.btn-youtube {
  background: #ff0000;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.35);
}

.btn-youtube:hover {
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.45);
}

.btn-medium {
  background: #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.btn-medium:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.btn-udemy {
  background: #a435f0;
  box-shadow: 0 4px 14px rgba(164, 53, 240, 0.4);
}

.btn-udemy:hover {
  box-shadow: 0 8px 20px rgba(164, 53, 240, 0.5);
}

.btn-reddit {
  background: #ff4500;
  box-shadow: 0 4px 14px rgba(255, 69, 0, 0.4);
}

.btn-reddit:hover {
  box-shadow: 0 8px 20px rgba(255, 69, 0, 0.52);
}

.hero-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(220, 220, 220, 0.7);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: rgba(30, 147, 171, 0.08);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 0.7rem;
}

.hero-card-text {
  margin: 0.4rem 0 1rem;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-pills li {
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: #f9fafb;
  border: 1px dashed rgba(0, 0, 0, 0.06);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* SECTIONS */

.section {
  padding: 3.8rem 0;
}

.section-alt {
  background: #f8f7f3;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  color: var(--red);
  font-weight: 600;
  margin: 0 0 0.4rem;
}

.section-title {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  margin-top: 0.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section-content p {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
}

.section-header-center {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.4rem;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2.2rem;
}

.section-note {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ABOUT CARD */

.about-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.8rem;
  margin-top: 1.2rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.6rem;
  border: 1px solid rgba(220, 220, 220, 0.8);
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(230, 39, 39, 0.08),
    transparent 55%
  );
  pointer-events: none;
}

.about-main {
  position: relative;
  z-index: 1;
}

.about-main p {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
}

.about-main p a {
  color: var(--teal);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 147, 171, 0.4);
}

.about-main p a:hover {
  color: var(--red);
  border-bottom-color: rgba(230, 39, 39, 0.5);
}

.about-aside {
  position: relative;
  z-index: 1;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: #f8f7f3;
  border: 1px dashed rgba(30, 147, 171, 0.35);
}

.about-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(30, 147, 171, 0.09);
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.about-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-list li + li {
  margin-top: 0.35rem;
}

/* SKILLS */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.8rem;
}

.skills-column h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.8rem;
  color: var(--text-muted);
  box-shadow: var(--shadow-subtle);
}

.skill-chip i {
  font-size: 1rem;
}

.skill-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.skill-icon-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--gray-light);
  font-size: 0.7rem;
  font-weight: 600;
}

/* TIMELINE */

.timeline {
  position: relative;
  margin-top: 1.6rem;
  padding-left: 1.6rem;
}

.timeline::before {
  content: "";
  position: absolute;
  inset-block: 0.3rem;
  left: 0.4rem;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(30, 147, 171, 0),
    rgba(30, 147, 171, 0.5),
    rgba(230, 39, 39, 0.6)
  );
}

.timeline-item {
  position: relative;
  margin-bottom: 2.4rem;
}

.timeline-dot {
  position: absolute;
  left: -0.05rem;
  top: 0.45rem;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(230, 39, 39, 0.18);
}

.timeline-content {
  background: linear-gradient(135deg, #ffffff, #f8f7f3);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(220, 220, 220, 0.9);
  box-shadow: var(--shadow-soft);
  text-align: center;
  max-width: 420px;
  margin-left: 0.6rem;
}

.timeline-year {
  font-size: 1rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 0.4rem;
}

.timeline-content p {
  margin: 0.6rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.timeline-item:nth-child(2) .timeline-content {
  background: linear-gradient(135deg, #fff7f7, #ffecec);
  border-color: rgba(230, 39, 39, 0.5);
}

/* EDUCATION GRID (centered cards with logos) */

.education-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.education-card {
  flex: 0 1 320px;
  max-width: 360px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f7f3 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(220, 220, 220, 0.9);
  box-shadow: var(--shadow-soft);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.education-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.1);
}

.education-card-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgba(30, 147, 171, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.education-card-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.education-card:nth-child(2) .education-card-logo {
  border-color: rgba(230, 39, 39, 0.25);
}

.education-card-year {
  font-size: 0.8rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.education-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--text-main);
  line-height: 1.35;
}

.education-card-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
}

/* YouTube button special style */

.btn.youtube {
  background: #ff0000;
  color: #ffffff;
  border: none;
  box-shadow: 0 12px 30px rgba(255, 0, 0, 0.3);
}

.btn.youtube:hover {
  background: #e00000;
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(255, 0, 0, 0.4);
}

/* CARDS / GRIDS */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}

.card-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(220, 220, 220, 0.8);
  box-shadow: var(--shadow-subtle);
}

.placeholder {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* BLOG CARDS */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  align-items: stretch;
}

.blog-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(220, 220, 220, 0.8);
  box-shadow: var(--shadow-subtle);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.blog-card:hover {
  transform: translateY(-6px);
}

.blog-card-image-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image {
  transform: scale(1.05);
}

.blog-card-badge {
  display: inline-flex;
  align-self: flex-start;
  margin: 1.1rem 1.2rem 0;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-card-body {
  padding: 0.9rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-main);
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--teal);
}

.blog-card-btn {
  display: inline-block;
  margin-top: auto;
  align-self: flex-start;
}

/* Diamond frame (side cards) */
.blog-card-diamond {
  border: 2px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, #e8f4f8, #b8e0ea, #1e93ab, #7ec8d8, #e8f4f8) border-box;
  box-shadow:
    0 0 0 1px rgba(30, 147, 171, 0.15),
    0 12px 28px rgba(30, 147, 171, 0.12),
    inset 0 0 24px rgba(30, 147, 171, 0.04);
}

.blog-card-diamond .blog-card-badge {
  background: rgba(30, 147, 171, 0.1);
  color: var(--teal);
  border: 1px solid rgba(30, 147, 171, 0.25);
}

.blog-card-diamond:hover {
  box-shadow:
    0 0 0 1px rgba(30, 147, 171, 0.25),
    0 20px 40px rgba(30, 147, 171, 0.18),
    inset 0 0 28px rgba(30, 147, 171, 0.06);
}

/* Gold frame (featured center card) */
.blog-card-gold {
  border: 2px solid transparent;
  background:
    linear-gradient(#fffdf5, #fff9e8) padding-box,
    linear-gradient(135deg, #f7e7a1, #d4af37, #f9e79f, #b8860b, #f7e7a1) border-box;
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.35),
    0 16px 36px rgba(184, 134, 11, 0.22),
    inset 0 0 30px rgba(212, 175, 55, 0.08);
}

.blog-card-gold .blog-card-badge {
  background: rgba(212, 175, 55, 0.18);
  color: #8a6d12;
  border: 1px solid rgba(184, 134, 11, 0.35);
  font-size: 0.68rem;
}

.blog-card-featured {
  transform: scale(1.03);
  z-index: 1;
}

.blog-card-featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.blog-card-gold:hover {
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.5),
    0 22px 44px rgba(184, 134, 11, 0.28),
    inset 0 0 34px rgba(212, 175, 55, 0.12);
}

.blog-all-link {
  text-align: center;
  margin-top: 2.25rem;
}

.blog-all-link .btn {
  padding: 0.65rem 1.6rem;
  font-size: 0.95rem;
}

/* CERTIFICATES */

.certificates-linkedin-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

.certificates-linkedin-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  max-width: 320px;
  padding: 2rem 2.25rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(10, 102, 194, 0.2);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: var(--text-main);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.certificates-linkedin-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(10, 102, 194, 0.15);
  border-color: rgba(10, 102, 194, 0.4);
}

.certificates-linkedin-logo {
  color: #0a66c2;
  line-height: 0;
}

.certificates-linkedin-logo svg {
  display: block;
}

.certificates-linkedin-text {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  color: #0a66c2;
}

.certificates-linkedin-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* Certificate cards (content on page) */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.certificate-card-new {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(220, 220, 220, 0.9);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.certificate-card-new:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.certificate-card-logo {
  width: 56px;
  height: 56px;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certificate-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.certificate-card-org {
  font-size: 0.8rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.certificate-card-title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-main);
}

.certificate-card-date {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.certificates-note {
  margin-top: 1.75rem;
  padding: 1rem 1.2rem;
  background: rgba(30, 147, 171, 0.06);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--teal);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.certificates-note code {
  background: rgba(0, 0, 0, 0.06);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.8em;
}

.certificate-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.certificate-org {
  font-size: 0.8rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.certificate-title {
  margin: 0;
  font-size: 1rem;
}

.certificate-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* SPOKEN LANGUAGES */

.languages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.35rem;
  margin-top: 1.5rem;
}

.language-card {
  background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.25rem;
  border: 1px solid rgba(220, 220, 220, 0.75);
  box-shadow: var(--shadow-subtle);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.language-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(30, 147, 171, 0.25);
}

.language-flag {
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.65rem;
}

.language-info {
  margin-bottom: 0.75rem;
}

.language-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

.language-level {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.language-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(220, 220, 220, 0.6);
  overflow: hidden;
}

.language-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal) 0%, #1e93ab 50%, var(--red) 100%);
  transition: width 0.5s ease;
}

.language-bar-fill.full {
  width: 100%;
}

.language-bar-fill.high {
  width: 85%;
}

.language-bar-fill.medium {
  width: 55%;
}

.language-bar-fill.low {
  width: 35%;
}

/* Aldığım dersler (toggle list) */
.courses-taken-block {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(220, 220, 220, 0.7);
}

.courses-taken-title {
  margin: 0 0 0.75rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
}

.courses-taken-subtitle {
  margin: -0.1rem 0 0.9rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.courses-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.05rem;
  font-size: 0.9rem;
  border-radius: 999px;
}

.courses-toggle-icon {
  font-size: 0.65rem;
  transition: transform 0.25s ease;
}

.courses-toggle-btn[aria-expanded="true"] .courses-toggle-icon {
  transform: rotate(-180deg);
}

.courses-list-wrapper {
  margin-top: 1rem;
  overflow: hidden;
}

.courses-list-wrapper[hidden] {
  display: none;
}

.courses-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.7rem 1rem;
}

.courses-list li {
  padding: 0.68rem 0.8rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  border: 1px solid rgba(30, 147, 171, 0.22);
  border-left: 4px solid var(--teal);
  font-size: 0.9rem;
  color: var(--text-main);
  box-shadow: 0 6px 15px rgba(17, 24, 39, 0.05);
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}

.courses-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(17, 24, 39, 0.09);
}

.course-code {
  display: inline-block;
  padding: 0.14rem 0.45rem;
  border-radius: 999px;
  background: rgba(30, 147, 171, 0.1);
  border: 1px solid rgba(30, 147, 171, 0.2);
  font-weight: 700;
  color: var(--teal);
  margin-right: 0.35rem;
}

/* CAROUSEL */

.carousel-wrapper {
  position: relative;
  padding: 0.4rem 0 0.6rem;
}

.carousel-wrapper::before,
.carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0.6rem;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}

.carousel-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, #f9f9f9 0%, transparent 100%);
}

.carousel-wrapper::after {
  right: 0;
  background: linear-gradient(270deg, #f9f9f9 0%, transparent 100%);
}

.carousel {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.75rem 1.5rem 1rem;
  -webkit-overflow-scrolling: touch;
}

.carousel::-webkit-scrollbar {
  height: 7px;
}

.carousel::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 999px;
}

.carousel::-webkit-scrollbar-thumb {
  background: rgba(230, 39, 39, 0.35);
  border-radius: 999px;
}

.carousel-card {
  flex: 0 0 auto;
  width: min(300px, 78vw);
  scroll-snap-align: center;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border-radius: 18px;
  padding: 0.7rem 0.7rem 0.95rem;
  border: 1px solid rgba(220, 220, 220, 0.85);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.carousel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(230, 39, 39, 0.28);
}

.carousel-card-featured {
  border-color: rgba(230, 39, 39, 0.35);
  box-shadow:
    0 14px 34px rgba(230, 39, 39, 0.14),
    0 0 0 1px rgba(230, 39, 39, 0.08);
  transform: scale(1.03);
}

.carousel-card-featured:hover {
  transform: scale(1.03) translateY(-5px);
  box-shadow:
    0 20px 44px rgba(230, 39, 39, 0.2),
    0 0 0 1px rgba(230, 39, 39, 0.15);
}

.carousel-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #ececec, #d8d8d8);
  aspect-ratio: 16 / 9;
}

.carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.carousel-card:hover .carousel-thumb img {
  transform: scale(1.06);
}

.carousel-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
  color: #ffffff;
  opacity: 0.92;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.carousel-play svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 999px;
  background: #ff0000;
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

.carousel-card:hover .carousel-play {
  background: rgba(0, 0, 0, 0.38);
}

.carousel-title {
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0;
  text-align: center;
  letter-spacing: -0.01em;
}

.carousel-card-featured .carousel-title {
  color: #c62828;
}

.carousel-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 1.4rem;
  z-index: 3;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.carousel-btn:hover {
  background: #ff0000;
  color: #ffffff;
  border-color: #ff0000;
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn.prev {
  left: -6px;
}

.carousel-btn.next {
  right: -6px;
}

.youtube-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.6rem;
}

@media (max-width: 700px) {
  .carousel-wrapper::before,
  .carousel-wrapper::after {
    width: 24px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
  }

  .carousel-card-featured {
    transform: none;
  }

  .carousel-card-featured:hover {
    transform: translateY(-5px);
  }
}

/* FOOTER */

.footer {
  border-top: 1px solid rgba(220, 220, 220, 0.8);
  background: #f3f2ec;
  padding: 1.6rem 0 1.7rem;
  margin-top: 1rem;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-inner p {
  margin: 0.3rem 0 0;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--teal);
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Floating Minecraft-style WhatsApp button */
.minecraft-wa-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  background: rgba(18, 24, 34, 0.96);
  border: 2px solid #3dd6ff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), 0 0 18px rgba(61, 214, 255, 0.35);
  color: #ecfeff;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
  animation: minecraft-wa-pop 2.2s ease-in-out infinite;
}

.minecraft-wa-fab:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.35), 0 0 24px rgba(61, 214, 255, 0.45);
}

.minecraft-diamond-img {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 6px rgba(120, 245, 255, 0.45));
}

@keyframes minecraft-wa-pop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* MEDIA QUERIES */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-card-featured {
    transform: none;
    order: -1;
  }

  .blog-card-featured:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 800px) {
  .nav-links {
    position: fixed;
    inset-inline: 0;
    top: 52px;
    background: rgba(243, 242, 236, 0.98);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.4rem 1rem 0.8rem;
    border-bottom: 1px solid rgba(220, 220, 220, 0.7);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .nav-links a {
    width: 100%;
    padding: 0.5rem 0.4rem;
    border-radius: 8px;
  }

  .navbar-inner {
    padding-block: 0.45rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 620px) {
  .minecraft-wa-fab {
    right: 12px;
    bottom: 12px;
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 3.5rem;
  }

  .hero-card {
    padding: 1.4rem 1.3rem;
  }

  .skills-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

