/* ============================================
   Dosya: css/style.css
   Proje: Hype Invader
   Amaç: Global stiller, bileşenler ve animasyonlar için stil tanımları.
   Yazar: Eren A.
   ============================================ */

/* ============================================
   Aeonik Font Family
   ============================================ */

@font-face {
  font-family: 'Aeonik';
  src: url('../fonts/Aeonik-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aeonik';
  src: url('../fonts/Aeonik-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aeonik';
  src: url('../fonts/Aeonik-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aeonik';
  src: url('../fonts/Aeonik-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aeonik';
  src: url('../fonts/Aeonik-Black.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colors */
  --color-primary: #BFF747;
  --color-bg: #14120B;
  --color-light: #EDECEC;
  --color-surface: #1B1913;
  --color-surface-hover: #3A3833;
  --color-border: rgba(191, 247, 71, 0.1);
  
  /* Typography */
  --font-family: 'Aeonik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --spacing-2xl: 8rem;
  --spacing-3xl: 12rem;
  
  /* Layout */
  --container-max-width: 1400px;
  --container-padding: 3rem;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  line-height: 1.6;
  color: var(--color-light);
  background-color: var(--color-bg);
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-base);
}

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  background: none;
}

ul {
  list-style: none;
}

/* ============================================
   Utilities
   ============================================ */

.container {
  max-width: var(--container-max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--font-weight-extrabold);
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  color: var(--color-light);
}

/* ============================================
   Header
   ============================================ */

.header {
  /* TR: Sticky kaldırıldı; header akış dışına alındı ve üstte overlap eder. */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: transform var(--transition-base);
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
}
/* TR: Logo parantezleri kaldırıldı; sadece metin gösteriliyor */

.logo__text {
  font-size: 1.25rem;
  font-weight: var(--font-weight-extrabold);
  letter-spacing: 0;
  color: var(--color-light);
  transition: color var(--transition-base);
  text-transform: lowercase;
}

.logo:hover .logo__text {
  color: var(--color-primary);
}

/* Hamburger Menu */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10001;
  padding: 0;
}

.hamburger__line {
  width: 100%;
  height: 2px;
  background-color: var(--color-light);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.active .hamburger__line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
  background-color: var(--color-primary);
}

.hamburger.active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
  background-color: var(--color-primary);
}

/* ============================================
   Side Panel Navigation
   ============================================ */
.side-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  pointer-events: none;
}

.side-panel.active {
  pointer-events: auto;
}

.side-panel__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.side-panel.active .side-panel__overlay {
  opacity: 1;
}

