/* --- TEMEL AYARLAR --- */

:root {
  --bg-color: #121212;
  --surface-color: #1E1E1E;
  --primary-text: #E0E0E0;
  --secondary-text: #A0A0A0;
  --accent-color: ##ce6b61;
  /* Canlı Cyan */
  --shadow-color: rgba(0, 245, 212, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: rgb(36, 36, 36);
  color: var(--primary-text);
  line-height: 1.7;
}

/* --- SITE LOGO (SABIT SOL ÜST) --- */
.site-logo {
  position: absolute;
  /* veya hiç position verme */
  top: 30px;
  left: 40px;
  z-index: 9999;
}

.site-logo img {
  height: 100px;
  width: auto;
  display: block;
}

/* --- SITE LOGO RIGHT (SABIT SAG ÜST) --- */
.site-logo-right {
  position: absolute;
  /* veya hiç position verme */
  top: 25px;
  right: 10px;
  z-index: 9999;
}

.site-logo-right img {
  height: 100px;
  width: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 0;
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
}

h2 span {
  color: #ce6b61;
}

/* --- GİRİŞ (HERO) BÖLÜMÜ --- */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 20px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -2;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 18, 18, 0.25);
  /* Video üzerine karartma efekti */
  z-index: -1;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  /* Responsive yazı boyutu */
  font-weight: 700;
  margin-bottom: 15px;
  animation: fadeInDown 1s ease-out;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  color: var(--secondary-text);
  margin-bottom: 30px;
  animation: fadeInUp 1s ease-out 0.3s;
  animation-fill-mode: backwards;
}

.hero-button {
  background: #ce6b61;
  color: #ffffff;
  margin-top: 250px;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  animation: fadeInUp 1s ease-out 0.6s;
  animation-fill-mode: backwards;
}

.hero-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px #ce6b61;
}

/* --- HİZMETLER BÖLÜMÜ --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 50px;
}

/* Linklerde alt çizgiyi kaldır */
.services-grid a {
  text-decoration: none;
  color: inherit;
}

.service-card {
  background: var(--surface-color);
  color: #ce6b61;
  padding: 40px 30px;
  border-radius: 12px;
  border-top: 4px solid transparent;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  opacity: 0;
  /* Animasyon için başlangıç durumu */
  transform: translateY(30px);
}

.service-card .icon img {
  width: 100px;
  /* istediğin boyut */
  height: auto;
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card .icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--secondary-text);
  font-size: 0.95rem;
}

/* --- ANIMASYONLAR --- */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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


/* --- DRONE GORSEL OZEL STIL --- */
.icon .drone-icon {
  filter: brightness(0) saturate(100%) invert(57%) sepia(33%) saturate(582%) hue-rotate(324deg) brightness(93%) contrast(93%);
  transform: translateY(6px);
  display: inline-block;
}

/* --- TELEFON (max-width: 700px) --- */
@media (max-width: 700px) {
  .site-logo {
    top: 18px;
    left: 16px;
  }

  .site-logo img {
    height: 64px;
  }

  .site-logo-right {
    position: absolute;
    top: 25px;
    right: 15px;
    z-index: 1000;
  }

  .site-logo-right img {
    height: 60px;
  }

  .hero {
    padding: 0 12px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-button {
    margin-top: 120px;
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .container {
    width: 94%;
    padding: 40px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 24px;
  }

  .service-card {
    padding: 24px 20px;
  }

  h2 {
    font-size: 1.8rem;
    margin-bottom: 14px;
  }
}

/* --- TABLET DİKEY (701-1366px, portrait) --- */
@media (min-width: 701px) and (max-width: 1366px) and (orientation: portrait) {
  html {
    overflow-x: hidden;
  }

  .site-logo img {
    height: 120px;
  }

  .site-logo-right {
    position: absolute;
    top: 35px;
    right: 24px;
    z-index: 1000;
  }

  .site-logo-right img {
    height: 100px;
  }

  .container {
    width: 90vw;
    max-width: none;
    padding: 56px 0;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 32px;
  }

  .service-card {
    max-width: 520px;
    margin: 0 auto;
  }

  .hero-button {
    margin-top: 160px;
  }

  h2 {
    font-size: 2.1rem;
  }
}

/* --- TABLET YATAY (701-1366px, landscape) --- */
@media (min-width: 701px) and (max-width: 1366px) and (orientation: landscape) {
  html {
    overflow-x: hidden;
  }

  .site-logo img {
    height: 90px;
  }

  .site-logo-right {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 1000;
  }

  .site-logo-right img {
    height: 120px;
  }

  .container {
    width: 92%;
    padding: 48px 0;
  }

  .services-grid {
    gap: 1.5rem;
  }

  .hero-button {
    margin-top: 180px;
  }
}

html,
body {
  transform: none !important;
  filter: none !important;
  perspective: none !important;
}