/* ============================================================
   Self-hosted fonts: Montserrat (300/400/700) + Roboto (400/500)
   Subsets: latin + latin-ext (Turkce destegi)
   unicode-range ile her dosya sadece kullanildiginda yuklenir.
   ============================================================ */
@font-face{font-family:'Montserrat';font-style:normal;font-weight:300;font-display:swap;src:url('/assets/fonts/montserrat-latin-ext-300.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:300;font-display:swap;src:url('/assets/fonts/montserrat-latin-300.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/montserrat-latin-ext-400.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/montserrat-latin-400.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/montserrat-latin-ext-700.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/montserrat-latin-700.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/roboto-latin-ext-400.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/roboto-latin-400.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/roboto-latin-ext-500.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/roboto-latin-500.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

:root {
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --text-white: #f8fafc; /* Slightly softer white */
  
  --cyan-400: var(--text-white);
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --blue-600: #2563eb;
  --accent-glow: rgba(248, 250, 252, 0.15);

  --background-start: #0A0F1A;
  --background-end: #111827;

  --accent-gradient: linear-gradient(90deg, var(--cyan-500), var(--blue-600));
  --animation-curve: cubic-bezier(0.25, 0.8, 0.25, 1);
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.7;
  background-color: var(--background-start);
  color: var(--slate-300);
  overflow-x: hidden;
  position: relative;
}

.background-aurora {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(ellipse 50% 50% at 20% 40%, var(--accent-glow), transparent 70%),
        radial-gradient(ellipse 50% 50% at 80% 60%, rgba(37, 99, 235, 0.2), transparent 70%);
    z-index: -1;
    animation: aurora-flow 20s ease-in-out infinite alternate;
}

@keyframes aurora-flow {
    from {
        transform: rotate(0deg) scale(1.5);
    }
    to {
        transform: rotate(45deg) scale(1.8);
    }
}


h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--text-white);
  text-shadow: 0 0 10px rgba(248, 250, 252, 0.1);
}

section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--animation-curve), transform 0.6s var(--animation-curve);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.visible .service-card:nth-child(2) {
  transition-delay: 0.2s;
}
.animate-on-scroll.visible .service-card:nth-child(3) {
  transition-delay: 0.4s;
}

.animate-on-scroll.visible .about-panel {
    transition-delay: 0.2s;
}


header {
  background: rgba(10, 15, 26, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-800);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.3s ease;
}

nav {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-white);
  text-decoration: none;
  overflow: hidden;
}

.logo-svg {
  flex-shrink: 0;
}

@keyframes assemble-solid-v {
  0%, 15%, 100% { transform: scaleY(0); }
  30%, 80% { transform: scaleY(1); }
}

@keyframes assemble-solid-a {
  0%, 30%, 100% { clip-path: inset(0 100% 0 0); }
  50%, 80% { clip-path: inset(0 0 0 0); }
}

.logo-svg path {
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.8, 0, 0.2, 1);
}

.logo-svg .k1-v {
  animation-name: assemble-solid-v;
  transform-origin: center;
}
.logo-svg .k1-a {
  animation-name: assemble-solid-a;
}

.logo-svg .k2-v {
  animation-name: assemble-solid-v;
  animation-delay: 0.15s;
  transform-origin: center;
}
.logo-svg .k2-a {
  animation-name: assemble-solid-a;
  animation-delay: 0.15s;
}

.logo-text {
    letter-spacing: 1px;
    animation: reveal-text 4s infinite cubic-bezier(0.8, 0, 0.2, 1);
    white-space: nowrap;
}

.logo-text-space, .logo-text-2 {
    animation-delay: 0.15s;
}

@keyframes reveal-text {
    0%, 50% {
        opacity: 0;
        max-width: 0px;
        transform: translateX(-10px);
    }
    60%, 80% {
        opacity: 1;
        max-width: 150px;
        transform: translateX(0);
    }
    90%, 100% {
        opacity: 0;
        max-width: 0px;
        transform: translateX(-10px);
    }
}

.nav-links {
  display: flex;
  justify-content: space-around;
  list-style: none;
  position: relative;
}

.nav-links::before {
    content: '';
    position: absolute;
    top: 50%;
    left: var(--left);
    width: var(--width);
    height: 36px;
    background: var(--slate-700);
    border-radius: 99px;
    transform: translateY(-50%);
    transition: all 0.4s var(--animation-curve);
    opacity: var(--opacity, 0);
    z-index: 0;
}

.nav-links:hover {
    --opacity: 1;
}

.nav-links li {
  padding: 0;
  position: relative;
}

.nav-links li:hover ~ li:first-of-type {
    --is-hovered: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--slate-400);
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 8px 16px;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.nav-links li.active a, .nav-links a:hover {
    color: var(--text-white);
}

.nav-links li:hover {
    --is-hovered: 1;
}

.nav-links li.active {
    --is-active: 1;
}

.nav-links li:nth-child(1):hover ~ li:last-child,
.nav-links li:nth-child(1).active ~ li:last-child {
  --active-index: 0;
}
.nav-links li:nth-child(2):hover ~ li:last-child,
.nav-links li:nth-child(2).active ~ li:last-child {
  --active-index: 1;
}
.nav-links li:nth-child(3):hover ~ li:last-child,
.nav-links li:nth-child(3).active ~ li:last-child {
  --active-index: 2;
}
.nav-links li:nth-child(4):hover ~ li:last-child,
.nav-links li:nth-child(4).active ~ li:last-child {
  --active-index: 3;
}
.nav-links li:nth-child(5):hover ~ li:last-child,
.nav-links li:nth-child(5).active ~ li:last-child {
  --active-index: 4;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 2px;
  background-color: var(--text-white);
  margin: 5px;
  transition: all 0.3s ease;
}

#anasayfa {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 40px;
    width: 100%;
}

