*{

    box-sizing: border-box;

}

body{

    font-family: 'Playfair Display', sans-serif;
    margin: 0;
}

#sayfahizasi{

  margin-left: 100px;
  margin-right: 100px;
}

#menu{
    
    height: 80px;
    background: linear-gradient(to bottom, #0A2038, #024682);
    padding: 0 20px;
}


#logo{

    font-size: 30px;
    line-height: 80px;
    color:aliceblue;
    float: left;

}


nav{
    float: right;
    line-height: 80px;

}

nav a:link{

    text-decoration: none;
    margin-right: 25px;
    color:aliceblue;
}

nav a:hover{
    border-bottom: 2px solid aliceblue;
}

nav a:visited{

    text-decoration: none;
    margin-right: 25px;
    color:aliceblue;
}

.ikon{
    margin-right: 7px;
    font-size: 16px;
}

#anasayfa{

    background-color: gray;
    height: 500px;
    background-image: url(fotolar/insaat.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#black{
    height: 500px;
    background-color: black;
    opacity: 0.3;
}

#tanitim{

    position: absolute;
    top: 50%;
    left:40%;
    transform: translate(-50%,-50%);
    color:white;
    font-size: 20px;
}

#tanitim img {
    height: 45px;
    width: auto;
}

h3{

    font-size: 55px;
    color:rgb(26, 85, 201); /*yazı rengi*/
    text-shadow: 0px 1 px 1px black; /* yazının gölgesi, pozisyon, ne kadar dağılacağı ve gölgenin rengi*/ 
    font-weight: 600; /*yazıya kalınlık verdik*/

}

.container{
    width: 1200px;
    height: auto;
    margin: auto;
}

#projeler {
  padding: 100px 0;
  background-color: #ffffff;
}

#projeler .container {
  max-width: 1200px;
  margin: 0 auto;
}

#projeler h3 {
  font-size: 42px;
  font-weight: 600;
  color: #1f3fae; /* başlıktaki maviye uyumlu */
  margin-bottom: 60px;
  letter-spacing: -0.5px;
}

#projeler .card {
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 50px 60px;
  border-radius: 24px;
  background: #fafafa;
}

#projeler .card-left {
  max-width: 480px;
}

#projeler .card-left p {
  margin-top: 30px;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

#projeler .card-left {
  padding-left: 30px;
  border-left: 3px solid #e5e7eb;
}


.card-left {
  width: 50%;
  padding: 20px;
  font-family: "Inter", "Segoe UI", sans-serif;
}

.card-left h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #1f2933;
}

.project-type {
  font-size: 14px;
  color: #6b7280;
  letter-spacing: 0.3px;
}

.project-info {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.project-info div {
  background: #f9fafb;
  padding: 14px;
  border-radius: 10px;
  text-align: center;
}

.project-info strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.project-info span {
  font-size: 13px;
  color: #6b7280;
}


.card-right {
  width: 420px;          
}

.slider-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: pointer;
  border-radius: 12px;
}


/* LIGHTBOX ARKA PLAN */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* Büyük Görsel */
.lightbox img {
  max-width: 80%;
  max-height: 80%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

/* Oklar */
.lightbox .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  user-select: none;
}

.lightbox .left { left: 40px; }
.lightbox .right { right: 40px; }

.lightbox .nav:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Kapatma Butonu */
.lightbox .close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}


#bitis {
      background: linear-gradient(to top, #0A2038, #024682);
      color: #ccc;
      text-align: center;
      padding: 2px 10px;
	  
    }