/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;300;400;500;600;700;800;900&family=Maven+Pro:wght@500&family=Poppins:wght@100;200;300;500;600;700&family=Raleway:wght@300&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* variables */
:root {
  --green: rgb(143, 206, 143);
  --white: white;
  --gray: gray;
  --black: black;
}

a {
  text-decoration: none;
  color: var(--gray);
  font-family: "Poppins";
}
h1,
h2,
h3,
h4 {
  color: var(--gray);
  font-family: "Inter";
}
body {
  font-family: "Poppins";
}

img {
  width: 100%;
  height: auto;
}

/* Main Style */
button {
  border: none;
  font-family: "Poppins";
  cursor: pointer;
  padding: 7px 20px;
  font-size: 16px;
  border-radius: 16px;
}

/* Header start */
header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: whitesmoke;
  padding: 7px;
  z-index: 100;
}
header img {
  max-width: 100px;
  height: auto;
  border-radius: 5px;
}
nav {
  display: flex;
  gap: 40px;
}

.nav-btn {
  display: none;
}

.link {
  color: var(--gray);
}

/* Header end */

/* Footer Start */
footer {
  padding: 30px;
  background-color: whitesmoke;
  color: black;
}
footer a {
  color: black;
  text-decoration: none;
}
.footer-area a :hover {
  color: var(--black);
}

footer p {
  text-align: center;
  margin-top: 50px;
  border-top: 0.5px solid black;
  font-size: 10px;
}
.footer-area {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 20px;
}

.footer-img img {
  width: 400px;
  height: auto;
  border-radius: 5px;
}

.footer-link {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: left;
}
.footer-link a ion-icon {
  font-size: 1.2em;
  margin-right: 10px;
  color: black;
}
/* Footer End */

/* Main start */
.main-area {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgb(231, 248, 248);
  background-attachment: fixed;
}

.main-text-1 {
  font-family: "Poppins";
  font-size: larger;
  text-align: center;
  /* padding: 0px 0px 20px; */
  color: var(--black);
  height: 10px;
}

.main-text-2 {
  text-align: center;
  height: 100px;
}
.main-image-1 {
  justify-content: center;
  align-items: center;
  box-shadow: 4px 4px 10px rgb(171, 171, 171);
}

.main-img-rpr {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-top: 10px;
}

.main-btn {
  background-color: rgb(26, 188, 156);
  padding: 12px 15px;
  font-size: 18px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
  line-height: 1.2em;
  top: -10px;
  position: absolute;
}

