/* =========================
   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: #F5F1ED; /* Görseldeki açık bej fon */
  color: #3D3D3D;
}

/* =========================
   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(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(184, 137, 114, 0.3);
}

.menu-bar li {
  list-style: none;
  padding: 12px 16px;
  white-space: nowrap;
}

.menu-bar li a {
  color: #3D3D3D;
  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 #b88972;
  border-top: 1px dashed #b88972;
  padding: 4px 0;
  color: #b88972;
  
  font-family: monospace;
  font-style: italic;
  font-size: 1.1em;
  transition: all 0.5s;
}

.inkella:hover {
  color: #D4AF37;
}
/* =========================
   CAROUSEL (HERO)
========================= */
.herocontainer {
  position: relative;
  z-index: 1;
  width: calc(100% - 80px);
  margin: 80px auto 60px auto;
  height: calc(100vh - 160px);
  background: #FFF;
  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 rgba(74, 58, 51, 0.1);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  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); }
.slide .item:nth-child(5) { left: calc(50% + 720px); }

.item .content {
  position: absolute;
  top: 50%;
  left: 8%;
  width: 400px;
  color: #3D3D3D;
  transform: translateY(-50%);
  display: none;
  
}

.slide .item:nth-child(2) .content { display: block; }

.content .name { font-size: 40px; font-weight: bold; text-transform: uppercase; color: #b88972; }

/* 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; 
  height: 45px;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid #b88972;
  background: rgba(255, 255, 255, 0.5); 
  transition: 0.3s;
  font-size: 20px;
  color: #b88972;
}

.button button:hover {
  background: #b88972;
  color: #FFF;
  transform: scale(1.1);
}

/* =========================
   CAROUSEL İÇERİK & BUTON DÜZELTME
========================= */

/* 1. İçerik kutusunu tam ekran yapıyoruz ki buton en dibe inebilsin */
.herocontainer .slide .item .content {
    position: absolute;
    top: 0;           /* 50% olan yeri 0 yaptık */
    left: 0;          /* 8% olan yeri 0 yaptık */
    width: 100%;      /* 400px olan yeri 100% yaptık */
    height: 100%;     /* Yüksekliği tam verdik */
    transform: none;  /* Ortalamayı iptal ettik */
    display: none;    /* Sadece 2. çocukta görünecek */
    color: #3D3D3D;
    z-index: 5;
}

/* 2. Sadece aktif olan slide içeriğini göster */
.slide .item:nth-child(2) .content { 
    display: block; 
}

/* 3. "See More" Butonunu Konumlandır */
.seeMore {
    position: absolute;
    bottom: 80px;      /* Görseldeki metinlerin altına gelecek şekilde ayarlandı */
    left: 8%;          /* Yazıların (Name) başladığı hizada olması için */
    z-index: 9999;     
    text-decoration: none;
    display: inline-block;
}

.seeMore button {
    background-color: #FDF6E3; /* Yumuşak Krem */
    color: #8C6A4F;            /* Toprak Tonu */
    border: 1px solid #D9A06F; /* Altın Detay */
    box-shadow: 0 4px 6px rgba(140, 106, 79, 0.2),
                0 0 10px rgba(217, 160, 111, 0.1); 
    
    padding: 8px 20px;       
    font-family: 'Playfair Display', serif; 
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase; 
    letter-spacing: 1px;       
    cursor: pointer;
    transition: all 0.4s ease;
    pointer-events: auto;      /* Tıklanmayı garantiler */
}

.seeMore button:hover {
    background-color: #8C6A4F; 
    color: #FDF6E3;           
    border-color: #8C6A4F;    
    box-shadow: 0 6px 12px rgba(140, 106, 79, 0.3);
    transform: translateY(-3px); 
}

/* 4. Metin (Name) Hala Ortada Kalsın İstiyorsan */
.content .name { 
    position: absolute;
    top: 40%;          /* İsmi yaklaşık ortaya alıyoruz */
    left: 8%;
    font-size: 40px; 
    font-weight: bold; 
    text-transform: uppercase; 
    color: #b88972; 
}
/* =========================
   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: #FFF;
  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;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* =========================
   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: #FDFBFA;
}

.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;
  fill: #FFF;
}

/* =========================
   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: #3D3D3D;
}

.card__title {
  color: #b88972;
  font-size: 1.4rem;
  margin-bottom: 8px;
  display: inline-block;
  padding: 2px 5px;
  border-radius: 4px;
}

.card__description {
  font-size: 0.9rem;
  color: #8A7B73;
  line-height: 1.5;
  margin-bottom: 15px;
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #2D2D2D;
  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: #F5F1ED;
}

.serv-section-2 {
    position: relative;
    border: 1px solid #E6DED7;
    background: #fff;
    box-shadow: 0px 10px 30px 0px rgba(50, 50, 50, 0.05);
    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: #FDFBFA;
    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: #b88972;
    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: #4a3a33;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
}

.serv-section-2 h5 {
    color: #4a3a33;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    margin-top: 5px;
}

.section-heading-line-left {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: #b88972;
    border-radius: 25%;
    margin-top: 15px;
    margin-bottom: 5px;
}

.serv-section-2 p {
    margin-top: 25px;
    padding-right: 50px;
    color: #8A7B73;
}

.serv-section-2:hover .serv-section-2-icon i {
    color: #fff;
}

.serv-section-2:hover:before {
    background: #b88972;
}
/* =========================
   Section Comment
   ========================== */
.comment-section {
    max-width: 800px;
    margin: 2rem auto;
    padding: 20px;
    background: #FFF;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.comment-box {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.2s;
    border: 1px solid #E6DED7;
}

.comment-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-input {
    border-radius: 20px;
    padding: 15px 20px;
    border: 2px solid #E6DED7;
    transition: all 0.3s;
}

.comment-input:focus {
    box-shadow: none;
    border-color: #D4AF37;
}

.btn-comment {
    border-radius: 20px;
    padding: 8px 25px;
    background: #b88972;
    border: none;
    transition: all 0.3s;
    color: white;
}

.btn-comment:hover {
    background: #a27863;
    transform: translateY(-1px);
}

.comment-actions {
    font-size: 0.9rem;
}

.comment-actions a {
    color: #8A7B73;
    text-decoration: none;
    margin-right: 15px;
    transition: color 0.2s;
}

.comment-actions a:hover {
    color: #D4AF37;
}

.comment-time {
    color: #adb5bd;
    font-size: 0.85rem;
}

.reply-section {
    margin-left: 60px;
    border-left: 2px solid #E6DED7;
    padding-left: 20px;
}


/* =========================
   FOOTER
========================= */
.footer {
    background: #2D2D2D;
    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, #b88972, #D4AF37);
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #b88972, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-about {
    color: #A89B94;
    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: #b88972;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #A89B94;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #D4AF37;
    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: #b88972;
    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.05);
    color: #fff;
    outline: none;
    padding-right: 50px;
    border: 1px solid rgba(184, 137, 114, 0.3);
}

