/* Genel stil */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #020617;
  --bg-alt: #02081c;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.12);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: #1f2937;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.8);
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #0b1120, #020617 55%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.94), transparent);
  border-bottom: 1px solid rgba(15, 23, 42, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  background: radial-gradient(circle at 20% 0, #38bdf8, #0ea5e9 40%, #0f172a);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.8);
}

.brand-name {
  font-size: 1.1rem;
}

.brand-role {
  font-size: 0.8rem;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.nav a {
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  color: var(--muted);
  transition: 0.18s ease;
}

.nav a:hover {
  background: rgba(15, 118, 255, 0.27);
  color: #f9fafb;
}

/* Hero */
.hero {
  padding: 40px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: flex-start;
}

.hero-side {
  display: flex;
  flex-direction: row;
  align-items: stretch;    /* İKİ KUTU AYNI YÜKSEKLİKTE OLSUN */
  gap: 16px;               /* Foto ile kart arasındaki boşluk */
}


.hero-photo {
  width: 260px;
  height: 260px;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  background: #020617;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: var(--muted);
  margin-bottom: 10px;
}

.hero-title {
  font-size: 2.1rem;
  line-height: 1.15;
  margin-bottom: 10px;
}

.hero-accent {
  color: var(--accent);
  font-weight: 600;
}


.hero-subtitle {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.18s ease;
  background: transparent;
  color: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
  color: #f9fafb;
  box-shadow: 0 12px 30px rgba(8, 47, 73, 0.9);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(8, 47, 73, 0.95);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.45);
  color: var(--muted);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 1);
  color: #e5e7eb;
}

.btn-full {
  width: 100%;
}

.hero-note {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Hero card */
.hero-card {
  background: radial-gradient(circle at top, #02081c, #020617);
  border-radius: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-soft);

  display: flex;               /* kartı flex container yap */
  flex-direction: column;      /* başlık + liste dikey dizilsin */
  justify-content: center;     /* hepsini dikeyde ORTALA */
}

.hero-card h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.hero-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.86rem;
}

.hero-card li strong {
  color: #e5e7eb;
}

/* Sections */
.section {
  padding: 32px 0;
}

.section-alt {
  background: radial-gradient(circle at top, #02081c, #020617);
}

.section-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section-header h2 {
  font-size: 1.35rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
}

.section-content.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Banner / Görsel Şerit */
.section-banner {
  padding-top: 8px;        /* Yukarı fazla boşluk olmasın */
  padding-bottom: 16px;
}

.banner-box {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.9);
}

.banner-box img {
  width: 100%;
  height: 260px;           /* Uzunlamasına görünüm */
  object-fit: cover;
  display: block;
}

.banner-overlay {
  position: absolute;
  inset: auto 16px 14px 16px;   /* sadece altta dursun */
  padding: 8px 12px;
  border-radius: 14px;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.9),
    rgba(15, 23, 42, 0.6)
  );
  backdrop-filter: blur(10px);
  font-size: 0.86rem;
  color: #e5e7eb;
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.skill-card {
  background: rgba(15, 23, 42, 0.98);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
}

.skill-card h3 {
  font-size: 0.95rem;
  margin: 0;
}

.skill-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.skill-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--border);
  flex-shrink: 0;
}


.skill-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted);
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.timeline-item {
  padding: 12px 14px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.95);
  font-size: 0.9rem;
  color: var(--muted);
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 0.85rem;
}

.timeline-role {
  font-weight: 600;
  color: #e5e7eb;
}

.timeline-company {
  opacity: 0.9;
}

.timeline-date {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Yeni İş Deneyimi Tasarımı */
.experience-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 18px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px; /* kartlar arası boşluk çok daha küçük */
}


.exp-card {
  border-radius: 14px;              /* daha az yuvarlak */
  padding: 8px 10px;                /* yükseklik küçülsün */
  font-size: 0.84rem;
  color: var(--muted);

  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.75),
    rgba(15, 23, 42, 0.35)
  );
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}



.exp-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}


/* Firma + title aynı satırda */
.exp-head > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;           /* firma ile title arası boşluk */
}

.exp-head h3 {
  margin: 0;
}

.exp-role {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.exp-year {
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--muted);
  white-space: nowrap;
}

.exp-role {
  font-size: 0.8rem;
  color: var(--muted);
}