.side-panel__content {
  position: absolute;
  top: 0;
  right: 0;
  width: 450px;
  max-width: 85vw;
  height: 100%;
  background-color: var(--color-surface);
  border-left: 2px solid var(--color-primary);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.side-panel.active .side-panel__content {
  transform: translateX(0);
}

.side-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.side-panel__logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.side-panel__close {
  position: relative;
  width: 40px;
  height: 40px;
  background: none;
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

.side-panel__close:hover {
  border-color: var(--color-primary);
  transform: rotate(90deg);
}

.side-panel__close-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background-color: var(--color-light);
  transition: background-color var(--transition-base);
}

.side-panel__close:hover .side-panel__close-line {
  background-color: var(--color-primary);
}

.side-panel__close-line:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.side-panel__close-line:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.side-panel__body {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.side-panel__section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.side-panel__title {
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

.side-panel__text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0;
}

.side-panel__contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.side-panel__contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-decoration: none;
  transition: all var(--transition-base);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.side-panel__contact-item:hover {
  border-bottom-color: var(--color-primary);
}

.side-panel__contact-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.side-panel__contact-value {
  font-size: 1rem;
  color: var(--color-light);
  transition: color var(--transition-base);
}

.side-panel__contact-item:hover .side-panel__contact-value {
  color: var(--color-primary);
}

.side-panel__social {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.side-panel__social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9375rem;
  color: var(--color-light);
  text-decoration: none;
  transition: all var(--transition-base);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.side-panel__social-link:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.side-panel__arrow {
  font-size: 1.25rem;
  transition: transform var(--transition-base);
}

.side-panel__social-link:hover .side-panel__arrow {
  transform: translate(5px, -5px);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  text-align: center;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn--primary {
  background-color: var(--color-light);
  color: var(--color-bg);
}

.btn--primary:hover {
  background-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(191, 247, 71, 0.3);
}

.btn--full {
  width: 100%;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  padding: var(--spacing-lg) 0;
  background-color: var(--color-surface);
  border-top: 1px solid rgba(191, 247, 71, 0.1);
}

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

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}
/* TR: Footer logo parantezleri kaldırıldı */

.footer__logo .logo__text {
  font-size: 1rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-light);
  text-transform: lowercase;
}

.footer__logo:hover .logo__text {
  color: var(--color-primary);
}

.footer__copyright {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 0.75rem;
}

.footer__legal-link {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer__legal-link:hover {
  color: var(--color-primary);
}

.footer__separator {
  color: var(--color-text-muted);
  opacity: 0.5;
}


@media (max-width: 768px) {
  /* Footer */
  .footer__content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer__legal {
    justify-content: center;
    font-size: 0.7rem;
  }
  
  /* Side Panel */
  .side-panel__content {
    width: 100%;
    max-width: 100vw;
  }
  
  .side-panel__header {
    padding: 1rem;
  }
  
  .side-panel__body {
    padding: 1rem;
    gap: 1.25rem;
  }
  
  .side-panel__section {
    gap: 0.5rem;
  }
  
  .side-panel__title {
    font-size: 0.75rem;
  }
  
  .side-panel__text {
    font-size: 0.8125rem;
  }
  
  /* Header */
  .header__content {
    padding: 1rem 0;
  }
  
  .logo__bracket {
    font-size: 1.25rem;
  }
  
  .logo__text {
    font-size: 1rem;
  }
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
  :root {
    --container-padding: 1.5rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 6rem;
  }
  
  .contact__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .services__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 2.5rem;
    --spacing-2xl: 3rem;
  }
  
  /* Hero */
  .hero {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .hero__title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }
  
  .hero__title-line {
    display: block;
  }
  
  .hero__subtitle {
    font-size: 0.875rem;
    max-width: 100%;
  }
  
  /* Services */
  .services {
    padding: 3rem 0;
  }
  
  .services__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .services__description {
    font-size: 0.875rem;
    max-width: 100%;
  }
  
  /* Contact */
  .contact {
    padding: 3rem 0;
  }
  
  .contact__title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .form-input,
  .form-textarea,
  .form-select {
    padding: 1rem 0;
    font-size: 0.9375rem;
  }
  
  .contact__submit {
    padding: 1.25rem 1.5rem;
    font-size: 0.875rem;
  }
  
  /* Contact Info */
  .contact__info {
    padding-top: 2rem;
  }
  
  .contact-info__item {
    font-size: 0.875rem;
  }
  
  /* Modal */
  .modal__container {
    width: 95%;
    max-width: 95vw;
    max-height: 85vh;
    padding: 1.5rem;
  }
  
  .modal__title {
    font-size: 1.5rem;
  }
  
  .modal__content {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 1rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 2.5rem;
  }
  
  /* Header */
  .header__content {
    padding: 0.75rem 0;
  }

  
  .logo__text {
    font-size: 0.875rem;
  }
  
  .hamburger {
    width: 26px;
    height: 20px;
    gap: 5px;
  }
  
  /* Hero */
  .hero__title {
    font-size: clamp(1.75rem, 10vw, 2.5rem);
  }
  
  .hero__subtitle {
    font-size: 0.8125rem;
  }
  
  /* Services */
  .services {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-label {
    font-size: 0.75rem;
  }
  
  .services__description {
    font-size: 0.8125rem;
  }
  
  .service-card {
    padding: 1.25rem;
  }
  
  .service-card__icon {
    font-size: 2rem;
  }
  
  .service-card__title {
    font-size: 1.125rem;
  }
  
  .service-card__description {
    font-size: 0.8125rem;
  }
  
  /* Contact */
  .contact {
    padding: 2rem 0;
  }
  
  .contact__title {
    font-size: 1.5rem;
    /* Mobilde başlığın ekran dışına taşmasını önlemek için
       tek satır zorlamasını kaldırıp doğal satır kırılmasını açıyoruz. */
    white-space: normal;
  }
  
  .form-input,
  .form-textarea,
  .form-select {
    padding: 0.875rem 0;
    font-size: 0.875rem;
  }
  
  .contact__submit {
    padding: 1rem 1.25rem;
    font-size: 0.8125rem;
    letter-spacing: 1px;
  }
  
  .form-checkbox {
    gap: 0.75rem;
  }
  
  .form-checkbox__label {
    font-size: 0.75rem;
  }
  
  /* Footer */
  .footer {
    padding: 1.5rem 0;
  }
  
  .footer__copyright {
    font-size: 0.75rem;
  }
  
  .footer__legal {
    font-size: 0.65rem;
    gap: 0.5rem;
  }
  
  /* Side Panel */
  .side-panel__header {
    padding: 0.875rem;
  }
  
  .side-panel__body {
    padding: 0.875rem;
    gap: 1rem;
  }
  
  .side-panel__title {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
  }
  
  .side-panel__text {
    font-size: 0.75rem;
    line-height: 1.4;
  }
  
  .side-panel__contact-label {
    font-size: 0.7rem;
  }
  
  .side-panel__contact-value {
    font-size: 0.875rem;
  }
  
  .side-panel__social-link {
    font-size: 0.875rem;
  }
  
  /* Modal */
  .modal__container {
    width: 100%;
    max-width: 100vw;
    max-height: 90vh;
    padding: 1rem;
  }
  
  .modal__title {
    font-size: 1.25rem;
  }
  
  .modal__content {
    font-size: 0.8125rem;
    line-height: 1.5;
  }
  
  .modal__close {
    width: 36px;
    height: 36px;
  }
}

/* ============================================
   Hero ve Premium Katmanlar
   Açıklama: Hero arka plan katmanları, partiküller, yüzen öğeler ve orb efektleri.
   ============================================ */

/* Hero Section - Redesigned */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg);
}

.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  /* TR: Uzay boşluğu hissi için koyu, derin bir radial-gradient arka plan */
  background: radial-gradient(
    circle at 50% 45%,
    #0b0b10 0%,
    #090910 55%,
    #06060a 80%,
    #040407 100%
  );
}

