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

/*
1) Yumuşak Kaydırma + scroll-padding-top
(Sabit header'ın kapladığı alan için 80px boşluk eklenir)
*/
html {
                   scroll-behavior: smooth; /* Yumuşak kaydırma animasyonu */
                   scroll-padding-top: 80px; /* Sabit header + ekstra boşluk */
}
/* YAZI TİPİ VE GENEL GÖVDE */
body {
                   font-family: 'Roboto', sans-serif;
                   color: #333;                                                             /* Temel metin rengi */
                   line-height:                                                       1.6;
                   background-color: #FAFAFA; /* Oldukça açık, neredeyse beyaz */
}
/* KONTEYNER */
.container {
                   width: 90%;
                   max-width: 1200px;
                   margin: 0 auto;
}

/* HEADER (ÜST MENÜ) */
.header {
  width: 100%;
  background-color: #fff;
  border-bottom: 1px solid #E5E5E5; /* İnce açık gri sınır */
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #333;
}

/* NAV MENÜ */
.nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

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

.nav a:hover {
  color: #2D9CDB; /* Canlı mavi vurgu */
}

/* MOBİL MENÜ İKONU */
.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-icon span {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 4px 0;
  transition: 0.4s;
}

/* HERO (BANNER) BÖLÜMÜ */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  /* İstediğin bir görsel URL'siyle değiştirebilirsin */
  background: url('https://via.placeholder.com/1900x900') no-repeat center center / cover;
  height: 100vh;
  padding-top: 60px; /* Header yüksekliği */
  text-align: center;
  position: relative;
  color: #fff;  /* Metin rengi */
}

/* Hero overlay: 2 renkli degrade + yarı şeffaf */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(45, 156, 219, 0.6),  /* #2D9CDB */
    rgba(39, 174, 96, 0.4)    /* #27AE60 */
  );
  z-index: 0;
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 1; /* Overlay üstünde */
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

/* BUTON GENEL STİL */
.btn {
  display: inline-block;
  background-color: #2D9CDB; /* Mavi vurgu */
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #127FBF; /* Bir ton koyu */
}

/* VURGULU METİN */
.highlight {
  color: #2D9CDB;
}

/* ABOUT SECTION */
.about-section {
  display: flex;
  flex-wrap: wrap;
  margin-top: 2rem;
  background-color: #fff; /* Beyaz */
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.about-text {
  flex: 1;
  margin-right: 2rem;
}

.about-text h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: #333;
}

.about-text p {
  margin-bottom: 1rem;
  color: #555;
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 8px;
}

/* SERVICES SECTION */
.services-section {
  margin-top: 2rem;
  padding: 2rem 0;
  background-color: #FAFAFA; /* Ana zeminden hafif fark için */
}

.services-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.card h3 {
  margin-bottom: 1rem;
  color: #2D9CDB; /* Mavi vurgu */
}
/* Makalelerim Bölümü */
.articles-section {
  margin-top: 2rem;
  padding: 2rem 0;
  background-color: #fff; /* veya #FAFAFA gibi bir ton */
  border-radius: 8px;
}

/* Kartları gruplamak için grid benzeri bir yapı kullan */
.articles-cards {
  display: grid;
  gap: 1.5rem;
  /* Ekran boyutuna göre kolon sayısı */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Her makale kartı */
.article-card {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* Makale başlığı */
.article-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #2D9CDB; /* senin vurgu rengin */
}

/* Yayınlanma tarihi */
.article-meta {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 1rem;
}

/* Makale kısa tanıtımı */
.article-excerpt {
  color: #555;
}

/* CONTACT SECTION */
.contact-section {
  background-color: #fff;
  padding: 2rem;
  margin-top: 2rem;
  border-radius: 8px;
}

.contact-section h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #333;
}

.contact-section p {
  text-align: center;
  color: #555;
}

/* Sosyal linkleri alt alta veya yan yana ayarlayabilirsin;
   bu örnekte <p> etiketinde alt alta duruyorlar. */
.social-links {
  margin-top: 1rem;
  /* text-align: center; - istersen ekleyebilirsin */
}

/* Her link */
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #333;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
}

/* Ikonun boyutu ve renk */
.social-link .icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Hover efekti */
.social-link:hover {
  color: #2D9CDB;
}


/* İkonun boyut ve renk ayarları */
.icon {
  width: 24px;
  height: 24px;
  fill: currentColor; /* link'in color değerini alsın */
}

/* FOOTER */
.footer {
  background-color: #fff;
  border-top: 1px solid #E5E5E5;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
  color: #777;
}

/* RESPONSIVE TASARIM */
@media (max-width: 768px) {
  .nav ul {
    display: none; /* mobilde başlangıçta gizle */
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #fff;
    flex-direction: column;
    width: 200px;
    border: 1px solid #E5E5E5;
    padding: 1rem;
  }

  .nav ul.show {
    display: flex; /* ikon tıklandığında göster */
  }

  .menu-icon {
    display: flex;
  }

  .menu-icon span {
    background-color: #333;
  }

  .about-section {
    flex-direction: column;
  }

  .about-text {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }
}
