/* =========================================================
   MENESA DRESS - HOME.CSS (v9 - Final Gradyan Animasyonlu)
   ========================================================= */



/* Ana İçerik Alanı Padding */
main {
    padding-top: 130px;
}

@media (max-width:768px) {
    main {
        padding-top: 110px;
    }
}


/* =========================================================
   ANA SAYFA HERO SLIDER (v12 - Başlık Dışarıda)
   ========================================================= */
.hero-slider-swiper {
  position: relative;
  width: calc(100% - 30px); /* Web'de kenar boşluğu */
  margin: 30px auto 0 auto; /* ALT BOŞLUK SIFIRLANDI */
  border-radius: 12px;
  overflow: hidden;
  background-color: #f0f0f0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
}
.hero-swiper { width: 100%; height: auto; background-color: #ffffff; border-radius: 12px; }
.hero-swiper .swiper-slide { position: relative; overflow: hidden; background-color: #f8f9fa; }
.hero-swiper .swiper-slide img { display: block; width: 100%; height: auto; }

/* Oklar (Sadece Web/Tablet) */
.hero-swiper-button-next, .hero-swiper-button-prev { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(8px); color: #111; transition: all 0.25s ease; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); }
.hero-swiper-button-next::after, .hero-swiper-button-prev::after { font-size: 16px; font-weight: 700; }
.hero-swiper-button-next:hover, .hero-swiper-button-prev:hover { background: rgba(255, 255, 255, 0.9); transform: scale(1.08); }

/* Noktalar (Tüm ekranlar) */
.hero-swiper-pagination { bottom: 15px !important; }
.hero-swiper-pagination .swiper-pagination-bullet { background-color: rgba(255, 255, 255, 0.7); opacity: 1; width: 8px; height: 8px; transition: all 0.3s ease; margin: 0 4px !important; box-shadow: 0 0 2px rgba(0, 0, 0, 0.3); }
.hero-swiper-pagination .swiper-pagination-bullet-active { background-color: #fff; transform: scale(1.3); box-shadow: 0 0 0 2px var(--gold, #d6a04c); }


/* =========================================================
   DIŞ CAPTION ALANI (Tüm Ekranlar için)
   ========================================================= */
.hero-caption-area {
  padding: 2rem 1.5rem; /* Web/Tablet için padding */
  background-color: #f9f9f9; /* Hafif gri arka plan */
  border-bottom: 3px solid #f0f0f0;
  text-align: center;
}
.hero-caption-subtitle {
  font-size: 0.85rem; /* Web/Tablet için boyut */
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
  color: var(--gold);
}
.hero-caption-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; /* Web/Tablet için boyut */
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  color: #2b2b2b;
}
.hero-caption-btn {
  padding: 0.7rem 1.6rem; /* Web/Tablet için boyut */
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  border-radius: 25px;
}
.hero-caption-btn[href="#"],
.hero-caption-btn[data-btn-text=""] {
    display: none; /* Metin/Link yoksa gizle */
}
.hero-caption-btn i { margin-left: 0.5rem; }


/* =========================================================
   MOBİL (767px ve altı)
   ========================================================= */
@media (max-width: 767px) { 
  
  /* Slider'ı tam genişlik yap */
  .hero-slider-swiper { 
    width: 100%; 
    border-radius: 0; 
    margin: 0; /* Üst boşluğu sıfırla */
    box-shadow: none; 
    border-bottom: 1px solid #eee; 
  }
  .hero-swiper { border-radius: 0; }
  
  /* Okları gizle */
  .hero-swiper-button-next,
  .hero-swiper-button-prev {
      display: none !important;
  }
  
  /* Noktalar altta kalsın */
  .hero-swiper-pagination { bottom: 8px !important; }

  /* Dış Caption Alanı (Mobil) */
  .hero-caption-area {
    padding: 1.5rem 1rem;
  }
  .hero-caption-subtitle {
    font-size: 0.75rem;
  }
  .hero-caption-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  .hero-caption-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
}


/* =========================================================
   MOBİL CAPTION (Ayrı Alan - d-md-none)
   ========================================================= */

/* 767px ve altı tüm mobil cihazlar */
@media (max-width: 767px) { 
  
  /* 1. Web caption'ı mobilde gizle (Bu HTML'deki d-none ile zaten yapıldı ama garanti olsun) */
  .hero-swiper-caption {
    display: none !important;
  }
  
  /* 2. Okları mobilde gizle */
  .hero-swiper-button-next,
  .hero-swiper-button-prev {
      display: none !important;
  }
  
  /* 3. Mobil caption alanı (Dışarıdaki) */
  .hero-mobile-caption-area {
    padding: 1.5rem 1rem;
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
  }
  .hero-mobile-subtitle {
    font-size: 0.75rem; font-weight: 500; text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 0.25rem; color: var(--gold);
  }
  .hero-mobile-title {
    font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700;
    margin-bottom: 1rem; line-height: 1.3; color: #2b2b2b;
  }
  .hero-mobile-btn {
    padding: 0.6rem 1.2rem; font-size: 0.85rem; font-weight: 600;
    display: inline-flex; align-items: center; border-radius: 25px;
  }
  .hero-mobile-btn[href="#"],
  .hero-mobile-btn[data-btn-text=""] {
      display: none;
  }
  .hero-mobile-btn i { margin-left: 0.5rem; }
  
  /* 4. Mobil slider'ı tam genişlik yap */
  .hero-slider-swiper { 
    width: 100%; border-radius: 0; margin: 0; 
    box-shadow: none; border-bottom: 1px solid #eee; 
  }
  .hero-swiper { border-radius: 0; }
  .hero-swiper-pagination { bottom: 8px !important; }
}

/* =========================================================
   BÖLÜM YAPISI VE BAŞLIK STİLİ (v8 - Gradyan Geçiş Animasyonlu)
   ========================================================= */
.section-wrapper {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

.section-heading-wrapper {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 0px;
}

.steps-section .section-heading-wrapper {
    background-color: #f8f9fa;
}

/* Adımlar için farklı BG */
.section-content-wrapper {
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: #ffffff;
}

.section-heading {
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out 0.3s, transform 0.6s ease-out 0.3s;
    /* Gecikmeli giriş */
}

.section-heading-wrapper.is-visible .section-heading {
    opacity: 1;
    transform: translateY(0);
}

/* Görünür olunca */

.section-heading h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    font-weight: 500;
    color: var(--gold, #d6a04c);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    display: inline-flex;
    align-items: center;
    transition: font-weight 0.2s ease-in-out;
}

.section-heading h2:hover {
    font-weight: 700;
    cursor: default;
}

/* Statik yan çizgiler (İsteğe Bağlı) */
.section-heading h2::before,
.section-heading h2::after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 1px;
    width: 50px;
    background-color: #d2d2d7;
    margin: 0 1rem;
}

.section-heading .section-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: #6e6e73;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =========================================================
   GRADYAN GEÇİŞ ANİMASYONU (Shine/Wipe Effect)
   ========================================================= */
.section-heading-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.4) 50%, transparent 80%);
    transform: translateX(-100%);
    opacity: 0;
    animation: none;
    /* Başlangıçta animasyon yok */
}

