/* ==========================================================================
   TABLE OF CONTENTS
   ==========================================================================
   1.  VARIABLES (Colors, Layout, Shadows)
   2.  RESET & BASE STYLES
   3.  LAYOUT & UTILITIES (Container, Grid, Split, Section)
   4.  BUTTONS & LINKS (Primary, Ghost, Back-links)
   5.  HEADER & NAVIGATION
   6.  HERO SECTIONS (Main Hero, Glass Cards)
   7.  CARDS (Global Card Styles & Overrides)
   8.  CAROUSEL (Track, Viewport, Drag Logic)
   9.  COMPONENTS (Panels, Lists, Forms, Tabs, Tags)
   10. MODALS & LIGHTBOXES
   11. PAGE SPECIFICS (About, Project Details, Gallery)
   12. PAGINATION
   13. FOOTER
   14. ANIMATIONS
   15. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* ==========================================================================
   1. VARIABLES
   ========================================================================== */
:root {
  --white: #ffffff;

  /* Brand Palette */
  --yellow: #F5F362;
  --yellow-soft: #E6F77A;
  --green: #8BF571;
  --mint: #71F5B5;
  --green-soft: #C2F571;

  /* Text Colors */
  --ink: #123014;
  --muted: #2B5A2E;
  --line: rgba(18, 48, 20, .12);

  /* Layout & Effects */
  --radius: 18px;
  --shadow: 0 14px 40px rgba(0, 0, 0, .10);
  --shadow2: 0 10px 26px rgba(0, 0, 0, .08);
  --container: 1100px;
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
}

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

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

.muted {
  color: rgba(18, 48, 20, .7);
}

/* ==========================================================================
   3. LAYOUT & UTILITIES
   ========================================================================== */
.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.section {
  padding: 2.6rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.4rem;
  position: relative;
  z-index: 10;
  flex-wrap: wrap;
}


.section h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.subtle-bg {
  background: linear-gradient(180deg, rgba(245, 243, 98, .18), rgba(139, 245, 113, .08));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.4rem;
  align-items: start;
}

/* ==========================================================================
   4. BUTTONS & LINKS
   ========================================================================== */
/* -- Standard Button -- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.05rem;
  border-radius: 999px;
  font-weight: 800;
  border: 0;
  box-shadow: var(--shadow2);
  transition: transform .15s ease, box-shadow .15s ease, background .22s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn.primary {
  background: linear-gradient(90deg, var(--yellow), var(--green));
}

.btn.secondary {
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  position: relative;
  z-index: 20;
}

/* Community Header Button Hover Fix */
section .section-header > a.btn.secondary:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .18);
  background: linear-gradient(90deg, rgba(245, 243, 98, .55), rgba(139, 245, 113, .35));
}

section .section-header > a.btn.secondary:active {
  transform: translateY(-3px);
}

/* -- Ghost Button (Transparent with arrow) -- */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  cursor: pointer;
  border-radius: 999px;
  padding: .55rem .9rem;
  border: 1px solid rgba(18, 48, 20, .16);
  background: linear-gradient(90deg, rgba(255, 255, 255, .92), rgba(245, 243, 98, .18));
  font-weight: 850;
  font-size: .85rem;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.btn-ghost::after {
  content: "↗";
  font-weight: 900;
  opacity: .7;
}

.btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .10);
}

.btn-ghost:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
}

/* -- Back Link (Return Arrow) -- */
.back-link,
.back-nav {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 800;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

/* Project Detail Style Back Link */
.back-link {
  font-size: .9rem;
  padding: .55rem .95rem;
  background: linear-gradient(90deg, rgba(245, 243, 98, .55), rgba(139, 245, 113, .35));
  border: 1px solid rgba(18, 48, 20, .14);
  box-shadow: var(--shadow2);
  opacity: .95;
}

.back-link::before {
  content: "←";
  font-weight: 900;
}

.back-link:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Simple Back Nav (Trainings/Glass) */
.back-nav {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(18, 48, 20, 0.06); 
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 10px 24px;
  border-radius: 99px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.back-nav::before {
  content: "←";
  font-weight: 900;
  font-size: 1.2em;
  transition: transform 0.2s ease;
}

.back-nav:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(18, 48, 20, 0.12);
  color: #000;
}

.back-nav:hover::before {
  transform: translateX(-4px); 
}

/* ==========================================================================
   5. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 0;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 900;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--yellow), var(--green));
  box-shadow: 0 0 0 6px rgba(139, 245, 113, .18);
}

.main-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.main-nav a {
  padding: .45rem .7rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background .2s ease, transform .2s ease;
}

.main-nav a:hover {
  background: linear-gradient(90deg, rgba(245, 243, 98, .55), rgba(139, 245, 113, .35));
  transform: translateY(-1px);
}

/* Mobile Menu Button */
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(245, 243, 98, .55), rgba(139, 245, 113, .25));
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(18, 48, 20, .85);
  margin: 5px auto;
  border-radius: 999px;
}

