body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
header {
    background: linear-gradient(90deg, #007bff 0%, #0056b3 100%);
    
}
section {
    margin-bottom: 40px;
}
#projeler .card {
    margin-bottom: 20px;
    cursor: pointer;
}
.header-video {
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 500px;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 1;
    opacity: 0.5;
}
.header-content {
    z-index: 2;
    color: #fff;
    text-shadow: 0 2px 8px #000;
}
.header-video .navbar {
    background: rgba(0,0,0,0.4) !important;
    box-shadow: none;
}
.header-video .navbar .nav-link {
    color: #fff !important;
    font-weight: 500;
}
.header-video .navbar .nav-link.active {
    text-decoration: underline;
}
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
}
.typewriter-text {
    display: block;
    font-size: 1.7rem;
    font-weight: 600;
    min-height: 2.2em;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px #000;
    border-right: 2px solid #fff;
    white-space: nowrap;
    overflow: hidden;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* Hakkımda başlığı ve altyazı animasyonu */
.hakkimda-anim-baslik {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(.77,0,.18,1);
}
.hakkimda-anim-baslik.visible {
    opacity: 1;
    transform: translateX(0);
}
.hakkimda-anim-yazi {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s 0.2s cubic-bezier(.77,0,.18,1);
}
.hakkimda-anim-yazi.visible {
    opacity: 1;
    transform: translateX(0);
}
/* Kart animasyonu */
.hakkimda-card-anim {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(.77,0,.18,1);
}
.hakkimda-card-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Daha belirgin fade-in ve yukarıdan gelme animasyonu */
.fade-in {
    opacity: 0;
    transform: translateY(60px) scale(0.96);
    animation: fadeInMove 1s cubic-bezier(.77,0,.18,1) forwards;
    animation-delay: 0.2s;
    filter: blur(4px);
}
.fade-in.delay-1 { animation-delay: 0.4s; }
.fade-in.delay-2 { animation-delay: 0.6s; }
.fade-in.delay-3 { animation-delay: 0.8s; }
@keyframes fadeInMove {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}
a.cv-download-btn {
    font-size: 1rem;
    padding: 0.45rem 1.1rem;
    border-radius: 2rem;
    background: #4fc3f7;
    color: #fff !important;
    border: none;
    box-shadow: 0 4px 16px rgba(79,195,247,0.15);
    transition: background 0.2s, box-shadow 0.2s, color 0.2s;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    min-width: 120px;
    max-width: 200px;
    width: fit-content;
    box-sizing: border-box;
}
a.cv-download-btn:hover {
    background: #039be5;
    color: #fff;
}
a.cv-download-btn .cv-icon {
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) translateX(60px);
    opacity: 0;
    font-size: 1.2em;
    transition: opacity 0.3s, transform 0.4s cubic-bezier(.77,0,.18,1);
    pointer-events: none;
}
a.cv-download-btn:hover .cv-icon {
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0);
}
a.cv-download-btn .cv-text {
    display: inline-block;
    transition: opacity 0.2s;
    width: auto;
    text-align: center;
    white-space: nowrap;
}
a.cv-download-btn:hover .cv-text {
    opacity: 0;
    width: 0;
    padding: 0;
    margin: 0;
}

/* SEO kartı hover */
.card-seo {
    background: #fff;
    transition: background 0.3s, color 0.3s;
    cursor: pointer;
}
.card-seo:hover {
    background: #1976d2;
}
.card-seo .card-title,
.card-seo .card-text,
.card-seo .bi {
    transition: color 0.3s;
}
.card-seo:hover .card-title,
.card-seo:hover .card-text,
.card-seo:hover .bi {
    color: #fff !important;
}

/* Dijital Pazarlama kartı hover */
.card-dijital {
    background: #fff;
    transition: background 0.3s, color 0.3s;
    cursor: pointer;
}
.card-dijital:hover {
    background: #198754;
}
.card-dijital .card-title,
.card-dijital .card-text,
.card-dijital .bi {
    transition: color 0.3s;
}
.card-dijital:hover .card-title,
.card-dijital:hover .card-text,
.card-dijital:hover .bi {
    color: #fff !important;
}