/* .is-visible sınıfı eklenince animasyonu başlat */
.section-heading-wrapper.is-visible::after {
    animation: menesaShineWipe 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes menesaShineWipe {
    0% {
        transform: translateX(-100%);
        opacity: 0.1;
    }

    20% {
        opacity: 0.7;
    }

    80% {
        opacity: 0.7;
    }

    100% {
        transform: translateX(100%);
        opacity: 0.1;
    }
}

/* =========================================================
   SCROLL ANİMASYONLARI (Kartlar için)
   ========================================================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.section-heading-wrapper.animate-on-scroll {
    /* Wrapper için animasyon yok */
    opacity: 1;
    transform: translateY(0);
    transition: none;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.col-6,
.animate-on-scroll.col-md-3,
.animate-on-scroll.col-md-4 {
    transition-delay: calc(var(--animation-order, 0) * 0.1s);
    /* Gecikmeli giriş */
}

/* =========================================================
   KATEGORİ VİTRİNİ
   ========================================================= */
.category-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
}

.category-card-image {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
}

.category-card-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: translate(-50%, -50%);
    transition: transform 0.4s ease;
}

.category-card:hover .category-card-image img {
    transform: translate(-50%, -50%) scale(1.03);
}

.category-card-title {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: #333;
    background-color: #fff;
    margin-top: auto;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.category-card a:hover .category-card-title {
    color: var(--gold);
}

@media (max-width: 767px) {
    .category-card-image {
        padding-bottom: 100%;
    }

    .category-card-title {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
}

/* =========================================================
   ÜRÜN KARTI STİLİ (Home'da kullanılan)
   ========================================================= */
/* Bu stiller category_v2.css dosyasından gelmeli */
.product-card-vakko {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.product-card-vakko:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background-color: #f9f9f9;
}

.product-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease, filter 0.3s ease;
    filter: brightness(1);
}

.product-card-vakko:hover .product-card-img {
    transform: scale(1.05);
    filter: brightness(1.03);
}

.product-card-body {
    padding: 1rem;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.7em;
    flex-grow: 1;
}

.product-card-price {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.25rem;
    margin-top: auto;
}

.product-card-code {
    font-size: 0.75rem;
    color: #6e6e73;
    font-weight: 400;
    margin-top: 0;
    letter-spacing: 0.3px;
}

/* =========================================================
   4 ADIMDA KİRALA
   ========================================================= */
.step-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 30px 22px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    text-align: center;
}

.step-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.icon-wrap {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background-color: #fff8e7;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.step-box:hover .icon-wrap {
    background-color: var(--gold);
    color: #fff;
}

.step-box h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: #2b2b2b;
    margin-bottom: 8px;
}

.short-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
}

.long-text {
    display: none;
}

@media (max-width: 992px) {
    .step-box {
        min-height: 240px;
        padding: 20px 15px;
    }

    .icon-wrap {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .step-box {
        min-height: 220px;
        margin-bottom: 15px;
    }
}

/* =========================================================
   MOBİL İÇİN GENEL AYARLAR
   ========================================================= */
@media (max-width: 768px) {
    .section-heading-wrapper {
        padding: 1.5rem;
    }

    .section-content-wrapper {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .section-heading h2 {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .section-heading h2::before,
    .section-heading h2::after {
        width: 30px;
        margin: 0 0.75rem;
    }

    @media (max-width: 400px) {

        .section-heading h2::before,
        .section-heading h2::after {
            display: none;
        }
    }

    .section-heading .section-subtitle {
        font-size: 0.85rem;
    }

    /* Mobilde gradyan geçişi kapatılabilir */
    /* .section-heading-wrapper.is-visible::after { animation: none; display: none; } */
}