/* ==========================================================================
   6. HERO SECTIONS
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3.2rem 0 2.4rem;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background:
    radial-gradient(circle at 30% 25%, rgba(245, 243, 98, .95), transparent 55%),
    radial-gradient(circle at 75% 45%, rgba(139, 245, 113, .70), transparent 58%),
    radial-gradient(circle at 60% 75%, rgba(113, 245, 181, .62), transparent 55%);
  opacity: .85;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-centered {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

.hero-centered p {
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 600px;
}

.hero h1 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 .8rem;
}

.hero p {
  max-width: 52ch;
  margin: 0 0 1.2rem;
  color: rgba(18, 48, 20, .75);
}

.hero-card {
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(255, 255, 255, .4);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
}

/* -- Glass Card (Trainings/Detail Hero) -- */
.glass-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
  max-width: 900px;
}

.glass-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #fff;
  border-radius: 99px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.glass-badge-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.glass-badge-text {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.05em;
}

.glass-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.glass-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  max-width: 650px;
}

/* ==========================================================================
   7. CARDS
   ========================================================================== */
.card-link {
  display: block;
}

.card-link:focus-visible {
  outline: 3px solid rgba(245, 243, 98, .55);
  outline-offset: 6px;
  border-radius: var(--radius);
}

.card-link .card {
  height: 100%;
}

.card {
  position: relative;
  cursor: pointer;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .06);
  transition: transform .28s cubic-bezier(.22, .61, .36, 1), box-shadow .28s cubic-bezier(.22, .61, .36, 1);
}

/* Default Card Hover */
.card:hover {
  transform: translateY(-7px) scale(1.01);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16), 0 26px 56px rgba(0, 0, 0, .20);
}

.card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center; /* DEĞİŞTİ: 50% 50% yerine bunu yaz */
  border-bottom: 1px solid var(--line);
  transition: filter .22s ease;
  -webkit-user-drag: none;
  display: block;
}

.card:hover img {
  filter: brightness(.95) contrast(1.03);
}

.card-body {
  padding: 1rem 1.05rem 1.1rem;
}

.card-title {
  margin: 0 0 .25rem;
  font-weight: 900;
}

.card-text {
  margin: 0 0 .75rem;
  color: rgba(18, 48, 20, .72);
}

/* Grid Context Overrides */
.grid .card img {
  aspect-ratio: 16 / 9;
}

/* Community & Split Section Hover Fixes */
.community .card,
.community-section .card,
[data-community] .card {
  transition: transform .22s ease, box-shadow .22s ease;
}

.community .card:hover,
.community-section .card:hover,
[data-community] .card:hover,
.section .split > .card:hover {
  transform: translateY(-7px) scale(1.01) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16), 0 26px 56px rgba(0, 0, 0, .20) !important;
}

/* ==========================================================================
   8. CAROUSEL
   ========================================================================== */
.carousel {
  position: relative;
  padding: 0 64px;
  isolation: isolate;
}

/* -- Viewport & Track -- */
.carousel-viewport {
  position: relative;
  /* Allow Y overflow for hover lift effect */
  overflow-x: hidden;
  overflow-y: visible;
  width: 100%;
  border-radius: var(--radius);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  z-index: 1;
}

.carousel-viewport.dragging,
.carousel-viewport:active {
  cursor: grabbing;
}

.carousel-track {
  position: relative;
  display: flex;
  gap: 1.25rem;
  padding: 6px 2px 18px;
  z-index: 1;
}

/* -- Generic Carousel Cards -- */
.carousel-track .card {
  flex: 0 0 calc((100% - (1.25rem * 2)) / 3);
  scroll-snap-align: start;
  position: relative; 
  will-change: transform;
  transition: opacity .28s ease, transform .28s ease, box-shadow .28s ease;
}