.hero-content {
    max-width: 500px;
    position: relative;
    z-index: 1;
    text-align: left;
}

.hero-content h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-content h1 .h1-first  { font-weight: 300; }
.hero-content h1 .h1-second { font-weight: 700; }
.hero-content h1 .h1-role {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  font-weight: 400;
  color: var(--slate-400);
  letter-spacing: 0.02em;
  margin-top: 0.45rem;
  line-height: 1.4;
}


.hero-content p {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--slate-400);
  margin-bottom: 2.5rem;
  /* Daktilo efekti kaynaklı kaymayı önlemek için minimum yükseklik ve dikey hizalama eklendi */
  min-height: 3.4em; /* 1.7 (satır yüksekliği) * 2 satırlık alan ayırır */
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Masaüstü için sola hizalı */
}

.dynamic-text {
  color: var(--cyan-400);
  font-weight: 500;
  position: relative;
}

.dynamic-text::after {
  content: '';
  position: absolute;
  right: -10px;
  width: 3px;
  height: 100%;
  background: var(--cyan-400);
  animation: blink 0.7s infinite;
}

.dynamic-text.stop-blinking::after {
  animation: none;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-cta {
    font-size: 1.2rem;
    padding: 20px 40px;
}

.hero-animation {
    position: relative;
    width: 100%;
    height: 500px;
}

#hero-funnel-animation {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.section-header {
    text-align: left;
    margin-bottom: 50px;
}

.pre-header {
    color: var(--cyan-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    margin: 0;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(30, 41, 59, 0.4));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid var(--slate-700);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--animation-curve), box-shadow 0.3s var(--animation-curve);
  z-index: 1;
  padding: 40px 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: radial-gradient(350px circle at var(--mouse-x) var(--mouse-y), rgba(248, 250, 252, 0.05), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: -1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px transparent;
    transition: box-shadow 0.4s var(--animation-curve);
}

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

.service-card:hover::after {
    box-shadow: inset 0 0 0 2px var(--cyan-400);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-glow);
    border-color: var(--slate-600);
}


.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--cyan-400);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.service-details {
    list-style: none;
    padding-left: 0;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.service-details li {
    padding-left: 25px;
    position: relative;
    color: var(--slate-400);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.service-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cyan-400);
    font-weight: 700;
}

#hakkimda {
  background: transparent;
}

/* New About Section Styles */
.about-panel {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(30, 41, 59, 0.4));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--slate-700);
    border-radius: 16px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.about-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-profile-text {
    text-align: center;
}

.about-image-wrapper {
    position: relative;
    margin-bottom: 30px;
    width: 220px;
    height: 220px;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--cyan-500), var(--blue-600));
    animation: rotate-glow 5s linear infinite;
    z-index: 0;
}

@keyframes rotate-glow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.about-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: 10px;
    left: 10px;
    border: 6px solid var(--slate-800);
    z-index: 1;
}

.about-name {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.about-title {
    color: var(--cyan-400);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.about-intro {
    font-size: 1.05rem;
    color: var(--slate-300);
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-socials {
    justify-content: center;
    gap: 20px;
}

.about-skills {
    padding-left: 60px;
    border-left: 1px solid var(--slate-700);
}

.skills-category-title {
    color: var(--cyan-400);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 30px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--slate-700);
}

.about-skills .skills-category-title:first-of-type {
    margin-top: 0;
}

/* Skills Styles */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skill-item {
    background-color: var(--slate-800);
    color: var(--slate-300);
    padding: 10px 15px 10px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--slate-700);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.skill-item svg {
    width: 20px;
    height: 20px;
}

.skill-item:hover {
    transform: translateY(-3px);
    color: var(--text-white);
    border-color: var(--cyan-400);
    background-color: var(--slate-700);
}

/* --- New Portfolio Styles --- */
.portfolio-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-card {
    /* Background and border moved to ::after to create the cutout effect */
    border-radius: 12px;
    text-decoration: none;
    color: var(--slate-300);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s var(--animation-curve), box-shadow 0.3s var(--animation-curve);
    position: relative; /* Required for pseudo-elements */
}

@keyframes rotate-border {
    to {
        --angle: 360deg;
    }
}

/* The rotating gradient, sits behind the card's background */
.portfolio-card::before {
    content: '';
    position: absolute;
    inset: -1px; /* Position it just outside the card's boundary */
    z-index: -2; /* Place it behind the ::after element */
    border-radius: inherit;
    background: conic-gradient(
        from var(--angle),
        transparent, 
        var(--cyan-500) 10%, 
        transparent 20%
    );
    opacity: 0;
    transition: opacity 0.4s var(--animation-curve);
    animation: rotate-border 4s linear infinite;
}

/* The actual card background, masking the inner part of the gradient */
.portfolio-card::after {
    content: '';
    position: absolute;
    inset: 1px; /* 1px inside the card, creating a 2px border for the glow */
    z-index: -1; /* Sits on top of the glow, but behind the content */
    background: linear-gradient(145deg, var(--slate-800), #28354b); /* Opaque background to mask the inner glow */
    border: 1px solid var(--slate-700);
    border-radius: 11px; /* Slightly smaller radius for the inner layer */
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-glow);
}

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

.portfolio-image-container {
    height: 220px;
    overflow: hidden;
    position: relative;
    border-top-left-radius: 11px; /* Match the ::after element's radius */
    border-top-right-radius: 11px;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-category {
    color: var(--cyan-400);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.portfolio-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.portfolio-description {
    font-size: 0.95rem;
    color: var(--slate-400);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto; /* Pushes tags to the bottom */
}

.portfolio-tag {
    background-color: var(--slate-700);
    color: var(--slate-300);
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 99px;
    font-weight: 500;
}

/* --- End New Portfolio Styles --- */

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-form-wrapper form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-wrapper {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--slate-700);
    border-radius: 12px;
    padding: 40px;
    position: sticky;
    top: 120px;
}

.contact-info-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-info-wrapper p {
    color: var(--slate-400);
    margin-bottom: 30px;
}

.contact-details {
    list-style: none;
    margin-bottom: 30px;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--slate-300);
}

.contact-details li svg {
    width: 24px;
    height: 24px;
    color: var(--cyan-400);
    flex-shrink: 0;
}

.contact-details a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--cyan-400);
}

