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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #111;
  color: white;
  overflow-x: hidden;
}

/* HEADER */
header {
  background: #000000;
  padding: 10px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #c59c5d;
  border-radius: 0px 0px 45px 45px;
  flex-wrap: wrap;
  transition: top 0.3s ease-in-out;
}

@media (min-width: 769px) {
  header {
    justify-content: center;
    gap: 20px;
  }
}


.logo {
  width: 180px;
  height: auto;
}

nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.menu-item {
  padding: 8px 10px;
  font-size: 14px;
  text-decoration: none;
  color: #c59c5d;
  border-radius: 10px;
  font-weight: 590;
  border: 0px solid #c59c5d;
  transition: all 0.3s ease;
}

.menu-item:hover,
.menu-item.active {
  background-color: #c59c5d;
  color: #000;
}

/* Ana Sayfa */
.banner {
  position: relative;
  padding-top: 120px;
  padding-bottom: 40px;
  background-image: url("gorseller/bina-arkaplan.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  text-align: center;
}


.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}


.hosgeldiniz,
.binalar {
  position: relative;
  z-index: 2;
}

.hosgeldiniz h1 {
  font-size: 34px;
  color: white;
  margin-bottom: 35px;
}

.hosgeldiniz .renkli {
  color: #c59c5d;
  font-weight: bold;
}

.binalar {
  display: flex;
  justify-content: center;
  gap: 23px;
  flex-wrap: wrap;
}

.binalar img {
  width: 22%;
  border-radius: 3px;
  transition: transform 2s ease;
}

.binalar img:hover {
  transform: scale(1.05);
}


.projects {
  background-color: #fff;
  padding: 60px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  text-align: center;
}

.bolum-baslik {
  width: 100%;
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: #c59c5d;
  margin-bottom: 30px;
}

.project-card {
  width: 400px;
  background-color: #ffffff;
  border: 3px solid #c59c5d;
  border-radius: 12px;
  overflow: hidden;
  padding: 20px 15px;
  position: relative;
  transition: all 0.4s ease;
  text-align: center;
}


.project-card:hover {
  transform: scale(1.03);
}

.project-img {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
  transition: opacity 0.5s ease;
  border-radius: 8px;
}

.project-img .main-img {
  opacity: 1;
  z-index: 1;
}

.project-img .hover-img {
  opacity: 0;
  z-index: 2;
}

.project-card:hover .main-img {
  opacity: 0;
}

.project-card:hover .hover-img {
  opacity: 1;
}

.project-desc {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  margin-top: 0;
  transform: translateY(-10px);
  visibility: hidden;
  color: #1a1a1a;
}

.project-card:hover .project-desc {
  max-height: 200px;
  opacity: 1;
  margin-top: 10px;
  transform: translateY(0);
  visibility: visible;
}


/* Mobil */
@media (max-width: 768px) {
  .projects {
    flex-direction: column;
    align-items: center;
  }
}


.hover-desc {
  font-size: 14px;
  color: #ccc;
  margin-top: 10px;
}

/* Hakkımızda */
.centered-section {
  position: relative;
  padding: 60px 20px;
  text-align: center;
  background-image: url("gorseller/bina-arkaplan2.jpg"); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  z-index: 1;
}

.centered-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 1;
}

.centered-section > * {
  position: relative;
  z-index: 2;
}


.hakkimizda-bolumler {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hakkimizda-bolumler div {
  width: 250px;
  margin: 10px;
  padding: 15px;
  background: #1b1b1b;
  border: 1px solid #c59c5d;
  border-radius: 10px;
}

/* SSS */
.faq {
  padding: 60px 20px;
  background-color: #efeeee; 
  color: #000; 
}


.faq h2 {
  text-align: center;
  color: #000000;
  margin-bottom: 30px;
  font-size: 30px;
  font-weight: 502;
}

.faq-item {
  background: #ffffff;
  margin: 10px auto;
  padding: 15px 20px;
  border-radius: 8px;
  border-left: 6px solid #c59c5d; 
  max-width: 700px;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
}


.faq-item span {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-top: 0;
  margin-top: 0;
  transform: translateY(-5px);
  transition: all 0.5s ease;
  color: #555454;
}


.faq-item:hover span {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
  padding-top: 10px;
  margin-top: 10px;
}



.faq-item:hover span {
  opacity: 1;
}

.faq-title {
  display: flex;
  align-items: center;
  font-weight: bold;
  color: #c59c5d;
}
.arrow {
  display: inline-block;
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.faq-item:hover .arrow {
  transform: rotate(90deg);
}


/* İletişim */
.contact {
  padding: 60px 100px;
  background-color: #ffffff;
  color: 000;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: center;
  color: #000;
}

.contact-info {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


.iletisim-text {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.iletisim-baslik {
  font-size: 32px;
  font-weight: 500;
  color: #c59c5d;
}

.map-container {
  flex: 1 1 300px;
  max-width: 600px;
  height: 500px;
  border: 2px solid #c59c5d;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.sizi-arayalim {
  margin-top: 40px;
  padding: 20px 30px;
  background: #1b1b1b;
  border: 2px solid #c59c5d;
  border-radius: 10px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sizi-arayalim h3 {
  color: #c59c5d;
  margin-bottom: 20px;
  font-size: 24px;
}

.sizi-arayalim form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sizi-arayalim input {
  padding: 10px;
  border: 1px solid #c59c5d;
  border-radius: 5px;
  background-color: #000;
  color: white;
}

.sizi-arayalim button {
  padding: 12px;
  border: none;
  border-radius: 5px;
  background-color: #c59c5d;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.sizi-arayalim button:hover {
  background-color: #847242;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  background: #000;
  color: #c59c5d;
  margin-top: 0px;
  font-size: 14px;
  border-top: 40px solid #ffffff;
}

/* Scrollbar */
::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}
::-webkit-scrollbar-thumb {
  background-color: #c59c5d;
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  background: #1e1e1e;
}

/* Responsive */
@media (max-width: 768px) {
  .binalar img {
    width: 45%;
  }

  .hakkimizda-bolumler {
    flex-direction: column;
    align-items: center;
  }

  nav {
    justify-content: center;
    margin-top: 10px;
  }
}
h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #c59c5d;
}

.hakkimizda-banner {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto 30px auto;
  border-radius: 10px;
}

.hakkimizda-baslik {
  font-size: 34px;
  
}

.hamburger {
  display: none;
  font-size: 28px;
  color: #c59c5d;
  cursor: pointer;
}
@media (max-width: 768px) {
  .hamburger {
    display: block;
    position: absolute;
    right: 30px;
    top: 25px;
  }

  nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  nav.active {
    max-height: 500px; 
  }

  .menu-item {
    width: 100%;
    text-align: center;
    padding: 12px 0;
  }
}


/* 
  Tasarım ve Kodlama: Hasan (@hasanncmn1) 
  Yıl: 2025 - Keremoğlu İnşaat
  Tüm hakları saklıdır.
*/
