/* ========================================
   🎯 KK PORTFOLIO - MAIN STYLESHEET
   ======================================== */

/* ========================================
   📱 VIEWPORT-BASED SCALING SİSTEMİ
   ======================================== */
html, body {
  margin: 0;
  padding: 0;
}

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

#viewport-container {
  width: 100vw;
  height: 100vh;
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: top left;
}

/* Sayfa özel ayarları */
body.projeler-body #viewport-container,
body.hakkimda-body #viewport-container,
body.iletisim-body #viewport-container {
  position: relative;
  top: 30px;
}

/* Footer boşlukları */
body.hakkimda-body .site-footer {
  margin-top: 100px;
}

body.projeler-body .site-footer {
  margin-top: 100px;
}

/* ========================================
   🎨 GENEL RESET ve TEMEL STİLLER
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400; /* minimum 400 olsun */
  background-color: #fefefe;
  color: #333;

  /* Yazı kalitesini artıran cross-browser ayarlar */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: always;
  text-rendering: optimizeLegibility;
}

/* Sayfa özel padding'ler */
body.projeler-body,
body.hakkimda-body,
body.iletisim-body {
  padding-top: 140px;
}

/* ========================================
   🧭 HEADER STİLLERİ
   ======================================== */

/* Ana Sayfa Header */
.site-header {
  background-color: transparent;
  padding: 30px 60px;
  position: fixed;
  top: 0;
  width: 100%;
  transition: all 0.4s ease;
  z-index: 999;
}

