* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo img {
  height: 50px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 20px;
  color: white;
}

.nav-links a {
  text-decoration: none;
  color: #0a2c54;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffcc00;
  /* Sarımsı vurgu */
}

.hamburger {
  display: none;
  /* Mobil için ileride açılabilir */
}

/* HERO */
.hero {
  height: 100vh;
  background: url('https://images.unsplash.com/photo-1585794015261-56c4af14efba?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  position: relative;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

.hero-text h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 1.2em;
}

/* PROJE KARTLARI */
.projects {
  padding: 60px 4%;
  text-align: center;
  background-color: #ffffff;
}

.projects h2 {
  font-size: 2em;
  margin-bottom: 30px;
}

.project-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px;
}

.card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3 {
  margin: 15px;
  font-size: 1.2em;
}

.card p {
  margin: 0 15px 20px;
  font-size: 0.95em;
  color: #555;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 60px;
    right: 0;
    padding: 15px;
    width: 200px;
  }

  .hamburger {
    display: block;
  }

  .project-cards {
    grid-template-columns: 1fr;
  }
}

/* FOOTER */
footer {
  background-color: #222;
  color: #ddd;
  padding: 40px 5% 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h3,
.footer-section h4 {
  color: white;
  margin-bottom: 15px;
}

.footer-section p {
  font-size: 0.95em;
  line-height: 1.5;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #ffcc00;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 0.85em;
  border-top: 1px solid #444;
  margin-top: 20px;
  color: #aaa;
}

/* Footer Responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
  }
}

/* CONTACT CARDS */
.contact-cards {
  display: flex;
  justify-content: space-around;
  padding: 60px 5%;
  background-color: #f9f9f9;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-cards .card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.contact-cards .card:hover {
  transform: translateY(-5px);
}

.contact-cards .icon {
  font-size: 2.5em;
  color: #4d7cfe;
  margin-bottom: 15px;
}

.contact-cards h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
}

.contact-cards p {
  font-size: 0.95em;
  color: #555;
  line-height: 1.5;
}

.contact-cards a {
  color: #4d7cfe;
  text-decoration: none;
}

.contact-cards a:hover {
  text-decoration: underline;
}

/* FEATURE ROWS - solda görsel, sağda metin */
.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 60px 5%;
  background-color: #f9f9f9;
}

/* Tek bir satır (row) */
.feature-row {
  display: flex;
  align-items: center;
  gap: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* Arka plan varyantları */
.feature-row.bg-light {
  background: #ffffff;
}

.feature-row.bg-contrast {
  background: #f2f6fb;
  /* açık farklı ton */
}

.feature-row.bg-dark {
  background: #0f1724;
  /* koyu arka plan */
  color: #e6eefc;
}

/* Görsel bölümü */
.feature-img {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
  height: 320px;
  overflow: hidden;
}

.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.feature-row:hover .feature-img img {
  transform: scale(1.03);
}

/* Metin bölümü */
.feature-text {
  flex: 1;
  padding: 30px;
}

.feature-text h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.feature-text p {
  color: inherit;
  margin-bottom: 18px;
  line-height: 1.6;
}

/* Link / düğme görünümü */
.btn-link {
  display: inline-block;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
}

.feature-row.bg-light .btn-link {
  color: #2b6cb0;
  border-color: rgba(43, 108, 176, 0.12);
}

.feature-row.bg-contrast .btn-link {
  color: #1f6fe0;
  border-color: rgba(31, 111, 224, 0.12);
}

.feature-row.bg-dark .btn-link {
  color: #eaf2ff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

/* Responsive: mobilde görsel üstte, metin altta */
@media (max-width: 900px) {
  .feature-row {
    flex-direction: column;
    text-align: left;
    height: auto;
  }

  .feature-img {
    width: 100%;
    max-width: 100%;
    height: 220px;
  }

  .feature-text {
    padding: 20px;
  }
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  padding: 60px 5%;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  text-align: center;
}

.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

/* Tek bir testimonial kartı */
.testimonial-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
  transition: transform 0.45s cubic-bezier(.2, .9, .2, 1), box-shadow 0.45s;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 260px;
}

.testimonial-card .avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 12px;
  border: 2px solid #eef4ff;
}

.testimonial-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card blockquote {
  font-style: italic;
  color: #333;
  margin: 8px 0 16px;
  line-height: 1.5;
}

.testimonial-card .who {
  margin-top: auto;
  font-weight: 700;
  color: #0b2545;
}

/* active (vurgulanan) kart efekti */
.testimonial-card.active {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(11, 37, 69, 0.12);
  border: 1px solid rgba(11, 37, 69, 0.04);
}

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(90deg, #0b2545 0%, #0f335f 100%);
  color: #fff;
  padding: 50px 5%;
}

.cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cta h2 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
  max-width: 720px;
}

/* CTA butonları */
.cta-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.cta .cta-btn {
  background: #ffb703;
  color: #07203b;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(255, 183, 3, 0.18);
}

.cta .btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 980px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-actions {
    justify-content: center;
  }
}

.references-slider {
  overflow: hidden;
  background-color: #f9f9f9;
  text-align: center;
  padding: 60px 20px;
}

.references-slider h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #0a2c54;
}


.slider-track {
  display: flex;
  width: max-content;
  animation: scrollLeft 30s linear infinite;
  align-items: center;
}

.slider-track img {
  height: 50px;
  width: auto;
  margin: 0 30px;
  flex-shrink: 0;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.slider-track img:hover {
  opacity: 1;
}

.services {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.services h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #0a2c54;
}

.section-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: white;
  border: 1px solid #ddd;
  padding: 30px 20px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.service-card .icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #0a2c54;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}


/* is ortaklarimiz css begin */
.partners {
  padding: 60px 20px;
  background-color: #ffffff;
  /* veya #f0f0f0 gibi */
  text-align: center;
}

.partners h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.partners .section-subtitle {
  color: #777;
  margin-bottom: 40px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4 sütun */
  gap: 30px;
  justify-items: center;
  align-items: center;
  padding: 40px 20px;
}

.partner-card img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  /* filter: grayscale(100%); */
  transition: filter 0.3s ease;
}

.partner-card img:hover {
  filter: grayscale(0%);
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    /* Mobilde 2'li */
    gap: 20px;
  }
}

/* is ortaklarimiz css end */


@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}