@import url('https://fonts.googleapis.com/css2?family=Electrolize&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;

}
:root{
   --bg-color:#080808;
   --second-bg-color:#131313;
   --text-color:#fff;
   --main-color:#00ffee;
}
.light-theme {
  --bg-color: 	#FFF2EB;
  --second-bg-color: #FFF2EB;
  --text-color: #000000;
  --main-color: #AC1754; /* örnek bir pembe tonu */
}
html{
    font-size: 60%;
    overflow-x: hidden;
}
body{
    background: var(--bg-color);
    color: var(--text-color);
    margin-top: 12%;
    transition: background-color 0.3s, color 0.3s;
}
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: var(--main-color);
    color: var(--bg-color);
    border: none;
    border-radius: 50%;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 0 10px var(--main-color);
    transition: background-color 0.3s, color 0.3s;
}

/* header start */
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 12% 4rem;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(10px);
    z-index: 5;
}
.logo{
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-color);
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.logo span{
    color: var(--main-color);
}
.logo:hover{
    transform: scale(1.1);
}
.navbar a{
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-color);
    margin-left: 4rem;
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
    
}

.navbar a:hover,
.navbar a:active{
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}

#menu-icon{
    display: none;
    font-size: 3.6rem;
    color: var(--main-color);
}
section
{
    min-width: 100vh;
    padding: 10rem 12% 10rem;
}
.language-switcher {
  display: inline-flex;
  gap: 8px;
  margin-left: 20px;
}

.language-switcher button {
  background-color: var(--main-color);
  color: #000;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.3s;
}

.language-switcher button:hover {
  opacity: 0.8;
}

/* header end */
/* home section start */
.home{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15rem;
}
.home-text{
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: center;
    text-align: left;
    margin-top: 3rem;
}
.home-text h1{
    font-size: 6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 1.5rem;
}
.home-text h3{
    font-size: 3.5rem;
    font-weight: 500;
    margin-top: 1rem;
}
.home-img{
   border-radius: 50%;
}
.home-img img{
    width: 10vw;
    position: relative;
    top: 3rem;
    border-radius: 50%;
    box-shadow: 0 0 20px var(--main-color);
    transition: 0.4s ease-in-out;
    cursor: pointer;
}
.home-img img:hover{
    transform: scale(1.1);
    box-shadow: 0 0 25px var(--main-color), 0 0 50px var(--main-color), 0 0 100px var(--main-color);
}
.home-text p{
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.8;
    max-width: 1000px;
}
.social-icons a{
    display:inline-flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background-color: transparent;
    border: 2px solid var(--main-color);
    border-radius: 50%; 
    color: var(--main-color);
    font-size: 2.5rem;
    margin: 3rem 1.5rem 3rem 0;
    transition: 300ms ease-in-out;
}
.social-icons a:hover{
    background-color: var(--main-color);
    color: var(--bg-color);
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
}
.btn{
    display:inline-flex;
    padding: 1rem 2.8rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: black;
    background-color: var(--main-color);
    box-shadow: 0 0 20px var(--main-color);
    border: 2px solid transparent;
    letter-spacing: 0.1rem;
    cursor: pointer;
    border-radius: 4rem;
    transition: 300ms ease-in-out;
}
.btn:hover{
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 0 25px var(--main-color);
}
.btn-group{
    display: flex;
    align-items: center;
    gap: 2rem;
}
.text-animation{
    font-size: 34px;
    font-weight: 600;
    min-width: 280px;
}
.text-animation span{
    position: relative;
}
.text-animation span::before{
    content: '';
    color: var(--main-color);
    animation: words 20s infinite;
}
.text-animation span::after{
    content: '';
    background-color: var(--bg-color);
    height: 100%;
    width: calc(100% +8px);
    position: absolute;
    right: -8px;
    border-left: 3px solid var(--bg-color);
    animation: cursor 0.6s infinite,typing 20s steps(14) infinite;
    
}
@keyframes cursor{
    to{
        border-left: 2px solid var(--main-color);
    }
}
@keyframes words{
    0%, 20%{
        content: 'Python Developer';
    }
    20%, 40%{
        content: 'Mobile Application Developer';
    }
    40%, 60%{
        content: 'Software Engineer';
    }
    60%, 80%{
        content: 'Full Stack Developer';
    }
    80%, 100%{
        content: 'Front-end Developer';
    }
}
@keyframes typing{
    10%, 15%, 30%, 35%,
    50%, 55%, 70%, 75%,90%,95%
    {
        width: 0;
    }
    5%, 20%,25%, 40%,45%,60%, 65%,80%, 85%{
        width: calc(100% + 8px);
    }
}