.contact-socials {
    justify-content: flex-start;
    gap: 25px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--slate-700);
}


.form-group {
  position: relative;
}

.form-group label {
  position: absolute;
  top: 18px;
  left: 18px;
  color: var(--slate-500);
  pointer-events: none;
  transition: all 0.2s ease-out;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid var(--slate-700);
  background-color: var(--slate-800);
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: var(--text-white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--cyan-400);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.form-group.is-focused label,
.form-group.has-value label {
  top: -10px;
  left: 14px;
  font-size: 0.8rem;
  color: var(--cyan-400);
  background-color: var(--slate-900);
  padding: 0 4px;
}

/* Captcha Styles */
.captcha-group {
  margin-top: 10px;
}

.captcha-container {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--slate-800);
  border: 1px solid var(--slate-700);
  border-radius: 8px;
  padding: 12px 18px;
}

.captcha-question {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cyan-400);
  min-width: 80px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

.captcha-container input[type="number"] {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--slate-700);
  border-radius: 6px;
  background-color: var(--slate-900);
  color: var(--text-white);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}

.captcha-container input[type="number"]:focus {
  outline: none;
  border-color: var(--cyan-400);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.captcha-refresh {
  background: transparent;
  border: 1px solid var(--slate-700);
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
  color: var(--slate-400);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.captcha-refresh:hover {
  background: var(--slate-700);
  border-color: var(--cyan-400);
  color: var(--cyan-400);
  transform: rotate(180deg);
}

.captcha-refresh svg {
  width: 20px;
  height: 20px;
}

.captcha-group label {
  position: static;
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--slate-400);
  background: transparent;
  padding: 0;
}

.cta-button {
  background: var(--accent-gradient);
  color: var(--text-white);
  padding: 18px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
  align-self: flex-start;
}

.cta-button:disabled {
    background: var(--slate-600);
    cursor: not-allowed;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease-in-out;
}

.cta-button:hover::before {
    left: 100%;
}


.cta-button:hover:not(:disabled) {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

#form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

#form-status.success {
    background-color: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

#form-status.error {
    background-color: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

footer {
  text-align: center;
  padding: 50px 20px;
  border-top: 1px solid var(--slate-800);
  color: var(--slate-400);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: block;
    width: 44px;
    margin: 0 auto 30px;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-3px);
}

.social-links {
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-links a {
    color: var(--slate-400);
    margin: 0;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--cyan-400);
    transform: translateY(-3px);
}

@media screen and (max-width: 900px) {
    #anasayfa {
        text-align: center;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .hero-content {
        text-align: center;
        max-width: 100%;
        order: 2;
    }
    .hero-content p {
        justify-content: center; /* Mobil için ortalı */
    }
    .hero-animation {
        height: 300px;
        order: 1;
    }
    .hero-cta {
        margin-left: auto;
        margin-right: auto;
    }

    .about-panel {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px;
    }
    .about-profile {
        align-items: center;
    }
    .about-socials {
        justify-content: center;
    }
    .about-cta {
        align-self: center;
    }
    .about-skills {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--slate-700);
        padding-top: 40px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .contact-info-wrapper {
        position: static;
    }
}

@media screen and (max-width: 768px) {
  .nav-links {
    position: fixed;
    right: 0px;
    height: 100vh;
    top: 0;
    background: rgba(10, 15, 26, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
    border-left: 1px solid var(--slate-800);
  }
  
  .nav-links li {
    opacity: 0;
    margin: 1.5rem 0;
  }
  
  .nav-links::before {
      display: none;
  }

  .nav-links a {
      padding: 12px 24px;
  }
  
  .burger {
    display: block;
    z-index: 1001;
  }
  
  .nav-active {
    transform: translateX(0%);
  }
  
  @keyframes navLinkFade {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0px);
    }
  }

  .toggle {
    /* This will keep the button on top of the nav panel and allow it to be clicked */
    position: fixed;
    right: 1.5rem;
    top: 1.3rem;
  }

  .toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  .toggle .line2 {
    opacity: 0;
  }
  .toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  #anasayfa {
    min-height: 80vh;
    padding-top: 80px;
  }
  
  section {
      padding: 70px 20px;
  }
  
  .portfolio-container {
      grid-template-columns: 1fr;
  }

  .section-header {
      text-align: center;
  }

  .form-group.is-focused label,
  .form-group.has-value label {
    background-color: #111827;
  }

}

/* ============================================================
   Eski inline stil bloklarinin merkezi yeri (header.php'den cikarildi)
   ============================================================ */