.site-header.shrink {
  background-color: #181818;
  padding: 15px 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header .logo {
  max-height: 100px;
  transition: all 0.3s ease;
}

.site-header.shrink .logo {
  max-height: 60px;
}

/* Projeler Sayfası Header */
.site-header-projeler {
  background-color: #181818;
  padding: 30px 60px;
  position: fixed;
  top: 0;
  width: 100%;
  transition: all 0.4s ease;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.site-header-projeler .logo {
  max-height: 100px;
  transition: all 0.3s ease;
}

.site-header-projeler.shrink {
  background-color: #fff;
  padding: 15px 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

/* ========================================
   🔄 NAVIGATION MENÜ
   ======================================== */
.container {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: auto;
  max-height: 100px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  position: relative;
}

.nav-links a::after {
  content: "";
  height: 2px;
  background: #ffffff;
  width: 0;
  position: absolute;
  left: 0;
  bottom: -4px;
  transition: 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* ========================================
   🖼️ SLIDER STİLLERİ
   ======================================== */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

.slider-wrapper {
  position: relative;
  min-height: 500px;
  height: 100vh;
  max-height: 100vh;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  opacity: 0;
  transition: all 1s cubic-bezier(0.55, 0.085, 0.68, 0.53);
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide.next {
  transform: scale(1.05);
  z-index: 1;
}

.slide.prev {
  transform: scale(0.95);
}

.slide.fade {
  transform: none;
}

.slide img {
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  object-fit: cover;
}

/* HERO Text */
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  z-index: 2;
  opacity: 1;
  transition: opacity 0.3s;
}

.hero-text h1 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-family: 'Poppins', sans-serif;
}

.hero-text p {
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-text.slide-in {
  animation: slideInText 2.5s cubic-bezier(0.4,0,0.2,1);
}

@keyframes slideInText {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 20px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* 🔽 SLIDER KONTROLLERİ */
.slider-controls {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.arrow {
  font-size: 30px;
  color: white;
  cursor: pointer;
  margin: 0 20px;
  user-select: none;
}

.dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.dot.active {
  background-color: white;
}

/* Slider oklarını görselin ortasına hizala */
.slider-controls .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  font-size: 2.5rem;
  color: white;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
}

.slider-controls .arrow.left {
  left: 24px;
}

.slider-controls .arrow.right {
  right: 24px;
}

.slider-controls .dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4;
  pointer-events: auto;
}

/* ========================================
   🔄 PLAN vs RENDER GEÇİŞİ
   ======================================== */
.plan-render-wrapper {
  position: relative;
  width: 100%;
  max-width: 765px;
  aspect-ratio: 4 / 3;
  max-height: 600px;
  min-height: 280px;
  height: auto;
  margin: 0 20px 32px 20px;
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.1);
  user-select: none;
}

.plan-render-wrapper .img-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: clip-path 2.7s cubic-bezier(0.4,0,0.2,1), opacity 3.7s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}

.plan-render-wrapper .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plan-render-wrapper .img-wrapper.render {
  z-index: 1;
  clip-path: inset(0 50% 0 0);
}

.plan-render-wrapper .img-wrapper.karakalem {
  z-index: 2;
  clip-path: inset(0 0 0 50%);
}

.plan-render-wrapper:hover .img-wrapper.render,
.plan-render-wrapper:hover .img-wrapper.karakalem {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

/* Koyu Render üzerindeki metin stilleri */
.plan-render-wrapper .img-wrapper.render .render-text {
  position: absolute;
  top: 50%;
  left: 25%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 3;
  width: 40%;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.plan-render-wrapper .img-wrapper.render .render-text h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 15px;
  color: white;
}

.plan-render-wrapper .img-wrapper.render .render-text p {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: white;
  opacity: 0.95;
}




/* ========================================
   🦶 FOOTER STİLLERİ
   ======================================== */
.site-footer {
  width: 100%;
  background: #181818;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  padding: 0;
  margin: 0;
  min-height: 225px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid #444;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 32px 0 0 0;
}

.footer-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-col-logo {
  align-items: flex-start;
}

.footer-logo {
  width: 160px;
  margin-bottom: 8px;
}

.footer-col-slogan {
  align-items: center;
  justify-content: center;
}

.footer-slogan {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: #fff;
  text-align: center;
  font-style: italic;
  font-weight: lighter;
  letter-spacing: 0.04em;
  margin-top: 20px;
}

.footer-col-contact {
  align-items: flex-end;
}

.footer-contact-title {
  font-size: 1.2rem;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.footer-contact-info {
  font-family: 'Poppins', sans-serif;
  text-align: right;
  font-size: 0.7rem;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ccc2;
  padding: 10px 0 0 0;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  margin-top: 10px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social img {
  width: 32px;
  height: 32px;
  background: #222;
  border-radius: 6px;
  padding: 4px;
  transition: background 0.2s;
}

.footer-social img:hover {
  background: #444;
}

.footer-copyright {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  color: #fff;
  opacity: 0.85;
  letter-spacing: 1px;
  margin-left: 8px;
}

/* ========================================
   📞 CONTACT SAYFASI STİLLERİ
   ======================================== */
.contact-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #fff;
  padding: 15px 0 clamp(100px, 10vw, 150px) 0;
  margin-left: clamp(70px, 8vw, 120px);
}

.contact-flex {
  max-width: 1200px;
  width: 95%;
  margin: 0 auto 32px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  justify-content: center;
}

.contact-title {
  font-size: 3.2rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: #333;
  margin-bottom: 0;
  letter-spacing: -1px;
  line-height: 1.1;
}

.contact-dot {
  color: #222;
}

.contact-desc {
  font-size: 1.2rem;
  color: #000000;
  margin-bottom: 12px;
  margin-top: clamp(-30px, -3vw, -20px);
  line-height: 1.5;
  font-weight: 400;
}

/* CONTACT SOCIALS GRID TASARIMI */
.contact-socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
  margin-bottom: 8px;
  margin-top: 24px;
}

.contact-social {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  font-size: 1.18rem;
  font-weight: 600;
  color: #333;
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  width: fit-content;
  transition: color 0.2s;
}

.contact-social img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.10);
  padding: 6px;
}

.contact-social.linkedin img,
.contact-social.instagram img,
.contact-social.whatsapp img,
.contact-social.email img {
  background: #000000;
}

.contact-social.linkedin,
.contact-social.instagram,
.contact-social.whatsapp,
.contact-social.email {
  color: #000000;
}

.mobile-only {
  display: none;
  margin-top: clamp(90px, 8vw, 120px);
  margin-bottom: clamp(150px, 12vw, 200px);
}

.contact-social:hover {
  text-decoration: underline;
  opacity: 0.85;
}

/* ========================================
   📩 MODERN İLETİŞİM KARTI
   ======================================== */
.contact-card {
  max-width: 600px;
  width: 100%;
  margin: 40px auto 0 auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.contact-card-content {
  padding: 40px;
  text-align: center;
}

.contact-card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #181818 0%, #333 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.contact-card-icon i {
  font-size: 32px;
  color: #fff;
}

.contact-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #181818;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}

.contact-card-desc {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin: 0 0 32px 0;
  font-weight: 400;
}

.contact-card-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card-textarea {
  width: 100%;
  min-height: 120px;
  padding: 20px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #181818;
  background: #fafafa;
  resize: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.contact-card-textarea:focus {
  outline: none;
  border-color: #181818;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(24, 24, 24, 0.1);
}

.contact-card-textarea::placeholder {
  color: #999;
}

.contact-card-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #181818 0%, #333 100%);
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);

}