.footer-newsletter input::placeholder {
    color: #A89B94;
}

.newsletter-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 40px;
    border-radius: 50%;
    background: #b88972;
    border: none;
    color: #fff;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #a27863;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #A89B94;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-bottom-links a {
    color: #A89B94;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #D4AF37;
}

@media (max-width: 768px) {
    .footer-section {
        margin-bottom: 40px;
    }
    .herocontainer .slide .item .content {
        height: 100% !important;
        width: 100% !important;
        top: 0 !important;
        transform: none !important;
        pointer-events: none; /* İçerik kutusu tıklamayı engellemesin... */
    }

    /* 2. Butonun kendisini tekrar tıklanabilir yapalım */
    .seeMore {
        bottom: 15px !important; /* Mobilde biraz daha aşağı çektik */
        left: 5% !important;
        z-index: 99999 !important; /* En üstte olduğunu garantile */
        pointer-events: auto !important; /* Tıklamayı zorla aktif et */
    }

    .seeMore button {
        padding: 6px 16px !important;
        font-size: 11px !important;
        display: block !important; /* Genişliği garantile */
        width: auto !important;
        pointer-events: auto !important;
    }
}
/* =========================
   SAYFA BAŞLANGIÇ BOŞLUĞU
   Fixed navbar (yükseklik ~70px + top:20px = 90px) altına
   diğer sayfaların girmemesi için
========================= */
.page-header {
    margin-top: 100px;
}

/* ================================================
   DARK MODE — Global Overrides
   (CSS değişkenleri _Layout.cshtml'de tanımlı,
    burada component-seviyesi geçişler var)
================================================ */

/* Genel kartlar, formlar */
[data-theme="dark"] .herocontainer,
[data-theme="dark"] .product-card,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .category-card {
    background: var(--card-bg) !important;
    border-color: var(--border-color) !important;
    color: var(--text) !important;
}

[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
    background: var(--input-bg) !important;
    color: var(--text) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] p,
[data-theme="dark"] span,
[data-theme="dark"] label {
    color: var(--text);
}

[data-theme="dark"] .menu-bar {
    border-color: var(--nav-border) !important;
}

/* Smooth geçiş tüm sayfa için */
* {
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