/* Ekran okuyucu icin gorunmez yardimci metin */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Ana sayfa hizmet kart linkleri */
.service-links { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; gap: 6px; position: relative; z-index: 2; }
.service-links a { color: #22d3ee; text-decoration: none; font-size: .92rem; font-weight: 500; transition: color .2s; }
.service-links a:hover { color: #67e8f9; }
.service-card::after,
.service-card::before { pointer-events: none; }

/* Hakkimda gorseli */
.about-image { object-position: center 22%; transform: scale(0.92); }

/* Hizmet alt sayfalari (uzun-bicim makale duzeni) */
/* Sticky header zaten flow'da yer kapliyor; ekstra 140px padding gereksiz bosluk yaratiyordu.
   Breadcrumb ile header arasinda makul nefes alani: desktop 40px, mobil 20px yeterli. */
.service-page-main { max-width: 900px; margin: 0 auto; padding: 40px 24px 80px; }
@media (max-width: 600px) {
  .service-page-main { padding: 20px 18px 60px; }
}
.service-page-main h1 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--text-white); font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; margin-bottom: 1rem; }
.service-page-main h2 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--text-white); font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 2.6rem 0 1rem; }
.service-page-main h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--text-white); font-size: 1.15rem; margin: 1.8rem 0 .6rem; }
.service-page-main p  { margin: 0 0 1.1rem; line-height: 1.8; }
.service-page-main ul { margin: 0 0 1.2rem; padding-left: 1.3rem; line-height: 1.8; }
.service-page-main li { margin-bottom: .4rem; }
/* Breadcrumb — editorial hairline pattern */
.service-breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.88rem;
  margin: 0 0 1.6rem;
  line-height: 1.5;
  letter-spacing: 0.005em;
  color: var(--slate-500);
}
.service-breadcrumb > a {
  color: var(--slate-400);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.18s ease;
  padding: 2px 0;
  position: relative;
}
.service-breadcrumb > a:hover {
  color: var(--text-white);
}
.service-breadcrumb > a:hover::before {
  /* Hover'da altta cikan ince accent cizgisi */
  transform: scaleX(1);
}
.service-breadcrumb > a::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--cyan-500);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}
.service-breadcrumb > span {
  color: var(--text-white);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.service-breadcrumb > *:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 1px;
  height: 0.85em;
  background: currentColor;
  opacity: 0.4;
  vertical-align: middle;
  margin: 0 0.75em;
  transform: translateY(-1px);
}
@media (max-width: 600px) {
  .service-breadcrumb {
    font-size: 0.82rem;
    margin: 0 0 1.3rem;
  }
  .service-breadcrumb > *:not(:last-child)::after {
    height: 0.8em;
    margin: 0 0.6em;
  }
}
.service-lead         { font-size: 1.15rem; color: var(--slate-400, #94a3b8); }
.service-cta-box      { margin-top: 3rem; padding: 2rem; border: 1px solid var(--border-color, #333); border-radius: 14px; text-align: center; }
.service-cta-box h2   { margin-top: 0; }
.service-other        { margin-top: 3rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.service-other a      { border: 1px solid var(--border-color, #333); border-radius: 10px; padding: .6rem 1rem; text-decoration: none; color: var(--text-secondary, #b3b3b3); font-size: .92rem; }
.service-other a:hover { color: var(--text-white, #f5f5f5); }

/* ============================================================
   Blog: listing grid + tek yazi (uzun-bicim makale)
   ============================================================ */
.blog-listing-main { max-width: 1200px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 2.5rem;
}
.blog-card {
  position: relative;
  background: linear-gradient(145deg, rgba(30,41,59,0.5), rgba(30,41,59,0.25));
  border: 1px solid var(--slate-700);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s var(--animation-curve), border-color 0.2s, box-shadow 0.3s;
}
.blog-card:hover { transform: translateY(-4px); border-color: rgba(6,182,212,0.4); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
/* Stretched-link: kart başlığındaki link tüm karta yayılır */
.blog-card-link { color: inherit; text-decoration: none; }
.blog-card-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.blog-card:hover .blog-card-title { color: var(--cyan-500); }
.blog-card-title { transition: color 0.2s; }
/* Kategori chip (link) ve resim üstte kalır — kendi link/işlevi çalışsın */
.blog-card-category { position: relative; z-index: 2; }
a.blog-card-category { z-index: 2; }
.blog-card-image { position: relative; z-index: 0; }
.blog-card-image { aspect-ratio: 16/9; overflow: hidden; background: var(--slate-800); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.blog-card:hover .blog-card-image img { transform: scale(1.04); }
.blog-card-content { padding: 22px 22px 24px; }
.blog-card-date { display: block; font-size: 0.82rem; color: var(--cyan-500); margin-bottom: 0.5rem; letter-spacing: 0.04em; }
.blog-card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--text-white);
  font-size: 1.2rem;
  margin: 0 0 0.6rem;
  line-height: 1.35;
}
.blog-card-desc { color: var(--slate-400); font-size: 0.94rem; line-height: 1.6; margin: 0 0 1rem; }
.blog-card-cta { color: var(--cyan-500); font-size: 0.88rem; font-weight: 600; }

.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin: 3rem 0 1rem;
}
.blog-pagination a {
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--slate-700);
  border-radius: 8px;
  color: var(--slate-300);
  text-decoration: none;
  font-size: 0.92rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.blog-pagination a:hover { border-color: var(--cyan-500); color: var(--text-white); }
.blog-pagination a.active { background: var(--accent-gradient); border-color: transparent; color: #fff; }

.blog-empty {
  margin: 3rem 0;
  padding: 3rem 1.5rem;
  text-align: center;
  border: 1px dashed var(--slate-700);
  border-radius: 14px;
  color: var(--slate-400);
}
.blog-empty p { margin-bottom: 1.5rem; }

/* Blog arama formu */
.blog-search {
  display: flex;
  gap: 0.5rem;
  margin: 1.5rem 0;
  max-width: 540px;
}
.blog-search input[type="search"] {
  flex: 1 1 auto;
  padding: 0.75rem 1rem;
  background: rgba(30,41,59,0.5);
  border: 1px solid var(--slate-700);
  border-radius: 10px;
  color: var(--text-white);
  font-family: inherit;
  font-size: 0.95rem;
}
.blog-search input[type="search"]::placeholder { color: var(--slate-500); }
.blog-search input[type="search"]:focus { outline: none; border-color: var(--cyan-500); box-shadow: 0 0 0 3px rgba(6,182,212,0.18); }
.blog-search button {
  flex: 0 0 auto;
  padding: 0 1.1rem;
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.blog-search button:hover { opacity: 0.9; }

/* Kategori chip'leri (listing sayfasinda) */
.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 2rem;
}
/* --cat-color: HTML inline style ile her kategoriye ozel renk gelir; degisken yoksa cyan fallback */
.blog-cat-chip {
  --cat-color: var(--cyan-500);
  display: inline-block;
  padding: 0.4rem 0.85rem;
  background: rgba(30,41,59,0.5);
  border: 1px solid var(--slate-700);
  border-radius: 99px;
  color: var(--slate-300);
  font-size: 0.85rem;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s;
  position: relative;
}
.blog-cat-chip::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cat-color);
  margin-right: 8px;
  vertical-align: middle;
  box-shadow: 0 0 8px var(--cat-color);
}
.blog-cat-chip:hover {
  border-color: var(--cat-color);
  color: var(--text-white);
  background: color-mix(in srgb, var(--cat-color) 12%, rgba(30,41,59,0.5));
  transform: translateY(-1px);
}

/* Kart icindeki kategori badge'i — dinamik renk */
.blog-card-meta { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.blog-card-category {
  --cat-color: var(--cyan-500);
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  background: color-mix(in srgb, var(--cat-color) 18%, transparent);
  color: var(--cat-color);
  text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--cat-color) 40%, transparent);
  transition: background 0.2s, color 0.2s;
}
a.blog-card-category:hover {
  background: color-mix(in srgb, var(--cat-color) 30%, transparent);
  color: var(--text-white);
}

/* Kategori sayfasi basligi — buyuk renkli nokta + baslik + aciklama */
/* Kategori basligi — editorial / typography-first.
   Gradient yok, glow yok, kutu yok. Sadece tipografi + bosluk + kategori rengi accent.
   Magazine/editorial yaklasim: eyebrow > h1 > lead > meta */
.blog-cat-header {
  margin: 0 0 3rem;
  padding: 0.4rem 0 2rem 1.6rem;
  border-bottom: 1px solid rgba(51,65,85,0.5);
}
.blog-cat-header .blog-cat-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cat-color, var(--cyan-500));
}
.blog-cat-header .blog-cat-eyebrow::before {
  /* Kategori rengi ince yatay accent — okuyucu icin tek gorsel ipucu */
  content: '';
  width: 28px;
  height: 2px;
  background: var(--cat-color, var(--cyan-500));
}
.blog-cat-header .blog-cat-eyebrow a {
  color: inherit;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.blog-cat-header .blog-cat-eyebrow a:hover { opacity: 1; }
.blog-cat-header h1 {
  margin: 0;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text-white);
  font-weight: 700;
}
.blog-cat-header .blog-cat-dot {
  /* Eski mimari kalintisi — gizli */
  display: none;
}
.blog-cat-header .service-lead {
  margin: 1.1rem 0 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--slate-300);
  max-width: 640px;
}
.blog-cat-header .blog-cat-meta {
  margin: 1.4rem 0 0;
  font-size: 0.85rem;
  color: var(--slate-400);
  letter-spacing: 0.01em;
}
.blog-cat-header .blog-cat-meta strong {
  /* Geriye uyumluluk — eski seed'lerde <strong> sarili */
  color: var(--text-white);
  font-weight: 600;
}
@media (max-width: 600px) {
  .blog-cat-header {
    margin-bottom: 2rem;
    padding: 0.3rem 0 1.5rem 1rem;
  }
  .blog-cat-header .blog-cat-eyebrow { font-size: 0.68rem; margin-bottom: 0.7rem; }
  .blog-cat-header .blog-cat-eyebrow::before { width: 22px; }
  .blog-cat-header .service-lead { font-size: 0.95rem; margin-top: 0.9rem; }
  .blog-cat-header .blog-cat-meta { margin-top: 1.1rem; font-size: 0.82rem; }
}

/* Tek yazi taglari */
.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 2rem 0 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--slate-700);
}
.blog-tag {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  background: rgba(255,255,255,0.04);
  color: var(--slate-400);
  border-radius: 6px;
  font-size: 0.82rem;
  border: 1px solid var(--slate-700);
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
a.blog-tag:hover {
  color: var(--text-white);
  border-color: var(--cyan-500);
  background: rgba(6,182,212,0.08);
}

/* Reading time + view count meta */
.blog-post-readtime,
.blog-post-views {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--slate-400);
}
.blog-post-readtime svg,
.blog-post-views svg { opacity: 0.7; }

/* Sosyal paylaşım barı — brand renkleri ile profesyonel görünüm */
.blog-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin: 2.5rem 0 1.5rem;
  padding: 1.1rem 1.3rem;
  background: linear-gradient(145deg, rgba(15,23,42,0.6), rgba(15,23,42,0.3));
  border: 1px solid var(--slate-700);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}
