/* #region GENEL  */

.px-offcanvas-2-left .tp-offcanvas-menu ul {
    max-height: 535px !important;
}

.px-offcanvas-2-left .tp-offcanvas-menu {
    margin-bottom: 80px;
}

.custom-indent-3 {
    text-indent: 3rem;
}

.custom-responsive-p {
    font-size: 18px !important;
    /* Mobil varsayılan */
    line-height: 1.6 !important;
    color: #666;
    text-align: justify;
    /* Tasarımınıza göre rengi güncelleyebilirsiniz */
}

/* Orta Ölçekli Ekranlar (Tablet - 768px ve üzeri) */
@media (min-width: 768px) {
    .custom-responsive-p {
        font-size: 20px !important;
    }
}

/* Geniş Ekranlar (Laptop/Desktop - 1200px ve üzeri) */
@media (min-width: 1200px) {
    .custom-responsive-p {
        font-size: 22px !important;
        font-weight: 400 !important;
    }
}

.custom-overview-list {
    list-style-type: disc;
    padding-left: 3rem;
    margin-top: 20px;
}
.custom-overview-list > li {
    margin-top: 25px;
}

/* #endregion GENEL  */


/* #region Anasayfa */
@media (max-width: 575px) {
    .custom-sm-hide {
        display: none !important;
    }

}

@media (max-width: 1200px) {
    .custom-fikir-al {
        display: none !important;
    }

    .custom-main-gif {
        display: none !important;
    }
}

/* #endregion Anasayfa */


/* #region Portfolio listeleme sayfası */

.pf-hero-ptb {
    padding-top: 50px !important;
}

/* #endregion Portfolio listeleme sayfası */


/* #region Portfolio detay sayfası */
@media (max-width: 520px) {

    /* 520px altında yan yana dizilimi bozup alt alta (sütun) yapar */
    .custom-flex-column {
        flex-direction: column !important;
        justify-content: flex-start !important;
        gap: 20px;
        /* Elemanlar arasına biraz boşluk ekler, isteğe göre silebilirsin */
    }

    /* 520px altında merkezli yazıları sola yaslar */
    .custom-text-start {
        text-align: left !important;
    }
}

.px-pd-2-banner {
    height: auto !important;
}

/* Galeri Grid Düzeni (Aynı kalıyor) */
.dynamic-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Ortak Kart Stili */
.gallery-item {
    position: relative;
    display: block;
    width: 100%;
    /* Sabit height: 300px yerine aspect-ratio kullanıyoruz */
    aspect-ratio: 16 / 9; 
    overflow: hidden;
    border-radius: 8px;
    background-color: #eee;
    cursor: default;
}

/* Eğer gallery-item bir LINK ise imleci el işareti yap */
a.gallery-item {
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover Efekti: Sadece link olanlarda veya hepsinde çalışabilir (senin tercihin) */
.gallery-item:hover img {
    transform: scale(1.08);
}

/* Overlay ve Buton Tasarımı */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Biraz daha koyu yaparak butonu öne çıkardık */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* "Ziyaret Et" Buton Stili */
.overlay-btn {
    background: #fff;
    color: #000;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .overlay-btn {
    transform: translateY(0);
}

/* Mobil Ayarlar */
@media (max-width: 576px) {
    .dynamic-gallery-grid {
        grid-template-columns: 1fr;
        /* Mobilde tam genişlik daha temiz durur */
    }

    .gallery-item {
        height: auto;
    }
}

/* #endregion Portfolio detay sayfası */


/* #region Hizmet detay sayfası - NOT: Proje detay sayfası kopyası olduğundan ordan da css alıyor */
.gallery-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    /* Hafif karartma */
    transition: all 0.3s ease;
}

.overlay-icon i {
    color: #fff;
    font-size: 30px;
    /* İkon boyutu */
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.gallery-item:hover .overlay-icon i {
    transform: scale(1.1);
    /* Hover yapınca ikon hafifçe büyür */
    color: #d4d4d4;
    /* İstersen ajansın ana rengini buraya verebilirsin */
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    /* Üzerine gelince görünür yap */
}

/* #endregion Hizmet detay sayfası */

/* #region İletişim Sayfası */

.tp-contact-us-ptb {
    padding-top: 50px !important;
}


.tp-contact-form-btn button {
    background-color: var(--tp-common-px-red) !important;
}

.tp-contact-us-btn .tp-btn-yellow-green.active {
    background-color: var(--tp-common-px-red) !important;
}

/* #endregion İletişim Sayfası */


/*  #region Hakkımızda sayfası */

.aus-service-content h4 {
    font-size: 35px !important;
}

.step-number {
    font-size: 40px;
    font-weight: 800;
    color: #eee;
    display: block;
    margin-bottom: 15px;
}

.px-work-step-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.custom-color-red {
    color: #ff0000 !important;
}

.px-section-title {
    font-weight: 700;
    font-size: 85px;
    line-height: 0.83;
    letter-spacing: -0.06em;
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
    .px-section-title {
        font-size: 85px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .px-section-title {
        font-size: 85px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .px-section-title {
        font-size: 55px;
    }
}

@media (max-width: 767px) {
    .px-section-title {
        font-size: 55px;
    }
}



/* Masaüstü (Varsayılan - 1200px ve üzeri) */
.px-about-3-bigtext {
    font-size: 140px !important;
    line-height: 1.1;
    /* Yazıların iç içe geçmemesi için */
}

/* Laptop ve Küçük Masaüstü (992px - 1199px arası) */
@media (max-width: 1199px) {
    .px-about-3-bigtext {
        font-size: 110px !important;
    }
}

/* Tablet (768px - 991px arası) */
@media (max-width: 991px) {
    .px-about-3-bigtext {
        font-size: 80px !important;
    }
}

/* Mobil Yatay (576px - 767px arası) */
@media (max-width: 767px) {
    .px-about-3-bigtext {
        font-size: 60px !important;
    }
}

/* Mobil Dikey (575px ve altı) */
@media (max-width: 575px) {
    .px-about-3-bigtext {
        font-size: 45px !important;
    }
}


@media (max-width: 575px) {
    .px-inner-about-style .px-about-3-content p {
        font-size: 30px;
        margin-bottom: 30px;
    }
}

/*  #endregion Hakkımızda sayfası */