* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background: #fdfbf7; color: #222; scroll-behavior: smooth; }

/* 🌀 YÜKLEME EKRANI */
#loader {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #111;
  z-index: 9999;
  box-shadow: 0 4px 25px rgba(0,0,0,0.3);
}
#loader img {
  width: 160px;
  filter: drop-shadow(0 4px 10px rgba(212,160,23,0.6));
  animation: fadeIn 1.5s ease-in-out infinite alternate;
}
.loader-line {
  width: 160px; /* logo ile aynı boy */
  height: 3px;
  background: linear-gradient(90deg, #d4a017, #fff);
  border-radius: 3px;
  margin-top: 15px;
  box-shadow: 0 2px 10px rgba(212,160,23,0.5);
  animation: lineGlow 1.8s ease-in-out infinite alternate;
}
#loader.hidden { opacity: 0; transition: opacity 0.7s ease; }

/* 🏗️ HEADER */
header {
  position: sticky;
  top: 0;
  background: beige;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 100;
}
.header-container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 60px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}
.nav { display: flex; gap: 20px; }
.nav a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  transition: color 0.3s;
}
.nav a:hover { color: #d4a017; }
.nav-toggle { display: none; font-size: 28px; background: none; border: none; cursor: pointer; }

/* 🏠 ANA SAYFA */
.hero {
  text-align: center;
  background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1600&q=80') center/cover;
  color: white;
  height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero h1 {
  font-size: 3rem;
  letter-spacing: 2px;
  background: rgba(0,0,0,0.5);
  padding: 10px 20px;
  border-radius: 10px;
  text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}
.hero p {
  margin-top: 10px;
  background:darkblue;
  padding: 8px 15px;
  border-radius: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.hero button {
  margin-top: 20px;
  padding: 12px 24px;
  border: none;
  background: #d4a017;
  color: #fff;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(212,160,23,0.4);
}
.hero button:hover { background: #b98a0e; transform: translateY(-2px); }

/* 🧱 PROJELER */
.projects { padding: 80px 20px; text-align: center; }
.projects h2 { font-size: 2rem; margin-bottom: 40px; color: #222; }
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}
.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-10px); box-shadow: 0 6px 18px rgba(0,0,0,0.15); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card h3 { margin: 15px 0 5px; color: #222; }
.card p { padding: 0 15px 20px; color: #555; font-size: 0.9rem; }

/* 🏢 HAKKIMIZDA */
.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 60px auto;
  gap: 40px;
  flex-wrap: wrap;
}
.about-img {
  width: 500px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.about-text { max-width: 500px; }
.about-text h1 {
  font-size: 2.2rem;
  color: #d4a017;
  margin-bottom: 20px;
  text-shadow: 0 3px 6px rgba(0,0,0,0.2);
}
.about-text p {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* ⚫ FOOTER */
footer {
  background: #111;
  color: #eee;
  text-align: center;
  padding: 20px 0;
  box-shadow: 0 -3px 15px rgba(0,0,0,0.4);
}
.socials img {
  width: 40px;
  margin: 0 10px;
  vertical-align: middle;
  filter: drop-shadow(0 4px 10px rgba(212,160,23,0.5));
  transition: transform 0.3s;
  background: none; /* beyaz kareyi kaldırır */
}
.socials img:hover { transform: scale(1.1); }
.socials i {
  font-size: 34px;
  margin: 0 10px;
  color: #eee;
  filter: drop-shadow(0 3px 8px rgba(255,255,255,0.4));
  transition: transform 0.3s;
}
.socials i:hover { transform: scale(1.1); color: #d4a017; }

/* 📱 MOBİL */
@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    background: beige;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 20px;
    border-radius: 10px;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ✨ ANİMASYONLAR */
@keyframes fadeIn { from { opacity: 0.5; } to { opacity: 1; } }

@keyframes lineGlow {
  from { opacity: 0.4; transform: scaleX(0.95); }
  to { opacity: 1; transform: scaleX(1); }
}
/* ==== İLETİŞİM SAYFASI ==== */

.contact-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: linear-gradient(to right, #f2f0ed 50%, #e3ded9 50%);
  padding: 60px 0;
  flex-wrap: wrap;
}

.contact-left, .contact-right {
  flex: 1;
  min-width: 350px;
  padding: 40px;
}

.contact-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-left h1 {
  font-size: 2.2rem;
  color: #1f1f1f;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.contact-left p {
  color: #444;
  font-size: 1.05rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.contact-details p {
  margin: 10px 0;
  font-size: 1.05rem;
}

.contact-details i {
  margin-right: 8px;
  color: #b3945b;
}

.contact-socials {
  margin-top: 25px;
  display: flex;
  gap: 18px;
  align-items: center;
}

.social-icon {
  width: 42px;
  height: 42px;
  color: #b3945b;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.4));
}

.contact-right iframe {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* Mobil düzen */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    background: #f6f5f3;
  }
  .contact-left, .contact-right {
    padding: 30px 20px;
  }
  .contact-right iframe {
    height: 300px;
  }
}
/* ==== MODERN İLETİŞİM SAYFASI ==== */

.contact-hero {
  position: relative;
  background: url('https://images.unsplash.com/photo-1590490360182-c33d57733427?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-overlay {
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 60px 0;
  gap: 30px;
}

.contact-card {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 40px;
  color: #fff;
  max-width: 500px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  animation: fadeInUp 1s ease;
}

.contact-card h1 {
  font-size: 2.3rem;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 0 3px 6px rgba(0,0,0,0.6);
}

.contact-card p {
  font-size: 1.05rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.contact-info p {
  margin: 8px 0;
  font-size: 1rem;
}

.contact-info i {
  margin-right: 10px;
  color: #d2b48c;
}

.contact-socials {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  font-size: 1.8rem;
  color: #d2b48c;
  width: 42px;
  height: 42px;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.4));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

.map-container {
  width: 500px;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  animation: fadeInUp 1.2s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobil düzen */
@media (max-width: 900px) {
  .contact-overlay {
    flex-direction: column;
    padding: 40px 20px;
  }

  .contact-card {
    width: 90%;
    text-align: center;
  }

  .map-container {
    width: 90%;
    height: 300px;
  }
}
.gallery {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.gallery.active {
  display: flex;
  opacity: 1;
}

.gallery .close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 45px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  transition: transform 0.2s ease;
}

.gallery .close:hover {
  transform: scale(1.2);
  color: #ffd700;
}

.projects {
  text-align: center;
  padding: 80px 20px;
  background: #f5f5f5;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover; /* Resimleri orantılı keser */
  display: block;
}

.project-card h3 {
  font-size: 20px;
  margin: 10px 0 5px;
  color: #222;
}

.project-card p {
  font-size: 15px;
  color: #555;
  padding-bottom: 15px;
}
.gallery-images {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  align-items: center;
  max-width: 95%;
}

.gallery-images img {
  width: 340px;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
}
@media (max-width: 768px) {
  .project-card img {
    height: 180px;
  }
  .gallery-images img {
    width: 90%;
    height: auto;
  }
}
.modern-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.modern-gallery .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  height: 300px;
}

.modern-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease, filter .5s ease;
}

.modern-gallery .gallery-item:hover img {
  transform: scale(1.12);
  filter: brightness(75%);
}

/* Hover’da üzerine siyah yarı saydam katman */
.modern-gallery .gallery-item::after {
  content: "İncele";
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  font-size: 20px;
  font-weight: bold;
  opacity: 0;
  transition: opacity .4s ease;
}

.modern-gallery .gallery-item:hover::after {
  opacity: 1;
}
/* --- Modern Galeri --- */

.modern-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* === PROJE KARTLARI: EŞİT YÜKSEKLİK + GÖRSEL TAM GÖRÜNSÜN === */

/* === PREMIUM + SHINE + GLOW PROJE KARTLARI === */

.gallery-item {
    height: 330px;
    background: rgba(255,255,255,0.02);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: .35s ease;
    backdrop-filter: blur(4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);        /* Soft shadow */
}

/* Hover’da kart yukarı kalkar + gölge büyür */
.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.40);
}

/* Görsel kırpılmadan gözüksün */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
    transition: .35s ease;
}

/* Hover efekt: içeri doğru zoom + kararma */
.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(75%);
}

/* === 3D SHINE EFFECT (sol → sağ ışık süzmesi) === */
.gallery-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0.25) 50%,
        transparent 100%
    );
    transform: skewX(-20deg);
    transition: .5s;
}