.blog-share-label {
  font-size: 0.9rem;
  color: var(--text-white);
  margin-right: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.blog-share-label::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--accent-gradient);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M18 8c1.66 0 2.99-1.34 2.99-3S19.66 2 18 2c-1.66 0-3 1.34-3 3 0 .25.03.49.07.72L7.91 9.85a3 3 0 1 0 0 4.3l7.16 4.15c-.05.23-.08.47-.08.7 0 1.65 1.34 3 3 3s3-1.35 3-3-1.34-3-3-3c-.83 0-1.58.34-2.13.89l-7.1-4.13a3.03 3.03 0 0 0 0-1.42l7.05-4.13c.55.55 1.31.89 2.14.89z'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'><path d='M18 8c1.66 0 2.99-1.34 2.99-3S19.66 2 18 2c-1.66 0-3 1.34-3 3 0 .25.03.49.07.72L7.91 9.85a3 3 0 1 0 0 4.3l7.16 4.15c-.05.23-.08.47-.08.7 0 1.65 1.34 3 3 3s3-1.35 3-3-1.34-3-3-3c-.83 0-1.58.34-2.13.89l-7.1-4.13a3.03 3.03 0 0 0 0-1.42l7.05-4.13c.55.55 1.31.89 2.14.89z'/></svg>") center/contain no-repeat;
}
.blog-share-btn {
  --share-color: var(--slate-700);
  --share-bg: rgba(255,255,255,0.04);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.55rem 1rem;
  background: var(--share-bg);
  color: var(--slate-300);
  border: 1px solid var(--share-color);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s var(--animation-curve);
  position: relative;
  overflow: hidden;
}
.blog-share-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--share-color);
  opacity: 0;
  transition: opacity 0.18s;
  z-index: 0;
}
.blog-share-btn > * { position: relative; z-index: 1; }
.blog-share-btn:hover {
  color: #fff;
  border-color: var(--share-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--share-color) 35%, transparent);
}
.blog-share-btn:hover::before { opacity: 1; }
.blog-share-btn svg { flex: 0 0 auto; }
/* Brand renkleri */
.blog-share-btn[aria-label*="Twitter"], .blog-share-btn[aria-label*="X (Twitter)"] { --share-color: #000000; }
.blog-share-btn[aria-label*="LinkedIn"] { --share-color: #0A66C2; }
.blog-share-btn[aria-label*="WhatsApp"] { --share-color: #25D366; }
.blog-share-btn.js-copy-link { --share-color: var(--cyan-500); }
.blog-share-btn.js-copy-link.copied { --share-color: #22c55e; color: #fff; }
.blog-share-btn.js-copy-link.copied::before { opacity: 1; }
/* Mobilde paylasim butonlari: sadece ikon (yer tutmasin, ic ice girmesin) */
@media (max-width: 600px) {
  .blog-share {
    padding: 0.85rem 1rem;
    gap: 0.55rem;
    justify-content: center;
  }
  .blog-share-label {
    width: 100%;
    margin: 0 0 0.5rem;
    text-align: center;
    justify-content: center;
  }
  .blog-share-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    flex: 0 0 auto;
  }
  /* Text etiketleri ekran okuyucu icin korunur ama gorsel olarak gizlenir */
  .blog-share-btn > span {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
  .blog-share-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* Featured yazi bolumu (blog index) */
.blog-featured {
  margin: 2rem 0 3rem;
}
.blog-featured-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--text-white);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin: 0 0 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.blog-featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.2rem;
}
.blog-featured-card {
  --cat-color: var(--cyan-500);
  background: linear-gradient(145deg, rgba(30,41,59,0.6), rgba(30,41,59,0.3));
  border: 1px solid color-mix(in srgb, var(--cat-color) 35%, var(--slate-700));
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s var(--animation-curve), border-color 0.2s, box-shadow 0.3s;
  position: relative;
}
.blog-featured-card:hover {
  transform: translateY(-3px);
  border-color: var(--cat-color);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--cat-color) 18%, transparent);
}
.blog-featured-link { color: inherit; text-decoration: none; }
.blog-featured-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.blog-featured-card:hover .blog-featured-title { color: var(--cat-color); }
.blog-featured-title { transition: color 0.2s; }
.blog-featured-card .blog-card-meta,
.blog-featured-card .blog-card-category,
.blog-featured-image,
.blog-featured-badge { position: relative; z-index: 2; }
.blog-featured-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--slate-800);
}
.blog-featured-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.blog-featured-card:hover .blog-featured-image img { transform: scale(1.04); }
.blog-featured-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.25rem 0.65rem;
  background: rgba(241, 200, 122, 0.95);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 0.72rem;
  border-radius: 99px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.blog-featured-content { padding: 20px 22px 22px; }
