:root {
  --bg-color: #0a0e17;
  --card-bg: #111827;
  --accent-color: #38bdf8;
  --malatya-gold: #fbbf24;
  --text-color: #f3f4f6;
  --text-muted: #9ca3af;
  --gradient-primary: linear-gradient(135deg, #38bdf8 0%, #fbbf24 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem 10%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition:
    padding 0.4s ease,
    background-color 0.4s ease,
    box-shadow 0.4s ease;
  will-change: padding, background-color, box-shadow;
}

nav.scrolled {
  padding: 1.1rem 10%;
  background-color: #0a0e17;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.logo {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo span {
  color: var(--malatya-gold);
  margin-left: 3px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-color);
  opacity: 0.75;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition:
    opacity 0.3s,
    color 0.3s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--accent-color);
}

header {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 10%;
  padding-top: 110px;
  gap: 5rem;
}

.hero-content {
  flex: 1.3;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  background-color: rgba(251, 191, 36, 0.08);
  color: var(--malatya-gold);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.8rem;
  border: 1px solid rgba(251, 191, 36, 0.15);
  letter-spacing: 0.5px;
}

.hero-content h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-content h1 span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.btn {
  padding: 0.9rem 2.2rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-btn {
  background: linear-gradient(135deg, var(--accent-color), #0284c7);
  color: #0a0e17;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.15);
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.25);
}

.secondary-btn {
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-color);
}

.secondary-btn:hover {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-image-area {
  flex: 0.9;
  display: flex;
  justify-content: center;
}

.profile-img-container {
  position: relative;
  width: 330px;
  height: 330px;
  border-radius: 30px;
  padding: 5px;
  background: var(--gradient-primary);
  box-shadow: 0 15px 35px rgba(56, 189, 248, 0.1);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
  background-color: var(--card-bg);
}

.floating-badge {
  position: absolute;
  bottom: -15px;
  left: -20px;
  background-color: #1f2937;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.8rem 1.4rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.floating-badge i {
  color: var(--accent-color);
}
.floating-badge span {
  font-size: 0.9rem;
  font-weight: 600;
}

section {
  padding: 8rem 10%;
}

.section-title {
  font-family: "Space Grotesk", sans-serif;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4.5rem;
  letter-spacing: -0.5px;
}

.section-title span {
  color: var(--malatya-gold);
}

.timeline {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--malatya-gold) 0%,
    var(--accent-color) 100%
  );
  top: 0;
  bottom: 0;
  left: 50%;
}

.timeline-container {
  padding: 15px 45px;
  position: relative;
  width: 50%;
}

.timeline-container::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  right: -7px;
  background-color: var(--bg-color);
  border: 3px solid var(--accent-color);
  top: 28px;
  border-radius: 50%;
  z-index: 1;
}

.left {
  left: 0;
}
.right {
  left: 50%;
}
.right::after {
  left: -7px;
  border-color: var(--malatya-gold);
}

.timeline-content {
  padding: 2.2rem;
  background-color: var(--card-bg);
  border-radius: 20px;
  border-top: 4px solid var(--accent-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.right .timeline-content {
  border-top: 4px solid var(--malatya-gold);
}

.timeline-content h2 {
  font-size: 1.3rem;
  margin-top: 0.6rem;
  font-weight: 700;
}
.timeline-content h3 {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.timeline-content p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
}
.timeline-content .date {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 0.9rem;
}
.right .timeline-content .date {
  color: var(--malatya-gold);
}

.vision-section {
  background-color: #0b1321;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2.5rem;
}

.vision-card {
  background-color: var(--card-bg);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.01);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.vision-card:hover {
  transform: translateY(-6px);
  border-color: rgba(251, 191, 36, 0.2);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.vision-icon {
  font-size: 2.2rem;
  color: var(--malatya-gold);
  margin-bottom: 1.5rem;
}

.vision-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
}
.vision-card p {
  color: #94a3b8;
  line-height: 1.65;
  font-size: 0.95rem;
}

.skills-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-top: -3.5rem;
  margin-bottom: 4.5rem;
  font-size: 1.05rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.skill-card {
  background-color: var(--card-bg);
  padding: 2.5rem 1.5rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.01);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.2);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

.skill-icon {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
}
.java {
  color: #f89820;
}
.spring {
  color: #6db33f;
}
.jsf {
  color: #38bdf8;
}
.jasper {
  color: #41abc7;
}
.sql {
  color: #00758f;
}
.git {
  color: #f1502f;
}
.github {
  color: #ffffff;
}
.web {
  color: #e34c26;
}

.skill-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
}
.skill-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