.hero__grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(191, 247, 71, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191, 247, 71, 0.03) 1px, transparent 1px);
  background-size: 100px 100px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(100px, 100px); }
}

/* Hero Particles */
.hero__particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero__particles::before,
.hero__particles::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: var(--color-primary);
  border-radius: 50%;
  opacity: 0.4;
  animation: particleFloat 15s infinite ease-in-out;
}

.hero__particles::before {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.hero__particles::after {
  top: 60%;
  right: 15%;
  animation-delay: 3s;
}

@keyframes particleFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }
  25% {
    transform: translate(50px, -80px) scale(1.2);
    opacity: 0.6;
  }
  50% {
    transform: translate(-30px, -150px) scale(0.8);
    opacity: 0.3;
  }
  75% {
    transform: translate(80px, -100px) scale(1.1);
    opacity: 0.5;
  }
}

/* TR: Partiküllere hafif “twinkle” (parlama titreşimi) efekti ekler */
@keyframes particleTwinkle {
  0%   { opacity: 0.2; }
  25%  { opacity: 0.35; }
  50%  { opacity: 0.6; }
  75%  { opacity: 0.35; }
  100% { opacity: 0.2; }
}

/* Yüzen Öğeler (Premium Stil) — Geometrik dekoratif şekiller */
.hero__floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-element {
  position: absolute;
  border: 1px solid rgba(191, 247, 71, 0.15);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero Blurry Dots (Primary) */
.hero__blurry-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* TR: Statik, büyük, gradient tabanlı iki orb */
.blurry-orb {
  position: absolute;
  width: clamp(420px, 40vw, 640px);
  height: clamp(420px, 40vw, 640px);
  border-radius: 50%;
  /* TR: Işığın daha uzağa yayılması için güçlü radial-gradient ve blur */
  background: radial-gradient(
    circle,
    rgba(191, 247, 71, 0.38) 0%,
    rgba(191, 247, 71, 0.22) 30%,
    rgba(191, 247, 71, 0.12) 55%,
    rgba(191, 247, 71, 0.06) 75%,
    rgba(191, 247, 71, 0.0) 100%
  );
  filter: blur(85px) saturate(120%);
  opacity: 0.55;
  mix-blend-mode: screen;
}

.blurry-orb--tl {
  top: 0;
  left: 0;
  /* TR: Merkezini köşeye hizalamak için yarım boy kadar dışarı taşı */
  transform: translate(-50%, -50%);
}

.blurry-orb--br {
  right: 0;
  bottom: 0;
  /* TR: Merkezini köşeye hizalamak için yarım boy kadar dışarı taşı */
  transform: translate(50%, 50%);
}

/* İmleç Işık Orb — Hero içinde mouse konumunu takip eden ışık efekti */
.hero__cursor-orb {
  position: absolute;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(
    circle,
    rgba(191, 247, 71, 0.22) 0%,
    rgba(191, 247, 71, 0.12) 40%,
    rgba(191, 247, 71, 0.06) 60%,
    rgba(191, 247, 71, 0.0) 70%
  );
  filter: blur(50px) saturate(130%);
  opacity: 0;
  transition: opacity 0.3s ease;
  mix-blend-mode: screen;
  will-change: transform;
}

.hero__cursor-orb.is-visible {
  opacity: 0.65;
}

/* Geometric Variants for Floating Elements */
.floating-element.geom-square {
  border-radius: 8px;
}

.floating-element.geom-pill {
  border-radius: 999px;
}

.floating-element.geom-diamond {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  background: rgba(191, 247, 71, 0.06);
}

.floating-element.geom-ring {
  border-width: 2px;
}

.floating-element.geom-triangle {
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  background: rgba(191, 247, 71, 0.06);
  border-radius: 0;
}

/* TR: Altıgen, sekizgen ve organik asteroid şekilleri ile çeşitlilik artırıldı */
.floating-element.geom-hex {
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
  background: rgba(191, 247, 71, 0.05);
}

.floating-element.geom-oct {
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
  background: rgba(191, 247, 71, 0.05);
}

.floating-element.geom-asteroid {
  /* TR: Organik, girintili çıkıntılı bir asteroid şekli */
  clip-path: polygon(50% 0%, 62% 12%, 80% 10%, 92% 25%, 100% 45%, 88% 60%, 95% 80%, 75% 88%, 60% 100%, 40% 95%, 25% 100%, 12% 85%, 10% 70%, 5% 50%, 15% 35%, 20% 20%, 35% 10%);
  background: rgba(191, 247, 71, 0.04);
  border-radius: 8%;
}

.floating-element--1 {
  width: 120px;
  height: 120px;
  top: 15%;
  left: 8%;
  animation: float1 20s infinite ease-in-out;
}

.floating-element--2 {
  width: 80px;
  height: 80px;
  top: 45%;
  right: 12%;
  animation: float2 18s infinite ease-in-out;
}

.floating-element--3 {
  width: 60px;
  height: 60px;
  bottom: 25%;
  left: 15%;
  animation: float3 22s infinite ease-in-out;
}

.floating-element--4 {
  width: 100px;
  height: 100px;
  top: 70%;
  right: 20%;
  animation: float4 19s infinite ease-in-out;
  border-radius: 20%;
}

.floating-element--5 {
  width: 50px;
  height: 50px;
  top: 30%;
  right: 35%;
  animation: float5 16s infinite ease-in-out;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -40px) rotate(90deg); }
  50% { transform: translate(-20px, -80px) rotate(180deg); }
  75% { transform: translate(40px, -50px) rotate(270deg); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-40px, 30px) rotate(120deg); }
  66% { transform: translate(20px, -60px) rotate(240deg); }
}

