/* ========================================================= */
/* --- AHŞAP KAPI SİSTEMLERİ GENEL YAPISI --- */
/* ========================================================= */

.ahsap-slider-section {
    position: relative;
    width: 100%;
    padding: 85px 0 75px 0;
    background-color: #f7f4ed;
    background-image: radial-gradient(circle at 50% 0%, rgba(197, 160, 89, 0.08) 0%, transparent 70%);
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

.ahsap-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================================= */
/* --- ÜST BAŞLIK VE TÜMÜNÜ GÖR BUTONU --- */
/* ========================================================= */

.ahsap-header-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
}

.ahsap-header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ahsap-tagline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.ahsap-tagline .gold-line {
    width: 32px;
    height: 2px;
    background-color: #c5a059;
}

.ahsap-tagline .tag-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #a37c3f;
    text-transform: uppercase;
}

.ahsap-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: #122133;
    line-height: 1.15;
    margin: 0;
}

/* TÜMÜNÜ GÖR BUTONU */
.ahsap-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 26px;
    background: transparent;
    border: 1px solid #c5a059;
    border-radius: 30px;
    color: #122133;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ahsap-all-btn i {
    font-size: 11px;
    color: #c5a059;
    transition: transform 0.3s ease, color 0.3s ease;
}

.ahsap-all-btn:hover {
    background: #122133;
    border-color: #122133;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(18, 33, 51, 0.15);
}

.ahsap-all-btn:hover i {
    color: #c5a059;
    transform: translateX(4px);
}

/* ========================================================= */
/* --- PREMİUM DİK (KAPI) SLIDER KART TASARIMI --- */
/* ========================================================= */

.ahsap-slider-wrapper {
    position: relative;
}

.ahsap-card {
    background: #ffffff;
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 14px;
    padding: 12px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    text-decoration: none; /* Link çizgilerini kaldırır */
    color: inherit; /* Yazı renklerini korur */
    cursor: pointer;
}

.ahsap-card:hover {
    transform: translateY(-6px);
    border-color: rgba(197, 160, 89, 0.6);
    box-shadow: 0 16px 35px rgba(18, 33, 51, 0.08);
}

/* Dik Boyutlu Görsel Alanı (Kapılar için Tam Sığdırma) */
.ahsap-card-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4; /* Dik Kapı Oranı */
    border-radius: 10px;
    overflow: hidden;
    background: #fbf9f5;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
}

.ahsap-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Çerçeveye tam sığsın, taşmasın / kesilmesin */
    object-position: center;
    transition: transform 0.5s ease;
}

.ahsap-card:hover .ahsap-card-img-wrapper img {
    transform: scale(1.05);
}

/* Kart Üzeri Rozet */
.card-overlay-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(18, 33, 51, 0.80);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(197, 160, 89, 0.4);
    padding: 4px 10px;
    border-radius: 15px;
    z-index: 2;
}

.card-overlay-badge span {
    font-size: 9px;
    font-weight: 700;
    color: #c5a059;
    letter-spacing: 0.8px;
}

/* Kart Alt Bilgisi */
.ahsap-card-info {
    padding: 14px 6px 6px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 700;
    color: #122133;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.gold-dot-sep {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

.gold-dot-sep span {
    width: 3px;
    height: 3px;
    background-color: #c5a059;
    border-radius: 50%;
    opacity: 0.7;
}

.gold-dot-sep span:nth-child(2) {
    width: 5px;
    height: 5px;
    opacity: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #a37c3f;
    text-decoration: none;
    transition: all 0.3s ease;
}

.card-link i {
    font-size: 9px;
    transition: transform 0.3s ease;
}

.ahsap-card:hover .card-link {
    color: #122133;
}

.ahsap-card:hover .card-link i {
    transform: translateX(4px);
}

/* ========================================================= */
/* --- KONTROL VE GEZİNTİ BUTONLARI --- */
/* ========================================================= */

.ahsap-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 35px;
}

.ahsap-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: #122133;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.ahsap-nav-btn i {
    font-size: 12px;
}

.ahsap-nav-btn:hover {
    background: #122133;
    color: #c5a059;
    border-color: #122133;
}

.ahsap-pagination {
    position: static !important;
    width: auto !important;
}

.ahsap-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #c5a059;
    opacity: 0.35;
    transition: all 0.3s ease;
    margin: 0 4px !important;
}

.ahsap-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 24px;
    border-radius: 8px;
    background: #122133;
}

/* ========================================================= */
/* --- UYARI KUTUSU --- */
/* ========================================================= */

.ahsap-empty-state {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px dashed rgba(197, 160, 89, 0.4);
    border-radius: 14px;
    color: #666;
}

.ahsap-empty-state i {
    font-size: 36px;
    color: #c5a059;
    margin-bottom: 12px;
}

.ahsap-empty-state code {
    background: #122133;
    color: #c5a059;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 12px;
}

/* ========================================================= */
/* --- SCROLL ANİMASYONU --- */
/* ========================================================= */

.ahsap-slider-section .animate-on-scroll {
    opacity: 0;
    transition: all 0.8s ease;
}

.ahsap-slider-section .animate-on-scroll.fade-up {
    transform: translateY(30px);
}

.ahsap-slider-section .animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================================= */
/* --- MOBİL UYUMLULUK (MOBİLDE YAN YANA 2'Lİ) --- */
/* ========================================================= */

@media screen and (max-width: 768px) {
    .ahsap-slider-section {
        padding: 50px 0;
    }

    .ahsap-header-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 25px;
    }

    .ahsap-main-title {
        font-size: 28px;
    }

    .ahsap-all-btn {
        padding: 8px 18px;
        font-size: 10px;
    }
}

/* MOBİLDE YAN YANA 2 TANE YAPI İÇİN MİLİMETRİK OPTİMİZASYON */
@media screen and (max-width: 576px) {
    .ahsap-container {
        padding: 0 12px;
    }

    .ahsap-card {
        padding: 8px;
        border-radius: 10px;
    }

    .ahsap-card-img-wrapper {
        padding: 4px;
        border-radius: 8px;
    }

    .card-overlay-badge {
        top: 6px;
        right: 6px;
        padding: 2px 6px;
    }

    .card-overlay-badge span {
        font-size: 7.5px;
    }

    .ahsap-card-info {
        padding: 8px 2px 2px 2px;
    }

    .card-title {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .gold-dot-sep {
        margin-bottom: 8px;
    }

    .card-link {
        font-size: 9px;
        letter-spacing: 0.8px;
    }

    .ahsap-slider-controls {
        margin-top: 22px;
        gap: 12px;
    }

    .ahsap-nav-btn {
        width: 34px;
        height: 34px;
    }
}