.blog-featured-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--text-white);
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 0 0 0.55rem;
}
.blog-featured-desc {
  color: var(--slate-400);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 0.85rem;
}
.blog-featured-card:first-child .blog-featured-title { font-size: 1.35rem; }

@media (max-width: 900px) {
  .blog-featured-grid { grid-template-columns: 1fr 1fr; }
  .blog-featured-card:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .blog-featured-grid { grid-template-columns: 1fr; }
}

/* Etiket sayfasi (public) */
.blog-tag-header {
  margin: 1rem 0 2.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--slate-700);
}
.blog-tag-header h1 {
  display: inline;
  font-size: clamp(2rem, 5vw, 3rem);
  text-transform: capitalize;
}
.blog-tag-prefix {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--cyan-500);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-right: 4px;
}

/* Yorumlar */
.blog-comments {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--slate-700);
}
.blog-comments h2 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--text-white); font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 1.5rem; }
.comment-notice {
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  margin: 0 0 1.4rem;
  font-size: 0.93rem;
}
.comment-notice-success { background: rgba(40,167,69,0.15); color: #b4e9c4; border: 1px solid rgba(40,167,69,0.4); }
.comment-notice-error   { background: rgba(220,53,69,0.18); color: #ff9a9a; border: 1px solid rgba(220,53,69,0.45); }
.comment-list { list-style: none; padding: 0; margin: 0 0 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.comment-item {
  padding: 1rem 1.2rem;
  background: rgba(30,41,59,0.45);
  border: 1px solid var(--slate-700);
  border-radius: 12px;
}
.comment-header { display: flex; justify-content: space-between; align-items: baseline; gap: 0.8rem; margin-bottom: 0.5rem; flex-wrap: wrap; }
.comment-header strong { color: var(--text-white); font-family: 'Montserrat', sans-serif; }
.comment-date { color: var(--slate-500); font-size: 0.82rem; }
.comment-body { color: var(--slate-300); line-height: 1.7; margin: 0; word-wrap: break-word; }

.comment-form {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid var(--slate-700);
  border-radius: 12px;
  padding: 1.5rem;
}
.comment-form h3 { font-family: 'Montserrat', sans-serif; color: var(--text-white); margin: 0 0 0.4rem; }
.comment-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
.comment-field { display: flex; flex-direction: column; gap: 0.4rem; }
.comment-field label { color: var(--slate-300); font-size: 0.88rem; font-weight: 500; }
.comment-field label small { color: var(--slate-500); font-weight: 400; }
.comment-field input,
.comment-field textarea {
  padding: 0.65rem 0.9rem;
  background: rgba(30,41,59,0.6);
  border: 1px solid var(--slate-700);
  border-radius: 8px;
  color: var(--text-white);
  font-family: inherit;
  font-size: 0.95rem;
}
.comment-field input:focus,
.comment-field textarea:focus { outline: none; border-color: var(--cyan-500); box-shadow: 0 0 0 3px rgba(6,182,212,0.18); }
.comment-field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

/* Ilgili yazilar bolumu */
.blog-related {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--slate-700);
}
.blog-related h2 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--text-white); font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 1.5rem; }
.blog-related .blog-card-title { font-size: 1.05rem; }