.carousel-track .card.is-active {
  opacity: 1;
}

/* Carousel Card Hover - Lift & Z-Index Fix */
.carousel-track .card:hover {
  opacity: 1;
  z-index: 5;
  transform: translateY(-8px) scale(1.01) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16), 0 26px 56px rgba(0, 0, 0, .20) !important;
}

/* -- Carousel Buttons -- */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(18, 48, 20, .18);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .14);
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
  z-index: 999;
  pointer-events: auto;
  opacity: .92;
  cursor: pointer !important;
  user-select: none;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.carousel-btn:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .18);
}

.carousel-btn:disabled {
  opacity: .35;
  cursor: not-allowed !important;
  filter: grayscale(.2);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .10);
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* -- Blog Specific Carousel -- */
.blog-carousel {
  padding: 0 56px;
}

.blog-carousel .carousel-btn {
  width: 38px;
  height: 38px;
  font-size: 22px;
  opacity: .82;
}

/* -- Featured Projects Carousel Specifics -- */
.projects-carousel .carousel-track {
  gap: 1.25rem;
}

.projects-carousel .carousel-track .card-link {
  flex: 0 0 calc((100% - (1.25rem * 2)) / 3);
  scroll-snap-align: start;
  display: block;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .06);
  transition: transform .28s cubic-bezier(.22, .61, .36, 1), box-shadow .28s cubic-bezier(.22, .61, .36, 1), opacity .28s ease;
}

.projects-carousel .carousel-track .card-link:hover {
  transform: translateY(-7px) scale(1.01);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16), 0 26px 56px rgba(0, 0, 0, .20);
}

.projects-carousel .carousel-track .card {
  flex: initial !important;
  height: 100%;
  box-shadow: none;
  border: 1px solid var(--line);
  border-radius: 0;
  transition: none;
}

.projects-carousel .carousel-track .card:hover {
  transform: none;
  box-shadow: none;
}

.projects-carousel img {
  pointer-events: none;
  -webkit-user-drag: none;
}

/* ==========================================================================
   9. COMPONENTS (Panels, Lists, Forms, Tabs, Tags)
   ========================================================================== */
/* -- Panels -- */
.panel {
  padding: 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(245, 243, 98, .45), rgba(113, 245, 181, .22));
  box-shadow: var(--shadow2);
}

/* -- Lists -- */
.list {
  display: grid;
  gap: .75rem;
}

.list-item {
  padding: .85rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.list-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .10);
}

.list-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 6px;
}

.list-item span,
.list-item .muted {
  display: block;
  font-size: .92rem;
  color: rgba(18, 48, 20, .65);
  line-height: 1.45;
}

/* -- Tags -- */
.tag-row {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.tag {
  font-size: .78rem;
  font-weight: 800;
  padding: .22rem .55rem;
  border-radius: 999px;
  border: 1px solid rgba(18, 48, 20, .12);
   background:linear-gradient(90deg,rgba(245,243,98,.55),rgba(194,245,113,.35));
   cursor: default;
  user-select: none;
}

.tag-lg {
    font-size: 0.95rem;
    padding: 10px 24px;
    letter-spacing: 0.02em;
    white-space: normal;
    line-height: 1.4;
    height: auto;
}

/* -- Tabs -- */
.tabs{
  display:flex;
  gap:10px; 
  padding:0;
  background:none;
  border:none;
  box-shadow:none;
  flex-wrap: wrap;
}

button[data-tab]{
  appearance:none;
  border: 1px solid rgba(18,48,20,.14);
  background: transparent;
  color: rgba(18,48,20,.75);
  font-family: inherit;
  font-weight: 600; 
  letter-spacing: .01em;
  font-size: 0.95rem;   
  padding: 8px 20px;    
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

button[data-tab]:hover{
  background: rgba(245,243,98,.25);
  border-color: rgba(18,48,20,.18);
  transform: translateY(-1px);
}

button[data-tab].active{
  background: linear-gradient(90deg, rgba(245,243,98,.85), rgba(113,245,181,.35));
  border-color: rgba(18,48,20,.12);
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

button[data-tab]:active{
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

/* -- Forms -- */
.form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 700;
  color: rgba(18, 48, 20, .85);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(18, 48, 20, .14);
  background: rgba(255, 255, 255, .92);
  outline: none;
  font: inherit;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .05);
  transition: box-shadow .15s ease, border-color .15s ease;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(18, 48, 20, .28);
  box-shadow: 0 0 0 5px rgba(245, 243, 98, .22), 0 14px 30px rgba(0, 0, 0, .08);
}

.form .btn {
  justify-self: start;
}

/* ==========================================================================
   10. MODALS & LIGHTBOXES
   ========================================================================== */
/* -- Project Modal -- */
.project-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.project-modal.open {
  display: flex;
}

.project-modal__panel {
  width: min(980px, 95vw);
  max-height: 90vh;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

.project-modal__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.project-modal__img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: 50% 20%;
}

.project-modal__content {
  padding: 20px;
  position: relative;
  overflow: auto;
}

.project-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: var(--yellow);
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}

/* -- Gallery Lightbox -- */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.gallery-lightbox.open {
  display: flex;
}

.gallery-lightbox img {
  max-width: min(90vw, 1000px);
  max-height: 85vh;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}

.gl-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: none;
  background: #fff;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}

.gl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: none;
  background: #fff;
  font-size: 32px;
  cursor: pointer;
}