.contact-card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #333 0%, #181818 100%);
}

.contact-card-button:active {
  transform: translateY(0);
}

.contact-card-button i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.contact-card-button:hover i {
  transform: translateX(4px);
}

.contact-image-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: clamp(70px, 6vw, 100px);
}

.contact-image {
  max-width: 270px;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.06);
  background: #fff;
  object-fit: cover;
  border: 4px solid #f3f3f3;
  display: block;
  margin: 0 auto;
}

/* CONTACT FORM STİLLERİ */
.contact-form-wrap {
  width: 100%;
  max-width: 90%;
  box-sizing: border-box;
  text-align: left;
  background: #fafafa;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  padding: 24px;
  box-sizing: border-box;
  margin: 0 auto;
  margin-top: 70px;
  margin-bottom: 40px;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative;
  left: 0;
}

.form-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 24px;
  font-family: 'Poppins', sans-serif;
}

.contact-form {
  width: 100%;
}

.form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 18px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.form-group label {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #444;
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: #222;
  margin-bottom: 2px;
  transition: border 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border: 1.5px solid #0077b5;
  outline: none;
}

.form-group textarea {
  resize: none;
}

.form-group.full-width {
  flex: 2;
}

.form-submit {
  background: #222;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 12px 36px;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}

.form-submit:hover {
  background: #0077b5;
}

/* ========================================
   🎯 HAKKIMDA SAYFASI STİLLERİ
   ======================================== */
.hakkimda-main {
  padding-top: 25px;
  min-height: 100vh;
}

.hakkimda-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  aspect-ratio: 3 / 1;
  max-height: 700px;
  min-height: 300px;
  height: auto;
  display: flex;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.hakkimda-section {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%);
}

.hakkimda-section:nth-child(1),
.hakkimda-section:nth-child(2),
.hakkimda-section:nth-child(3) {
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%);
}

.hakkimda-section:hover {
  flex: 1.5;
  transform: scale(1.02);
  z-index: 10;
}

.hakkimda-section:not(:hover) {
  flex: 0.9;
}

.hakkimda-section img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hakkimda-section:hover img {
  transform: scale(1.1);
}

.hakkimda-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 60px 40px 60px;
  opacity: 1;
  transition: all 0.6s ease;
}

.hakkimda-title {
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  opacity: 1;
  transition: all 0.6s ease;
}

.hakkimda-description {
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  transform: translateY(50px);
  transition: transform 0.3s ease 0.6s, opacity 0.3s ease 0.6s;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin: 0 5px;
  margin-right: 20px;
}