@media (max-width: 600px) {
  .comment-form-row { grid-template-columns: 1fr; gap: 0.85rem; }
  .blog-search { flex-direction: row; }
}

/* Tek yazi sayfasi */
.blog-post .blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--slate-400);
  font-size: 0.9rem;
  margin: 0 0 1.4rem;
}
.blog-post .blog-post-meta time { color: var(--cyan-500); }
.blog-post-hero {
  margin: 1.5rem 0 2rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--slate-700);
}
.blog-post-hero img { width: 100%; height: auto; display: block; }
.blog-post-content { font-size: 1.02rem; line-height: 1.85; color: var(--slate-300); }
.blog-post-content h2 { margin-top: 2.5rem; }
.blog-post-content h3 { margin-top: 1.8rem; }
.blog-post-content p  { margin-bottom: 1.15rem; }
.blog-post-content ul, .blog-post-content ol { margin: 0 0 1.2rem 1.4rem; }
.blog-post-content li { margin-bottom: 0.4rem; }
.blog-post-content a { color: var(--cyan-500); text-decoration: underline; text-underline-offset: 3px; }
.blog-post-content a:hover { color: #67e8f9; }
.blog-post-content blockquote {
  border-left: 3px solid var(--cyan-500);
  padding: 0.6rem 1.2rem;
  margin: 1.5rem 0;
  background: rgba(6,182,212,0.07);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}
.blog-post-content code {
  background: rgba(255,255,255,0.07);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.92em;
}
.blog-post-content pre {
  background: rgba(0,0,0,0.4);
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.2rem 0;
  border: 1px solid var(--slate-700);
}
.blog-post-content pre code { background: none; padding: 0; }
.blog-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1.5rem 0;
  border: 1px solid var(--slate-700);
}
/* Ana sayfa blog ozeti */
.home-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1rem; }
.home-blog-cta { display: flex; justify-content: center; margin-top: 2.5rem; }
@media (max-width: 900px) {
  .home-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .home-blog-grid { grid-template-columns: 1fr; }
  .home-blog-cta { margin-top: 1.8rem; }
}

/* Tablolar — featured snippet ve AI citation icin onemli */
.blog-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.8rem 0;
  font-size: 0.93rem;
  background: linear-gradient(145deg, rgba(30,41,59,0.4), rgba(30,41,59,0.15));
  border: 1px solid var(--slate-700);
  border-radius: 10px;
  overflow: hidden;
  display: table;
}
.blog-post-content thead { background: rgba(6,182,212,0.15); }
.blog-post-content th {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--text-white);
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 2px solid var(--cyan-500);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}
.blog-post-content td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(51,65,85,0.5);
  color: var(--slate-300);
  vertical-align: top;
}
.blog-post-content tbody tr:last-child td { border-bottom: none; }
.blog-post-content tbody tr:hover { background: rgba(6,182,212,0.04); }
.blog-post-content caption {
  caption-side: top;
  font-size: 0.85rem;
  color: var(--slate-400);
  padding: 0 0 0.5rem;
  text-align: left;
  font-style: italic;
}
.blog-post-content table strong { color: var(--text-white); }
.blog-post-content table code { font-size: 0.85rem; background: rgba(0,0,0,0.3); padding: 1px 6px; border-radius: 3px; }
/* Mobil: tablo scroll edilebilir */
@media (max-width: 720px) {
  .blog-post-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 0.85rem;
  }
  .blog-post-content th, .blog-post-content td { padding: 0.55rem 0.7rem; }
}

/* Blog yazi icindeki SSS (FAQ) bloku */
.blog-post-content .blog-faq { margin: 2rem 0; display: flex; flex-direction: column; gap: 0.75rem; }
.blog-post-content .blog-faq > h2 { margin-top: 0; margin-bottom: 0.5rem; }
.blog-post-content .blog-faq-item { background: rgba(30,41,59,0.4); border: 1px solid var(--slate-700); border-radius: 10px; padding: 0.9rem 1.15rem; transition: border-color 0.2s, background 0.2s; }
.blog-post-content .blog-faq-item:hover { border-color: rgba(6,182,212,0.4); }
.blog-post-content .blog-faq-item[open] { background: rgba(30,41,59,0.6); border-color: rgba(6,182,212,0.45); }
.blog-post-content .blog-faq-item > summary { cursor: pointer; list-style: none; font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--text-white); font-size: 1rem; padding-right: 2rem; position: relative; line-height: 1.4; }
.blog-post-content .blog-faq-item > summary::-webkit-details-marker { display: none; }
.blog-post-content .blog-faq-item > summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 300; color: var(--cyan-500); transition: transform 0.25s; }
.blog-post-content .blog-faq-item[open] > summary::after { content: '\2212'; }
.blog-post-content .blog-faq-answer { margin-top: 0.75rem; color: var(--slate-300); }
.blog-post-content .blog-faq-answer p:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
  .blog-post-content .blog-faq-item { padding: 0.8rem 0.95rem; }
  .blog-post-content .blog-faq-item > summary { font-size: 0.95rem; padding-right: 1.6rem; }
}

