/* ============================
   SLIDER
============================ */
.slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active { 
  opacity: 1; 
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Noktalar */
.dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
}
.dot.active { 
  background: #fff; 
}

/* ============================
   ANASAYFA HERO METİN
============================ */
.hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  opacity: 0;
  animation: fadeInTitle 1.8s ease forwards 1s;
}

.hero-title-main {
  font-size: 82px;
  font-weight: 300;
  letter-spacing: 8px;
}

.hero-title-sub {
  font-size: 22px;
  margin-top: 12px;
  font-weight: 300;
  letter-spacing: 4px;
}

/* ============================
   HAKKIMIZDA KUTUSU
============================ */
.about {
  background: #fff;
  color: #111;
  padding: 80px 20px;
  text-align: center;
}

.about-content {
  max-width: 900px;
  margin: auto;
  font-size: 16px;
  line-height: 1.8;
}

/* ============================
   PROJE VİTRİNİ
============================ */
.projects {
  background: #fff;
  padding: 60px 0;
  text-align: center;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
}

.project-item {
  position: relative;
  height: 23vw;
  overflow: hidden;
  cursor: pointer;
}

.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s;
}

.project-item:hover img {
  transform: scale(1.05);
}

.project-name {
  position: absolute;
  bottom: 15px;
  right: 20px;
  color: #fff;
  font-size: 18px;
  opacity: 0;
  transition: .4s;
}

.project-item:hover .project-name { 
  opacity: 1; 
}

/* ============================
   HARİTA
============================ */
.map-section {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent !important;
}

.map-container {
    width: 100%;
    max-width: 100% !important;
    margin: 0;
    padding: 0;
}

.map-container iframe {
    width: 100% !important;
    height: 450px !important;
    border: none !important;
    display: block;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Google Maps wrapper temizleme */
.map-container * {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ============================
   FOOTER
============================ */
footer {
  background: #fff;
  color: #555;
  text-align: center;
  padding: 20px 0;
}

footer .social a {
  color: #000;
  margin: 0 10px;
  font-size: 22px;
  transition: .3s;
}

footer .social a:hover { 
  color: #c6a664; 
}

/* ============================
   RESPONSIVE TASARIM
============================ */

/* ==== Tablet ==== */
@media (max-width: 1024px) {
  .hero-title-main {
    font-size: 55px;
    letter-spacing: 5px;
  }

  .hero-title-sub {
    font-size: 18px;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .project-item {
    height: 35vw;
  }
}

/* ==== Mobil (768px ve altı) ==== */
@media (max-width: 768px) {
  .hero-title-main {
    font-size: 38px;
    letter-spacing: 3px;
  }

  .hero-title-sub {
    font-size: 16px;
  }

  .about-content {
    font-size: 15px;
    line-height: 1.7;
    padding: 0 10px;
  }

  .project-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }

  .project-item {
    height: 60vw;
  }

  .project-name {
    font-size: 20px;
  }

  .map-container iframe {
    height: 300px !important;
  }
}

/* ==== Küçük Mobil (480px altı) ==== */
@media (max-width: 480px) {
  .hero-title-main {
    font-size: 32px;
  }

  .hero-title-sub {
    font-size: 14px;
  }

  .about-content {
    font-size: 14px;
  }

  .project-item {
    height: 65vw;
  }
}
