/* =========================
   RESET & BODY
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: system-ui, sans-serif;
  background: #444;
}

/* =========================
   NAVBAR (MENÜ)
========================= */
.menu-bar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  border-radius: 25px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.menu-bar li {
  list-style: none;
  padding: 12px 16px;
  white-space: nowrap;
}

.menu-bar li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.menu-bar .logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.inkella {
  text-decoration: none;
  border-bottom: 1px dashed rgb(44, 44, 44);
  border-top: 1px dashed rgb(44, 44, 44);
  padding: 4px 0;
  color: rgba(44, 44, 44, 0.525);
 
  font-family: monospace;
  font-style: italic;
  font-size: 1.1em;
  transition: all 0.5s;
}

.inkella:hover {
  color: #000000;
}
/* =========================
   CAROUSEL (HERO)
========================= */
.herocontainer {
  position: relative;
  z-index: 1;
  width: calc(100% - 80px);
  margin: 80px auto 60px auto;
  height: calc(100vh - 160px);
  background: #333;
  border-radius: 20px;
  overflow: hidden;
}

.herocontainer .slide .item {
  width: 220px;
  height: 280px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 20px;
  box-shadow: 0 20px 40px #222;
  background-position: center;
  background-size: cover;
  transition: 0.5s;
}

.slide .item:nth-child(1),
.slide .item:nth-child(2) {
  top: 0;
  left: 0;
  transform: none;
  width: 100%;
  height: 100%;
}

/* Yanlardaki küçük kartların pozisyonları */
.slide .item:nth-child(3) { left: calc(50% + 240px); }
.slide .item:nth-child(4) { left: calc(50% + 480px); }

.item .content {
  position: absolute;
  top: 50%;
  left: 8%;
  width: 400px;
  color: #fff;
  transform: translateY(-50%);
  display: none;
}

.slide .item:nth-child(2) .content { display: block; }

.content .name { font-size: 40px; font-weight: bold; text-transform: uppercase; }

/* OK TASARIMLARIN (Geri Getirildi) */
.button {
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  z-index: 10;
}

.button button {
  width: 50px; /* Biraz daha büyüttüm */
  height: 45px;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid #000000bd;
  background: rgba(255, 255, 255, 0.5); /* Senin o şeffaf beyazın */
  transition: 0.3s;
  font-size: 20px;
}

.button button:hover {
  background: #fff;
  transform: scale(1.1);
}

/* =========================
   KARTLAR (Bozulan Kısım)
========================= */
/* =========================
   1. DIŞ KAPSAYICI (Konteynır)
   ========================= */
.icontainer {
  display: flex;
  flex-wrap: wrap;        /* Sığmayan kartı alt satıra atar */
  justify-content: center; /* Kartları yatayda ortalar */
  gap: 50px 30px;         /* İLK DEĞER: Satır arası (Üst-Alt), İKİNCİ: Yan yana boşluk */
  width: 100%;
  max-width: 1300px;      /* Çok yayılmasını engeller, derli toplu tutar */
  margin: 80px auto;      /* Üstten boşluk bırakır ve tüm bloğu ortalar */
  padding: 20px;
}


.card {
  position: relative;
  background: #333;
  width: 380px;
  height: auto;           /* İçeriğe göre boyutlanacak */
  min-height: 0;          /* Sabit yükseklik zorlamasını kaldır */
  border-radius: 15px;
  overflow: hidden;       /* Çizgiler dışarı taşmasın */
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

/* =========================
   3. RESİM VE ÇİZGİLER (Sınırı Oluşturan Kısım)
========================= */
.card__image-container {
  position: relative;
  width: 100%;
  height: 300px;          /* Resim alanı yüksekliği */
  background: #222;
}

.card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;    /* Resmi kesmeden kutuya sığdırır (Tercihe bağlı) */
  display: block;
}

/* O MEŞHUR KAVİSLİ SINIR ÇİZGİSİ */
.card__svg {
  position: absolute;
  bottom: -5px;           /* Çizgiyi resmin altından hafifçe yukarı çekerek resmi kesmesini sağla */
  left: 0;
  width: 100%;
  z-index: 2;             /* Resmin üzerine binsin */
  pointer-events: none;
}

/* =========================
   4. YAZILAR VE İÇERİK (Sınırın Üzerinde Duran Kısım)
========================= */
.card__content {
  padding: 0 20px 15px 20px; /* Üst padding'i sıfırladık */
  display: flex;
  flex-direction: column;
  position: relative;     /* Yazıların sınır üzerinde durması için */
  margin-top: -20px;      /* Yazı alanını zorla yukarı çekerek SVG sınırının üzerine oturt */
  z-index: 5;             /* Yazıları hem SVG'nin hem de resmin üzerine çıkartır */
  color: #fff;
}

.card__title {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 8px;
  display: inline-block;
  padding: 2px 5px;
  border-radius: 4px;
}

.card__description {
  font-size: 0.9rem;
  color: #bbb;
  line-height: 1.5;
  margin-bottom: 15px;
}