/* Uyumlu Web Tasarımı kartı hover */
.card-web {
    background: #fff;
    transition: background 0.3s, color 0.3s;
    cursor: pointer;
}
.card-web:hover {
    background: #0dcaf0;
}
.card-web .card-title,
.card-web .card-text,
.card-web .bi {
    transition: color 0.3s;
}
.card-web:hover .card-title,
.card-web:hover .card-text,
.card-web:hover .bi {
    color: #fff !important;
}

/* Timeline ve kart-about için modern görünüm ve animasyonlar */
.card-about {
    background: rgba(255,255,255,0.07);
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.08);
    padding: 1.2rem 1.5rem;
    border: none;
    position: relative;
    overflow: visible;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s;
}



.card-about:hover {
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.18);
}
#timeline .card-about {
  background: linear-gradient(135deg, #0f2027 0%, #2c5364 100%) !important;
}
.timeline-entry {
    position: relative;
    min-height: 80px;
}
.timeline-marker {
    min-width: 24px;
    align-items: center;
    display: flex;
    flex-direction: column;
}
.diamond-div {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.diamond {
    width: 12px;
    height: 12px;
    background: #4fc3f7;
    transform: rotate(45deg);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(79,195,247,0.2);
}
.line {
    width: 3px;
    background: #4fc3f7;
    flex-grow: 1;
    min-height: 40px;
    border-radius: 2px;
    margin-top: 2px;
}
.timeline-content {
    background: transparent;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    text-align: left;
    color: #fff;
    box-shadow: none;
    position: relative;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s, transform 0.7s;
}
.timeline-content.animate-from-left {
    animation: slideInLeft 0.8s cubic-bezier(.77,0,.18,1) forwards;
}
.timeline-content.animate-from-right {
    animation: slideInRight 0.8s cubic-bezier(.77,0,.18,1) forwards;
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}
.timeline-content.visible {
    opacity: 1;
    transform: translateY(0);
}
.about-title.animate-from-top {
    opacity: 0;
    transform: translateY(-40px);
    animation: slideInTop 0.8s cubic-bezier(.77,0,.18,1) forwards;
}
@keyframes slideInTop {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Timeline yazılarını daha koyu ve görünür yap */
#timeline, #timeline .timeline-content, #timeline .about-title, #timeline .date, #timeline .company, #timeline .subtitle, #timeline .desc {
  color: #111 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
#timeline .about-title, #timeline .company {
  font-weight: 700;
}
#timeline .date, #timeline .subtitle {
  font-weight: 600;
}
#timeline .desc {
  font-weight: 400;
}
#timeline {
  background: #f4f6f8 !important;
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
  margin-top: 0;
  margin-bottom: 0;
}
#timeline .container {
  padding-top: 0;
  padding-bottom: 0;
}
#hakkimda {
  margin-bottom: 0 !important;
}
#timeline {
  margin-top: 0 !important;
}
#timeline .card-about, #timeline .card-about * {
  color: #fff !important;
}
.language-information {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 10px;
  min-height: 44px;
}
.language-icons {
  display: flex;
  align-items: center;
  margin-top: 2px;
  margin-bottom: 2px;
}
.language-name {
  margin-bottom: 0;
  font-size: 1.1rem;
  font-weight: 500;
}
.language-icon {
  width: 28px;
  height: 28px;
  max-width: 100%;
  max-height: 28px;
  margin: 0 4px 6px 0;
  display: inline-block;
  object-fit: contain;
}