.gl-nav.prev { left: 20px; }
.gl-nav.next { right: 20px; }

/* ==========================================================================
   11. PAGE SPECIFICS
   ========================================================================== */

/* -- About Page: Personal Section -- */
.about-personal {
  padding: clamp(80px, 9vw, 120px) 20px;
  background: var(--white);
}

.about-personal-container {
  max-width: var(--container);
  margin: 0 auto;
}

.about-personal-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr) minmax(0, .95fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}

.about-photo {
  position: sticky;
  top: 22px;
}

.about-photo-frame {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
  background: linear-gradient(180deg, rgba(194, 245, 113, .22), rgba(245, 243, 98, .16));
}

.about-photo-frame img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-photo-meta {
  margin-top: 14px;
}

.about-photo-name {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.about-photo-title {
  margin-top: 4px;
  color: var(--muted);
  font-size: .95rem;
}

.about-personal-text h2 {
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.about-personal-text h2::after {
  content: "";
  display: block;
  width: 84px;
  height: 5px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint), var(--yellow), var(--green));
}

.about-lead {
  font-size: clamp(1.08rem, 1.4vw, 1.22rem);
  line-height: 1.65;
  opacity: .92;
  margin: 0 0 18px;
}

.about-personal-cards {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 22px;
}

.about-card {
  position: relative;
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .70));
  box-shadow: var(--shadow2);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.about-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(260px 160px at 80% 20%, rgba(113, 245, 181, .28), transparent 60%),
    radial-gradient(260px 160px at 20% 80%, rgba(245, 243, 98, .22), transparent 60%);
  filter: blur(10px);
  opacity: .9;
}

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

.about-card:hover {
  transform: translateY(-8px) rotate(-.25deg);
  box-shadow: var(--shadow);
}

.about-card h3 {
  font-size: 1.1rem;
  margin: 0 0 12px;
}

.about-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-size: .95rem;
  color: var(--muted);
}

.about-card li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--yellow), var(--mint));
  box-shadow: 0 0 0 4px rgba(245, 243, 98, .16);
}

/* -- Project Page Layout -- */
.project-hero {
  margin-bottom: 2.4rem;
}
.project-hero .back-link {
  margin-bottom: 1rem;
}
.project-hero + .panel {
  margin-top: 1.2rem;
  margin-bottom: 2.4rem;
}

.project-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.2rem;
  align-items: stretch;
}

.project-cover {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
}

.project-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 35%;
}

.project-info {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow2);
  padding: 1.4rem 1.5rem;
}

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.project-status {
  font-size: .78rem;
  font-weight: 900;
  padding: .35rem .65rem;
  border-radius: 999px;
  border: 1px solid rgba(18, 48, 20, .12);
  background: linear-gradient(90deg, rgba(194, 245, 113, .55), rgba(245, 243, 98, .35));
  white-space: nowrap;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.project-details {
  max-width: 820px;
  margin: 0 auto 3.5rem;
}
.project-details h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.project-details p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* -- Project List Details (Stacked) -- */
.projects-detail {
  margin-top: 1.9rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.detail-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1rem;
  align-items: stretch;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow2);
  margin-bottom: 1rem;
  transition: transform .18s ease, box-shadow .18s ease;
}

.detail-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.detail-media {
  border-radius: 16px;
  overflow: hidden;
  display: block;
  border: 1px solid rgba(18, 48, 20, .10);
}