.hakkimda-section:hover .hakkimda-description {
  transform: translateY(0);
  opacity: 1;
  max-height: 200px;
  margin-top: 15px;
  transition: transform 0.3s ease 0.6s, opacity 0.3s ease 0.6s, max-height 0.4s ease 0.6s, margin-top 0.3s ease 0.6s;
}

.hakkimda-section:not(:hover) .hakkimda-description {
  transform: translateY(50px);
  opacity: 0;
  max-height: 0;
  margin-top: 0;
  transition: transform 0.3s ease, opacity 0.3s ease, max-height 0.4s ease, margin-top 0.3s ease;
}


/* ========================================
   🎯 BİZ KİMİZ? BÖLÜMÜ STİLLERİ
   ======================================== */
.biz-kimiz-container {
  max-width: 1200px;
  margin: 80px auto 0 auto;
  padding: 0 20px;
}

.biz-kimiz-content {
  display: flex;
  align-items: center;
  gap: 60px;
  min-height: 500px;
}

.biz-kimiz-text {
  flex: 1;
  max-width: 600px;
}

.biz-kimiz-title {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 40px;
  line-height: 1.2;
}

.biz-kimiz-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.biz-kimiz-main-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

.biz-kimiz-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

.biz-kimiz-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.biz-kimiz-logo-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.biz-kimiz-logo {
  width: 300px;
  height: auto;
  object-fit: contain;
  filter: brightness(0.9);
}

.biz-kimiz-logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.biz-kimiz-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  letter-spacing: 2px;
}

.biz-kimiz-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  letter-spacing: 1px;
}

/* ========================================
   🎯 PROJELER BAŞLIK ALANI STİLLERİ
   ======================================== */
.projeler-title-section {
  padding: 80px 0 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.projeler-title-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.projeler-title-section .container {
  position: relative;
  z-index: 2;
}

.projeler-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  color: #181818;
  margin-bottom: 20px;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.projeler-title::after {
  content: '';
  position: absolute;
  bottom: -7px;
  width: clamp(680px, calc(90vw + 40px), 1090px);
  left: clamp(51px, calc(6vw + 11px), 101px);
  height: 2px;
  background: linear-gradient(90deg, #181818 0%, #666 100%);
  border-radius: 2px;
}

.projeler-title::before {
  content: 'KADİR KALELİ';
  position: absolute;
  bottom: -13px;
  left: 0;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.4rem, 1vw, 0.8rem);

  color: #666;
  font-weight: 400;
  letter-spacing: 1px;
}

.projeler-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem; /* %15 küçültme */
  color: #666;
  font-weight: 400;
  letter-spacing: 1px;
  margin-top: 0;
  opacity: 0.8;
  position: absolute;
  bottom: 20px;
  right: 0;
  text-align: right;
  padding-right: 0%;
}

.menu-toggle {
  display: none; /* Masaüstü için gizli */
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1000;
}

.menu-toggle div {
  width: 25px;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease;
}

/* ========================================
   📱 RESPONSIVE TASARIM
   ======================================== */


@media (max-width: 900px) {
  .site-header,
  .site-header-projeler {
    padding: 25px clamp(25px, 6vw, 50px);
  }
  
  .site-header .logo,
  .site-header-projeler .logo {
    margin-left: clamp(25px, 6vw, 50px);
  }
  
  .menu-toggle {
    display: flex;
    margin-right: clamp(25px, 6vw, 50px);
  }
  
  .projeler-title::after {
    width: clamp(640px, calc(80vw + 40px), 1040px);
    left: clamp(41px, calc(5vw + 11px), 91px);
  }
  
  .contact-flex {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }
  
  .contact-info, .contact-image-wrap {
    width: 100%;
    align-items: center;
    text-align: center;
  }
  
  .contact-info {
    align-items: center;
  }
  
  .contact-form-wrap {
    padding: 24px 20px 20px 20px;
    margin: 0 20px;
    max-width: calc(100% - 40px);
    margin-left: 0;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 24px 0 0 0;
  }
  
  .footer-col-logo, .footer-col-contact {
    align-items: center;
  }
  
  .footer-col-contact {
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    padding: 8px 0 0 0;
  }
  
  .biz-kimiz-content {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }
  
  .biz-kimiz-text {
    max-width: 100%;
  }
  
  .biz-kimiz-title {
    font-size: 2.5rem;
  }
  
  .biz-kimiz-main-text {
    font-size: 1.1rem;
  }
  
  .biz-kimiz-logo {
    width: 250px;
  }
  
  .biz-kimiz-brand {
    font-size: 1.5rem;
  }
}