/* Projelerim kartları için uzun ve oval tasarım */
.project-card {
  min-height: 420px;
  border-radius: 2rem !important;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  box-shadow: 0 4px 24px 0 rgba(44,83,100,0.10);
  background: linear-gradient(135deg, #0f2027 0%, #2c5364 100%) !important;
  color: #fff;
}
.project-card .card-img-top {
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(.77,0,.18,1), box-shadow 0.3s;
}
.project-card:hover .card-img-top {
  transform: scale(1.08);
  box-shadow: 0 8px 32px 0 rgba(44,83,100,0.18);
}
.project-card .card-body {
  padding-bottom: 2rem;
}
.project-card .btn.btn-outline-primary {
  font-size: 1.1rem;
  padding: 0.7rem 2.1rem;
  border-radius: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: transparent;
  color: #1976d2 !important;
  border: 2px solid #1976d2;
  box-shadow: 0 4px 16px rgba(25,118,210,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s;
}
.project-card .btn.btn-outline-primary:hover, .project-card .btn.btn-outline-primary:focus {
  background: #1976d2;
  color: #fff !important;
  border-color: #1976d2;
  box-shadow: 0 6px 24px rgba(25,118,210,0.18);
}
@media (max-width: 576px) {
  .project-card .btn.btn-outline-primary {
    font-size: 1rem;
    padding: 0.6rem 1.4rem;
  }
}
@media (max-width: 768px) {
  .project-card {
    min-height: 340px;
    border-radius: 1.2rem !important;
  }
  .project-card .card-img-top {
    border-top-left-radius: 1.2rem;
    border-top-right-radius: 1.2rem;
    height: 160px;
  }
}

/* Projelerim carousel'da birden fazla kart görünmesi için düzenleme */
#projectsCarousel .carousel-inner {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
}
#projectsCarousel .carousel-item {
  flex: 0 0 25%;
  max-width: 25%;
  transition: transform 0.6s ease, opacity 0.6s ease;
  display: block;
}
@media (max-width: 992px) {
  #projectsCarousel .carousel-item {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (max-width: 576px) {
  #projectsCarousel .carousel-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Projelerim özel slider track ve kartları için modern ve sorunsuz görünüm */
#customProjectSlider {
  overflow: hidden;
  width: 100%;
  position: relative;
}
#customProjectTrack {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.5s cubic-bezier(.77,0,.18,1);
  will-change: transform;
}
#customProjectTrack > .col-md-3 {
  flex: 0 0 25%;
  max-width: 25%;
  min-width: 250px;
  box-sizing: border-box;
  margin-right: 16px;
}
@media (max-width: 992px) {
  #customProjectTrack > .col-md-3 {
    flex: 0 0 50%;
    max-width: 50%;
    min-width: 220px;
  }
}
@media (max-width: 576px) {
  #customProjectTrack > .col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 180px;
  }
}
#customPrevBtn:disabled, #customNextBtn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* Swiper proje slider özel stiller */
.projeSwiper {
  padding-bottom: 32px;
   padding-left: 0;
  padding-right: 0;
  margin: 0;
}

.projeSwiper .swiper-slide {
  height: auto;
  display: flex;
  align-items: stretch;
  min-width: 480px;
  max-width: 600px;
}
.projeSwiper .card {
  height: 100%;
}
.swiper-button-next-proje, .swiper-button-prev-proje {
  width: 44px;
  height: 44px;
  background: #1976d2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 2px 8px rgba(25,118,210,0.12);
  cursor: pointer;
  transition: background 0.2s;
}
.swiper-button-next-proje:hover, .swiper-button-prev-proje:hover {
  background: #0d47a1;
}
.swiper-button-next-proje:after, .swiper-button-prev-proje:after {
  display: none;
}
.swiper-button-next-proje svg, .swiper-button-prev-proje svg {
  width: 28px;
  height: 28px;
}
@media (max-width: 992px) {
  .projeSwiper .swiper-slide { min-width: 320px; max-width: 400px; }
}
@media (max-width: 576px) {
  .projeSwiper .swiper-slide { min-width: 80vw; max-width: 95vw; }
}
@keyframes fillBar {
  from { width: 0; }
  to { width: var(--target-width); }
}

