/* GENERAL */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

p {
  color: rgb(85, 85, 85);
}

/* TRANSITION */

a,
.btn {
  transition: all 300ms ease;
}

/* DESKTOP NAV */

nav,
.nav-links {
  display: flex;
}

nav {
  justify-content: space-around;
  align-items: center;
  height: 17vh;
}

.nav-links {
  gap: 2rem;
  list-style: none;
  font-size: 1.5rem;
}

a {
  color: black;
  text-decoration: none;
  text-decoration-color: white;
}

a:hover {
  color: #007bff;
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color:  #007bff;
}

.logo {
  font-size: 2rem;
}

.logo:hover {
  cursor: default;
}

/* HAMBURGER MENU */

#hamburger-nav {
  display: none;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: black;
  transition: all 0.3 ease-in-out;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3 ease-in-out;
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: black;
  text-decoration: none;
  transition: all 0.3 ease-in-out;
}

.menu-links li {
  list-style: none;
}

.menu-links.open {
  max-height: 300px;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
  transform: none;
}

.hamburger-icon span:first-child {
  opacity: 1;
}

.hamburger-icon span:first-child {
  transform: none;
}

/* SECTIONS */

section {
  padding-top: 4vh;
  /* height: 96vh; */ 
  margin: 0 10rem;
  box-sizing: border-box;
  min-height: fit-content;
}



/* Slider */
.slider-container {
  overflow-x: auto;
  white-space: nowrap;
  padding: 20px 0;
  overflow-x: scroll;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
  
}
.slider-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.slider-track {
  display: inline-flex;
  animation: scroll 20s linear infinite;
  gap: 20px;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sertifika kutuları */

.certificate-card {
  display: inline-block;
  background-color: #f9f9f9;
  border-radius: 10px;
  width: 250px;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;
}
.certificate-card h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  display: -webkit-box;
  display: box; /* standard */
  -webkit-line-clamp: 2;
  line-clamp: 2; /* standard */
  -webkit-box-orient: vertical;
  box-orient: vertical; /* standard */
  overflow: hidden;
}

.certificate-card p {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  display: -webkit-box;
  display: box; /* standard */
  -webkit-line-clamp: 3;
  line-clamp: 3; /* standard */
  -webkit-box-orient: vertical;
  box-orient: vertical; /* standard */
  overflow: hidden;
}
.certificate-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}
.certificate-card button {
  margin-top: 10px;
  padding: 8px 12px;
  background-color: #007BFF;
  border: none;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}
.certificate-card button:hover {
    background-color: white;
  color: #007bff;
  border: 1px solid #007bff;
}


.close-btn {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}



#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 70vh;
  margin-top: 1rem;
}

/* PROFILE SECTION */

#profile {
  display: flex;
  justify-content: center;
  gap: 5rem;
  height: 80vh;
}

.section__pic-container {
  display: flex;
  height: 400px;
  width: 400px;
  margin: auto 0;
}

.section__text {
  align-self: center;
  text-align: center;
}

.section__text p {
  font-weight: 600;
}

.section__text__p1 {
  text-align: center;
}

.section__text__p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.title {
  font-size: 3rem;
  text-align: center;
}

#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}

/* ICONS */

.icon {
  cursor: pointer;
  height: 2rem;
}

/* BUTTONS */

.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 1rem;
  width: 8rem;
  border-radius: 2rem;
}

.btn-color-1,
.btn-color-2 {
  border: rgb(178, 178, 178) 0.1rem solid;
}

.btn-color-1:hover,
.btn-color-2:hover {
  cursor: pointer;
}

.btn-color-1,
.btn-color-2:hover {
  background:  #007bff;
  color: white;
  border: 1px solid #007bff;
}

.btn-color-1:hover {
  background:  #ffffff;
  color:  #007bff;
  border: 1px solid #007bff;
}

.btn-color-2 {
  background: none;
}

.btn-color-2:hover {
  border: rgb(255, 255, 255) 0.1rem solid;
}

.btn-container {
  gap: 1rem;
}

/* ABOUT SECTION */

#about {
  position: relative;
}

.about-containers {
  gap: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.about-details-container {
  justify-content: center;
  flex-direction: column;
}

.details-container:hover {
  transform: scale(1.03);
  transition: transform 0.3s ease;
}

.about-containers,
.about-details-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.about-pic {
  border-radius: 2rem;
}

.arrow {
  position: absolute;
  right: -5rem;
  bottom: 2.5rem;
}

.details-container {
  padding: 1.5rem;
  flex: 1;
  background: white;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  text-align: center;
  
}
.details-container:hover {
 box-shadow: 0 5px 15px #007bff;
 border-radius: 2rem;
  border: rgb(255, 255, 255) 0.1rem solid;
  border-color: rgb(255, 255, 255);
}
.section-container {
  gap: 4rem;
  height: 80%;
}

.section__pic-container {
  border-radius: 33;
  height: 400px;
  width: 400px;
  margin: auto 0;
}

/* EXPERIENCE SECTION */

#experience {
  position: relative;
}