/* home section end */
.experience{
    background-color: var(--second-bg-color);
    padding: 100px 15px;
}

/* education section start */
.heading{
    font-size: 8rem;
    text-align: center;
    margin:5rem 0 ;
}
.education{
    background-color: var(--second-bg-color);
    padding: 100px 15px;
}
.timeline-items{
   max-width: 1200px;
   margin: auto;
   display: flex;
   flex-wrap: wrap;
   position: relative;
}
.timeline-items::before{
    content: '';
    position: absolute;
    width: 5px;
    height: 100%;
    background-color: #F37199;
    left: calc(50% - 1px);
    animation: colorShift 6s infinite;

}
.timeline-item{
    margin-bottom: 40px;
    position: relative;
    width: 100%;
}
.timeline-item:last-child{
    margin-bottom: 0;
}
.timeline-item:nth-child(odd){
    padding-right: calc(50% + 30px);
}
.timeline-item:nth-child(even){
    padding-left: calc(50% + 30px);
}
.timeline-dot{
    position: absolute;
    top: 10px;
    left: calc(50% - 8px);
    width: 21px;
    height: 21px;
    background-color: #F37199;
    border-radius: 50%;
    box-shadow: 0 0 20px #F37199;
    animation: colorShift 6s infinite;
}
.timeline-date{
    font-size: 20px;
    font-weight: 800;
    color:#fff;
    margin: 6px 0 15px;
}
.timeline-content{
    padding: 30px 50px;
    background-color: var(--second-bg-color);
    border-radius: 4rem;
    box-shadow: 0 0 10px #F37199;
    border: 3px solid #F37199;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    animation: colorShift 6s infinite;
}
.timeline-content:hover{
    transform: scale(1.05);
    box-shadow: 0 0 30px #F37199;
}
.timeline-content h3{
    font-size: 20px;
    font-weight: 300;
    color: var(--text-color);
    margin: 0 0 10px;
}
.timeline-content h2{
    font-size: 20px;
    font-weight: 800;
    color: var(--text-color);
    margin: 0 0 10px;
}
.timeline-content p{
    font-size: 16px;
    font-weight: 300;
    color: var(--text-color);
    line-height: 22px;
}
::-webkit-scrollbar-thumb{
    background-color: var(--main-color);
    border-radius: 4rem;
}
::-webkit-scrollbar-track{
    background-color: var(--second-bg-color);
    width: 50px;
}
@keyframes colorShift {
    0% {
        background-color: var(--second-bg-color);
        box-shadow: 0 0 10px #F37199;
        border-color: #F37199;
    }
    33% {
        background-color: var(--second-bg-color);
        box-shadow: 0 0 10px #6C5CE7;
        border-color: #6C5CE7;
    }
    66% {
        background-color: var(--second-bg-color);
        box-shadow: 0 0 10px #00B894;
        border-color: #00B894;
    }
    100% {
        background-color:var(--second-bg-color);
        box-shadow: 0 0 10px var(--main-color);
        border-color: var(--main-color);
    }
}

/* education section end */
/* SKİLSS START*/
.skills {
    background-color: var(--second-bg-color);
    padding: 100px 15px;
}

.skills-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.skill-item {
    width: 150px;
    height: 150px;
    background-color: var(--bg-color);
    border: 3px solid var(--main-color);
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease-in-out;
    box-shadow: 0 0 10px var(--main-color);
    cursor: default;
    animation: colorShift 6s infinite;
}

.skill-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--main-color);
}