.detail-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: 50% 35%;
}

.detail-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
}

.detail-title {
  margin: 0 0 .4rem;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.2;
}

.detail-status {
  font-size: .78rem;
  font-weight: 900;
  padding: .35rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(18, 48, 20, .12);
  background: linear-gradient(90deg, rgba(194, 245, 113, .55), rgba(245, 243, 98, .35));
  white-space: nowrap;
}

.detail-meta {
  margin: 0 0 .55rem;
  font-size: .9rem;
}

.detail-text {
  margin: 0 0 .7rem;
  color: rgba(18, 48, 20, .80);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

/* -- Gallery Grid -- */
.project-gallery { margin-top: 3rem; }
.project-gallery-grid { grid-template-columns: repeat(3, 1fr); }
.project-gallery-grid .card { cursor: default; }

.gallery-card {
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
  cursor: default;
}

.gallery-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: opacity .2s ease;
}

.gallery-img { cursor: pointer; }
.gallery-card:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, .12); }
.gallery-card:hover img { opacity: .92; }

/* ==========================================================================
   12. PAGINATION
   ========================================================================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 4rem;
}

.pagination .btn-page {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #eee;
  background: #fff;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  background-image: none !important;
}

.pagination .btn-page::after,
.pagination .btn-page::before {
  content: none !important;
  display: none !important;
}

.pagination .btn-page:hover:not(:disabled) {
  border-color: var(--ink);
  background: #f9f9f9;
  transform: translateY(-2px);
}

.pagination .btn-page.active {
  background: #d4f77c !important;
  border-color: #d4f77c !important;
  color: #000 !important;
}

.pagination .btn-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  transition: all 0.2s ease;
  cursor: pointer;
}

.pagination .btn-arrow svg {
  width: 28px;
  height: 28px;
  stroke-width: 2px;
  display: block;
}

.pagination .btn-arrow:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--yellow), var(--green)) !important;
  color: var(--ink) !important;
  border-color: rgba(18, 48, 20, 0.1);
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 4px 12px rgba(139, 245, 113, 0.4) !important;
}

.pagination .btn-arrow:disabled {
  opacity: 0.3;
  cursor: default;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.site-footer {
   background: linear-gradient(180deg, rgba(245, 243, 98, .18), rgba(139, 245, 113, .08));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 0;
}

.footer-col {
  flex: 1;
  min-width: 220px;
}

.footer-col:first-child { flex: 1.4; }

.footer-tags {
  display: grid;
  gap: 6px;
  line-height: 1.35;
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 500;
  opacity: .82;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 10px; }

.footer-link {
  display: inline-block;
  margin: 2px 0 14px;
  font-size: 1rem;
  font-weight: 500;
  opacity: .82;
  color: var(--ink);
}

.site-footer .footer-links a {
  font-size: 1rem;
  font-weight: 500;
  opacity: .82;
  color: var(--ink);
}

.site-footer .footer-links a:hover,
.site-footer .footer-link:hover {
  opacity: 1;
  color: #000;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  opacity: .9;
  transition: opacity .15s ease, transform .15s ease;
}

.social-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.social-icon svg {
  width: 35px;
  height: 35px;
  display: block;
}

.footer-bottom {
  text-align: center;
  padding: 16px 0;
  background: white;
  font-size: .95rem;
  color: rgba(18, 48, 20, .7);
}

/* ==========================================================================
   14. ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: .6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.project-gallery-grid .reveal,
.gallery-card .reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* ==========================================================================
   15. RESPONSIVE MEDIA QUERIES (Consolidated)
   ========================================================================== */

/* -- Tablet (max-width: 1024px) -- */
@media (max-width: 1024px) {
  .carousel { padding: 0 58px; }
  .carousel-track .card { flex: 0 0 calc((100% - 1.25rem) / 2); }
  .projects-carousel .carousel-track .card-link { flex: 0 0 calc((100% - 1.25rem) / 2); }
}

/* -- Small Laptop (max-width: 980px) -- */
@media (max-width: 980px) {
  .about-personal-grid { grid-template-columns: 1fr; }
  .about-photo, .about-personal-cards { position: static; }
}

/* -- Tablet Portrait (max-width: 940px) -- */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .project-hero-grid { grid-template-columns: 1fr; }
  .project-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* -- Mobile Large (max-width: 768px) -- */
