/* ========================================================= */
/* 1. GENEL SIFIRLAMA VE FONT */
/* ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap");

* {
  font-family: "Roboto Flex", sans-serif;
  font-optical-sizing: auto;
  box-sizing: border-box; /* Responsive için kenarlık ve padding'i genişliğe dahil et */
}

body {
  background-image: linear-gradient(to right, #251c75 0%, #1c62b1 100%);
  margin: 0;
  padding: 0;
}

/* ========================================================= */
/* 2. ANA YAPI (MOBİL ÖNCELİKLİ) */
/* ========================================================= */

.site {
  max-width: 100%; /* Mobil cihazlarda tam genişlik */
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background-color: #ffffff;
}

/* Üst Başlık/Banner Alanı */
.ust {
  position: relative;
  width: 100%;
  height: auto; /* Yüksekliği içeriğe bırak */
  background-color: rgba(255, 255, 255, 0.95);
  padding: 10px 20px;
  display: flex;
  flex-direction: column; /* Mobil için varsayılan olarak alt alta */
  align-items: center;
}

.logo {
  position: relative;
  top: 10px;
  max-width: 120px; /* Mobil için logo küçültüldü */
  height: auto;
  margin: 15px 0;
}

/* Navigasyon Menüsü (Mobil) */
ul {
  list-style: none;
  margin: 10px 0;
  padding: 0;
  display: flex;
  flex-direction: column; /* Dikey menü */
  width: 100%;
  text-align: center;
}
ul li {
  margin: 5px 0;
  width: 100%;
}
ul li a {
  display: block;
  text-decoration: none;
  font-weight: 600;
  color: #333;
  padding: 12px 15px;
  transition: 0.3s ease;
  border-radius: 4px;
  background-color: #f0f0f0; /* Mobil menü öğeleri arkaplanı */
}
ul li a:hover {
  color: white;
  background-color: #2342ce;
}

/* Orta İçerik Alanı */
.orta {
  width: 100%;
  padding: 20px;
}

/* Hizmet Kutusu */
.hizmet-kutu {
  max-width: 100%;
  margin: 20px auto;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); /* Hafif gölge */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px; /* Mobil için padding azaltıldı */
}

.hizmet-metin {
  text-align: center;
  margin-bottom: 20px;
}

.hizmet-metin p {
  font-size: 1em;
  line-height: 1.5;
  color: #333333;
  font-weight: 500;
  margin: 0 auto;
}

.hizmet-ikonlar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* İkonlar sığmazsa alt satıra geçsin */
  gap: 15px; /* İkonlar arası boşluk */
}

.hizmet-ikonlar img {
  width: 35px; /* Mobil için küçültülmüş ikon */
  height: 35px;
  transition: transform 0.3s ease-out;
}

.hizmet-ikonlar img:hover {
  transform: translateY(-3px) scale(1.1);
}

/* İndirim Kutusu */
.indirim {
  max-width: 100%;
  margin: 20px auto;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 20px;
  text-align: center;
}
.indirim h3 {
  margin: 0;
  font-size: 1.1em;
  color: #2342ce;
  font-weight: 700;
}
.indirim i {
  font-size: 0.9em;
  color: #666;
}

/* Alt Kısım */
.alt {
  width: 100%;
  padding: 15px 0;
  text-align: center;
  background-color: #222222; /* Koyu arka plan */
}
.mail {
  text-decoration: none;
  color: white;
  padding: 10px;
}
.fa-envelope {
  font-size: 1.5em !important; /* Font awesome ikon boyutu */
}

/* ========================================================= */
/* 3. MEDYA SORGUSU (768px ve ÜZERİ - TABLET & MASAÜSTÜ) */
/* ========================================================= */

@media only screen and (min-width: 768px) {
  .site {
    max-width: 850px; /* Masaüstü için sabit MAX genişlik */
  }

  /* Üst Banner'ı Yatay Hale Getirme */
  .ust {
    height: 120px; /* Sabit yükseklik geri geldi */
    flex-direction: row; /* Logo ve menüyü yan yana getir */
    justify-content: space-between; /* Aralarında boşluk bırak */
    align-items: flex-end; /* Öğeleri alta hizala */
  }

  .logo {
    position: relative;
    top: 10px;
    max-width: 160px; /* Logo eski boyutuna döndü */
    margin: -25px;
  }

  /* Navigasyon Menüsü (Masaüstü) */
  ul {
    flex-direction: row; /* Yatay menü */
    margin-bottom: 10px;
    width: auto;
  }

  ul li a {
    background-color: transparent; /* Arkaplan rengini kaldır */
    color: black;
  }

  .orta {
    padding: 40px 20px;
  }

  .hizmet-ikonlar img {
    width: 45px; /* İkonlar eski boyutuna döndü */
    height: 45px;
  }
}