/* Mobil tasarım için ek düzenlemeler */
@media (max-width: 768px) {
  .site-header,
  .site-header-projeler {
    padding: 20px clamp(20px, 5vw, 40px);
  }
  
  .site-header .logo,
  .site-header-projeler .logo {
    margin-left: 0 !important;
  }
  
  .menu-toggle {
    display: flex;
    margin-left: auto; /* Sağa yaslanır */
    color: #ffffff;
  }

  .site-header .container,
  .site-header.shrink .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .site-header .logo,
  .site-header.shrink .logo {
    margin-left: 0 !important;
  }

  .menu-toggle,
  .site-header.shrink .menu-toggle {
    margin-left: auto !important;
  }

  .footer-contact-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
  }


  nav .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #181818;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    display: none; /* Başlangıçta gizli */
  }

  nav .nav-links.active {
    display: flex; /* Tıklanınca gösterilecek */
  }
  
  .contact-main {
    margin-left: 0;
    padding: 15px 20px 40px 20px;
    text-align: center;
  }
  
  .contact-flex {
    flex-direction: column;
    gap: 32px;
    align-items: center;
    text-align: center;
  }
  
  .contact-info {
    align-items: center;
    text-align: center;
  }
  
  .contact-socials {
    display: flex;
    flex-direction: column;
    gap: 20px; /* sabit boşluk */
    justify-items: left;
    align-items: left;
  }

  .contact-social {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
  }

  .contact-social:last-child {
    margin-top: 0 !important; /* varsa özel boşluk iptal edilir */
  }
  
  .contact-image-wrap {
    order: -1;
    margin-bottom: 20px;
  }
  
  .contact-image {
    max-width: 300px;
    width: 100%;
    height: auto;
  }
  
  .contact-card {
    display: none;
  }
  
  .contact-card-content {
    padding: 30px 20px;
  }
  
  .contact-card-title {
    font-size: 1.8rem;
  }
  
  .contact-card-desc {
    font-size: 1rem;
  }
  
  .contact-card-textarea {
    min-height: 100px;
    padding: 16px;
  }
  
  .contact-card-button {
    padding: 14px 28px;
    font-size: 1rem;
  }
  
  .contact-form-wrap {
    display: none;
  }
  
  .mobile-only {
    display: flex !important;
  }
  
  .contact-form-wrap {
    padding: 20px 15px;
    margin: 0 15px;
    max-width: calc(100% - 30px);
    margin-left: 0;
  }

  .plan-render-row {
    flex-direction: column;
    gap: 24px;
    padding: 0 12px;
  }

  .plan-render-wrapper {
    width: 100%;
    max-width: 100%;
  }
  .plan-render-wrapper .img-wrapper.render .render-text {
  position: absolute;
  top: 50%;
  left: 25%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 3;
  width: 40%;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  }

  .plan-render-wrapper .img-wrapper.render .render-text h3 {
    font-size: 18px; /* %35–40 küçültme */
    margin-bottom: 10px;
  }

  .plan-render-wrapper .img-wrapper.render .render-text p {
    font-size: 12.5px; /* %35–40 küçültme */
    line-height: 1.4;
  }
  
  .form-title {
    font-size: 1.5rem;
    text-align: center;
  }
  
  .form-group input,
  .form-group textarea {
    font-size: 16px;
  }


  /* === HAKKIMDA === */

  .hakkimda-container {
  flex-direction: column;
  gap: 24px;
  padding: 0 16px;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
}

