@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-color: #e0e9f44a;
}

.container {
  max-width: 1800px;
  margin: auto;
  padding: 20px 32px;
}
.detail-page-header {
  background-color: #234c5c;
}
.detail-page-header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}
header img {
  height: 50px;
}
.navbar {
  display: flex;
  justify-content: space-around;
}
.main-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.menu-item {
  position: relative;
}
.menu-icon {
  display: none;
}
.homepage-content {
  min-height: calc(100vh - 45px);
}

.detail-page-header .menu-item > a::after {
  background-color: #234c5c;
}
.menu-item a {
  text-decoration: none;
  padding: 10px 20px;
  color: white;
  display: block;
  position: relative;
  font-weight: 500;
}

.menu-icon {
  display: none;
}
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #f8f8f8;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  width: 280px;
  overflow: visible;
  border-radius: 8px;
}

.submenu a {
  padding: 12px 20px;
  color: #234c5c;
  text-decoration: none;
  display: block;
  white-space: nowrap;
}
.submenu a:hover {
  background-color: #36677836;
  border-radius: 8px;
}
.menu-item:hover .submenu {
  display: block;
}
.side-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 250px;
  z-index: 9999;
  background-color: white;
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 12px 32px;
}
.side-bar a {
  width: 100%;
}
.menu-icon {
  cursor: pointer;
  z-index: 999;
}
.menu-icon a svg {
  width: 20px;
}
.close-icon svg {
  width: 20px;
}
.banner-cover {
  max-width: 100%;
  margin: auto;
}

.banner-cover .owl-stage-outer {
  height: 100%;
}
#bannerImages .owl-nav .owl-prev,
.owl-nav .owl-next {
  background-color: transparent;
  border: none;
  color: #333;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  cursor: pointer;
  position: relative;
}
.banner-image-wrapper {
  height: 100%;
}
#bannerImages.owl-carousel .owl-item img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

#bannerImages .owl-next:hover {
  background: transparent;
}
.side-bar .menu-item a {
  color: #234c5c;
}
.useful-links {
  padding: 40px 80px 20px;
  text-align: center;
}
.useful-links h2 {
  font-size: 32px;
  color: #234c5c;
  margin-bottom: 12px;
  font-weight: 600;
}
.site-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
}
.site-logos a {
  display: block;
  transition: transform 0.3s ease;
}
.site-logos img {
  width: 140px;
  height: auto;
  object-fit: contain;
}
.site-logos a:hover {
  transform: scale(1.1);
}
.copyright {
  background-color: #234c5c;
  color: #fff;
  font-size: 14px;
  padding: 12px 80px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.detail-page-wrapper {
  padding: 32px 80px;
  min-height: calc(100vh - 130px);
}
.detail-page-wrapper h2 {
  position: relative;
  display: flex;
  font-size: 36px;
  color: #2c3e50;
}
.detail-page-wrapper h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  width: 0;
  height: 2px;
  background-color: #2c3e50;
  z-index: -1;
  transition: width 1s ease-in-out;
  animation: draw-line 2s forwards;
}
@keyframes draw-line {
  to {
    width: 300px;
  }
}
.content {
  margin-top: 40px;
  /* color:#234c5c; */
}
.breadcrumb {
  color: #7f8c8d;
}
.breadcrumb a:nth-child(2n) {
  font-weight: 600;
}
.breadcrumb a {
  text-decoration: none;
  color: inherit;
}
.contact-us {
  position: relative;
  width: 100%;
  padding: 40px 100px;
}

.contact-us .title {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
}

.contact-us .title h2 {
  color: black;
  font-weight: 500;
}

.contact {
  padding: 40px;
  background: white;
  box-shadow: 0 5px 35px rgba(0, 0, 0, 0.15);
}

.box {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-areas: "map info";
  grid-gap: 20px;
}

.info {
  grid-area: info;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
}
.info .infoBox div {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.info .infoBox div span {
  min-width: 40px;
  height: 40px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  margin-right: 15px;
}
.info .infoBox div p {
  color: black;
}
.info .infoBox div a {
  color: black;
  text-decoration: none;
}
.map {
  grid-area: map;
  padding: 0;
  height: 350px;
  border-radius: 8px;
}

.map iframe {
  width: 100%;
  height: 100%;
}
/* bilgi toplumu  */

.company-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.company-card h2 {
  margin-top: 0;
  font-size: 20px;
  color: #333;
  border-bottom: 2px solid #007bff;
  padding-bottom: 10px;
}

.company-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}

.info-row:last-child {
  border-bottom: none;
}

.info-title {
  font-weight: bold;
  color: #333;
  width: 40%; /* Sabit genişlik */
  min-width: 180px;
}

.info-value {
  color: #555;
  text-align: left;
  width: 60%; /* Geri kalan alanı kapla */
}

.contact a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.contact a:hover {
  text-decoration: underline;
}

@media (max-width: 650px) {
  .company-card {
    width: 100%;
  }

  .info-title {
    width: 35%;
    min-width: 150px;
  }

  .info-value {
    width: 65%;
  }
}
@media screen and (max-width: 992px) {
  .menu-item a {
    font-size: 14px;
    padding: 8px 16px;
  }
  .useful-links {
    padding: 20px 80px;
  }
  .useful-links h2 {
    font-size: 24px;
  }
  .site-logos img {
    width: 120px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 12px 32px;
  }
  .useful-links {
    padding: 12px 32px;
  }
  .menu-icon {
    display: flex;
  }
  .menu-item a {
    padding: 8px 0;
  }
  .main-bar {
    display: none;
  }
  .box {
    grid-template-areas:
      "map"
      "info";
    grid-template-columns: 1fr;
  }
  .content p,
  .content a {
    font-size: 14px;
  }
  .breadcrumb * {
    font-size: 14px;
  }
  .detail-page-wrapper h2 {
    font-size: 28px;
  }
  .content {
    margin-top: 24px;
  }
  @keyframes draw-line {
    to {
      width: 250px;
    }
  }
}
@media (max-width: 576px) {
  .container {
    padding: 8px 16px;
  }
  .main-bar {
    display: none;
  }
  .menu-icon {
    display: block;
  }
  .side-bar {
    width: 100%;
    padding: 8px 16px;
  }
  .banner-image-wrapper {
    height: 230px;
  }
  .useful-links {
    padding: 8px 16px;
  }
  .useful-links h2 {
    font-size: 18px;
  }
  .copyright {
    font-size: 10px;
  }
  .site-logos {
    gap: 24px;
  }
  .site-logos img {
    width: 90px;
  }
  .content {
    margin-top: 16px;
  }
  .content p,
  .content a {
    font-size: 12px;
  }
  .breadcrumb * {
    font-size: 12px;
  }
  .detail-page-wrapper h2 {
    font-size: 24px;
  }
  .info .infoBox div {
    margin-bottom: 0px;
  }
  .contact {
    padding: 20px;
  }
  @keyframes draw-line {
    to {
      width: 200px;
    }
  }
}