.skill-item i {
    font-size: 50px;
    color: var(--main-color);
    margin-bottom: 10px;
    animation: colorShift 6s infinite;
}

.skill-item p {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 500;
}

/*SKİLSS END*/
/*project start*/
.projects {
  background-color: var(--second-bg-color);
  padding: 100px 15px;
}

.project-box {
  max-width: 800px;
  max-height: 900px;
  margin: 40px auto;
  background-color: var(--bg-color);
  border: 3px solid #F37199;
  box-shadow: 0 0 10px #F37199;
  border-radius: 2rem;
  padding: 30px;
  transition: 0.3s ease-in-out;
  animation: colorShift 6s infinite;
}

.project-box:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px #F37199;
}

.project-box h2 {
  color: var(--text-color);
  font-size: 2rem;
  margin-bottom: 10px;
  text-align: center;
}

.project-box p {
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
}

/* Swiper styles */
.swiper {
  width: 100%;
  height: 400px;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit:contain;
  border-radius: 1rem;
}

/* Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
  color: #F37199;
}

/* Pagination Dots */
.swiper-pagination-bullet {
  background: #F37199;
  opacity: 0.6;
}
.swiper-pagination-bullet-active {
  opacity: 1;
}


/*project end*/

/* contact start*/
.contact {
    background-color: var(--second-bg-color);
    padding: 100px 15px;
}

.contact-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.contact-form {
    flex: 1 1 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: 2rem;
    animation: borderShadowShift 6s infinite;
    border: 3px solid var(--main-color);
    box-shadow: 0 0 10px var(--main-color);
    
}

.contact-form .input-group {
    display: flex;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 1rem;
    border: none;
    background-color: var(--second-bg-color);
    color: var(--text-color);
    font-size: 16px;
    outline: none;
}

.contact-form .btn {
    width: fit-content;
    align-self: flex-start;
}