.hakkimda-section {
  clip-path: none;
  height: auto;
  min-height: 300px;
  width: 100%;
  flex: none;
  transition: none;
  transform: none;
}

.hakkimda-section:hover {
  flex: none;
  transform: none;
}

.hakkimda-overlay {
  padding: 20px;
  justify-content: flex-end;
}

.hakkimda-title {
  font-size: 1.1rem;
  text-align: center;
}

.hakkimda-description {
  font-size: 0.70rem;
  max-height: 0; /* Başlangıçta gizli */
  opacity: 0; /* Başlangıçta görünmez */
  transform: translateY(10px);
  transition: all 0.3s ease;
  margin-top: 0;
  text-align: left;
  overflow: hidden;
  margin-right: 15px;
}

.hakkimda-section:hover .hakkimda-description {
  opacity: 1;
  max-height: 500px;
  transform: translateY(0);
  margin-top: 10px;
  font-size: 0.70rem;
  margin-right: 30px;
  text-align: left;
}

.hakkimda-section img {
  object-fit: cover;
  width: 100%;
  height: 300px; /* Sabit yükseklik - hepsi aynı */
}

  
  .projeler-title-section {
    position: relative;
    padding-bottom: 30px;
  }

  .projeler-title {
    font-size: 2.2rem;
    position: relative;
  }

  .projeler-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    margin-left: 20px;
    width: 100%;
    height: 2px;
    background-color: white;
  }

.projeler-title::before {
  position: absolute;
  font-size: 0.6rem;
  top: 105%;
  left: 0;
}}


@media (max-width: 700px) {
  .contact-main {
    padding: 15px 15px 40px 15px;
  }
  
  .contact-socials {
    grid-template-columns: 1fr;
    gap: 18px 0;
  }
  
  .contact-social {
    justify-content: center;
  }
  
  .mobile-only {
    display: flex !important;
  }
}

@media (max-width: 480px) {
  .site-header,
  .site-header-projeler {
    padding: 15px clamp(15px, 4vw, 30px);
  }
  
  .site-header .logo,
  .site-header-projeler .logo {
    margin-left: clamp(15px, 4vw, 30px);
  }
  
  .menu-toggle {
    margin-right: clamp(15px, 4vw, 30px);
  }
  
  .hakkimda-container {
    height: auto;
    padding: 0 10px;
  }
  
  .hakkimda-section {
    height: 50vh;
  }
  
  .hakkimda-section:hover {
    height: 60vh;
  }
  
  .hakkimda-section:not(:hover) {
    height: 40vh;
  }
  
  .hakkimda-overlay {
    padding: 20px 15px;
  }
  
  .hakkimda-title {
    font-size: 1.5rem;
  }
  
  .hakkimda-description {
    font-size: 0.9rem;
  }
  
  .biz-kimiz-container {
    padding: 0 15px;
    margin-top: 60px;
  }
  
  .biz-kimiz-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .biz-kimiz-main-text {
    font-size: 1rem;
  }
  
  .biz-kimiz-desc {
    font-size: 0.9rem;
  }
  
  .biz-kimiz-logo {
    width: 200px;
  }
  
  .projeler-title-section {
    padding: 50px 0 30px 0;
  }
  
  .projeler-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }
  
  .projeler-title::after {
    left: 51px;
    width: calc(100% + 640px);
  }
  
  .projeler-title::before {
    font-size: 0.54rem;
  }
  
  .projeler-subtitle {
    font-size: 0.27rem;
  }
  .contact-main {
    padding: 15px 15px 40px 15px;
  }
  
  .contact-image {
    max-width: 250px;
  }
  
  .contact-social {
    font-size: 1rem;
  }
  
  .contact-form-wrap {
    padding: 16px 12px;
    max-width: 90%;
  }
}