/* Hover’da ışık kayıyor */
.gallery-item:hover::before {
    left: 160%;
}

/* === GLASS EDGE GLOW (kart kenarlarında hafif parlama) === */
.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(145deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: .35;
    transition: .35s;
}

/* Hover’da parıltı güçleniyor */
.gallery-item:hover::after {
    opacity: .55;
}

/* İncele yazısı */
.gallery-item .label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 22px;
    font-weight: bold;
    opacity: 0;
    transition: .35s;
}

.gallery-item:hover .label {
    opacity: 1;
}


/* --- Popup --- */

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.hidden {
  display: none;
}

.popup-content {
  background: white;
  border-radius: 12px;
  width: 85%;
  max-width: 1000px;
  padding: 20px;
  display: flex;
  gap: 20px;
  animation: zoom .3s ease;
}

@keyframes zoom {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.popup-content img {
  width: 55%;
  border-radius: 12px;
  object-fit: cover;
}

.popup-text {
  width: 45%;
}

.popup-close {
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 60px;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .popup-content {
    flex-direction: column;
  }
  .popup-content img {
    width: 100%;
  }
  .popup-text {
    width: 100%;
  }
}
.projects-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 40px 0;
}

.project img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform .3s;
}

.project img:hover {
    transform: scale(1.03);
}