@media (max-width: 768px) {
  .hero-card { height: 320px; }
}

/* -- Mobile (max-width: 720px) -- */
@media (max-width: 720px) {
  /* Navigation */
  .menu-btn { display: block; }
  .main-nav {
    position: fixed;
    inset: 72px 14px auto 14px;
    display: none;
    flex-direction: column;
    gap: .4rem;
    padding: .6rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }

  /* Layouts */
  .grid { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; gap: 24px; }
  .project-modal__grid { grid-template-columns: 1fr; }
  .project-modal__img { min-height: 240px; }
  .project-gallery-grid { grid-template-columns: 1fr; }

  /* Carousel (1 item per view) */
  .carousel { padding: 0 48px; }
  .carousel-track { padding: 6px 6px 16px; }
  .carousel-track .card { flex: 0 0 100%; }
  .projects-carousel .carousel-track .card-link { flex: 0 0 100%; }
  .carousel-btn.prev { left: 6px; }
  .carousel-btn.next { right: 6px; }

  /* Interactive */
  .tabs { flex-wrap: wrap; row-gap: 8px; }

  /* Detail Rows */
  .detail-row { grid-template-columns: 1fr; }
  .detail-media img { height: 190px; }
  .detail-head { align-items: flex-start; flex-direction: column; }

    /* Section headers: prevent right-side CTA pills from getting cut off */
  .section-header{
    flex-direction: column;
    align-items: flex-start !important;
    gap: .75rem;
  }

  .section-header > a.btn.secondary,
  .section-header > a.btn.primary,
  .section-header > a.btn-ghost{
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.2;
  }

  /* Tag "bubbles" on cards: wrap nicely on mobile instead of overflowing */
  .card .tag-row{
    display: flex;
    flex-wrap: wrap !important;
    overflow: visible !important;
    gap: 10px;
  }

  .card .tag-row .tag,
  .card .tag-row .tag-lg{
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: .82rem;
    padding: 8px 16px;
  }

}

/* ==========================================================================
   BLOG DETAIL - FRESH TOPICS & 3-COLUMN GALLERY
   ========================================================================== */
.sidebar h4 {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}

.tag-row .tag {
   background:linear-gradient(90deg,rgba(245,243,98,.55),rgba(194,245,113,.35));
    padding: 8px 22px;
    border-radius: 99px;
    font-weight: 850;
    font-size: 0.95rem;
    border: 1px solid rgba(18, 48, 20, 0.1);
    box-shadow: 0 4px 12px rgba(245, 243, 98, 0.3);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.blog-detail .project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.blog-detail .gallery-card {
    border-radius: 22px;
    border: none;
    box-shadow: var(--shadow2);
    overflow: hidden;
    height: 240px;
}

.blog-detail .gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-detail .gallery-card:hover .gallery-img {
    transform: scale(1.08);
}

.blog-detail .kind-badge {
    background: transparent;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.blog-detail h1 {
    color: var(--ink);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.blog-detail .date {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.topics-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 1.2rem;
}

.blog-topics-wrap .tag {
   background:linear-gradient(90deg,rgba(245,243,98,.55),rgba(194,245,113,.35));
    padding: 10px 24px;
    border-radius: 99px;
    font-weight: 850;
    font-size: 0.95rem;
    border: 1px solid rgba(18, 48, 20, 0.08);
    box-shadow: 0 6px 15px rgba(245, 243, 98, 0.25);
    transition: all 0.3s ease;
}

.blog-topics-wrap .tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(245, 243, 98, 0.4);
    background: var(--yellow);
}

.blog-detail .gallery-card {
    border-radius: 28px;
    border: 1px solid var(--line);
}

/* --- TRAINING AREA TASARIMI --- */
.training-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.training-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.training-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: transparent;
}

.training-card .card-img-top img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #f0f0f0;
}

.train-cat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.train-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.btn-explore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #EBEBEB;
    color: var(--ink);
    padding: 10px 20px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-explore:hover {
    background:linear-gradient(90deg,rgba(245,243,98,.55),rgba(194,245,113,.35));
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(245, 243, 98, 0.35);
    border-color: rgba(0,0,0,0.05);
    color: var(--ink);
}

@media (max-width: 900px) {
    .training-grid {
        grid-template-columns: 1fr;
    }
}

