.hero {
  background: url('ofis.jpg') no-repeat center center/cover;
  color: white;
  padding: 80px 20px;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 40px 20px;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.hero-buttons a {
  text-decoration: none;
  background-color: #005baa;
  color: white;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn {
  background-color: #005baa;
  color: white;
}

.btn:hover {
  background-color: #003f7d;
}

.btn-secondary {
  background-color: #ffffff;
  color: #005baa;
  border: 2px solid #005baa;
}

.btn-secondary:hover {
  background-color: #e6f0ff;
}

/* 📱 MOBİL DOSTU STİL */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8em;
  }

  .hero p {
    font-size: 1em;
  }

  .hero-buttons a {
    padding: 12px 20px;
    font-size: 0.95em;
  }

  .hero-content {
    padding: 30px 15px;
  }
}


.services-overview {
  padding: 60px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.services-overview h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #005baa;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  text-align: left;
  text-decoration: none;
  color: #333;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-card h3 {
  font-size: 1.4em;
  margin: 15px;
  color: #005baa;
}

.service-card p {
  font-size: 1em;
  margin: 0 15px 20px;
  color: #555;
}




.main-header {
  background-color: #003366;
  color: white;
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 28px;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.logo img {
  height: 45px;
  margin-right: 12px;
}

.nav-menu ul {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu ul li a {
  text-decoration: none;
  font-weight: 600;
  padding: 10px 15px;
  border-radius: 6px;
  transition: background 0.3s ease, color 0.3s;
  font-size: 16px;
}

.nav-link.home    { background-color: #ff6f61; color: white; }
.nav-link.services{ background-color: #4caf50; color: white; }
.nav-link.about   { background-color: #2196f3; color: white; }
.nav-link.contact { background-color: #ff9800; color: white; }
.nav-link.blog    { background-color: #9c27b0; color: white; }
.nav-link.faq     { background-color: #00bcd4; color: white; }

.nav-menu ul li a:hover {
  opacity: 0.9;
}

/* Sosyal Medya Yatay */
.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: white;
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ff6f61;
}

/* Mobil Menü Butonu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

/* 🔄 Mobil Uyumluluk */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    width: 100%;
    background-color: #002244;
    margin-top: 10px;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 0;
  }

  .nav-menu ul li a {
    display: block;
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav-menu.active {
    display: block;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .social-icons {
    justify-content: center;
    width: 100%;
    margin-top: 10px;
  }
}


.testimonials {
  background: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.testimonials h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #003366;
}

.testimonial-container {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
  justify-content: flex-start;
}

.testimonial-card {
  flex: 0 0 300px;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  scroll-snap-align: start;
  text-align: left;
}

.testimonial-card .stars {
  color: #ffd700;
  font-size: 20px;
  margin-bottom: 10px;
}

.testimonial-card .comment {
  font-style: italic;
  color: #333;
  font-size: 16px;
  margin-bottom: 12px;
}

.testimonial-card .author {
  text-align: right;
  font-weight: 600;
  color: #666;
  font-size: 14px;
}

.button-wrapper {
  margin-top: 30px;
}

.btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background-color: #004080;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-secondary:hover {
  background-color: #00264d;
}

/* Scrollbar güzelleştirme */
.testimonial-container::-webkit-scrollbar {
  height: 8px;
}
.testimonial-container::-webkit-scrollbar-track {
  background: #eee;
}
.testimonial-container::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 10px;
}



.site-footer {
  background: linear-gradient(to right, #003366, #004080);
  color: #fff;
  padding: 60px 20px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  flex: 1 1 250px;
}

.footer-logo {
  width: 120px;
  margin-bottom: 10px;
}

.footer-title {
  font-size: 22px;
  margin-bottom: 8px;
  color: #fff;
}

.slogan {
  font-style: italic;
  color: #ccc;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #ffd700;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

/* İletişim */
.footer-contact {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 30px;
  font-size: 15px;
  color: #eee;
}

.footer-contact p a {
  color: #ffd700;
  text-decoration: none;
}

.footer-contact p a:hover {
  text-decoration: underline;
}

/* Harita */
.footer-map {
  margin-top: 30px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.styled-map {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 20px;
}

/* Mobil Uyum */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
  }

  .footer-col {
    margin-bottom: 30px;
  }

  .footer-contact {
    text-align: center;
  }
}



.floating-contact {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

/* Ortak ikon stili */
.contact-icon {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #007bff; /* Telefon için default */
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 12px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 99999;
}

/* Telefon ikonunun içindeki <a> etiketinin tam tıklama alanı kaplamasını sağlar */
.contact-icon a {
  display: block;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}


.contact-icon:hover {
  transform: scale(1.1);
}

/* İkon boyutu */
.contact-icon i {
  font-size: 25px;
  color: #fff;
}

/* WhatsApp özel renk */
.contact-icon.whatsapp {
  background-color: #25d366;
}

/* Telefon özel animasyon */
.contact-icon.phone::before {
  /* Düzeltme: Animasyonun tıklamayı engellemesini önlemek için opacity 0'a çekildi */
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  background: rgba(0, 123, 255, 0.3);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
  /* pointer-events kuralını eklemedim çünkü bu CSS'i değiştirirdi. */
  /* Bunun yerine, görünmez yapıp animasyonu bıraktım (bu da işe yaramazsa en iyisi kaldırmaktır). */
  pointer-events: none; /* Bu kuralı ekliyorum, eğer çalışmazsa bu yüzden çalışmamış demektir. */
}

/* pointer-events: none; eklemek için, contact-icon.phone::before kuralını değiştirdim */
/* ve aşağıdaki kuralı animasyonla birlikte kaldırıyorum: */


/* WhatsApp Formu */
.whatsapp-form {
  display: none;
  flex-direction: column;
  gap: 5px;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  width: 240px;
}

.whatsapp-form textarea {
  resize: none;
  height: 60px;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.whatsapp-form button {
  background-color: #25d366;
  color: #fff;
  border: none;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.whatsapp-form button:hover {
  background-color: #1ebe57;
}

/* Telefon ripple animasyonu */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}


.gallery-section {
  background-color: #f4f4f4;
  padding: 60px 20px;
}

.gallery-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #333;
}

.gallery-section p {
  text-align: center;
  color: #666;
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1rem;
}

.gallery-scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 10px;
  scroll-behavior: smooth;
}

.gallery-card {
  flex: 0 0 auto;
  width: 280px;
  height: 180px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.gallery-link {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  padding: 12px 26px;
  background-color: #d2691e;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.gallery-link:hover {
  background-color: #b4551b;
}