/* ---------------------------
   Global Ayarlar
----------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  color: #ededed;
  background-color: #0a192f;
  overflow-x: hidden;
}

/* ---------------------------
   Header / Navbar
----------------------------*/
.logo {
  font-size: 30px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  opacity: 0;
  animation: slideRight 1s ease forwards;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  z-index: 100;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar a {
  font-size: 18px;
  text-decoration: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  padding: 8px 15px;
  border-radius: 5px;
  transition: 0.3s ease;
}

.navbar a:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .navbar ul {
    flex-direction: column;
    background: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 60px;
    right: 10%;
    padding: 20px;
    border-radius: 8px;
  }
}

/* ---------------------------
   Home Section
----------------------------*/
.home {
  position: relative;
  width: 100%;
  height: 100vh;
  background:
    linear-gradient(to bottom, rgba(10, 25, 47, 0) 40%, rgba(10, 25, 47, 1) 100%),
    url(images/Wallpaper.jpg);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 70px 10% 0;
  padding-bottom: 100px;
}

.home-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 30px;
  border-radius: 12px;
  background: linear-gradient(
    to bottom,
    rgba(10, 25, 47, 0.2),
    rgba(10, 25, 47, 0.8)
  );
  backdrop-filter: blur(4px);
  color: #ededed;
  animation: fadeInUp 1.5s ease;
}


.home-content h2 {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}

.home-content .highlight {
  color: #66fcf1;
}

.home-content h3 {
  font-size: clamp(22px, 3vw, 32px);
  color: #bebebe;
  font-weight: 600;
  margin-bottom: 25px;
}

.home-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background: #66fcf1;
  color: #0a192f;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: 0.3s ease;
}

.btn:hover {
  background: #45e0d5;
  transform: translateY(-2px);
}

/* ---------------------------
   Sosyal Link Kartları
----------------------------*/
.card {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.card a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 22px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transition: 0.3s ease;
}

.card a:hover {
  transform: scale(1.1);
}

.card .social-link1:hover { background-color: #1a1e22; }
.card .social-link2:hover { background-color: #0a66c2; }
.card .social-link3:hover { background-color: #297dd1; }

/* ---------------------------
   About Section
----------------------------*/

.about {
  background-color: #0e1b2c;
  color: #dcdcdc;
  text-align: center;
  padding: 100px 10%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
}

.about-content {
  max-width: 750px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  padding: 40px 30px;
  animation: fadeIn 1.5s ease-in-out;
}

.about h1 {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.section-divider {
  width: 70px;
  height: 3px;
  background: #66fcf1;
  border: none;
  margin: 15px auto 40px auto;
}

.about p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #dcdcdc;
  font-weight: 300;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}


/* ---------------------------
   Project Section
----------------------------*/
.projects {
  background: linear-gradient(to bottom, #0a192f 0%, #0e1b2c 100%);
  color: #ededed;
  text-align: center;
  padding: 100px 10%;
}

.projects-content h1 {
  font-size: 46px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.project-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border-left: 4px solid #66fcf1;
  border-radius: 10px;
  padding: 35px 30px;
  text-align: left;
  transition: all 0.35s ease;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
  font-size: 18px;
  color: #bebebe;
  margin-top: 10px;
  margin-bottom: 25px;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(102, 252, 241, 0.3);
}

.project-card h3 {
  color: #66fcf1;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
}

.project-card p {
  color: #dcdcdc;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-stack span {
  background: rgba(102, 252, 241, 0.1);
  border: 1px solid #66fcf1;
  color: #66fcf1;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: 0.2s ease;
}

.tech-stack span:hover {
  background: #66fcf1;
  color: #0a192f;
}

.more-projects {
  margin-top: 60px;
}

.more-projects a {
  color: #66fcf1;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.more-projects a:hover {
  color: #45e0d5;
}



/* ---------------------------
   Skills (About İçinde)
----------------------------*/
.skills-inline {
  margin-top: 60px;
}

.skills-inline h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #66fcf1;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.skills-grid .skill {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #dcdcdc;
  font-size: 20px;
  transition: 0.3s ease;
}

.skills-grid .skill i {
  font-size: 40px;
  margin-bottom: 10px;
}

.skills-grid .skill:hover {
  transform: scale(1.1);
  color: #66fcf1;
}



/* ---------------------------
   Assistant
----------------------------*/
.assistant-container {
  position: fixed;
  bottom: 85px;
  right: 25px;
  width: 300px;
  height: 360px;
  background: #0e1b2c;
  border: 1px solid #66fcf1;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 999;
}

.assistant-header {
  background: #66fcf1;
  color: #0a192f;
  text-align: center;
  font-weight: 600;
  padding: 10px;
  font-size: 16px;
}

.assistant-body {
  flex: 1;
  padding: 12px 14px;
  line-height: 1.6;
  overflow-y: auto;
  color: #ededed;
  font-size: 14px;
}

.assistant-msg {
  margin: 6px 0;
  line-height: 1.5;
}

.assistant-msg.user {
  text-align: right;
  color: #66fcf1;
}

.assistant-msg.bot {
  text-align: left;
  color: #dcdcdc;
}

#assistant-input {
  border: none;
  outline: none;
  padding: 10px;
  font-size: 14px;
  background: #112240;
  color: #ededed;
}

.assistant-toggle {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height: 55px;
  border-radius: 60%;
  background: #66fcf1;
  color: #0a192f;
  border: none;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(102, 252, 241, 0.5);
  transition: transform 0.2s ease;
}

.assistant-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 0 18px rgba(102, 252, 241, 0.6);
}


/* ---------------------------
   Footer
----------------------------*/
.vertical-footer {
  position: fixed;
  left: 10px;      
  top: 50%;            
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left top;
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
  font-family: 'Inter', sans-serif;
  user-select: none;
}

.vertical-footer:hover {
  color: #00ffff;
  transition: color 0.3s ease;
}


/* ---------------------------
   Animasyonlar
----------------------------*/
@keyframes slideRight {
  from { transform: translateX(-100px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ---------------------------
   Responsive Düzen
----------------------------*/
@media (max-width: 768px) {
  .about { padding: 60px 6%; }
  .about h1 { font-size: 36px; }
  .about p { font-size: 16px; }
  .skills-grid { gap: 25px; }
}