@keyframes float3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 40px) scale(1.3); }
}

@keyframes float4 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  25% { transform: translate(25px, 35px) rotate(45deg) scale(0.9); }
  50% { transform: translate(-35px, -25px) rotate(90deg) scale(1.1); }
  75% { transform: translate(30px, -40px) rotate(135deg) scale(0.95); }
}

@keyframes float5 {
  0%, 100% { transform: translate(0, 0); opacity: 0.15; }
  50% { transform: translate(60px, -70px); opacity: 0.3; }
}

/* TR: 404 için ekstra yüzen öğeler (6, 7, 8) — konum ve animasyon çeşitliliği */
.floating-element--6 {
  width: 90px;
  height: 90px;
  top: 22%;
  left: 65%;
  animation: float6 21s infinite ease-in-out;
}

.floating-element--7 {
  width: 70px;
  height: 70px;
  bottom: 18%;
  right: 28%;
  animation: float7 23s infinite ease-in-out;
}

.floating-element--8 {
  width: 110px;
  height: 110px;
  top: 12%;
  right: 6%;
  animation: float8 20s infinite ease-in-out;
}

@keyframes float6 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(35px, -40px) rotate(110deg); }
  66% { transform: translate(-25px, 30px) rotate(220deg); }
}

@keyframes float7 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-45px, 55px) scale(1.2); }
}

@keyframes float8 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  25% { transform: translate(-20px, 30px) rotate(45deg) scale(0.95); }
  50% { transform: translate(30px, -20px) rotate(90deg) scale(1.05); }
  75% { transform: translate(-15px, -35px) rotate(135deg) scale(1.0); }
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  text-align: left;
  padding: var(--spacing-2xl) 0;
}

