@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&family=Ubuntu:wght@300;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&family=Roboto:wght@500&family=Ubuntu:wght@300;500;700&display=swap');

body {
    background-color: #0B1220;
}

:root {
    --navbar-height: 5rem;
}

html {
    scroll-padding-top: var(--navbar-height);
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
    scroll-behavior: smooth;
}

#navbar {
    line-height: var(--navbar-height);
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;
    border-bottom: .5px solid #1B253A;
    border-width: 80%;
    margin-bottom: 1rem;
}

section[id] {
    scroll-margin-top: var(--navbar-height);
}

#navbar ul {
    list-style: none;
}

#navbar ul li {
    margin: 0px 1rem;
}

#navbar ul li a {
    text-decoration: none;
    padding: 0.5rem 0.9rem;

}

.right {
    display: none;
}

.checkBtn {
    display: none;
}

#check {
    display: none;
}

.nav-col a:hover {
    border-radius: .4rem;
    color: #1f1f38;
    background-color: #fff;
}

.left-nav a {
    text-decoration: none;
    color: #fff;
}


/* Home Section */
.home-left,
.home-right {
    width: 30%;
    padding: 7rem;
}

.home-right {
    padding: 0;
}

.home-left h6,
h4 {
    color: rgb(216, 117, 173);
    margin: 1rem 0;
    margin-left: 3px;
    font-size: 5rem;
}

.home-left h1 {
    font-size: 4rem;
}

.home-right {
    position: relative;
}

.home-right img {
    position: absolute;
    width:170%;
    left: -300px;
    top: -50px;
    background-size: cover;
    border-radius: 84%;
    height: 150%;
    display: none;
}
    


.circle {
    width: 17rem;
    height: 17rem;
    border-radius: 50%;
    padding: .5rem;
    position: relative;
}

/* About Section */
.about-left,
.about-right {
    width: 60%;
}

.about-right {
    padding-right: 4rem;
}

.aboout-left {
    position: relative;
}

.about-left img {
    width: 100%;
    height: 400px;;
    border-radius: 1rem;
}

.about-content p {
    margin-bottom: 2rem;
}


/* Skills */
#skills {
    margin-top: 3rem;
}

.skills-left {
    width: 50%;
}

.skills-left img {
    width: 85%;
}

.skills-right {
    width: 50%;
}

.skills-container {
    width: 100%;
}
.java {
    width: 90%;
    height: .5rem;
    background-color: #e54c21;
    margin: 1rem 0;
    border-radius: 12px;
}

.html {
    width: 90%;
    height: .5rem;
    background-color:  #00a0e4;
    margin: 1rem 0;
    border-radius: 12px;
}

.css {
    width: 80%;
    height: .5rem;
    background-color:yellow;
    margin: 1rem 0;
    border-radius: 12px;
}

.js {
    width: 65%;
    height: .5rem;
    background-color:red;
    margin: 1rem 0;
    border-radius: 12px;
}

.python {
    width: 50%;
    height: .5rem;
    background-color: #7952b3;
    margin: 1rem 0;
    border-radius: 12px;
}

.mysql {
    width: 30%;
    height: .5rem;
    background-color: #61dafb;
    margin: 1rem 0;
    border-radius: 12px;
}

.learning {
    width: 100%;
    height: .5rem;
    background-color: #61dbfb;
    margin: 1rem 0;
    border-radius: 12px;
}

.bar {
    margin: 2rem 0;
}

.bar-content {
    position: absolute;
    bottom: 10px;
}

.left {
    left: 0;
}

.right-skills {
    right: 0;
}




.projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;         
    max-width: 1200px;   
    margin: 0 auto;      
}

.projects-item {
    flex: 1 1 22%;       
    max-width: 22%;
    min-width: 240px;    
    margin: 0;
    box-sizing: border-box;

}

.projects-item h1 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.projects-item p {
    line-height: 20px;
    font-size: .9rem;
}



/* Contact me Section */
.form {
    display: flex;
    width: 80%;
    padding: 0 2rem;
    margin: auto;
    justify-content: center;
    align-items: center;
}