footer {
  background-color: #05070c;
  padding: 6rem 10% 2.5rem 10%;
  text-align: center;
}

footer p {
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
  color: #94a3b8;
  line-height: 1.7;
}

.social-icons a {
  font-size: 3.2rem;
  color: var(--text-color);
  transition:
    color 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-block;
}

.social-icons a:hover {
  color: #e1306c; /* Instagram Marka Rengi */
  transform: scale(1.2) rotate(8deg);
}

.footer-bottom {
  margin-top: 5.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  gap: 5px;
  padding: 0;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
    backdrop-filter: blur(5px);
  }

  .hamburger {
    display: flex;
  }

  header {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 130px;
    gap: 3rem;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-btns {
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
  }
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(15px);
    flex-direction: column;
    gap: 0;
    padding: 1.5rem 0;
    display: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  }

  .nav-links a {
    display: block;
    padding: 1rem 2rem;
    width: 100%;
  }

  .timeline::after {
    left: 31px;
  }
  .timeline-container {
    width: 100%;
    padding-left: 65px;
    padding-right: 20px;
  }
  .timeline-container::after {
    left: 24px;
  }
  .left,
  .right {
    left: 0;
  }
  .profile-img-container {
    width: 290px;
    height: 290px;
  }
}
/* Koyu Tema İletişim Formu Ana Kutusu */
.contact-form-container {
  max-width: 650px;
  margin: 40px auto;
  padding: 35px;
  background: #111827; /* Koyu modern arka plan */
  border: 1px solid #1f2937;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Başlık ve Açıklama (Beyaz/Gri) */
.contact-form-container h2 {
  color: #ffffff;
  font-size: 26px;
  margin-bottom: 8px;
  font-weight: 600;
  text-align: center;
}

.contact-form-container p {
  color: #9ca3af;
  font-size: 14px;
  margin-bottom: 25px;
  text-align: center;
}

/* Form Düzeni */
.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

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

.form-group-row .form-group {
  flex: 1;
}

/* Etiketler (Label) */
.pro-contact-form label {
  font-size: 14px;
  font-weight: 500;
  color: #e5e7eb;
  margin-bottom: 8px;
  text-align: left;
}

/* Input ve Kutuların Tasarımı */
.pro-contact-form input[type="text"],
.pro-contact-form input[type="email"],
.pro-contact-form select,
.pro-contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #374151;
  border-radius: 8px;
  font-size: 15px;
  color: #ffffff;
  background-color: #1f2937; /* Kutuların içi koyu gri */
  box-sizing: border-box;
  transition: all 0.3s ease;
}

/* Seçim kutusu oku */
.pro-contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

.pro-contact-form textarea {
  resize: vertical;
}

/* Kutulara Tıklanınca Mavi Parlama */
.pro-contact-form input:focus,
.pro-contact-form select:focus,
.pro-contact-form textarea:focus {
  outline: none;
  border-color: #3b82f6;
  background-color: #1f2937;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

/* Profesyonel Gönder Butonu */
.pro-contact-form .submit-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background-color: #2563eb;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.1s ease;
  margin-top: 10px;
}

.pro-contact-form .submit-btn:hover {
  background-color: #1d4ed8;
}

.pro-contact-form .submit-btn:active {
  transform: scale(0.98);
}

/* Mobil Uyumluluk */
@media (max-width: 600px) {
  .form-group-row {
    flex-direction: column;
    gap: 0;
  }
  .contact-form-container {
    padding: 20px;
    margin: 15px;
  }
}