.hero__label {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(237, 236, 236, 0.6);
  /* TR: Marquee alanının tam genişlikte olması için kapsayıcıya %100 genişlik veriyoruz */
  width: 100%;
}

/* ============================================
   Basit Marquee — Örnek koda uyumlu minimal stil
   ============================================ */
.marquee {
  overflow: hidden;
  display: flex;
  /* TR: Kenar fade efekti için maske genişliği değişkeni */
  --marquee-mask-edge: 6%;
  /* TR: Başlangıç ve bitişte yumuşak gölge/mask — önceki versiyonla uyumlu */
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0,0,0,0) 0,
    rgba(0,0,0,1) var(--marquee-mask-edge),
    rgba(0,0,0,1) calc(100% - var(--marquee-mask-edge)),
    rgba(0,0,0,0) 100%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0,0,0,0) 0,
    rgba(0,0,0,1) var(--marquee-mask-edge),
    rgba(0,0,0,1) calc(100% - var(--marquee-mask-edge)),
    rgba(0,0,0,0) 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.marquee h1 {
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(237, 236, 236, 0.6);
  /* TR: Font boyutu küçültüldü; responsive olarak ölçeklenir */
  font-size: clamp(0.80rem, 0.5vw, 0.25rem);
}


.hero__title {
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: var(--font-weight-extrabold);
  /* TR: Hero başlık satırları arasındaki dikey boşluğu azaltmak için line-height düşürüldü */
  line-height: 1.05;
  /* TR: Marquee başlıktan sonra görünürken başlığın konumu değişmesin diye
     önceki .hero__label alt boşluğunu telafi edecek üst boşluk ekliyoruz */
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  /* TR: Kelimeler arası boşluğu azaltmak için word-spacing eklendi */
  word-spacing: -0.03em;
  overflow: visible;
}

.hero__title-line {
  display: block;
  color: var(--color-light);
  position: relative;
  overflow: visible;
  /* TR: Kelimeler (satırlar) arası boşluğu azaltmak için padding düşürüldü */
  padding: 0.02em 0;
  /* TR: Hero başlık satırlarında kelime içi kırılmayı tamamen kapatıyoruz */
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
  max-width: 100%;
}

.hero__title-line--large {
  /* TR: Büyük kelimenin (ortadaki) her genişlikte tek satır kalması için
     boyutu daha kontrollü bir aralıkta tutuyoruz ve kelime kırılmasını kapatıyoruz */
  font-size: clamp(4rem, 12vw, 10rem);
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  color: transparent;
  -webkit-text-stroke: 2px var(--color-primary);
  position: relative;
  /* TR: Hover etkileşimi tamamen kaldırıldı; cursor ve transition yok. */
}

/* TR: Hover ile dolum efekti sağlayan ::before ve :hover kuralları kaldırıldı. */


/* Services Section - Redesigned */
.services {
  padding: var(--spacing-3xl) 0;
  background-color: var(--color-surface);
}

.services__header {
  margin-bottom: var(--spacing-xl);
}

.services__title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: var(--font-weight-extrabold);
  line-height: 1.1;
  color: var(--color-light);
  margin-top: var(--spacing-md);
}

.services__description {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 1200px;
  margin-top: var(--spacing-lg);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1px;
  background-color: var(--color-border);
}

.service-card {
  background-color: var(--color-bg);
  padding: var(--spacing-xl);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--color-primary);
  transition: height var(--transition-slow);
  z-index: 0;
}

.service-card:hover::before {
  height: 100%;
}

.service-card__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  height: 100%;
  transition: all var(--transition-base);
}

.service-card:hover .service-card__inner {
  color: var(--color-bg);
}

.service-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-card__number {
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  transition: color var(--transition-base);
}

.service-card:hover .service-card__number {
  color: var(--color-bg);
}

.service-card__icon {
  font-size: 2rem;
  color: var(--color-primary);
  transition: all var(--transition-base);
}

.service-card:hover .service-card__icon {
  color: var(--color-bg);
  transform: translate(5px, -5px);
}

.service-card__title {
  font-size: 2rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-light);
  transition: color var(--transition-base);
}

.service-card:hover .service-card__title {
  color: var(--color-bg);
}

.service-card__description {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(237, 236, 236, 0.7);
  transition: color var(--transition-base);
}

.service-card:hover .service-card__description {
  color: rgba(20, 18, 11, 0.8);
}

.service-card__hover-content {
  margin-top: auto;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-base);
}

.service-card:hover .service-card__hover-content {
  opacity: 1;
  transform: translateY(0);
}