.form-div input,
textarea {
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: .5rem;
    width: 100%;
    margin: 0.5rem 0rem;
    font-size: .9rem;
    background: transparent;
    margin: 0.5rem 0rem;
    padding: 0.5rem 1rem;
    color: rgb(255, 255, 255);
    resize: none;
}




/* Utility Classes */
.poppins {
    font-family: 'Poppins', sans-serif;
}

.roboto {
    font-family: 'Roboto', sans-serif;
}

.flex {
    display: flex;
}

.s-between {
    justify-content: space-between;
}

.s-around {
    justify-content: space-around;
}

.s-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.f-col {
    flex-direction: column;
}


.p-relative {
    position: relative;
}

.t-white {
    color: #fff;
}

.bg-color {
    background-color: #0B1220;
}

.t-center {
    text-align: center;
}

.my-2 {
    margin: 2rem 0;
}

.f-2 {
    font-size: 2.5rem;
}

.m-b-1 {
    margin-bottom: 1rem;
}

.w-50 {
    width: 50%;
}

.w-80 {
    width: 80%;
}

.h-50 {
    height: 50vh;
}

.mx-1 {
    margin: 0 1rem;
}

.m-top {
    margin-top: 1rem;
}

.m-auto {
    margin: auto;
}

.btn {
    margin-left: 0 .5rem;
    font-size: 1rem;
    color: #df77ad;
    cursor: pointer;
    padding: 0.75rem 1.2rem;
    border: 1px solid #2c2c6c;
    border-radius: 0.4rem;
    background: transparent;
    font-family: 'Ubuntu', sans-serif;
}

.buttons a,
#hireme {
    text-decoration: none;
}

.btn:hover {
    color: #1f1f38;
    border-color: #fff;
    background-color: #fff;
}
.btn-project {
    margin-left: 0 .5rem;
    font-size: 1rem;
    color: #fff;
    cursor: pointer;
    padding: 0.75rem 1.2rem;
    border: 1px solid #fff;
    border-radius: 0.4rem;
    background: transparent;
    font-family: 'Ubuntu', sans-serif;
}


.btn-project:hover {
    color: #1f1f38;
    border-color: #fff;
    background-color: #fff;
}

.live {
    color: #fff;
    background-color: #2c2c6c;
}

.about-title {
    font-size: 3rem;
    margin: 3rem 0 2rem 0;
    text-align: center;
    color: #fff;
    letter-spacing: 2px;
}

.about-name {
    font-size: 2.2rem;
    font-weight: 400;  
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.about-centered {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.25rem;
    padding: 2rem 1rem;
    background: #0B1220;
    border-radius: 1rem;
}

#skills h1 {
    font-size: 2.5rem;
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
}

.skills-container .bar {
    position: relative;
    background: #2c2c6c;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    height: 2.2rem;
    overflow: hidden;
}
.skills-container .bar-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 1rem;
    font-size: 1rem;
}
.skills-container .left {
    left: 0;
}
.skills-container .right-skills {
    right: 0;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;   
    gap: 1rem;
    margin: 2rem auto;    
    max-width: 900px;      
}

.skill-item {
    background: #2c2c6c;
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 1.5rem;
    font-size: 1.1rem;
    margin: 0.3rem;
    box-shadow: 0 2px 8px #0002;
    transition: background 0.3s, color 0.3s;
}

.skill-item:hover {
    background: #da7fa8;
    color: #1f1f38;
}


.about-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 0 auto;
    max-width: 1100px;
    padding: 2rem 1rem;
}

.about-container {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    gap: 3rem;
    margin: 0 auto;
    max-width: 1100px;
    padding: 2rem 1rem;
}

.about-image {
    display: flex;
    justify-content: flex-start; 
    flex: 1;
    margin-left: 0;              
}

.about-image img {
    max-width: 400px;
    border-radius: 1rem;
    display: none;
}