.main-btn a span {
  color: white;
  padding: 18px;
}
/* Sticky Section Start*/
#hero {
  height: 100vh;
  background: url(img/stickyPhoto.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
/* Sticky Section End*/

/* Projects Main Screen Start*/
.projects-text {
  text-align: center;
  font-family: "Poppins";
  margin-top: 50px;
}

.projects {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 100px;
}

.projects img {
  height: 400px;
  margin-top: 100px;
}

.projects h2 {
  text-align: center;
  font-family: "Poppins";
}
.projects h4 {
  text-align: center;
  font-family: "Poppins";
}
/* Projects Main End*/

/* Main End */

/* Projects Start */
.section-content {
  display: grid;
  place-items: center;
  background-color: rgb(26, 188, 156);
  height: 200px;
}

.section-content h2 {
  color: aliceblue;
  font-size: 40px;
}

.project-main {
  display: grid;
  /* Duyarlı ızgara yapısı: En az 300px genişliğinde sütunlar oluşturur */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 50px auto;
  padding: 0 20px;
  max-width: 1200px;
}

.projects-detail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden; /* Taşmaları gizler */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projects-detail:hover {
  transform: translateY(-5px); /* Hafif yukarı kaydırma efekti */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.projects-detail img {
  width: 100%;
  height: 250px; /* Tüm resimler için sabit yükseklik */
  object-fit: cover; /* Resimleri bozulmadan sabit alana sığdırır */
  display: block;
  margin: 0;
  padding: 0;
}

.projects-detail h2 {
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 10px;
  margin-top: 15px; /* Başlık üstüne boşluk */
  color: #333;
}

.proje-detaylari {
  display: inline-block;
  background-color: #1abc9c;
  color: #fff;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
  margin: 15px auto 20px; /* Butonu ortalar ve alt boşluk ekler */
  width: auto;
}

.proje-detaylari:hover {
  background-color: #7fdbc9;
  color: #fff;
}
/* Projects End */

/* Projects Detail Start */
.section-content-1 {
  display: flex;
  justify-content: center;
  align-items: center;
  /* cam efekti */
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4.9px);
  -webkit-backdrop-filter: blur(3.9px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  height: 600px;
  gap: 50px;
  margin: 50px;
  border: 0.5px solid grey;
  border-radius: 10px;
  object-fit: contain;
}

.section-content-1 img {
  border-radius: 10px;
  height: 600px;
  width: 300px;
  margin-bottom: 20px;
  margin-top: -10px;
}

.section-content-1 h2 {
  color: var(--gray);
  font-size: 40px;
  font-weight: 1;
}

.projectDetail {
  display: flex;
  align-items: center;
  justify-content: center;  
  background-color: #f5f5f5;
  border: 0.5px solid gray;
  border-radius: 10px;  
  max-height: 900px;
  margin: auto;
  margin-bottom: 50px;
  margin-top: 50px;
  gap: 10px;
}

.projectGallery img {  
  height: auto;
  border-radius: 5px;
}

.projectGallery img:hover {
  -ms-transform: scale(1.5);
  -webkit-transform: scale(1.5);
  transform: scale(1.5);
}

.projectDetailImg {
  width: 200px;
  height: auto;
}

.project-details-table {
  text-align: justify;
}

.project-details-table h1 {
  font-size: 24px;
  margin-bottom: 5px;
  margin-top: 5px;
}

.project-details-table p {
  font-size: 16px;
}

/* Projects Detail End */

.sectionText {
  margin: 40px 0;
  font-size: 30px;
  font-weight: 300;
  text-align: center;
  font-family: "Poppins";
}
.projectGallery {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  margin-top: 50px;
}

.projectGallery img {
  border: 1px solid white;
  border-radius: 10px;
  max-width: 600px;
  max-height: 800px;
  box-shadow: #000000;
}

/* About Us Start */

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin: 100px 0;
  padding: 0 20px;
  flex-wrap: wrap; /* Gerekirse alt satıra geçmeyi sağlar */
}

.about-img-logo img {
  width: 100%;
  max-width: 400px; /* Logo için maksimum genişlik */
  height: auto;
}

.about-p {
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
  max-width: 600px;
}

.about-p br {
  margin-bottom: 10px; /* Paragraflar arasına boşluk ekler */
}
/* About Us End */

/* header Resposive */
@media (max-width: 900px) {
  nav {
    display: none;
  }
  .nav-btn {
    display: block;
  }
  .toggle {
    display: flex;
    position: fixed;
    flex-direction: column;
    right: 0;
    top: 70px;
    background-color: whitesmoke;
    padding: 20px;
    border-radius: 10px;
  }
}

/* Footer Resposive */
@media (max-width: 900px) {
  .footer-area {
    grid-template-columns: 1fr;
    row-gap: 40px;
    padding: 0 20px;
  }
  .footer-img img {
    max-width: 100%;
    height: auto;
    width: 100%;
  }
  .footer-link {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .project-img {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
}
/* About Us Resposive */
@media (max-width: 900px) {
  .about-text {
    flex-direction: column;
  }
}
/* ProjectDetail Resposive */

@media (max-width: 900px) {
  .section-content-1 {
    flex-direction: column;
  }
  .section-content-1 h2 {
    text-align: center;
    margin: auto;
    margin-top: 50px;
  }
}

@media (max-width: 900px) {
  .sectionDetail {
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .projectDetail {
    flex-direction: column;
    text-align: center;
    font-size: small;
  }
}