.progress-bar.animate {
  animation: fillBar 1s ease-out forwards;
}

.animate-slide-in {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

/* Scroll ile tetiklenince görünür hale gelsin */
.animate-slide-in.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-swiper {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.4s ease-out;
  will-change: transform, opacity;
}

.animate-swiper.visible {
  opacity: 1;
  transform: scale(1);
}
.animate-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.3s ease-out;
}

/* Görünür hale geldiğinde uygulanacak stil */
.animate-up.visible {
  opacity: 1;
  transform: translateY(0);
}


.line {
  width: 4px;
  height: 100%;
  background-color: #007bff;
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1s ease-out;
  margin: 0 auto;
}

.line.fill {
  transform: scaleY(1);
}


.diamond {
  width: 20px;
  height: 20px;
  background-color: #007bff;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  opacity: 0;
  transform: scale(0.5) rotate(0deg);
  transition: all 0.6s ease-out;
}

/* İkon görünür ve döner */
.diamond.fill {
  opacity: 1;
  transform: scale(1) rotate(360deg);
  transition: transform 1s ease-out, opacity 0.6s ease-out;
}


/* ! Scrollbar stillerini ayarlama */
::-webkit-scrollbar {
  width: 10px;
  height: 3px;
}

::-webkit-scrollbar-track {
  background: rgb(211, 209, 209);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    #031452,
    #000000,
    #031452,
    #000000,
    #031452,
    #000000,
    #031452
  );
  border-radius: 0px;
  height: 3px;
  border: none;
}

/* Proje detay sayfası için footer stili */
.footer-social-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-social-list li {
  position: relative;
  display: inline-block;
}
.footer-social-list .tooltip-social {
  visibility: hidden;
  opacity: 0;
  background: #232526;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 3px 10px;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  transition: opacity 0.2s, visibility 0.2s;
  font-size: 0.95rem;
  pointer-events: none;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(44,83,100,0.18);
}
.footer-social-list li:hover .tooltip-social,
.footer-social-list a:focus + .tooltip-social {
  visibility: visible;
  opacity: 1;
}
.footer-social-list .tooltip-social::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #232526 transparent transparent transparent;
}
.footer-social-list a {
  color: #232526;
  background: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  position: relative;
  z-index: 1;
}
.footer-social-list a[data-social="github"]:hover {
  background: #232526;
  color: #fff;
}
.footer-social-list a[data-social="linkedin"]:hover {
  background: #0077b5;
  color: #fff;
}
.footer-social-list a[data-social="whatsapp"]:hover {
  background: #25d366;
  color: #fff;
}
.footer-social-list a[data-social="phone"]:hover {
  background: #0a66c2;
  color: #fff;
}





#preloader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #e0eafc, #cfdef3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
   transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateY(0);
}

#lottie-loader {
  width: 200px;
  height: 200px;
}

/* ? sağ alttaki buton */
.progress-wrap {
  position: fixed;
  bottom: 10px;
  right: 10px;
  height: 44px;
  width: 44px;
  cursor: pointer;
  display: block;
  border-radius: 50px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 400ms linear;
}

.progress-wrap::after {
  position: absolute;
  font-family: "Font Awesome 5 Free";
  content: "\f077";
  text-align: center;
  line-height: 44px;
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  left: 0;
  top: 0;
  height: 44px;
  width: 44px;
  cursor: pointer;
  display: block;
  z-index: 1;
  transition: all 400ms linear;
}

.progress-wrap svg {
  vertical-align: middle;
}

.progress-wrap.active-progress {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.progress-wrap svg.progress-circle path {
  stroke: #fff;
  stroke-width: 7;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 400ms linear;
  -o-transition: all 400ms linear;
  transition: all 400ms linear;
}

.progress-wrap:hover .progress-circle path {
  fill: #d6d6d6;
}

.progress-wrap:hover::after,
.progress-wrap:hover .progress-wrap svg.progress-circle path {
  color: #000;
  stroke: #202020;
  stroke-width: 5;
}