.contact-container {
    margin: 2rem auto;
    flex-wrap: wrap;
    gap: 2rem;
}
.contact-card {
    background: rgba(44,44,108,0.85);
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    min-width: 220px;
    align-items: center;
    box-shadow: 0 2px 12px #0002;
    transition: transform 0.2s, box-shadow 0.2s;
}
.contact-card:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 6px 24px #da7fa880;
}
.contact-icon {
    font-size: 2.2rem;
    color: #da7fa8;
    margin-bottom: 0.7rem;
}
.contact-label, .contact-link {
    color: #fff;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    text-decoration: none;
    transition: color 0.2s;
}
.contact-link:hover {
    color: #da7fa8;
    text-decoration: underline;
}

.projects-item {
    overflow: hidden;
    width: 20rem;
    margin: 1rem;
    background: #2c2c6c;
    border-radius: 1.5rem;
    padding: 2rem 1rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s; 
}

.projects-item:hover {
    transform: translateY(-6px) scale(1.04);    
    box-shadow: 0 6px 24px #da7fa880;            
}

.skill-item {
    background: #2c2c6c;
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 1.5rem;
    font-size: 1.1rem;
    margin: 0.3rem;
    box-shadow: 0 2px 8px #0002;
    transition: background 0.3s, color 0.3s, transform 0.2s; 
}

.skill-item:hover {
    background: #da7fa8;
    color: #1f1f38;
    transform: scale(1.08); 
}

.home-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#home {
    min-height: calc(100vh - var(--navbar-height));
    align-items: center;
}


@import url('https://fonts.googleapis.com/css?family=Roboto:700');

body {
  font-family:'Roboto';
}
p {
  text-shadow: 0 0 7px rgba(255,255,255,.3), 0 0 3px rgba(255,255,255,.3);
  color: #fff;
}

#home .container {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;  
  align-items: center;
}

#home .container p {
  margin: 0;
  font-size: clamp(1.4rem, 4vw, 5rem);
}

#home .animation {
  height: 3.81rem;
  overflow: hidden;
}

#home .animation .anim-wrapper {
  animation: text-animation 8s infinite;
}

#home .container > p, #home .animation {
  display: inline;
}
#home .animation .anim-wrapper > div {
  height: 3.81rem;
  line-height: 3.81rem;
  padding: 0.25rem 0.75rem;
  font-size: 3rem;
}

#home .first { background-color: #20a7d8; }
#home .second { background-color: #CD921E; }
#home .third { background-color: #c10528; }
#home .fourth { background-color: #6C63FF; }

@keyframes text-animation {
  0%   { transform: translateY(0); }
  12%  { transform: translateY(0); }
  25%  { transform: translateY(-3.81rem); }
  37%  { transform: translateY(-3.81rem); }
  50%  { transform: translateY(-7.62rem); }
  62%  { transform: translateY(-7.62rem); }
  75%  { transform: translateY(-11.43rem); }
  87%  { transform: translateY(-11.43rem); }
  100% { transform: translateY(0); }
}

.home-buttons {
  flex-basis: 100%;       /* butonları yeni satıra alır */
  display: flex;
  flex-direction: row; 
  gap: 12px;
  margin-top: 12px;
    justify-content: center;
    align-items: center;
}


#home .container .hero-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.projects-slider {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.projects-viewport {
    overflow: hidden;
    width: 100%;
}

.projects-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 0.5rem;
}

.projects-track::-webkit-scrollbar {
    height: 8px;
}
.projects-track::-webkit-scrollbar-thumb {
    background: #2c2c6c;
    border-radius: 8px;
}

.projects-slide {
    flex: 0 0 320px;
    max-width: 320px;
    scroll-snap-align: start;
}

.slider-btn {
    background: transparent;
    border: 1px solid #2c2c6c;
    color: #df77ad;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

.projects-slide p {
    display: -webkit-box;
    -webkit-line-clamp: 4; /* 4 satır göster */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.about-centered,
.about-container,
.skills-list,
.projects-slider {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 7rem !important;
    padding-right: 7rem !important;
}