.exp-card h3 {
  font-size: 0.9rem;
  color: #e5e7eb;
}

.exp-tech {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* her satırda 2 etiket */
  gap: 4px 6px; /* dikey 4, yatay 6 px */
  margin-top: 1px;
}

.exp-tech span {
  font-size: 0.76rem;
  padding: 1px 1px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.65);
  text-align: center;   /* hepsi ortalansın */
  white-space: nowrap;  /* SAP EWM tek satır kalsın, alt satıra inmesin */
}


/* İletişim sosyal ikonları */
.contact-social {
  margin-top: 10px;
  display: flex;
  gap: 12px;
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.8);
}

/* Renkler */
.social-linkedin {
  color: #3b82f6;
  border-color: rgba(59, 130, 246, 0.7);
}


.social-github {
  border-color: rgba(156, 163, 175, 0.8);
}

/* GitHub img boyutu */
.social-icon-img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  display: block;
}

.social-item:hover .social-icon {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.9);
}

.social-item:hover .social-label {
  color: #e5e7eb;
}


/* Sağ taraftaki görsel barlar */
.exp-stats {
  border-radius: 16px;              /* daha az radius */
  padding: 12px 14px;
  font-size: 0.86rem;
  color: var(--muted);

  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.8),
    rgba(15, 23, 42, 0.4)
  );
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}



.exp-stats h3 {
  font-size: 0.95rem;
  color: #e5e7eb;
  margin-bottom: 4px;
}

.exp-stats-note {
  font-size: 0.8rem;
  margin-bottom: 10px;
  color: var(--muted);
}

.exp-stat-row {
  margin-bottom: 8px;
}

.exp-label {
  font-size: 0.8rem;
  display: block;
  margin-bottom: 3px;
}

.exp-bar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  overflow: hidden;
}

.exp-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0ea5e9, #38bdf8);
}

/* Responsive */
@media (max-width: 960px) {
  .experience-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .experience-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Cards for services */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.info-card {
  background: rgba(15, 23, 42, 0.97);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}

.info-card h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: #e5e7eb;
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  background: rgba(15, 23, 42, 0.98);
  border-radius: var(--radius-lg);
  padding: 14px 14px 12px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
}

.product-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.product-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted);
  margin-top: 4px;
}

.product-price {
  font-weight: 600;
  margin-top: 4px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
  gap: 18px;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.92rem;
}

.contact-note {
  margin-top: 8px;
  font-size: 0.86rem;
  color: var(--muted);
}

.contact-form {
  background: rgba(15, 23, 42, 0.98);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.86rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-form input,
.contact-form textarea {
  background: #020617;
  border-radius: 9px;
  border: 1px solid var(--border);
  padding: 7px 9px;
  color: var(--text);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid var(--accent);
  border-color: var(--accent);
}

/* Form validation mesajları */
.invalid-feedback,
.empty-feedback {
  display: none;
  font-size: 0.78rem;
  color: #fca5a5; /* kırmızımsı uyarı */
}

/* Placeholder boşken invalid ise boş mesajı göster */
.was-validated :placeholder-shown:invalid ~ .empty-feedback {
  display: block;
}

/* Kullanıcı bir şey yazdı ama invalid ise invalid mesajı göster */
.was-validated :not(:placeholder-shown):invalid ~ .invalid-feedback {
  display: block;
}

/* Hatalı input kenarlığı */
.is-invalid,
.was-validated :invalid {
  border-color: #f97373;
}

/* Sonuç mesajı renkleri */
.result-message {
  margin-top: 6px;
}

.result-message.success {
  color: #4ade80; /* yeşil */
}

.result-message.error {
  color: #fca5a5; /* kırmızı */
}




.form-info {
  font-size: 0.76rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 18px 0 22px;
  background: #020617;
}

.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-note {
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 960px) {
    .hero-side {
    flex-direction: column;
    align-items: stretch;
  }
.banner-box img {
    height: 200px;
  }

  .banner-overlay {
    inset: auto 10px 10px 10px;
    font-size: 0.8rem;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .section-content.two-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .skills-grid,
  .cards-grid,
  .products-grid {
    grid-template-columns: minmax(0, 1fr);
  }


/* İletişim sosyal ikonları */
.contact-social {
  margin-top: 10px;
  display: flex;
  gap: 12px;
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.8);
}
}
