/* Header */
.header {
  padding-top: 1.8rem;
  padding-bottom: 1.8rem;
  background: linear-gradient(
    to bottom,
    rgba(128, 128, 128, 1),
    rgba(128, 128, 128, 1),
    rgba(128, 128, 128, 0.8),
    rgba(128, 128, 128, 0.6),
    rgba(128, 128, 128, 0.4),
    rgba(128, 128, 128, 0.2)
  );
}
.header .nav-link,
.header .navbar-brand,
.header .navbar-toggler i {
  color: white;
  transition: color 0.2s linear;
}
.header .nav-link:hover,
.header .navbar-brand:hover,
.header .navbar-toggler i:hover {
  color: black;
}
.header .navbar-brand {
  font-size: 1.8rem;
}
.header .navbar-toggler {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 2rem;
}
.header .navbar-toggler i {
  font-size: 1.5rem;
}
.header.headroom {
  transition: all 0.2s linear;
}
.header.headroom--top,
.header.headroom--top.headroom--pinned {
  background-color: transparent;
}
.header.headroom--not-top.headroom--pinned {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background-color: rgba(255, 255, 255, 0.9);
}
.header.headroom--not-top.headroom--pinned .nav-link,
.header.headroom--not-top.headroom--pinned .navbar-brand,
.header.headroom--not-top.headroom--pinned .navbar-toggler i {
  color: black;
}
.header.headroom--pinned {
  transform: translateY(0%);
}
.header.headroom--unpinned {
  transform: translateY(-100%);
}

/* Offcanvas */
.offcanvas .fa-close {
  font-size: 1.8rem;
}
.offcanvas.show .row {
  padding-top: 2rem !important;
}
.offcanvas.show .nav-link {
  color: black;
}

/* Genel Stil */
body {
  font-family: Arial, sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

/* Arka Plan Geçişi */
.mission-vision,
.about-us,
.gallery,
.contact-section {
  padding: 60px 20px;
  background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
}

/* Konteyner */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Bölümler */
.mission,
.vision,
.about-content {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.mission {
  animation-delay: 0.2s;
}

.vision {
  animation-delay: 0.4s;
}

.about-content {
  animation-delay: 0.6s;
}

.mission img,
.vision img {
  width: 40%;
  border-radius: 8px;
}

.about-content img {
  width: 60%;
  border-radius: 8px;
}

.text {
  width: 60%;
}

.text h2 {
  font-size: 24px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.text h2 i {
  color: #0e006b;
  margin-right: 10px;
}

.text p {
  font-size: 18px;
  color: #555;
}

.highlight {
  color: #0e006b;
  font-weight: bold;
}

.about-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-block;
  background-color: #0e006b;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3;
}

/* Projeler Bölümü */
.projects {
  padding: 60px 20px;
  background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
}

.projects-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

.projects-gallery {
  display: flex;
  gap: 30px;
  justify-content: flex-start; /* Projeleri sola yaslamak için */
  flex-wrap: wrap; /* Eğer ekran küçülürse projeler alt alta geçer */
  justify-content: center; /* Projeleri yatayda ortalar */
  align-items: flex-start; /* Projeleri üstten hizalar */
  margin: 0 auto; /* Konteynerin tam ortalanmasını sağlar */
  margin-bottom: 30px;
}

.project-card {
  width: 30%;
  max-width: 500px; /* Maksimum genişlik */
  position: relative;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(1, 1, 1, 0.1);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-img {
  position: relative;
}

.project-img img {
  width: 100%;
  height: 400px;
  display: block;
  transition: opacity 0.3s ease;
}

.project-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.5);
  color: #555;
  padding: 20px;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.project-info h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.project-info p {
  font-size: 16px;
}

.project-card:hover .project-info {
  opacity: 1;
  visibility: visible;
}

.project-card:hover .project-img img {
  opacity: 0.6;
}

/* Mobil Uyumlu Düzen */
@media (max-width: 768px) {
  .projects-gallery {
    flex-direction: column;
    align-items: center;
  }

  .project-card {
    width: 80%;
    margin-bottom: 30px;
  }
}

/*tabs*/
.projects-tabs {
  text-align: center;
  margin-bottom: 30px;
}

.tab-button {
  background-color: #dee2e6;
  border: none;
  padding: 10px 20px;
  margin: 0 5px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.tab-button.active,
.tab-button:hover {
  background-color: #0d6efd;
  color: #fff;
}



/* Fade-in animasyon */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobil uyum */
@media (max-width: 768px) {
  .mission,
  .vision,
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .mission img,
  .vision img,
  .about-content img {
    width: 80%;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .mission img,
  .vision img {
    order: 2;
  }

  .text,
  .about-content .text {
    width: 100%;
  }

  .text h2 {
    font-size: 22px;
  }

  .text p,
  .about-content .text p {
    font-size: 16px;
  }

  .about-title {
    font-size: 28px;
  }
  
  .about-line{
    display: none;
  }
}

/* Gradient transparent - color - transparent */

hr.style-two {
  border: 0;
  height: 1px;
  background-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0)
  );
}

/* General */
@media (max-width: 767px) {
  p.lead {
    font-size: 1rem;
  }
}
@media (max-width: 900px) {
  p.lead {
    font-size: 2rem;
  }
}
@media (min-width: 1200px) {
  [class*="container"] {
    max-width: 1400px;
  }
}

/* Mouse */
.mouse {
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 47px;
  border: 2px solid white;
  border-radius: 14px;
  position: relative;
}
.mouse .mouse-scroll {
  top: 10px;
  left: 11px;
  width: 4px;
  height: 4px;
  border-radius: 2px;
  animation: mouse 1.5s ease-out infinite;
  position: absolute;
}

@-webkit-keyframes mouse {
  0% {
    top: 4px;
    opacity: 0;
    height: 4px;
  }
  50% {
    top: 8px;
    opacity: 1;
    height: 10px;
  }
  100% {
    top: 12px;
    opacity: 0;
    height: 4px;
  }
}

#gallery {
  padding-top: 40px;
  @media screen and (min-width: 991px) {
    padding: 60px 30px 0 30px;
  }
}

.img-wrapper {
  position: relative;
  margin-top: 15px;
  img {
    width: 100%;
  }
}
.img-overlay {
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  i {
    color: #fff;
    font-size: 3em;
  }
}

#overlay {
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  /* Removes blue highlight*/
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  img {
    margin: 0;
    width: 80%;
    height: auto;
    object-fit: contain;
    padding: 5%;
    @media screen and (min-width: 768px) {
      width: 60%;
    }
    @media screen and (min-width: 1200px) {
      width: 50%;
    }
  }
}

