/**
 * =============================================================================
 * NUR ENERJİ — FAALİYET ALANLARI, HİZMETLER VE PROJELER MİKRO-MODÜLÜ
 * -----------------------------------------------------------------------------
 * @module      : hizmet-proje.css
 * @description : Hizmetler, Projeler listeleme ve detay sayfaları hafif stilleri.
 * @version     : 1.0.0
 * =============================================================================
 */

/* ==========================================================================
   1. GENEL BÖLÜM VE BAŞLIK STANDARTLARI
   ========================================================================== */
.services-wrapper,
.projects-wrapper {
    padding: 70px 0 90px;
    background: #f8fafc;
}

.section-header-center {
    text-align: center;
    margin-bottom: 40px;
}

.section-tag {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.3rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
    line-height: 1.25;
}

.section-lead {
    max-width: 820px;
    margin: 0 auto;
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ==========================================================================
   2. İNTERAKTİF FİLTRE VE ARAMA KUTUSU
   ========================================================================== */
.filter-pills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 45px;
}

.filter-btn {
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
}

.filter-btn:hover {
    border-color: #059669;
    color: #059669;
    background: #f0fdf4;
}

.filter-btn.active {
    background: #059669;
    color: #ffffff;
    border-color: #059669;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.status-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 9px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.status-btn:hover {
    border-color: #0f172a;
    color: #0f172a;
}

.status-btn.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.cat-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cat-pill:hover {
    border-color: #059669;
    color: #059669;
}

.cat-pill.active {
    background: #059669;
    color: #ffffff;
    border-color: #059669;
}

.project-search-input {
    width: 100%;
    max-width: 450px;
    padding: 12px 20px 12px 45px;
    border-radius: 50px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.project-search-input:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15);
}

/* ==========================================================================
   3. HİZMET VE PROJE KARTLARI (GRID & ANIMASYON)
   ========================================================================== */
.services-grid,
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.service-item-card,
.project-item-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.service-item-card:hover,
.project-item-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12) !important;
}

.card-image-wrap {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-item-card:hover .card-image-wrap img,
.project-item-card:hover .card-image-wrap img {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.7) 100%);
    pointer-events: none;
}

.card-badge-num {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #34d399;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 8px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.card-badge-cat {
    position: absolute;
    top: 16px;
    right: 16px;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 5px 12px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.card-content-wrap {
    padding: 26px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-item-title {
    font-size: 1.28rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.35;
}

.card-item-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.card-item-title a:hover {
    color: #059669;
}

.card-item-desc {
    color: #64748b;
    font-size: 0.93rem;
    line-height: 1.65;
    margin-bottom: 18px;
}

/* Mühendislik Standart Tikleri */
.card-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    font-size: 0.86rem;
    color: #475569;
}

.card-checklist li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
}

.card-checklist li i {
    color: #10b981;
    margin-right: 8px;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.card-action-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-card-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #059669;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-card-more:hover {
    color: #047857;
}

.btn-card-more:hover i {
    transform: translateX(4px);
}

.btn-card-quote {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-card-quote:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

/* ==========================================================================
   4. DETAY SAYFALARI LAYOUT VE BİLEŞENLERİ
   ========================================================================== */
.page-main-layout {
    max-width: 1400px;
    margin: 50px auto 80px;
    padding: 0 25px;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
}

.page-content-area {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.content-media-box {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-height: 480px;
}

.content-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 15px;
}

.process-step-card {
    background: #ffffff;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: transform 0.2s;
}

.process-step-card:hover {
    transform: translateY(-3px);
    border-color: #059669;
}

.process-step-icon {
    font-size: 1.8rem;
    color: #059669;
    margin-bottom: 8px;
}

.cta-action-bar {
    background: #0f172a;
    border-radius: 14px;
    padding: 25px;
    color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Sidebar Bileşenleri */
.page-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.sidebar-widget-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-menu-item {
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
    transition: all 0.2s;
}

.sidebar-menu-item.active {
    background: #059669;
}

.sidebar-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    color: #334155;
    transition: all 0.2s;
}

.sidebar-menu-item.active .sidebar-menu-link {
    color: #ffffff;
}

.sidebar-cta-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 30px 25px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   5. RESPONSIVE DÜZENLEME
   ========================================================================== */
@media (max-width: 992px) {
    .page-main-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
