/* === furkanikkan.com Sections CSS (Updated for Lang Switcher & Icons) === */

/* --- 1. Navigasyon (Header) --- */
.header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: var(--z-sticky);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: var(--space-4) 0;
  background: transparent;
}

.header.scrolled {
  padding: var(--space-3) 0;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--text-primary);
}

.logo-mark {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: transform 0.3s ease;
}

.logo:hover .logo-mark {
  transform: rotate(-10deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-list {
  display: flex;
  gap: var(--space-6);
}

.nav-link {
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: var(--text-sm);
}

.lang-btn {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  color: var(--color-primary);
}

.lang-divider {
  color: var(--border-hover);
  user-select: none;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px; height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 100%; height: 3px;
  background-color: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* --- 2. Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

.hero-content {
  z-index: 2;
}

.hero-greeting {
  font-size: var(--text-xl);
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.hero-title {
  font-size: var(--text-6xl);
  margin-bottom: var(--space-1);
  background: linear-gradient(to right, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.typewriter-container {
  min-height: 2.5rem;
  height: auto;
  margin-bottom: var(--space-6);
}

.hero-subtitle {
  font-size: var(--text-2xl);
  color: var(--text-secondary);
  font-weight: 400;
  margin: 0;
}

.cursor {
  display: inline-block;
  color: var(--color-primary);
  animation: blink 1s step-end infinite;
}

.hero-desc {
  font-size: var(--text-lg);
  max-width: 90%;
  margin-bottom: var(--space-8);
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-card {
  position: relative;
  width: 320px;
  height: 400px;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  transform: rotate(2deg);
  transition: transform 0.5s ease;
}

.profile-card:hover {
  transform: rotate(0deg) translateY(-10px);
}

.profile-image-container {
  width: 100%; height: 100%;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-placeholder {
  color: var(--text-muted);
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.badge-1 { top: 40px; left: -40px; animation-delay: 0s; }
.badge-2 { bottom: 60px; right: -30px; animation-delay: 1.5s; }

.bg-blobs {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bounce 2s infinite;
  z-index: 2;
}

/* --- 3. Section Alternate --- */
.section-alternate {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

/* --- 4. Hakkımda (About) --- */
.about-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.stat-card {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  background: var(--bg-card);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateX(10px);
  border-color: var(--color-primary-light);
}

.stat-icon {
  width: 56px; height: 56px;
  background: var(--color-primary-glow);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-number {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-heading);
  line-height: 1;
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
}

/* --- 5. Yetenekler (Skills) & İkonlar --- */
.skills-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-12);
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: var(--bg-secondary);
}

.filter-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--space-6);
}

.skill-category-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease;
}

.skill-category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-light);
}

.card-icon {
  font-size: 1.5rem;
}

.card-title {
  margin: 0;
  font-size: var(--text-lg);
}

.skill-list li {
  margin-bottom: var(--space-4);
}

.skill-list li:last-child {
  margin-bottom: 0;
}

.skill-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.skill-name i {
  font-size: 1.25rem;
  width: 20px;
  text-align: center;
}

.skill-bar {
  width: 100%;
  height: 6px;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-teal));
  border-radius: var(--radius-full);
}

.chip-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.btn-chip i {
  margin-right: 0.25rem;
  font-size: 1rem;
}

/* --- 6. Ürünler --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--space-6);
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.product-image {
  position: relative;
  height: 200px;
  background: var(--bg-secondary);
  overflow: hidden;
}

.product-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: var(--text-3xl);
  background: linear-gradient(135deg, var(--bg-secondary), var(--color-primary-glow));
}

.product-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
}

.product-desc {
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
  flex-grow: 1;
  color: var(--text-secondary);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.product-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: auto;
}

.product-card-actions .btn-ghost {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: var(--text-sm);
}

.product-detail-dialog {
  width: min(720px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: var(--shadow-lg);
}

.product-detail-dialog::backdrop {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
}

.product-detail-content {
  position: relative;
  padding: var(--space-8);
  overflow: auto;
}

.product-detail-content h3 {
  padding-right: var(--space-8);
  margin-bottom: var(--space-4);
  font-size: var(--text-3xl);
}

.product-detail-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: var(--text-2xl);
  cursor: pointer;
}

.product-detail-text {
  color: var(--text-secondary);
  line-height: 1.75;
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.products-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: var(--space-8);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-status {
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  padding: var(--space-3);
  border-radius: var(--radius-md);
}

.form-status.success {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.form-status.error {
  background: rgba(244, 63, 94, 0.12);
  color: #be123c;
}

/* --- 7. Projeler --- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: var(--space-8);
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.card-image {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
}

.card-image .project-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.project-card:hover .card-image .project-cover {
  transform: scale(1.04);
}

.image-placeholder {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: rgba(0,0,0,0.4);
}

.card-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-category {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-2);
}

.project-title {
  margin-bottom: var(--space-3);
  font-size: var(--text-xl);
}

.project-desc {
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.tag {
  font-size: var(--text-xs);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
}

.project-links {
  margin-top: auto;
}

.more-projects-card {
  background: var(--bg-secondary);
  border: 2px dashed var(--border-hover);
  text-align: center;
}

.more-projects-card:hover {
  border-color: var(--color-primary);
}

/* --- 8. İlgi Alanları --- */
.interests-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.interest-card {
  text-align: center;
}

.interest-icon {
  font-size: 3rem;
  margin-bottom: var(--space-4);
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.interest-card:hover .interest-icon {
  transform: scale(1.2) translateY(-10px);
}

/* --- 9. İletişim --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.c-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

a.c-card:hover {
  transform: translateX(10px);
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

.c-icon {
  width: 48px; height: 48px;
  background: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: background 0.3s ease;
}

a.c-card:hover .c-icon {
  background: var(--color-primary-glow);
}

.c-text h4 {
  margin-bottom: 2px;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.c-text p {
  margin: 0;
  font-weight: 500;
  color: var(--text-primary);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.c-text {
  min-width: 0;
}

.contact-form-container {
  background: var(--bg-card);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

/* --- 10. Footer --- */
.footer {
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: var(--space-12) 0 var(--space-6);
}

.footer-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--space-6);
  text-align: left;
}

.footer .logo-mark {
  background: white;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: var(--text-sm);
}