.experience-sub-title {
  color: rgb(85, 85, 85);
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.experience-details-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.article-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

article {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 300px;
  background-color: #f0f0f0;
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

article .icon {
  cursor: default;
}
.experience-details-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

.details-container {
  background-color: #f4f4f4;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.experience-sub-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.experience-list {
  list-style: disc;
  list-style-position: outside;
  padding-left: 1.5rem;
  margin: 0;
  color: #555;
  line-height: 1.6;
  text-align: left;
}

.experience-list li {
  margin-bottom: 0.5rem;
  text-indent: 0;
}

/* PROJECTS SECTION */

#projects {
  position: relative;
}

.color-container {
  border-color: rgb(163, 163, 163);
  background: rgb(255, 255, 255);
}

.project-img {
  border-radius: 2rem;
  width: 100%;
  max-width: 300px;
  height: 180px;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.project-title {
  margin: 1rem;
  color: black;
}

.project-btn {
  color: black;
  border-color: rgb(163, 163, 163);
}

/* CONTACT */

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  background: (250, 250, 250);
  margin: 2rem auto;
  padding: 0.5rem;
}

.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem;
}

.contact-info-container p {
  font-size: larger;
}

.contact-icon {
  cursor: default;
}

.email-icon {
  height: 2.5rem;
}
#contact {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  text-align: center;
}

.section__text__p1 {
  font-weight: 600;
  color: #666;
  letter-spacing: 1.3px;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  text-transform: uppercase;
}

.title {
  font-size: 3rem;
  margin-bottom: 2.5rem;
  color: #111;
  letter-spacing: 1.2px;
  
}

.contact-cards-container {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.contact-card {
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  width: 280px;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.contact-card:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  transform: translateY(-6px);
}

.contact-icon {
  width: 40px;
  height: 40px;
  filter: grayscale(40%) brightness(85%);
  transition: filter 0.3s ease;
}

.contact-card:hover .contact-icon {
  filter: none;
}

.contact-info h3 {
  font-size: 1.2rem;
  margin: 0 0 0.3rem 0;
  font-weight: 700;
  color: #0073b1; /* LinkedIn mavisi, email için aynı renk */
}

.contact-info p {
  font-size: 1rem;
  margin: 0;
  color: #555;
  word-break: break-word;
}

/* Responsive */

@media (max-width: 600px) {
  .contact-cards-container {
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
  }

  .contact-card {
    width: 90%;
  }
}


/* FOOTER SECTION */

footer {
  height: 26vh;
  margin: 0 1rem;
}

footer p {
  text-align: center;
}

/* CERTIFICATES */

.certificates-container {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

.certificate-category {
  flex: 1;
  background-color: #e6e6e6;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
}

.certificate-category:hover {
  background-color: #b3d9ff;
   transform: scale(1.03);
  transition: transform 0.3s ease;
}

.tableau-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background-color: #f0f0f0;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.back-link {
  font-size: 1rem;
  text-decoration: none;
  color: #007acc;
  font-weight: 600;
}

.back-link:hover {
  text-decoration: underline;
}

.page-title {
  font-size: 2rem;
  color: #333;
}

.tableau-main {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.tableau-project-card h2 {
  margin-bottom: 1rem;
  color: #222;
  font-weight: 700;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 2rem;
  background-color: #fafafa;
}

h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.back-button {
    display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  text-decoration: none; 
  font-size: 0.9rem;
  transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
  cursor: pointer;
}

.back-button:hover {
  background-color: white;
  color: #007bff;
  border: 1px solid #007bff;
  text-decoration: none;
}

 /* Project */
 .projects-wrapper {
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
    }
    .project-card {
      background: white;
      border-radius: 8px;
      padding: 15px;
      width: 300px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      text-align: center;
    }
    .project-image {
      width: 100%;
      height: 180px;
      object-fit: contain;
      border-radius: 6px;
    }

    
    .project-button {
      margin-top: 10px;
      padding: 8px 12px;
      border-radius: 6px;
      cursor: pointer;
      font-size: 14px;
      border: 2px solid transparent;
      transition: all 0.3s ease;
      display: inline-block;
      text-decoration: none;
      user-select: none;
    }

    
    .project-button.details {
      background-color: #007bff;
      color: white;
      border-color: #007bff;
    }
    
    .project-button.details:hover {
      background-color: white;
      color: #007bff;
      border-color: #007bff;
    }

   
    .project-button.link {
      background-color: #28a745;
      color: white;
      border-color: #28a745;
      margin-left: 10px;
    }
    
    .project-button.link:hover {
      background-color: white;
      color: #28a745;
      border-color: #28a745;
    }

    /* Popup */
    .popup {
      display: none;
      position: fixed;
      top: 10%;
      left: 50%;
      transform: translateX(-50%);
      width: 90%;
      max-width: 500px;
      max-height: 80vh;
      overflow-y: auto;
      background: white;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 0 20px rgba(0,0,0,0.3);
      z-index: 1000;
      padding: 10px;
    }
    .popup-close {
      position: absolute;
      top: 10px;
      right: 20px;
      font-size: 20px;
      cursor: pointer;
    }
  .project-button.details:hover {
  background-color: white;
  color: #007bff;
  border-color: #007bff;
  text-decoration: none;
}

.project-button.link:hover {
  background-color: white;
  color: #28a745;
  border-color: #28a745;
  text-decoration: none;
}
.popup-link {
       margin-top: 10px;
      padding: 8px 12px;
      border-radius: 6px;
      color:white;
      background-color:  #1e7e34;
      cursor: pointer;
      font-size: 14px;
      border: 2px solid transparent;
      transition: all 0.3s ease;
      display: inline-block;
      text-decoration: none;
      user-select: none;

}
.popup-link:hover {
  
  color: #1e7e34;
  background-color: white;
     border-radius: 5px;
      border-color: #28a745 ;
  text-decoration: none;
}

    .overlay {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgba(0,0,0,0.5);
      z-index: 999;
    }