/* =========================
   FOOTER
========================= */
.footer {
  background: linear-gradient(to right, #1a1c20, #2c3e50);
  color: #ffffff;
  padding: 60px 0 30px;
  margin-top: 100px;
}

/* ===================================================
   MOBİL VE TABLET AYARLARI (RESPONSIVE)
   =================================================== */

@media (max-width: 768px) {
  /* ... (Menü ve Carousel kodların aynı kalsın) ... */

  .icontainer {
    display: flex !important;
    flex-direction: column !important; 
    align-items: center !important;    
    justify-content: center !important;
    padding: 20px 0;                   
    width: 100% !important;
    margin: 40px 0;                 
  }

  .card {
    width: 90% !important;           
    max-width: 380px;                  
    margin: 15px auto !important;     
    min-height: auto;                 
  }
  .card__image-container {
    height: 240px !important;
  }

  .card__content {
    margin-top: -30px; 
    padding: 0 15px 20px 15px;
  }

  .footer { margin-top: 50px; }
}
@media (max-width: 768px) {
 
  .menu-bar {
    width: 95%;
    flex-wrap: wrap;
    justify-content: center;
    top: 10px;
  }
  .menu-bar li {
    padding: 8px 10px;
    font-size: 12px;
    margin: 0 2px;
  }

  /* Carousel Mobilde Taşmasın */
  .herocontainer {
    width: 100%;
    margin: 70px 0 30px 0;
    height: 50vh;
  }
  .item .content {
    width: 80%;
    left: 10%;
  }
  .content .name { font-size: 26px; }
  .content .des { font-size: 13px; }

  /* Arkadaki küçük kartları mobilde gizle (karmaşayı önler) */
  .slide .item:nth-child(n + 3) { display: none; }

  /* KARTLARIN BİRBİRİNE GİRMESİNİ ENGELLEYEN YER BURASI */
  .icontainer {
    flex-direction: column; /* Alt alta dizer */
    padding: 20px 10px;
  }
  .card {
    width: 100% !important; /* Telefonu tam kaplar */
    max-width: 380px;
    min-height: 450px;
  }

  .footer { margin-top: 50px; }
}

@keyframes animate {
  from { opacity: 0; transform: translate(0, 100px); filter: blur(33px); }
  to { opacity: 1; transform: translate(0); filter: blur(0); }
}


/* =========================
   Section Features 
   ========================== */
   .mt-60{
    margin-top:60px;
    margin-bottom: 160px;
}

.section-block-grey {
    padding: 90px 0px 90px 0px;
    background-color: #444;
}

.serv-section-2 {
    position: relative;
    border: 1px solid #eee;
    background: #fff;
    box-shadow: 0px 10px 30px 0px rgba(50, 50, 50, 0.16);
    border-radius: 5px;
    overflow: hidden;
    padding: 30px;
}

.serv-section-2:before {
    position: absolute;
    top: 0;
    right: 0px;
    z-index: 0;
    content: " ";
    width: 120px;
    height: 120px;
    background: #f5f5f5;
    border-bottom-left-radius: 136px;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
}

.serv-section-2-icon {
    position: absolute;
    top: 18px;
    right: 22px;
    max-width: 100px;
    z-index: 1;
    text-align: center;
}

.serv-section-2-icon i {
    color: #5f27cd;
    font-size: 48px;
    line-height: 65px;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
}

.serv-section-desc {
    position: relative;
}

.serv-section-2 h4 {
    color: #333;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
}

.serv-section-2 h5 {
    color: #333;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    margin-top: 5px;
}

.section-heading-line-left {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: #5f27cd;
    border-radius: 25%;
    margin-top: 15px;
    margin-bottom: 5px;
}

.serv-section-2 p {
    margin-top: 25px;
    padding-right: 50px;
}

.serv-section-2:hover .serv-section-2-icon i {
    color: #fff;
}

.serv-section-2:hover:before {
    background: #5f27cd;
}
/* =========================
   Section Comment
   ========================== */
.comment-section {
    max-width: 800px;
    margin: 2rem auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.comment-box {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.2s;
    border: 1px solid #e9ecef;
}

.comment-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-input {
    border-radius: 20px;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    transition: all 0.3s;
}

.comment-input:focus {
    box-shadow: none;
    border-color: #86b7fe;
}

.btn-comment {
    border-radius: 20px;
    padding: 8px 25px;
    background: #0d6efd;
    border: none;
    transition: all 0.3s;
}

.btn-comment:hover {
    background: #0b5ed7;
    transform: translateY(-1px);
}

.comment-actions {
    font-size: 0.9rem;
}

.comment-actions a {
    color: #6c757d;
    text-decoration: none;
    margin-right: 15px;
    transition: color 0.2s;
}

.comment-actions a:hover {
    color: #0d6efd;
}

.comment-time {
    color: #adb5bd;
    font-size: 0.85rem;
}

.reply-section {
    margin-left: 60px;
    border-left: 2px solid #e9ecef;
    padding-left: 20px;
}


/* =========================
   FOOTER
========================= */
.footer {
    background: #444;
    color: #ffffff;
    padding: 70px 0 30px;
    position: relative;
    overflow: hidden;
    margin-top: 240px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #3498db, #2ecc71);
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-about {
    color: #a4b5c6;
    margin-bottom: 25px;
    line-height: 1.6;
}

.footer h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 30px;
    height: 2px;
    background: #3498db;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a4b5c6;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #3498db;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #3498db;
    transform: translateY(-3px);
    color: #fff;
}

.footer-newsletter {
    position: relative;
    margin-top: 20px;
}

.footer-newsletter input {
    padding: 12px 15px;
    border-radius: 25px;
    border: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    outline: none;
    padding-right: 50px;
}

.footer-newsletter input::placeholder {
    color: #a4b5c6;
}

.newsletter-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 40px;
    border-radius: 50%;
    background: #3498db;
    border: none;
    color: #fff;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #2980b9;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #a4b5c6;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-bottom-links a {
    color: #a4b5c6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #3498db;
}

@media (max-width: 768px) {
    .footer-section {
        margin-bottom: 40px;
    }
}


