@font-face {
    font-family: 'CustomFont'; /* Yazı tipine vereceğiniz isim */
    src: url('Fontlar/universcondensed_medium.woff2') format('woff2'),
         url('Fontlar/universcondensed_medium.woff') format('woff'),
         url('Fontlar/universcondensed_medium.ttf') format('truetype');
    font-weight: normal; /* Ağırlık (örneğin: bold, normal) */
    font-style: normal;  /* Stil (örneğin: italic, normal) */
}

* {
    /*text-transform: uppercase;*/
    font-family: 'CustomFont';
    text-align: left;
    font-size: 18px;
}

body {
    font-family: 'CustomFont';
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    text-align: left;
}

header {
      position: fixed; /* Header'ı sabit tutar */
      top: 0;
      left: 0;
      width: 100%;
      height: 100px;
      background-color: rgba(0, 0, 0, 0.5); /* Saydam siyah arka plan */
      color: white;
      padding: 10px 20px;
      display: flex;
      justify-content: space-around;
      align-items: center;
      flex-wrap: wrap;
      z-index: 2;
      box-sizing: border-box;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 20px;
    }

  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
  }

  /* Logo */
  .logo img {
    height: 50px;
  }

  /* Navbar */
  nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    margin-right: 80px;
    font-size: 17px;
  }

  nav ul li {
    position: relative;
    margin-left: 20px;
  }

  nav ul li a {
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    color: #ffffff;
    transition: color 0.3s;
  }

  nav ul li a:hover {
    color: #c7c1bd;
  }

  nav a.active {
    color: #861d1d;
  }

  /* Dropdown Menü */
  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: black;
    border: 1px solid black;
    z-index: 1000;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    padding: 10px 15px;
    white-space: nowrap;
    color: black;
  }

  .dropdown-menu li a:hover {
    background-color: #f0f0f0;
    color: #c6b396;
  }


/* Dropdown Geçiş Animasyonu */
.dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  position: absolute;
  top: 100%;
  left: 0;
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  z-index: 1000;
}

.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}



.video {
width: 100%;
height: 100%;
overflow: hidden; /* Taşmayı engeller */
display: flex;
justify-content: center;
align-items: center;
}

.video video {
width: 100%;
height: 100%;
object-fit: cover;
}

.about {
display: grid;
grid-template-columns: 2fr 2fr;
margin: 200px;
padding: 15px;
font-size: 18px;
}

.about h4 {
color:#861d1d;
font-size: 25px;
font-family: 'CustomFont';
}

.about h2 {
  font-weight: bold;
  color: #212529;
  font-size: 30px;
  font-family: 'CustomFont';
}

.about h1 {
  color:#861d1d;
  font-size: 30px;
  font-family: 'CustomFont';
}

.services {
    margin: 140px;
}

.services h1 {
  font-size: 50px;
  color: #212529;
  margin-top: 150px;
  margin-left: 150px;
}

.service {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 85%;
    margin: 40px auto;
    align-items: center;
}

.image-link {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 40px;
}

.image-link img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s;
}

.image-link img:hover {
    transform: scale(1.1);
}

.image-link .image-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 10px;
}
  
.image-link:hover .image-text {
    opacity: 1;
}

.image-text h2 {
    margin: 15px;
    font-size: 20px;
}

.image-text p {
    margin: 10px;
    font-size: 17px;
    font-weight: normal;
}

.footer_container {
    position: relative; /* Butonu resim üzerinde konumlandırmak için */
}

.footer_resim {
    display: flex;
    width: 100%;
    object-fit: cover;
    height: auto;
    margin-bottom: 65px;
}

.footer_buton {
position: absolute; /* Resmin üzerinde konumlandırmak için */
top: 50%;           /* Dikeyde ortalar */
left: 50%;          /* Yatayda ortalar */
transform: translate(-50%, -50%); /* Tam ortalamak için */
width: 60px;        /* Buton genişliği */
height: 60px;       /* Buton yüksekliği */
border-radius: 50%; /* Yuvarlak görünüm */
background-color: #383e42; /* Arka plan rengi */
color: white;       /* Yazı rengi */
text-align: center; /* Yazıyı ortalar */
line-height: 60px;  /* Yazıyı tam ortalamak için */
text-decoration: none; /* Alt çizgiyi kaldırır */
font-size: 16px;    /* Yazı boyutu */
font-weight: bold;  /* Kalın yazı */
transition: 0.3s;     
}

.footer_buton:hover {
background-color: #5c6062; /* Hover (üzerine gelince) rengi */
transform: translate(-50%, -50%) scale(1.1);
}

.footer_container h1 {
position: absolute; /* Resmin üzerinde konumlandırmak için */
top: 65%;           /* Dikeyde ortalar */
left: 50%;          /* Yatayda ortalar */
transform: translate(-50%, -50%);
text-align: center; /* Yazıyı ortalar */
color: whitesmoke;
font-family: 'CustomFont';   
}

.foot {
display: grid;
grid-template-columns: 2fr 2fr 2fr;
margin: 0;
padding: 5px;
color: black;
bottom: 0;
left: 0;
width: 100%; /* Tüm genişliği kaplar */
z-index: 100; /* Diğer içeriklerin üzerine çıkar */
}

.foot section {
  margin: 10px;
  margin-left: 120px;
  margin-right: 120px;
  display: flex;
  flex-direction: column; /* İçerikleri dikey hizalar */
  align-items: flex-start;
}

.foot section ul {
    margin: 10px 0 0 0; /* Üstte boşluk bırakır, diğer kenarlıkları sıfırlar */
    padding: 0; /* Varsayılan liste boşluklarını sıfırlar */
    list-style: none; /* Madde işaretlerini kaldırır */
}

.foot section ul li {
    display: inline;
    padding-right: 10px;
    border-right: 1px solid white; /* Sağ kenarlık */
}

.foot section ul li:last-child {
    border-right: none;
}

.foot section ul li a {
    text-decoration: none;
    font-weight: bold;
    color: #c6b396;
}

.foot section ul li a:hover {
    color: #c7c1bd;
    opacity: 0.7;
    transition: 0.5s;
}

.foot section h3 {
  color: #861d1d;
  font-family: 'CustomFont';
}

footer .created {
    text-align: right;
    margin: 5px;
}

/* Mobil cihazlar için (480px ve altı) */
@media (max-width: 480px) {
    header nav ul {
        flex-direction: column;
        text-align: center;
    }

    .about, .projects, .services, .news {
        padding: 20px 10px;
    }

    .project, .column1, .column2, .column3 {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* Tabletler için (481px - 768px) */
@media (max-width: 768px) {
    header nav ul {
        justify-content: center;
    }

    .about {
        flex-direction: column;
    }

    .project-grid, .news-grid {
        flex-wrap: wrap;
        gap: 15px;
    }

    .project, .new {
        width: calc(50% - 10px);
    }
}

/* Masaüstü ve geniş ekranlar için (768px üstü) */
@media (min-width: 769px) {
    .project-grid {
        justify-content: space-between;
    }

    .services .column1, .services .column2, .services .column3 {
        flex: 1;
        margin: 0 10px;
    }
}

img, video {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    header nav {
        display: none;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }
}