.service-card__hover-text {
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-bg);
}

/* Contact Section - Redesigned */
.contact {
  padding: var(--spacing-3xl) 0;
  background-color: var(--color-bg);
}

.contact__wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2xl);
}

.contact__title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: var(--font-weight-extrabold);
  line-height: 1.1;
  color: var(--color-light);
  margin-top: var(--spacing-md);
  white-space: nowrap;
}

.contact__title-highlight {
  color: var(--color-primary);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--spacing-2xl);
}

/* Contact Form - Redesigned */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.form-group {
  position: relative;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 1.5rem 0;
  font-family: var(--font-family);
  font-size: 1.25rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-light);
  background-color: transparent;
  border: none;
  border-bottom: 2px solid var(--color-border);
  transition: all var(--transition-base);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(237, 236, 236, 0.4);
  font-weight: var(--font-weight-regular);
}

.form-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  color-scheme: dark;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23EDECEC' 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 0.25rem center;
  background-size: 20px;
  padding-right: 2.5rem;
}

.form-select:hover {
  border-bottom-color: var(--color-surface-hover);
}

.form-select option {
  background-color: var(--color-bg);
  color: var(--color-light);
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 0.75rem 1rem;
}

.form-select option[disabled] {
  color: rgba(237, 236, 236, 0.4);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-bottom-color: var(--color-primary);
}

.form-select:invalid {
  color: rgba(237, 236, 236, 0.6);
}

.form-select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================
   Enhanced Select (Custom Dropdown)
   ============================================ */
.select-enhanced {
  position: relative;
}

.select-toggle {
  width: 100%;
  padding: 1.5rem 0;
  font-family: var(--font-family);
  font-size: 1.25rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-light);
  background-color: transparent;
  border: none;
  border-bottom: 2px solid var(--color-border);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-base);
  outline: none;
}

.select-toggle::after {
  content: "";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23EDECEC' 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-size: 20px;
}

.select-toggle:hover {
  border-bottom-color: var(--color-surface-hover);
}

.select-toggle:focus {
  border-bottom-color: var(--color-primary);
}

.select-menu {
  position: absolute;
  left: 0;
  right: 0;
  margin-top: 0.5rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  /* Tüm seçenekler görünür olsun: scroll kaldırıldı */
  max-height: none;
  overflow: visible;
  z-index: 20;
  padding: 0.25rem 0;
}

.select-option {
  padding: 0.75rem 1rem;
  color: var(--color-light);
  font-size: 1rem;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.select-option[aria-disabled="true"] {
  color: rgba(237, 236, 236, 0.4);
  cursor: not-allowed;
}

.select-option:hover {
  background-color: var(--color-surface-hover);
}

.select-option[aria-selected="true"] {
  background-color: rgba(191, 247, 71, 0.12);
  color: var(--color-primary);
}

/* Responsive - Mobile paddings */
@media (max-width: 768px) {
  .select-toggle {
    padding: 1rem 0;
    font-size: 0.9375rem;
  }
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
  max-height: 300px;
}

/* Checkbox Styling */
.form-checkbox {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--spacing-md);
  position: relative;
}

.form-checkbox__input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.form-checkbox__checkmark {
  position: relative;
  min-width: 24px;
  height: 24px;
  border: 2px solid var(--color-border);
  background-color: transparent;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.form-checkbox__checkmark::after {
  content: '';
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid var(--color-bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-checkbox__input:checked ~ .form-checkbox__checkmark {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.form-checkbox__input:checked ~ .form-checkbox__checkmark::after {
  display: block;
}

.form-checkbox__text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(237, 236, 236, 0.7);
}

.form-checkbox__link {
  color: var(--color-primary);
  text-decoration: none;
  transition: opacity var(--transition-base);
}

.form-checkbox__link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.contact__submit {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem 2rem;
  background-color: var(--color-primary);
  color: var(--color-bg);
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--transition-base);
  margin-top: -3rem;
}

.contact__submit:hover {
  background-color: var(--color-light);
  transform: translateY(-4px);
}

.contact__submit-arrow {
  font-size: 1.5rem;
  transition: transform var(--transition-base);
}

.contact__submit:hover .contact__submit-arrow {
  transform: translateX(10px);
}

/* Contact Info - Redesigned */
.contact__info {
  display: flex;
  align-items: flex-start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
  width: 100%;
}

.contact-info__item {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--color-border);
}

.contact-info__item:last-child {
  border-bottom: none;
}

.contact-info__label {
  font-size: 0.75rem;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(237, 236, 236, 0.5);
}

.contact-info__link {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-light);
  transition: color var(--transition-base);
}

