/* =====================================================
   MECHTEP CUSTOM CSS
   Temizlenmiş ve güncel sürüm
===================================================== */

/* HERO FONT SİSTEMİ */

/* GENEL FONT */
body {
    font-family: 'Inter', sans-serif !important;
}

/* HERO ÜST YAZI */
#home h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ANA BAŞLIK */
#home h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -1px;
}

/* AÇIKLAMA */
#home p {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.7;
}



.section-label {
    font-size: 13px;
    font-family: 'Arial', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.85;
}




/* =====================================================
   HEADER
===================================================== */

#header .header-nav-main nav > ul > li > a.dropdown-item {
    font-weight: 600;
}


/* =====================================================
   ABOUT SECTION
===================================================== */


/* About hizalama düzeltmesi */


/* =====================================================
   ABOUT SECTION
===================================================== */

#about .row.py-4 {
    align-items: stretch !important;
}

@media (min-width: 992px) {
    #about .col-lg-6:first-child {
        display: flex;
        flex-direction: column;
    }

    #about .col-lg-6:first-child .row.g-3 {
        margin-top: auto !important;
    }

    #about .col-lg-6:last-child {
        display: flex;
        flex-direction: column;
        padding-top: 72px;
    }

    #about .col-lg-6:last-child > .position-relative {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .about-focus-box {
        margin-top: auto !important;
    }
}

#about img {
    border-radius: 16px;
    transition: all 0.4s ease;
    margin-top: 0 !important;
}

#about img:hover {
    transform: none !important;
}

#about .box-shadow-1 {
    transition: all 0.3s ease;
}

#about .box-shadow-1:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10) !important;
}

.about-focus-box {
    padding: 34px !important;
    border-radius: 16px !important;
}

.about-focus-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 13px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    font-weight: 600;
    line-height: 1.25;
    transition: all 0.25s ease;
}

.about-focus-item:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.about-focus-item i {
    width: 24px;
    min-width: 24px;
    text-align: center;
    font-size: 18px;
    color: #fff;
}

.about-focus-item span {
    display: block;
    white-space: nowrap;
}

@media (max-width: 575px) {
    .about-focus-item span {
        white-space: normal;
    }
}

/* =====================================================
   PROCESS SECTION
===================================================== */

#process .p-4 {
    transition: all 0.3s ease;
}

#process .p-4:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}


/* =====================================================
   SERVICES SECTION (FINAL BALANCED PREMIUM)
===================================================== */

.services-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0052cc 100%) !important;
}

.services-section span {
    letter-spacing: 1px;
    font-size: 14px;
    opacity: 0.9 !important;
}

/* Kart */
.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px !important;
    min-height: 260px;
    padding: 34px !important;
    backdrop-filter: blur(6px);
    background: linear-gradient(145deg, #ffffff, #f4f7ff);
    border: 1px solid rgba(255, 255, 255, 0.08);

    transition: all 0.35s ease;
    z-index: 1;
}

/* Gradient overlay (yumuşatıldı) */
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0d6efd 0%, #1597e8 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;
}

/* Hover (daha dengeli glow) */
.service-card:hover {
    transform: none;
    box-shadow: 0 18px 45px rgba(0, 70, 180, 0.22) !important;
}


.services-section p {
    font-size: 16px;
    opacity: 0.95;
}

.services-section h2 {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.5px;
}


.service-card:hover::before {
    opacity: 1;
}

/* Icon */
.service-card i {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(145deg, #eef3ff, #dfe8ff);
    color: #0d6efd;

    display: flex !important;
    align-items: center;
    justify-content: center;

    font-size: 30px;
    margin-bottom: 24px !important;

    transition: all 0.3s ease;
}

/* Icon hover */
.service-card:hover i {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff !important;
    transform: scale(1.12);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
}

/* Text */
.service-card h4 {
    min-height: 56px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.service-card p {
    line-height: 1.75;
    color: #5f6673; /* okunabilirlik artırıldı */
    transition: color 0.3s ease;
}

/* Hover text */
.service-card:hover h4,
.service-card:hover p {
    color: rgba(255, 255, 255, 0.88) !important;
}

/* Spacing fix */
.services-section .row > div {
    margin-bottom: 50px;
}


/* =====================================================
   PROJECTS SECTION
===================================================== */

#projects .card {
    overflow: hidden;
    border-radius: 18px !important;
    transition: all 0.35s ease;
}

#projects .card:hover {
    transform: none !important;
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.12) !important;
}

#projects .card-img-top {
    height: 230px;
    object-fit: cover;
    transition: all 0.45s ease;
}

#projects .card:hover .card-img-top {
    transform: scale(1.05);
}

#projects .badge {
    border-radius: 30px;
    padding: 7px 12px;
    font-weight: 600;
}

#projects .card-body {
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 32px !important;
}




#projects .card-body p {
    line-height: 1.75;
    color: #5f6673;
}



/* =====================================================
   FOOTER INFO SECTION
===================================================== */

.feature-box-icon i {
    font-size: 28px;
    opacity: 0.9;
}

.feature-box-info h5 {
    letter-spacing: 1px;
    font-size: 13px;
}

.feature-box-info p,
.feature-box-info a {
    font-size: 15px;
}

.feature-box-info a:hover {
    opacity: 0.7;
    transition: all 0.3s ease;
}

@media (max-width: 991px) {
    .feature-box {
        justify-content: center !important;
        text-align: center;
    }
}





/* =====================================================
   RESPONSIVE ANIMATION & MOBILE FIX
===================================================== */

/* Scroll reveal başlangıç */
.reveal-up {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Desktop hover aktif */
@media (min-width: 992px) {
    .service-card,
    #projects .card,
    #process .p-4 {
        will-change: transform;
    }
}

/* Mobilde hover efekti kapat, kartlar temiz kalsın */
@media (max-width: 991px) {
    .service-card {
        transform: none !important;
    }

    .service-card:hover {
        transform: none !important;
        box-shadow: 0 18px 40px rgba(0, 80, 200, 0.18) !important;
    }

    .service-card:hover::before {
        opacity: 0 !important;
    }

    .service-card:hover h4,
    .service-card:hover p {
        color: inherit !important;
    }

    .service-card:hover i {
        color: #0d6efd !important;
        background: linear-gradient(145deg, #eef3ff, #dfe8ff);
        transform: none;
        box-shadow: none;
    }

    #projects .card:hover,
    #process .p-4:hover {
        transform: none !important;
    }
}