/* Blog yazi icindeki vurgu kutulari */
.blog-post-content .callout,
.blog-post-content .tip-box,
.blog-post-content .warning-box { padding: 0.9rem 1.15rem; margin: 1.25rem 0; border-radius: 0 8px 8px 0; border-left: 4px solid; }
.blog-post-content .callout { background: rgba(6,182,212,0.08); border-left-color: var(--cyan-500); }
.blog-post-content .tip-box { background: rgba(40,167,69,0.08); border-left-color: #28a745; }
.blog-post-content .warning-box { background: rgba(255,193,7,0.08); border-left-color: #ffc107; }
.blog-post-content .callout p:last-child,
.blog-post-content .tip-box p:last-child,
.blog-post-content .warning-box p:last-child { margin-bottom: 0; }

/* ============================================================
   Ana sayfa SSS (FAQ) bolumu
   ============================================================ */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.faq-item {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid var(--slate-700);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  transition: border-color 0.2s, background 0.2s;
}
.faq-item:hover { border-color: rgba(6,182,212,0.4); }
.faq-item[open] { background: rgba(30, 41, 59, 0.6); border-color: rgba(6,182,212,0.45); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--text-white);
  font-size: 1.02rem;
  padding-right: 2rem;
  position: relative;
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--cyan-500);
  transition: transform 0.25s;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p {
  margin: 0.85rem 0 0;
  color: var(--slate-300);
  line-height: 1.7;
  font-size: 0.96rem;
}
@media (max-width: 600px) {
  .faq-item { padding: 0.9rem 1rem; }
  .faq-item summary { font-size: 0.96rem; padding-right: 1.6rem; }
}

/* ============================================================
   KVKK / Cerez onay bandi + tercih modali
   ============================================================ */
.cookie-banner[hidden],
.cookie-prefs[hidden] { display: none !important; }

.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9998;
  background: rgba(10, 15, 26, 0.97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(6, 182, 212, 0.5);
  color: var(--slate-300);
  padding: 1.1rem 1.2rem;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.4);
  animation: ccSlideUp 0.4s ease-out;
}
@keyframes ccSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner-text { flex: 1 1 60%; min-width: 280px; }
.cookie-banner-text strong {
  display: block;
  color: var(--text-white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.cookie-banner-text p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}
.cookie-banner-text a {
  color: var(--cyan-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.cookie-btn {
  border: none;
  padding: 0.6rem 1.15rem;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  white-space: nowrap;
}
.cookie-btn:hover  { opacity: 0.92; }
.cookie-btn:active { transform: scale(0.97); }
.cookie-btn-primary {
  background: var(--accent-gradient);
  color: #fff;
}
.cookie-btn-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--text-white);
  border: 1px solid rgba(255,255,255,0.18);
}

/* Cerez tercih modali */
.cookie-prefs {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: ccFadeIn 0.25s ease-out;
}
@keyframes ccFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-prefs-inner {
  background: var(--background-end);
  border: 1px solid var(--slate-700);
  border-radius: 14px;
  padding: 1.75rem;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.cookie-prefs h3 {
  margin: 0 0 1.25rem;
  color: var(--text-white);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
}
.cookie-pref-item {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--slate-700);
}
.cookie-pref-item:last-of-type { border-bottom: none; }
.cookie-pref-item label {
  display: block;
  cursor: pointer;
  position: relative;
  padding-left: 32px;
}
.cookie-pref-item label input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  accent-color: var(--cyan-500);
  cursor: pointer;
}
.cookie-pref-item label input[type="checkbox"]:disabled { cursor: not-allowed; opacity: 0.7; }
.cookie-pref-item strong {
  display: block;
  color: var(--text-white);
  font-size: 0.95rem;
  font-weight: 600;
}
.cookie-pref-item small {
  display: block;
  margin-top: 0.3rem;
  color: var(--slate-400);
  font-size: 0.83rem;
  line-height: 1.5;
}
.cookie-pref-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
  justify-content: flex-end;
}

/* Footer yasal link grubu */
.footer-legal {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--slate-400);
}
.footer-legal a,
.footer-legal-btn {
  color: var(--slate-400);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  padding: 0;
  transition: color 0.2s;
}
.footer-legal a:hover,
.footer-legal-btn:hover { color: var(--cyan-500); }
.footer-legal span { opacity: 0.5; }

/* KVKK form checkbox */
.form-kvkk {
  margin: 0.5rem 0 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--slate-400);
}
.form-kvkk label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
}
.form-kvkk input[type="checkbox"] {
  flex: 0 0 auto;
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--cyan-500);
  cursor: pointer;
}
.form-kvkk a {
  color: var(--cyan-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 640px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-btn { flex: 1; }
  .cookie-prefs-inner { padding: 1.25rem; }
}

/* ============================================================
   PageSpeed / a11y iyilestirmeleri
   ============================================================ */

/* Kullanici "hareket azalt" tercih ediyorsa animasyonlari kis */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .background-aurora { animation: none; }
}

/* Off-screen bolumlerin rendering maliyetini dusur (CWV / INP) */
section[data-section] {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}
#anasayfa { content-visibility: visible; }  /* LCP icin hero render dasi disinda */

/* Gorsel oran korumasi (CLS sifir) */
img, picture { max-width: 100%; height: auto; }

/* Sayfa kaydirma performansi */
.portfolio-card, .service-card { will-change: transform; }
