/* Özel Değişkenler ve Temel Ayarlar */
:root {
  --primary: #1A2A3A;
  /* Lacivert/Koyu Mavi */
  --secondary: #11B8CA;
  /* Teal/Turkuaz */
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

/* Layout Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

.title-underline {
  height: 4px;
  width: 60px;
  background-color: var(--secondary);
  margin-bottom: 30px;
}

.title-underline.center {
  margin: 0 auto 30px auto;
}

/* Typography */
.text-center {
  text-align: center;
}

/* Navbar Ayarları */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
  background-color: transparent;
}

.navbar-scrolled {
  padding: 10px 0;
  background-color: rgba(26, 42, 58, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.logo img {
  height: 120px;
  transition: all 0.3s ease;
  /*padding: 15px;
  border-radius: 9px;
  background-color : white;*/
  /*filter: drop-shadow(0 8px 15px rgba(0, 255, 0, 0.8));17,184,202*/
  filter:
    drop-shadow(0 0 4px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 5px rgba(0, 0, 0, 0.9));
}

/* Navbar logo styling */
.navbar-scrolled .logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links li a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: width 0.3s ease;
}

.nav-links li a:hover {
  color: var(--secondary);
}

.nav-links li a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Slider Animasyonları */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.slide.active {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(26, 42, 58, 0.7), rgba(17, 184, 202, 0.5));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--text-light);
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Buton Efektleri */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--text-light);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.about-image::before {
  content: '20+ yıllık tecrübe';
  position: absolute;
  bottom: 15px;
  /* alt köşeye */
  left: 15px;
  /* sol köşeye */
  background-color: var(--secondary);
  border-radius: 8px;
  padding: 12px 16px;
  color: #fff;
  font-size: 1.4rem;
  /* biraz büyük */
  font-weight: bold;
  text-align: center;
  /* kutu içindeki metni ortala */
  z-index: 1;
  /* görünür olsun */
}

/*
.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background-color: var(--secondary);
  z-index: -1;
  border-radius: 8px;
}
*/


.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(17, 184, 202, 0.4);
  color: white;
}

/* About Section */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  z-index: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.mv-card {
  background-color: var(--bg-light);
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid var(--secondary);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.mv-icon {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 15px;
}

.mv-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.mv-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Kart Efektleri (Hizmetler) */
.service-card {
  background-color: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
  border-bottom: 4px solid transparent;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  border-bottom: 4px solid var(--secondary);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.05);
}

.service-content {
  padding: 25px;
}

.service-content h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.service-content p {
  color: var(--text-muted);
}

/* Galeri Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* Masaüstünde 4 sütun */
  gap: 20px;
}

/* Tablet için */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    /* Tabletlerde 2 sütun */
  }
}

/* Telefon için */
@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    /* Telefonlarda tek sütun */
  }
}

/* Galeri Hover Efekti */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  cursor: pointer;
  height: 250px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@media (min-width: 993px) {
  .gallery-item {
    height: auto;
    aspect-ratio: 373 / 250;
  }
}

.gallery-item a {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 184, 202, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  color: white;
  font-size: 2rem;
  transform: translateY(20px);
  transition: transform 0.3s ease 0.1s;
}

.gallery-item:hover .gallery-icon {
  transform: translateY(0);
}

/* Partners Section */
.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 120px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.partner-item img {
  max-width: 250px;
  height: auto;
  filter: grayscale(100%) opacity(60%);
  transition: all 0.3s ease;
  cursor: pointer;
}

.partner-item img:hover {
  filter: grayscale(0%) opacity(100%);
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.contact-info>p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.info-item i {
  color: var(--secondary);
  font-size: 1.5rem;
  margin-right: 20px;
  margin-top: 5px;
}

.info-item h4 {
  color: var(--primary);
  margin-bottom: 5px;
}

.info-item p {
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(17, 184, 202, 0.1);
}

/* Footer */
footer {
  background-color: #0f172a;
  color: #cbd5e1;
}

.footer-top {
  padding: 70px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  height: 80px;
  margin-bottom: 10px;
  filter: brightness(0) invert(1);
}

.footer-col p {
  margin-bottom: 20px;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
}

.footer-col h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-bottom {
  background-color: #0b1120;
  padding: 20px 0;
  font-size: 0.9rem;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.webmaster-credit a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: #94a3b8;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.webmaster-credit a .webmaster-name {
  color: var(--secondary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.webmaster-credit a:hover {
  background: rgba(17, 184, 202, 0.1);
  border-color: rgba(17, 184, 202, 0.4);
  color: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(17, 184, 202, 0.15);
}

.webmaster-credit a i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.webmaster-credit a:hover i {
  transform: rotate(15deg) scale(1.1);
}


/* Animasyon Sınıfları */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .about-container {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: rgba(26, 42, 58, 0.98);
    flex-direction: column;
    padding: 80px 30px;
    transition: right 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-menu-btn {
    display: block;
    z-index: 1001;
  }

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

  .mission-vision {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }
}