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

:root {
  --text: #F0F0F2;
  --muted: #A0A0AB;
  --border: rgba(255, 255, 255, 0.08);
  --surface: #16161D;
  --accent: #6366F1;
  --accent-2: #AC94FA;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: 
    radial-gradient(1200px 600px at 20% 10%, rgba(99, 102, 241, 0.15), transparent 55%),
    radial-gradient(900px 500px at 80% 30%, rgba(172, 148, 250, 0.12), transparent 60%),
    linear-gradient(180deg, #0B0B10 0%, #12121A 40%, #0F0F14 100%);
  line-height: 1.6;
}

/* ---------------- NAVBAR ---------------- */
.top-bar nav {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  background: rgba(15, 15, 20, 0.75);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}

.top-bar nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.top-bar nav ul li a {
  text-decoration: none;
  padding: 10px 20px;
  color: inherit;
  transition: 0.3s;
}

.top-bar nav ul li a:hover {
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* ---------------- HERO ---------------- */
.hero-content { 
  display: flex;
  height: 400px;
  max-height: 400px;
  justify-content: center;
}

.hero-left-text {
  display: grid;
  margin: 10px;
  max-width: 1000px;
}

#hello-topbar, #name-topbar {
  font-size: clamp(80px, 5vw, 50px);
  text-decoration: underline;
  font-weight: 900;
  letter-spacing: 0.25ch;
  margin: 70px;
  text-shadow: 0 0 25px rgba(99, 102, 241, 0.4);
}

.hero-left-text #name-topbar {
  margin: 60px 90px 0 200px;
}

/* ---------------- MAIN LAYOUT ---------------- */
.content-wrapper {
  max-width: 1400px;
  margin: 40px auto;
  padding-inline: 20px;
  display: grid;
  grid-template-rows: repeat(auto-fit, minmax(300px, 1fr));
  gap: 100px;
}

/* ---------------- ABOUT ---------------- */
#about {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}

.about-text-content {
  font-size: clamp(1rem, 2vw + 0.5rem, 1.4rem);
  text-align: justify;
  hyphens: auto;
}

/* ---------------- SKILLS ---------------- */
.skills-layout{
  display: block;
  width: 100%;
  place-items: center;
  height: 681.8px;
  
  
}

.skills{
    display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
 
  

}
.skills ul{
  list-style: none;
  font-size: 1.2rem;
  color: white;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 55px;
}
.skills ul li{
width: auto;
   padding: 0 20px;
   width: 300px;
  height: 100px;
   background: #111;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease ;
}

.skills ul li::before{
  content: "";
  position: absolute;
  top: 0%;
  left: 0%;
 width: 300px;
  height: 500px;
  background: linear-gradient(
    0deg, 
    transparent, 
    transparent 0px, 
    rgba(0,255,255,0.3)
  );
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
}
.skills ul li:hover{
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0,255,255,0.5);
}
.skills ul li:hover::before {
  opacity: 1;
 transform: rotate(180deg);

}

.skills-content h1{
    color: aliceblue;
  font-size: 3rem;
  position: relative;
  z-index: 2;
  margin: 2px 0 40px 0;

}
.skills-content{
 text-align: center;
 
 
}

/* ---------------- PROJECTS ---------------- */


#projects { 
  display: block; 
  width: 100%;
 
}

.projects-grid {
  display: grid;
  
  max-width: 1240px; 
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  justify-content: center; 
  place-items: center; 
  padding: 40px;
}
.project-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px;
  min-height: 450px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03); 
  border-radius: 20px;
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.project-card:hover {
  transform: translateY(-15px) scale(1.02);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}
.project-card:hover{
  border: solid 4px rgba(253, 33, 9, 0.818);
  
}
.project-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.project-card h3 { font-size: 1.8rem; margin: 15px 10px; color: #FFFFFF; }
.project-card p { font-size: 1.1rem; color: var(--muted); }

/* ---------------- CONTACT & SOCIAL ---------------- */
#contact { padding: 40px 20px; }

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
  box-shadow: 0px 0px 15px 9px rgba(253, 35, 2, 0.492);
  transition: all 0.3s ease;
  display: grid;
  gap: 20px;
  border-radius: 10px;
    
}

.contact-form:hover {
  box-shadow: 0px 0px 25px 15px rgba(253, 35, 2, 0.692);
  

  
}

.contact-form form { display: grid; gap: 30px; }

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}








/*--------------Floating Label-------------------*/


.input-group {
  position: relative;
  margin-top: 20px;
  width: 100%;
  max-width: 400px;



}

.input-group label{
  position: absolute;
  top: -10px;
  left: 15px;
  background-color: black;
  color: white;
  padding: 0 5px;
  font-size: 13px;
  font-size: 1em;
  pointer-events: none;

}



.input-group input,textarea{
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 3px solid rgb(83, 113, 35);
  background: transparent;

  color: white;
  border-radius: 5px;
  outline: none;
  transition: border-color 0.3s;



}

.input-group input:focus ,textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}
.submit-btn{
  position: relative;
  padding: 10px;
  font-size: 16px;
  color: #fff;
  background-color: var(--accent);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  top: 40px;
  transition: background-color 0.3s;
  
  
}

.social-contacts ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 60px 0;
  list-style: none;
}

.social-contacts a {
  position: relative;
  z-index: 1;
  font-size: 1.88rem;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  display: inline-block;
  transition: 0.4s ease-in-out;
}

/* Social Media Hover adn Animation */
.social-contacts a:hover {
  font-size: 2.4rem;
  color: #E4405F;
  animation: bounce 0.5s ease;
}

.social-contacts a::after {
  content: "";
  position: absolute; 
  top: 0; left: 0; right: 0; bottom: 0;
  border: solid 2px currentColor; /* Renk a:hover'dan gelir */
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
}

.social-contacts a:hover::after {
  opacity: 1;
  animation: rondje 0.8s ease-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes rondje {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ---------------- RESPONSIVE (MEDIA QUERIES) ---------------- */
@media (max-width: 768px) {
  #about { grid-template-columns: 1fr; text-align: center; }
  .top-bar nav { height: auto; padding: 12px 0; }
  .top-bar nav ul { flex-wrap: wrap; justify-content: center; }
  .hero-content { height: auto; padding: 20px 0; }
  #hello-topbar, #name-topbar { font-size: clamp(36px, 6vw, 64px); text-align: center; margin: 12px 0; }
  .projects-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}