.details-btn {
    margin-top: 10px;
    padding: 10px 20px;
    background: #ff9900;
    border: none;
    color: white;
    font-size: 15px;
    cursor: pointer;
    border-radius: 6px;
    transition: .3s;
}

.details-btn:hover {
    background: #cc7a00;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 20px;
    width: 60%;
    border-radius: 12px;
    animation: fadeIn .4s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-content img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.close {
    float: right;
    font-size: 28px;
    cursor: pointer;
}
/* POPUP */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
}

.popup.show {
  opacity: 1;
  pointer-events: auto;
}

.popup-inner {
  display: flex;
  gap: 20px;
  background: #ffffffdd;
  padding: 25px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.popup img {
  width: 360px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.popup-card {
  max-width: 320px;
  background: white;
  padding: 18px;
  border-radius: 14px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.15);
}

.popup-card h3 {
  margin-top: 0;
  font-size: 22px;
  font-weight: 600;
}

.popup-card p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.85;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}
/* POPUP KOYU ARKA PLAN */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85); /* Daha koyu */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
}

.popup.show {
  opacity: 1;
  pointer-events: auto;
}

/* İç kutu */
.popup-inner {
  display: flex;
  gap: 25px;
  background: rgba(20,20,20,0.35);
  padding: 25px;
  border-radius: 18px;
  backdrop-filter: blur(12px);
  animation: fadeIn 0.35s ease;
  box-shadow: 0 0 35px rgba(0,0,0,0.4);
}

@keyframes fadeIn {
  from { transform: translateY(25px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.popup img {
  height: 80vh;            /* Fotoğraf ekranın %80 yüksekliği kadar büyür */
  width: auto;             /* Yanlara doğru genişlemez */
  object-fit: contain;     /* Tamamı net şekilde görünür */
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.4);
}

/* Sağdaki açıklama kartı */
.popup-card {
  max-width: 340px;
  background: #ffffff15;
  padding: 20px;
  border-radius: 16px;
  color: #fff;
  border: 1px solid #ffffff30;
}

.popup-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 600;
}

.popup-card p {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.85;
}

/* Kapat butonu */
.popup-close {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}
.popup img {
  height: 80vh;        /* Dikey olarak büyük */
  width: auto;         /* Yanlara genişlemez */
  object-fit: contain; /* Fotoğraf tam görünür */
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.4);
}
.popup img {
  height: 80vh;        /* Ekranın %80 yüksekliği */
  width: auto;         /* Yanlara taşmaz */
  object-fit: contain; /* Tam görünür */
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.4);
}
/* Mobil uyumlu popup */
@media (max-width: 768px) {
  .popup-inner {
    flex-direction: column; /* Resim üstte, açıklama altta */
    align-items: center;
    padding: 20px;
    gap: 15px;
  }

  .popup img {
    width: 90%;     /* Ekrana göre genişler */
    height: auto;   /* Orantılı yükseklik */
    max-height: 60vh; /* Taşmayı önler */
  }

  .popup-card {
    width: 90%;     /* Kart da ekran genişliğine uyumlu */
    max-width: none;
    text-align: center;
    border: 1px solid #ffffff30;
  }
}
/* ==== LOADER ==== */
#loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #0f0f0f, #1c1c1c);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 100000;
}