.contact-info__link:hover {
  color: var(--color-primary);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-light);
  padding: 0.5rem 0;
  transition: all var(--transition-base);
}

.social-link:hover {
  color: var(--color-primary);
  transform: translateX(10px);
}

.social-link__arrow {
  font-size: 1.5rem;
  opacity: 0;
  transition: all var(--transition-base);
}

.social-link:hover .social-link__arrow {
  opacity: 1;
}

/* Responsive Updates */
@media (max-width: 1024px) {
  .hero__title {
    font-size: clamp(3rem, 10vw, 8rem);
  }
  
  /* TR: 1024px ve altında büyük kelime boyutunu düşürerek tek satırda kalmasını garanti ediyoruz */
  .hero__title-line--large {
    font-size: clamp(3.5rem, 10vw, 8rem);
    white-space: nowrap;
  }
  
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
  
  .cursor {
    display: none;
  }
}

/* ============================================
   PREMIUM FEATURES - EXTRA POLISH
   ============================================ */

/* Custom Cursor */
.cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
  mix-blend-mode: difference;
}

.cursor__inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
  transition: all 0.15s ease;
}

.cursor.cursor--hover {
  width: 60px;
  height: 60px;
  background-color: rgba(191, 247, 71, 0.1);
  border-color: var(--color-primary);
}

.cursor.cursor--hover .cursor__inner {
  width: 0;
  height: 0;
}

.cursor.cursor--hero {
  width: 80px;
  height: 80px;
  background-color: rgba(191, 247, 71, 0.15);
  border-color: var(--color-primary);
  box-shadow: 0 0 30px rgba(191, 247, 71, 0.4);
}

.cursor.cursor--hero .cursor__inner {
  width: 0;
  height: 0;
}

body,
body * {
  cursor: none !important;
}

a, button, input, textarea, select, label, .service-card, .hero__title-line--large {
  cursor: none !important;
}

/* Modal açıkken body scroll'unu engelle */
body.modal-open {
  overflow: hidden !important;
}

/* Modal açıkken html scroll'unu da engelle (tarayıcı farkları için) */
html.modal-open {
  overflow: hidden !important;
}


/* Split Text Animation */
.split-text {
  display: inline-block;
  overflow: hidden;
}

