/* style.css */

body {
  margin: 0;
  font-family: 'Playfair Display', serif;
  background-color: #fff;
  color: #333;
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center; /* DİKEY ORTALAMA */
  flex-direction: column;
  text-align: center;
  padding-top: 80px; /* navbar’a yer bırakmak için */
}


.hero-bg {
  background-image: url('images/beton-kamyon.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}



.hero-text {
  color: white;
  z-index: 5;
  text-align: center;
  padding: 2rem;
}


.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-text p {
  font-size: 1.2rem;
}

.hizmetler {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #fff;
}

.hizmetler h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.hizmet-kutulari {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  justify-items: center;
  align-items: center;
}

.hizmet {
  background-color: #d1a640;
  padding: 1.2rem;
  border-radius: 8px;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.hizmet:hover {
  transform: scale(1.05);
}

.hizmet img {
  width: 40px;
  height: 40px;
  margin-bottom: 0.5rem;
}

.projeler {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #f5f5f5;
}

.projeler h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.proje-galeri {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.proje-galeri img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.navbar {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.logo img {
  height: 120px;
  width: 130px;
  object-fit: fill;
}

/* Menü butonu (gizli) */
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* Küçük ekranlar için menüyü dikey yap */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 20px;
    right: 70px;
    background-color: #000;
    padding: 1rem;
    border-radius: 8px;
  }

  .menu.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

.menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.menu li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}

.menu li a:hover {
  color: #f5c542;
}

.site-footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  margin-top: 3rem;
  border-top: 3px solid #f5c542; /* şantiye sarısı dokunuş opsiyonel */
}
