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

.navbar {
  display: flex;
  justify-content: space-between;
  background-color: #37065d;
  align-items: center;
  padding: 5px 20px; 
  height: 80px;
}

.logo {
  margin-top: 20px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 120px; 
  width: auto;
  display: block;
}

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

.nav-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
}

body {
  background-color: #221c1a;
  font-family: 'Geist', sans-serif;
  color: #e2e8f0;
}

main, footer {
  width: 100%;
  padding: 40px 50px;
}

footer {
  padding-top: 20px;
}

section {
  margin-bottom: 20px;
  max-width: 600px;
}

section h1, section h2, section h3 {
  margin-bottom: 10px;
}

section p {
  line-height: 1.6;
}

section:nth-child(odd) {
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

section:nth-child(even) {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
  max-width: 500px;
}

p, li {
  color:  #e2e8f0;
  font-size: 1.16rem;
  line-height: 1.6;
}  

h1 {
  color: #a66bff;
}

h2, h3, h4, h5, h6 {
  color: #c4b5fd;
}

#cinfo {
  color: #94a3b8;
}

.card {
  background-color: rgba(147, 51, 234, 0.1);
  border-left: 4px solid #a855f7;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  color: #ff6b6b;
}

.card .badge {
  display: inline-block;
  background-color: transparent;
  color: #ff6b6b;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* Section kapsayıcısının grid dışına taşmasını önleyelim */
.techs-section {
  max-width: 100% !important; /* ana section sınırlamasını bu alanda kaldırır */
}

.techs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.category-card {
  background-color: rgba(147, 51, 234, 0.1);
  border: 1px solid #2d2636;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.category-title {
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  color: #c4b5fd;
  margin-bottom: 15px;
  text-transform: uppercase;
}

/* İkonların yan yana ve hizalı durması için */
.techs-items {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.techs-card {
  background-color: rgba(147, 51, 234, 0.1);
  border: 1px solid #362d40;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 90px;
}

/* Resimlerin ekrandan taşmasını engelleyen kritik kısım */
.techs-card img, 
.techs-items img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.techs-card span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
}

/* Techs bölümünü sayfanın ortasına hizalar ve genişliğini ayarlar */
section.techs-section {
  max-width: 900px; /* Bölümün maksimum genişliği */
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}