.split-text .char {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  animation: charReveal 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes charReveal {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* TR: Hero başlık satırlarında büyük “İ” harfinin noktası kesilmesin diye
   split-text’in overflow: hidden kuralını hero için görünür olarak override ediyoruz */
.hero__title-line.split-text {
  overflow: visible;
}

/* Section Reveal Animation */
section {
  opacity: 0;
  transform: translateY(50px);
}

section.revealed {
  animation: sectionReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes sectionReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideOut {
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* Service Card Enhanced */
.service-card {
  transform-origin: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
}

/* Form Message Styling */
.form-message {
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  animation: slideIn 0.3s ease;
}

.form-message--success {
  background-color: rgba(191, 247, 71, 0.1);
  color: #BFF747;
  border: 1px solid rgba(191, 247, 71, 0.3);
}

.form-message--error {
  background-color: rgba(255, 100, 100, 0.1);
  color: #ff6464;
  border: 1px solid rgba(255, 100, 100, 0.3);
}

/* Hero Title Line Initial State */
.hero__title-line {
  opacity: 0;
  transform: translateY(100px);
}

.hero__title-line.animate {
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: translateY(0);
}

/* Service Card Dimmed State */
.service-card.dimmed {
  opacity: 0.5;
}

/* Text Selection Styling */
::selection {
  background-color: var(--color-primary);
  color: var(--color-bg);
}

::-moz-selection {
  background-color: var(--color-primary);
  color: var(--color-bg);
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background-color: var(--color-surface);
}

::-webkit-scrollbar-thumb {
  background-color: var(--color-primary);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-light);
}

/* Focus States for Accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

.form-input:focus-visible,
.form-textarea:focus-visible,
.form-select:focus-visible {
  outline: none;
}

/* Responsive Cursor */
@media (max-width: 1024px) {
  body {
    cursor: auto;
  }
  
  a, button, .service-card {
    cursor: pointer;
  }
}

/* ============================================
   Modal Pop-up
   ============================================ */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  animation: modalFadeIn 0.3s ease forwards;
}

.modal.closing {
  animation: modalFadeOut 0.5s ease forwards;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  opacity: 0;
}

.modal.active .modal__overlay {
  animation: overlayFadeIn 0.3s ease forwards;
}

.modal.closing .modal__overlay {
  animation: overlayFadeOut 0.5s ease forwards;
}

.modal__container {
  position: relative;
  width: 100%;
  max-width: 800px;
  max-height: 85vh;
  background-color: var(--color-bg);
  border: 2px solid var(--color-border);
  z-index: 1;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(50px) scale(0.95);
}

.modal.active .modal__container {
  animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.modal.closing .modal__container {
  animation: modalSlideOut 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm);
  border-bottom: 2px solid var(--color-border);
  background-color: rgba(0, 0, 0, 0.3);
}

.modal__title {
  font-size: 1.75rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal__close {
  position: relative;
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__close:hover {
  border-color: var(--color-primary);
  transform: rotate(90deg);
}

.modal__close-line {
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: var(--color-light);
  transition: background-color var(--transition-base);
}

.modal__close:hover .modal__close-line {
  background-color: var(--color-primary);
}

.modal__close-line:first-child {
  transform: rotate(45deg);
}

.modal__close-line:last-child {
  transform: rotate(-45deg);
}

.modal__content {
  padding: var(--spacing-xl);
  overflow-y: auto;
  flex: 1;
  color: rgba(237, 236, 236, 0.8);
  line-height: 1.8;
}

.modal__content h3 {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-light);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal__content h3:first-child {
  margin-top: 0;
}

.modal__content p {
  margin-bottom: var(--spacing-md);
  font-size: 1rem;
}

.modal__content ul,
.modal__content ol {
  margin-left: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.modal__content li {
  margin-bottom: var(--spacing-sm);
}

.modal__content strong {
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
}

/* Custom Scrollbar for Modal */
.modal__content::-webkit-scrollbar {
  width: 8px;
}

.modal__content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
}

.modal__content::-webkit-scrollbar-thumb {
  background: var(--color-border);
  transition: background var(--transition-base);
}

.modal__content::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Modal Animasyonları */
@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes overlayFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes overlayFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes modalSlideOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-80px) scale(0.9);
  }
}

/* Responsive Modal */
@media (max-width: 768px) {
  .modal__container {
    max-height: 90vh;
  }
  
  .modal__header {
    padding: var(--spacing-md) var(--spacing-lg);
  }
  
  .modal__title {
    font-size: 1.25rem;
  }
  
  .modal__content {
    padding: var(--spacing-lg);
  }
  
  .modal__close {
    width: 36px;
    height: 36px;
  }
}

/* TR: Contact başlığında desktop için kullanılan nowrap kuralı,
   mobilde metnin ekrana sığmamasına neden oluyor. Aşağıdaki
   override ile küçük ekranlarda satır kırılmasını açıyoruz. */
@media (max-width: 768px) {
  .contact__title {
    white-space: normal;
  }
  /* TR: Mobilde submit butonu negatif marj nedeniyle checkbox ile
     çakışıyordu. Aşağıda marjı sıfırlayarak butonu aşağı alıyoruz. */
  .contact__submit {
    margin-top: 0.75rem;
  }
  /* TR: Checkbox bloğunun alt boşluğunu artırıp elemanların
     ayrışmasını sağlıyoruz. */
  .form-checkbox {
    margin-bottom: 1.25rem;
  }
  /* TR: Hero başlığındaki büyük kelime (DENEYİMLER) mobilde
     satır kırıyordu. Tek satırda kalması için nowrap ve daha
     düşük font boyutu veriyoruz. */
  .hero__title-line--large {
    white-space: nowrap;
    font-size: clamp(2.25rem, 9.5vw, 4.25rem);
  }
}

@media (max-width: 480px) {
  .contact__title {
    /* TR: Çok dar ekranlarda fontu küçültüp satır kırılmasını açıyoruz */
    white-space: normal;
    font-size: 1.5rem;
  }
  /* TR: Küçük mobilde butonu biraz daha aşağı alıyoruz. */
  .contact__submit {
    margin-top: 1rem;
  }
  /* TR: Küçük mobilde checkbox bloğu için ekstra alt boşluk. */
  .form-checkbox {
    margin-bottom: 1.5rem;
  }
  /* TR: Küçük mobilde büyük hero kelimesi için daha küçük font,
     tek satırda kalması garanti edilir. */
  .hero__title-line--large {
    white-space: nowrap;
    font-size: clamp(1.75rem, 9vw, 3.25rem);
  }
}