#nextButton {
  color: #fff;
  font-size: 2em;
  transition: opacity 0.8s;
  &:hover {
    opacity: 0.7;
  }
  @media screen and (min-width: 768px) {
    font-size: 3em;
  }
}

#prevButton {
  color: #fff;
  font-size: 2em;
  transition: opacity 0.8s;
  &:hover {
    opacity: 0.7;
  }
  @media screen and (min-width: 768px) {
    font-size: 3em;
  }
}

#exitButton {
  color: #fff;
  font-size: 2em;
  transition: opacity 0.8s;
  position: absolute;
  top: 15px;
  right: 15px;
  &:hover {
    opacity: 0.7;
  }
  @media screen and (min-width: 768px) {
    font-size: 3em;
  }
}

/* contact */
.contact-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.contact-details {
  display: flex;
  gap: 30px;
  width: 100%;
  justify-content: center;
}

.form {
  flex: 1;
  max-width: 500px;
}

.form h3 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #0e006b;
}

form label {
  font-size: 18px;
  margin-bottom: 8px;
  display: block;
  color: #333;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 16px;
}

form textarea {
  resize: vertical;
}

form button {
  display: inline-block;
  background-color: #0e006b;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #0056b3;
}

.form-check {
  display: flex;
  align-items: center;
  margin: 15px 0;
  gap: 10px;
  font-size: 14px;
}

.form-check input[type="checkbox"] {
  margin: 0;
  width: 18px;
  height: 18px;
  accent-color: #0e006b;
}

.contact-info-details {
  flex: 1;
  max-width: 400px;
  font-size: 16px;
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-info-details h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #0e006b;
  text-align: center;
  font-weight: 600;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: #f1f1f1;
  padding: 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.info-item:hover {
  background-color: #0e006b;
  color: #fff;
}

.info-item i {
  font-size: 30px;
  color: #0e006b;
}

.info-item .info-text {
  display: flex;
  flex-direction: column;
}

.info-item .info-text h4 {
  font-size: 18px;
  margin-bottom: 5px;
  font-weight: 600;
}

.info-item .info-text p {
  font-size: 16px;
  margin: 0;
}

/* Hover effects */
.info-item:hover i {
  color: #fff;
}

.contact-map {
  margin:0;
  margin-bottom: -10px;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  .contact-details {
    flex-direction: column;
    align-items: center;
  }

  .form,
  .contact-info-details {
    max-width: 100%;
  }

  .contact-map iframe {
    max-width: 100%;
  }
}



/* Footer */
.site-footer {
  background: linear-gradient(to right, #1e2a38, #2e3d4f);
  color: #f0f0f0;
  padding: 60px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  align-items: flex-start;
}

.footer-logo {
  flex: 1 1 300px;
}

.footer-logo img {
  width: 160px;
  margin-bottom: 15px;
}

.footer-logo p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
}

.footer-links,
.footer-contact {
  flex: 1 1 200px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #ffffff;
  border-bottom: 2px solid #ffffff;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li,
.footer-contact ul li {
  margin-bottom: 10px;
  color: #ccc;
  font-size: 14px;
}

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #fff;
}

.footer-contact i {
  margin-right: 8px;
  color: #f8f9fa;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  color: #aaa;
  border-top: 1px solid #555;
  font-size: 13px;
}