/* =========================
   GLOBAL RESET
   ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #0f1216;
  color: #e6e6e6;
  line-height: 1.6;
}

/* =========================
   LAYOUT
   ========================= */
.container {
  max-width: 1150px;
  margin: auto;
  padding: 30px 20px;
}

/* =========================
   HEADER
   ========================= */
.header {
  border-bottom: 1px solid #222;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 26px;
  color: #8fa3b8;
}

nav a {
  margin-left: 20px;
  color: #e6e6e6;
  text-decoration: none;
}

nav a:hover {
  color: #8fa3b8;
}

/* =========================
   HERO
   ========================= */
.hero {
  position: relative;
  background: url("assets/images/hero-server-datacenter.jpg") center/cover no-repeat;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,18,22,0.75);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 38px;
  margin-bottom: 10px;
}

/* =========================
   SECTIONS
   ========================= */
.section {
  padding: 70px 0;
}

.section.dark {
  background: #1a1f26;
}

.section h2 {
  margin-bottom: 35px;
  color: #8fa3b8;
}

/* =========================
   GRID & CARDS
   ========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  background: #1a1f26;
  border: 1px solid #222;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  padding: 20px 20px 5px;
  color: #8fa3b8;
}

.card p {
  padding: 0 20px 25px;
  font-size: 15px;
}

/* =========================
   İLETİŞİM (MAIL FIX)
   ========================= */
#iletisim a {
  color: #e6e6e6 !important;
  text-decoration: none;
}

#iletisim a:hover {
  color: #8fa3b8;
}

/* =========================
   FOOTER
   ========================= */
.footer {
  background: #0b0e12;
  text-align: center;
  padding: 25px 0;
  border-top: 1px solid #222;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 28px;
  }

  nav {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 320px;
  }

  .card img {
    height: 150px;
  }
}