.loader-logo {
  width: 140px;
  margin-bottom: 25px;
  animation: softPulse 1.8s infinite ease-in-out;
}

@keyframes softPulse {
  0% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 0.9; }
}

.loader-line {
  width: 180px;
  height: 4px;
  background: #333;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.loader-line::before {
  content: "";
  position: absolute;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  animation: loaderMove 1.2s infinite;
}

@keyframes loaderMove {
  0% { left: -40%; }
  100% { left: 100%; }
}
#loader {
  transition: opacity 0.4s ease;
}
.footer-socials {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.footer-icon {
    width: 32px;
    height: 32px;
    cursor: pointer;
    transition: .3s;
}

.footer-icon:hover {
    transform: scale(1.12);
    filter: brightness(120%);
}
/* contact-socials - yatay masaüstü, dikey mobil - stabil ve çakışma önleyici */
.contact-socials {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: flex-start; /* istersen center yap */
  margin-top: 18px;
  flex-wrap: wrap;
}

/* Her bir link blok gibi davranır */
.contact-socials .social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  padding: 6px 10px;
  border-radius: 10px;
  transition: background .18s ease, transform .18s ease;
}

/* Hover etkisi */
.contact-socials .social-link:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.03);
}

/* ikon ayarları */
.social-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: inline-block;
  flex-shrink: 0;
  filter: none; /* İstersen filter: brightness(0) invert(1); ile beyaz gözüktürebilirsin */
}

/* metin ayarı */
.social-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  color: #fff; /* temana göre ayarla */
}

/* mobil: dikey yığılma ve daha büyük tıklanabilir alan */
@media (max-width: 720px) {
  .contact-socials {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .contact-socials .social-link {
    padding: 10px 12px;
    width: 100%;
  }
  .social-text { font-size: 15px; }
}
@media (max-width: 768px) {

  /* HEADER */
  .header-container {
    flex-direction: column;
    gap: 10px;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .nav a {
    font-size: 16px;
  }

  .logo {
    width: 150px;
  }

  /* HAKKIMIZDA SAYFASI */
  .about-container {
    flex-direction: column;
    padding: 20px;
  }

  .about-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .about-text {
    width: 100%;
    padding: 10px;
    text-align: center;
  }

  /* İLETİŞİM SAYFASI */
  .contact-hero {
    height: auto;
    padding: 20px 0;
  }

  .contact-overlay {
    flex-direction: column;
    width: 100%;
  }

  .contact-card {
    width: 100%;
    padding: 20px;
  }

  .map-container {
    width: 100%;
    height: 300px;
  }

  /* PROJE KARTLARI */
  .gallery-container {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .gallery-item {
    height: 250px;
  }

  /* FOOTER */
  footer p {
    font-size: 14px;
    text-align: center;
  }
}
.popup-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.popup-thumbs img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform .2s ease;
}

.popup-thumbs img:hover {
    transform: scale(1.1);
}
.popup-images video {
  width: 100%;
  max-width: 420px;
}
.contact-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-link {
  text-decoration: none;
  color: inherit;
}

.whatsapp-link img {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

/* Mobilde de düzgün dursun */
@media (max-width: 768px) {
  .contact-wrapper {
    justify-content: center;
  }
}
.contact-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-link {
  text-decoration: none;
  color: inherit;
}

.whatsapp-link img,
.instagram-link img {
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.whatsapp-link img,
.instagram-link img {
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.whatsapp-link img:hover,
.instagram-link img:hover {
  transform: scale(1.25);
}

/* Mobil dokunma hissi */
.whatsapp-link img:active,
.instagram-link img:active {
  transform: scale(1.15);
}
.whatsapp-link img:hover {
  filter: drop-shadow(0 0 6px rgba(37, 211, 102, 0.6));
}

.instagram-link img:hover {
  filter: drop-shadow(0 0 6px rgba(225, 48, 108, 0.6));
}
