/* =========================
   Trigger Button 
========================= */
.hizmet-popup-trigger-btn {
    padding: 12px 24px;
    background-color: #fca311;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}
.hizmet-popup-trigger-btn:hover {
    background-color: #e59400;
    transform: translateY(-2px);
}

/* =========================
   Popup Overlay & Container 
========================= */
.hp-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.hp-overlay.active {
    display: flex;
    opacity: 1;
}

.hp-popup-container {
    width: 95%;
    max-width: 1400px;
    height: 80vh;
    background-color: #f7f5f0;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hp-close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    background: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.hp-close-btn:hover {
    background: #fca311;
    color: #fff;
    transform: rotate(90deg);
}

.hp-yellow-stripe-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background: repeating-linear-gradient(
        45deg,
        #ffcd29,
        #ffcd29 4px,
        #f0ba19 4px,
        #f0ba19 8px
    );
    z-index: 1;
    opacity: 0.8;
}

/* =========================
   Swiper (Popup)
========================= */
.hp-swiper {
    width: 100%;
    height: 70%;
    z-index: 10;
    padding-top: 20px;
}

.swiper-slide-active .hp-card {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.swiper-slide:not(.swiper-slide-active) .hp-card {
    opacity: 0.6;
}

.hp-nav-wrapper {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
}

/* =========================
   Modernized Card UI
========================= */
.hp-card {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.hp-card-img {
    width: 100%;
    height: calc(100% - 60px);
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hp-card:hover .hp-card-img {
    transform: scale(1.08);
}

.hp-card-content {
    position: absolute;
    bottom: 20px;
    left: 5%;
    width: 90%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: left;
    box-sizing: border-box;
}

.hp-card-cats {
    display: inline-block;
    background: rgba(252, 163, 17, 0.15);
    color: #e58a00;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
}

.hp-card-title {
    margin: 0;
    font-size: 22px;
    color: #1a1a1a;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    line-height: 1.3;
}

/* =========================
   Inline Slider (Ana Sayfa İçin)
========================= */
.hs-main-wrapper {
    width: 100%;
    max-width: 1300px;
    margin: 50px auto;
    padding: 0 20px;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.hs-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    justify-content: center;
}

.hs-filter-btn {
    background-color: #f4f4f4;
    color: #555;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.04);
}

.hs-filter-btn:hover {
    background-color: #e2e2e2;
    transform: translateY(-2px);
}

.hs-filter-btn.active {
    background: linear-gradient(135deg, #fca311 0%, #ff8c00 100%);
    color: #fff;
    box-shadow: 0 6px 15px rgba(252, 163, 17, 0.4);
}

.hs-inline-swiper {
    padding: 20px 0 50px 0;
}

.hs-inline-swiper .hp-card {
    height: 450px; /* Inline slider kart yüksekliği sabiti */
}

.hs-nav-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Ortak Ok Buton Stilleri */
.hp-btn-prev, .hp-btn-next,
.hs-btn-prev, .hs-btn-next {
    position: static;
    width: 50px;
    height: 50px;
    background-color: #111;
    border-radius: 50%;
    margin: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-btn-prev::after, .hp-btn-next::after,
.hs-btn-prev::after, .hs-btn-next::after {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

.hp-btn-prev:hover, .hp-btn-next:hover,
.hs-btn-prev:hover, .hs-btn-next:hover {
    background-color: #fca311;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(252, 163, 17, 0.4);
}

/* =========================
   Responsive 
========================= */
@media (max-width: 768px) {
    .hp-popup-container {
        height: 75vh;
    }
    .hp-card-content {
        padding: 15px;
        left: 3%;
        width: 94%;
        bottom: 15px;
    }
    .hp-card-title {
        font-size: 18px;
    }
    .hp-card-cats {
        font-size: 11px;
        padding: 4px 10px;
    }
    .hs-inline-swiper .hp-card {
        height: 380px;
    }
    .hs-filter-btn {
        font-size: 13px;
        padding: 8px 18px;
    }
}