.contact-info {
    flex: 1 1 300px;
    color: var(--text-color);
    font-size: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.contact-info p i {
    color: var(--main-color);
    margin-right: 10px;
}

.contact-info .social-icons {
    margin-top: 10px;
    display: flex;
    gap: 15px;
}

/*contact end*/
/* Genel Mobil Düzenleme */
@media (max-width: 1100px) {
  .header {
    padding: 1rem 5vw;
  }
  .home {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .home-img {
    order: -1;
    width: 80%;
    margin: 0 auto;
  }
  .project-box {
    padding: 1rem;
  }
  .project-box h2 {
    font-size: 1.6rem;
    text-align: center;
  }
  .project-box p {
    font-size: 1rem;
    text-align: justify;
  }
  .home-text h3{
    font-size: 2.5rem;
  }
}

/* 768px ve altı için */
@media (max-width: 768px) {
  #menu-icon {
    display: block;
  }
  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    padding-top: 6rem;
    gap: 2rem;
    transition: right 0.3s;
    box-shadow: -4px 0 12px var(--shadow);
    z-index: 999;
  }
  .navbar.active {
    right: 0;
  }
  .heading, h1 {
    font-size: 2rem !important;
    text-align: center;
  }
  h2 {
    font-size: 1.6rem !important;
  }
  p {
    font-size: 1rem !important;
  }
  .swiper {
    width: 100%;
    height: auto;
  }
  .swiper-slide img,
  .swiper-slide video {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .contact-container {
    flex-direction: column;
    gap: 2rem;
  }
  .contact-form,
  .contact-info {
    width: 100%;
  }
  .input-group {
    flex-direction: column;
    gap: 1rem;
  }
  .input-group input,
  textarea {
    width: 100%;
  }
   .text-animation span{
        font-size: 24px;
        display: block;
        margin-bottom: 2.5rem;
    }
    
   .text-animation span::after{
       content: '';
         background-color: var(--bg-color);
         height: 100%;
            width: calc(100% + 8px);
            position: absolute;
            right: -8px;
            border-left: 3px solid var(--bg-color);
            animation: cursor 0.6s infinite, typing 20s steps(14) infinite;
    }
}

/* 600px ve altı için */
@media (max-width: 600px) {
    menu-icon {
    display: block;
    cursor:pointer;
    }
    .navbar{
    position:absolute;
    top: 100%;
    right: 0;
    width: 50%;
    padding: 1 rem 3%;
    background-color: #000  ;
    backdrop-filter: blur(10px);
    border-left: 2px solid var(--main-color);
    border-bottom: 2px solid var(--main-color);
    display: none;
    }
    .navbar a {
        display: block;
        margin: 3rem 0;
        font-size: 2rem;
        color:#fff;
    }
    .navbar.active{
        display: block;
    }
  section {
    padding: 2rem 5vw;
  }
  .project-box {
    padding: 0.5rem;
  }
  
.btn-group {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.btn-group .btn {
  flex: 1 1 0;
  min-width: 100px;
  max-width: 160px;
  font-size: 1rem;
  padding: 0.6rem 0;
  text-align: center;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
  .swiper-pagination {
    bottom: 5px;
  }
  .home-img img {
    width: 140px;
    height: auto;
    margin: 0 auto;
    display: block;
  }
  .home-text {
    width: 100%;
    padding: 0;
  }
  .social-icons {
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .project-box {
    width: 100%;
    max-width: 500px;
    margin: 1rem auto;
    box-sizing: border-box;
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    }

    .project-box img {
    width: 100%;
    max-width: 450px;
    height: 300px;           /* Sabit yükseklik */
    object-fit: contain;       /* Resmi kırpar, kutuya sığdırır */
    border-radius: 8px;
    display: block;
    margin-bottom: 1rem;
    }
    .contact-container {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    }
  
}

/* 480px ve altı için */
@media (max-width: 480px) {
    .header a{
       font-size: 2.2rem;
    }
    .home{
        gap: 5rem;
        width: 100%;
        margin: 0;
    }
    .home-text h1{
        font-size: 5rem;

    }
    .home-text h3{
    font-size: 3rem !important;
    }
    
    .text-animation span{
        font-size: 20px;
        display: block;
        margin-bottom: 2.5rem;
    }
    
   .text-animation span::after{
       content: '';
         background-color: var(--bg-color);
         height: 100%;
            width: calc(100% + 8px);
            position: absolute;
            right: -8px;
            border-left: 3px solid var(--bg-color);
            animation: cursor 0.6s infinite, typing 20s steps(14) infinite;
    }
    .home-text {
        width: 100vw;
        max-width: 100vw;
        padding: 0;
        margin: 0;
    }
    .home-text p {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
        word-break: break-word;
        
    }

    
    .home-text .social-icons, .btn-group {
        margin: 0 auto;
    }
    .home-text .social-icons a {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.5rem;
    }
    .home-text .btn-group .btn {
        font-size: 1.5rem;
    }
    .education{
        width: 100%;

    }
    .education h2{
        font-size: 6rem;
    }
    h2.heading {
        font-size: 4.5rem;
    }
    .timeline-items::before{
        left: 7px;
    }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 37px;
        
    }
    .timeline-item:nth-child(odd) {
        padding-right: 0;
        text-align: center;
    }
    .timeline-dot{
        left: 0;
    }
    .project-box {
    width: 100%;
    max-width: 400px;
    margin: 1rem auto;
    box-sizing: border-box;
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    }

    .project-box img {
    width: 100%;
    max-width: 350px;
    height: 200px;           /* Sabit yükseklik */
    object-fit: contain;       /* Resmi kırpar, kutuya sığdırır */
    border-radius: 8px;
    display: block;
    margin-bottom: 1rem;
    }
    .contact-container {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

    .contact-form,
    .contact-info {
        width: 100%;
        max-width: 350px;
        min-width: 0;
        height: auto;
        padding: 0.7rem;
        box-sizing: border-box;
    }

    .input-group {
        flex-direction: column;
        gap: 0.7rem;
    }

    .input-group input,
    textarea {
        width: 100%;
        font-size: 1.5rem;
        padding: 0.5rem;
        box-sizing: border-box;
    }
    .contact-info i,
    .contact-info span,
    .contact-info a{
        font-size: 1.5rem;
    }
    
  
  .hoome-img img{
    width: 50vw;
  }

}