.btn-view-programs {
    background: #ffffff;
    border: 1px solid #eeeeee;
    padding: 12px 26px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-view-programs:hover {
    background:linear-gradient(90deg,rgba(245,243,98,.55),rgba(194,245,113,.35));
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(245, 243, 98, 0.35);
    border-color: rgba(0,0,0,0.05);
    color: var(--ink);
}

/* ========================================================
   HOVER FIX (Reveal Animasyonu Çakışmasını Önleme)
   ======================================================== */
.card.reveal.in:hover,
.training-item.reveal.in:hover,
.gallery-card.reveal.in:hover {
    transform: translateY(-8px) scale(1.01) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .16), 0 26px 56px rgba(0, 0, 0, .20) !important;
    z-index: 10;
}

.btn.reveal.in:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .10) !important;
}

.btn-view-programs.reveal.in:hover {
    transform: translateY(-5px) !important;
}

.grid .training-item:hover {
    transform: translateY(-8px) !important;
}

/* =======================================================
   CAROUSEL CARD WIDTH FIX (Mobil Görünüm)
   ======================================================= */

/* Masaüstü Varsayılan (3'lü) */
.carousel-track .card-link {
    flex: 0 0 calc((100% - 2.5rem) / 3);
    min-width: calc((100% - 2.5rem) / 3);
    scroll-snap-align: start;
    display: block;
    height: 100%;
}

/* Tablet (2'li) */
@media (max-width: 1024px) {
    .carousel-track .card-link {
        flex: 0 0 calc((100% - 1.25rem) / 2);
        min-width: calc((100% - 1.25rem) / 2);
    }
}

/* Mobil (Tekli - Zorunlu) */
@media (max-width: 720px) {
    .carousel-track .card-link {
        flex: 0 0 100% !important;     /* Tek sütun zorla */
        min-width: 100% !important;    /* Tek sütun zorla */
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .carousel {
        padding: 0 30px; /* Yan boşlukları mobilde biraz azaltalım */
    }
}
/* Blog carousel – gerçek flex elemanı card-link */
.blog-carousel .carousel-track .card-link{
  flex: 0 0 calc((100% - (1.25rem * 2)) / 3);
}

@media (max-width: 1024px){
  .blog-carousel .carousel-track .card-link{
    flex: 0 0 calc((100% - 1.25rem) / 2);
  }
}

@media (max-width: 720px){
  .blog-carousel .carousel-track .card-link{
    flex: 0 0 100%;
  }
}
/* Blog – No results message */
#blogNoResultsText {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 22px;
  border-radius: 999px;

  background: #FFF1F2;        /* açık kırmızı / rose */
  border: 2px solid #FCA5A5;  /* kırmızımsı border */
  color: #7F1D1D;             /* koyu kırmızı yazı */

  font-size: 1rem;
  font-weight: 700;
}

@media (max-width: 720px) {

  .tag-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 8px !important;
    padding-bottom: 6px !important;
  }

  .tag-row .tag,
  .tag-row .tag-lg {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    font-size: 0.8rem !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;
  }
}
/* -- PROJECT DETAIL FIX (Resim ve Grid Düzeltmeleri) -- */

/* 1. Grid elemanlarının uzamasını engelle (Yukarı hizala) */
.project-hero-grid {
    align-items: start !important; /* Stretch yerine start kullanarak uzamayı önler */
}

/* 2. Resim kutusunun boyutunu sabitleme, çerçeveyi kaldırma */
.project-cover {
    height: auto !important;       /* Yüksekliği içeriğe göre ayarla */
    display: block;                /* Flex/Grid etkisinden kurtar */
    border: none !important;       /* Gri çizgiyi kaldır */
    box-shadow: none !important;   /* Kutunun gölgesini kaldır */
    background: transparent !important; /* Arka planı şeffaf yap */
}

/* 3. Resmin tam görünmesini sağla ve modern gölge ekle */
.project-cover img {
    aspect-ratio: auto !important;  /* Zorla verilen oranı iptal et */
    height: auto !important;        /* Resmin kendi yüksekliğini kullan */
    object-fit: contain !important; /* Resmi kutuya sığdır (Kırpmaz - Bayraklar görünür) */
    max-height: 600px;              /* Çok uzun resimler için limit */
    
    /* Yeni Gölge Efekti */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12) !important; 
    border-radius: 16px !important; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

/* 4. Mouse ile üzerine gelince hareket efekti */
.project-cover img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18) !important;
}