/* ===========================================================
   Seramik Alçı Boya — Modern Redesign (ustabilir-inspired)
   Services + Projects card styles, FAQ, Counter, Footer cleanup
   Renk paleti:
     --brand-orange: #f59222   (Teklif Al butonları, vurgu)
     --brand-yellow: #FFC107   (varolan slider/teklif sarısı korunur)
     --ink-900:      #0f1d3a   (lacivert başlık)
     --ink-700:      #25324b   (alt başlık)
     --ink-500:      #5a6679   (gövde)
     --ink-300:      #8b95a7   (silik)
     --line-soft:    #e3edf6   (kart cyan kenarlığı)
     --line:         #d8e2ee
     --bg-soft:      #f6fafd
   =========================================================== */

:root{
    --brand-orange: #f59222;
    --brand-orange-dark: #d97a10;
    --brand-yellow: #FFC107;
    --ink-900: #0f1d3a;
    --ink-700: #25324b;
    --ink-500: #5a6679;
    --ink-300: #8b95a7;
    --line-soft: #e3edf6;
    --line: #d8e2ee;
    --bg-soft: #f6fafd;
}

/* -------- General typography refinements (ana sayfa) -------- */
.sec-title .title{
    color: var(--ink-900) !important;
    letter-spacing: -.5px;
}
.sec-title .sub-text{
    color: var(--brand-orange) !important;
    font-weight: 600;
    letter-spacing: .4px;
}

/* ===========================================================
   SERVICES — Modern Card (override of .services-item layout)
   =========================================================== */
.rs-services.services-main-home{
    background: var(--bg-soft) !important;
}

/* Eski içerik bloklarını gizle: hover-overlay (services-content) ve normal text-area */
.rs-services.services-main-home .services-item .services-content,
.rs-services.services-main-home .services-item .normarl-text-area{
    display: none !important;
}

/* Yeni kart: sadece services-image + altına PHP'den gelen başlık/desc/buton */
.rs-services.services-main-home .services-item{
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    box-shadow: 0 2px 10px rgba(15, 29, 58, .04);
    height: 100%;
}
.rs-services.services-main-home .services-item:hover{
    transform: translateY(-4px);
    border-color: #b8d6ee;
    box-shadow: 0 14px 30px rgba(15, 29, 58, .10);
}
.rs-services.services-main-home .services-item .services-wrap{
    display: flex;
    flex-direction: column;
    height: 100%;
}
.rs-services.services-main-home .services-image{
    margin: 14px 14px 0 14px;
    border-radius: 14px;
    overflow: hidden;
}
.rs-services.services-main-home .services-image img{
    height: 220px !important;
    width: 100% !important;
    object-fit: cover !important;
    transition: transform .5s ease;
    display: block;
}
.rs-services.services-main-home .services-item:hover .services-image img{
    transform: scale(1.06);
}

/* PHP'den gelen kart-içi başlık/açıklama/buton */
.srv-card-body{
    padding: 20px 22px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
.srv-card-title{
    font-size: 19px;
    font-weight: 700;
    color: var(--ink-900);
    margin: 0 0 10px;
    line-height: 1.35;
}
.srv-card-title a{
    color: inherit;
    text-decoration: none;
}
.srv-card-title a:hover{
    color: var(--brand-orange);
}
.srv-card-desc{
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ink-500);
    margin: 0 0 18px;
    flex: 1 1 auto;
}
.srv-card-btn{
    display: inline-block;
    text-align: center;
    width: 100%;
    padding: 11px 18px;
    border: 2px solid var(--brand-orange);
    color: var(--brand-orange);
    background: transparent;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: background .25s ease, color .25s ease, transform .15s ease;
    letter-spacing: .3px;
}
.srv-card-btn:hover,
.srv-card-btn:focus{
    background: var(--brand-orange);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

@media (max-width: 575px){
    .rs-services.services-main-home .services-image img{ height: 190px !important; }
    .srv-card-body{ padding: 18px 18px 20px; }
    .srv-card-title{ font-size: 17px; }
}

/* ===========================================================
   PROJECTS — Framed Card
   =========================================================== */
.rs-project.project-style1{
    background: #fff !important;
}
.rs-project.project-style1 .project-item{
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 29, 58, .04);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    height: 100%;
}
.rs-project.project-style1 .project-item:hover{
    transform: translateY(-4px);
    border-color: #b8d6ee;
    box-shadow: 0 14px 30px rgba(15, 29, 58, .10);
}
.rs-project.project-style1 .project-item .project-img{
    margin: 14px 14px 0 14px;
    border-radius: 14px;
    overflow: hidden;
}
.rs-project.project-style1 .project-item .project-img img{
    height: 240px !important;
    width: 100% !important;
    object-fit: cover !important;
    transition: transform .5s ease;
}
.rs-project.project-style1 .project-item:hover .project-img img{
    transform: scale(1.06);
}
.rs-project.project-style1 .project-item .project-content{
    padding: 18px 22px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fff !important;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.rs-project.project-style1 .project-item .project-content .title{
    font-size: 18px;
    font-weight: 700;
    color: var(--ink-900);
    margin: 0 0 4px;
    line-height: 1.35;
}
.rs-project.project-style1 .project-item .project-content .title a{
    color: inherit;
}
.rs-project.project-style1 .project-item .project-content .title a:hover{
    color: var(--brand-orange);
}
.rs-project.project-style1 .project-item .project-content .category{
    font-size: 13px;
    color: var(--ink-300);
    text-transform: uppercase;
    letter-spacing: .5px;
}
.rs-project.project-style1 .project-item .project-content .category a{
    color: inherit;
}
.rs-project.project-style1 .project-item .project-content .p-icon{
    flex: 0 0 auto;
}
.rs-project.project-style1 .project-item .project-content .p-icon a{
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    border-radius: 50%;
    background: var(--brand-orange);
    color: #fff;
    display: inline-block;
    font-size: 14px;
    transition: background .25s ease, transform .15s ease;
}
.rs-project.project-style1 .project-item .project-content .p-icon a:hover{
    background: var(--brand-orange-dark);
    transform: rotate(-15deg);
}

/* Filter butonları (Tümü / kategoriler) — biraz daha modern */
.rs-project.project-style1 .gridFilter button{
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-700);
    padding: 8px 18px;
    border-radius: 50px;
    margin: 0 6px 10px 0;
    font-weight: 500;
    transition: all .2s ease;
}
.rs-project.project-style1 .gridFilter button.active,
.rs-project.project-style1 .gridFilter button:hover{
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    color: #fff;
}

@media (max-width: 575px){
    .rs-project.project-style1 .project-item .project-img img{ height: 200px !important; }
    .rs-project.project-style1 .project-item .project-content{ padding: 16px 18px 20px; }
}

/* ===========================================================
   FAQ — soft cards
   =========================================================== */
.rs-faq.faq-style1 .accordion .card{
    border: 1px solid var(--line-soft) !important;
    border-radius: 14px !important;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(15,29,58,.03);
}
.rs-faq.faq-style1 .accordion .card-header{
    background: #fff;
    border: none;
    padding: 0;
}
.rs-faq.faq-style1 .accordion .card-header .card-link{
    color: var(--ink-900);
    font-weight: 600;
    padding: 16px 20px;
    display: block;
}
.rs-faq.faq-style1 .accordion .card-body{
    color: var(--ink-500);
    padding: 4px 20px 18px;
    font-size: 14.5px;
    line-height: 1.65;
}

/* ===========================================================
   FOOTER — temizleme
   =========================================================== */
#rs-footer .footer-top .textwidget p{
    color: rgba(255,255,255,.78);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}
#rs-footer .footer-top .textwidget p strong,
#rs-footer .footer-top .textwidget p b,
#rs-footer .footer-top .textwidget p font{
    font-weight: inherit !important;
    color: inherit !important;
    background: transparent !important;
}
/* h2/h3/listeleri footer'da gizle (DB'den artık gelmemeli ama emniyet kemeri) */
#rs-footer .footer-top .textwidget h1,
#rs-footer .footer-top .textwidget h2,
#rs-footer .footer-top .textwidget h3,
#rs-footer .footer-top .textwidget h4,
#rs-footer .footer-top .textwidget ul,
#rs-footer .footer-top .textwidget ol,
#rs-footer .footer-top .textwidget hr{
    display: none !important;
}

/* ===========================================================
   Hakkımızda content sanitize (about_us alanı şişkin gelirse)
   =========================================================== */
.rs-about .desc h2,
.rs-about .desc h3{
    color: var(--ink-900);
    font-size: 22px;
    margin-bottom: 12px;
    line-height: 1.35;
}
.rs-about .desc p{
    color: var(--ink-500);
    line-height: 1.7;
    margin-bottom: 14px;
}
.rs-about .desc ul,
.rs-about .desc ol{ display: none; }
.rs-about .desc font[color]{ color: inherit !important; }
.rs-about .desc *{ background: transparent !important; }

/* ===========================================================
   ABOUT — Anasayfa Hakkımızda Kartı modern düzen
   =========================================================== */
.rs-about.about-style1{
    background: #fff !important;
}
.rs-about.about-style1 .images-part{
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15,29,58,.10);
}
.rs-about.about-style1 .images-part::before{
    content: "";
    position: absolute;
    left: -18px;
    top: -18px;
    width: 90px;
    height: 90px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--brand-orange) 0%, #ffb04a 100%);
    z-index: 0;
    opacity: .9;
}
.rs-about.about-style1 .images-part::after{
    content: "";
    position: absolute;
    right: -22px;
    bottom: -22px;
    width: 130px;
    height: 130px;
    border-radius: 22px;
    background: var(--bg-soft);
    border: 4px solid #fff;
    z-index: 0;
}
.rs-about.about-style1 .images-part img{
    position: relative;
    z-index: 1;
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 22px;
    display: block;
}
.rs-about.about-style1 .sec-title .title{
    font-size: 36px;
    line-height: 1.18;
    margin-bottom: 18px;
}
.rs-about.about-style1 .sec-title .desc{
    color: var(--ink-500);
    line-height: 1.75;
    font-size: 15.5px;
}
.rs-about.about-style1 .sec-title .desc h3{
    font-size: 19px;
    font-weight: 700;
    color: var(--ink-900);
    margin: 10px 0 10px;
}
.rs-about.about-style1 .sec-title .desc p{
    margin: 0 0 12px;
}
/* hizmet alanı chip'leri */
.about-chips{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 24px;
}
.about-chips span{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-soft);
    border: 1px solid var(--line-soft);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-700);
}
.about-chips span::before{
    content: "✓";
    color: var(--brand-orange);
    font-weight: 700;
}
.about-cta{
    display: inline-block;
    padding: 13px 28px;
    background: var(--brand-orange);
    color: #fff !important;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: background .25s ease, transform .15s ease;
    box-shadow: 0 8px 18px rgba(245,146,34,.28);
}
.about-cta:hover{
    background: var(--brand-orange-dark);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

@media (max-width: 991px){
    .rs-about.about-style1 .images-part img{ height: 360px; }
    .rs-about.about-style1 .sec-title .title{ font-size: 28px; }
}
@media (max-width: 575px){
    .rs-about.about-style1 .images-part img{ height: 280px; }
    .rs-about.about-style1 .images-part::before{ width: 60px; height: 60px; }
    .rs-about.about-style1 .images-part::after{ width: 90px; height: 90px; }
}

/* ===========================================================
   SSS yanındaki görsel — kalite/oran düzeltmesi
   (.rs-faq.faq-style1 .faq-images background-image div'i)
   =========================================================== */
.rs-faq.faq-style1{
    padding: 100px 0;
    background: var(--bg-soft);
}
.rs-faq.faq-style1 > .row{
    align-items: stretch;
    margin: 0;
}
.rs-faq.faq-style1 .faq-content{
    padding: 0 30px;
}
.rs-faq.faq-style1 .faq-images{
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-radius: 22px;
    min-height: 520px;
    box-shadow: 0 14px 30px rgba(15,29,58,.10);
}
@media (max-width: 991px){
    .rs-faq.faq-style1{ padding: 60px 15px; }
    .rs-faq.faq-style1 .faq-images{ min-height: 320px; margin-top: 30px; }
}

/* ===========================================================
   Why Choose — sol taraftaki görsel kartı (play butonu kaldırıldı)
   =========================================================== */
.rs-choose.choose-style1 .video-item{
    min-height: 480px;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-radius: 0;
    position: relative;
}
.rs-choose.choose-style1 .video-item::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,29,58,.18) 0%, rgba(15,29,58,0) 60%);
    pointer-events: none;
}
@media (max-width: 991px){
    .rs-choose.choose-style1 .video-item{ min-height: 320px; }
}

/* ===========================================================
   FOOTER — alt copyright tek satır, ikinci satır gizli (DB temizlendi)
   =========================================================== */
#rs-footer .footer-bottom .copyright{
    color: rgba(255,255,255,.7);
    font-size: 13px;
    padding: 14px 0;
}
#rs-footer .footer-bottom .copyright span{
    -webkit-text-fill-color: rgba(255,255,255,.85) !important;
    background: none !important;
}
#rs-footer .footer-bottom .copyright img{
    vertical-align: middle;
    filter: brightness(.95);
}

/* ===========================================================
   BÖLGELER (regions) sayfası kartları
   =========================================================== */
.regions-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.region-card{
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    padding: 26px 24px;
    box-shadow: 0 2px 10px rgba(15,29,58,.04);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.region-card:hover{
    transform: translateY(-4px);
    border-color: #b8d6ee;
    box-shadow: 0 14px 30px rgba(15,29,58,.10);
}
.region-card .region-icon{
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand-orange) 0%, #ffb04a 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 6px;
}
.region-card h3{
    font-size: 19px;
    font-weight: 700;
    color: var(--ink-900);
    margin: 0;
    line-height: 1.3;
}
.region-card p{
    color: var(--ink-500);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}
.region-card .region-cta{
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand-orange);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    align-self: flex-start;
}
.region-card .region-cta:hover{
    color: var(--brand-orange-dark);
    text-decoration: none;
}
.region-card .region-cta::after{
    content: "→";
    transition: transform .2s ease;
}
.region-card:hover .region-cta::after{
    transform: translateX(4px);
}

/* ===========================================================
   MOBİL ALT SABİT BAR (Telefon / WhatsApp / Instagram)
   - Masaüstünde gizli
   - Mobilde altta 3 renkli kutucuk
   =========================================================== */
.mobile-fab-bar{ display: none; }

@media (max-width: 767px){
    /* Mevcut yüzen ikonları mobilde gizle */
    .float,
    .float2,
    .hotline-phone-ring-wrap,
    .instagram{
        display: none !important;
    }

    .mobile-fab-bar{
        display: flex;
        gap: 8px;
        position: fixed;
        bottom: 8px;
        left: 8px;
        right: 8px;
        z-index: 99999;
    }
    .mobile-fab-bar .mfab{
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 10px 6px;
        background: #fff;
        border: 1px solid var(--line-soft);
        color: var(--ink-900);
        text-decoration: none;
        font-size: 11.5px;
        font-weight: 600;
        letter-spacing: .2px;
        border-radius: 14px;
        box-shadow: 0 8px 18px rgba(15,29,58,.10);
        text-align: center;
        line-height: 1;
        min-height: 58px;
        transition: border-color .2s ease, transform .15s ease, background .2s ease, color .2s ease;
    }
    .mobile-fab-bar .mfab i{
        font-size: 20px;
        line-height: 1;
        color: var(--brand-orange);
        transition: color .2s ease;
    }
    .mobile-fab-bar .mfab:hover,
    .mobile-fab-bar .mfab:focus,
    .mobile-fab-bar .mfab:active{
        background: var(--brand-orange);
        border-color: var(--brand-orange);
        color: #fff;
        text-decoration: none;
        transform: translateY(-1px);
    }
    .mobile-fab-bar .mfab:hover i,
    .mobile-fab-bar .mfab:focus i,
    .mobile-fab-bar .mfab:active i{
        color: #fff;
    }

    /* Bar altta dururken içeriğin son kısmının kapanmaması için padding */
    body{ padding-bottom: 78px; }

    /* Footer'ın 'scrollUp' butonu da bar ile çakışmasın */
    #scrollUp{
        bottom: 86px !important;
        right: 12px !important;
    }
}

/* ===========================================================
   TEKLİF AL MODAL — Telefon + WhatsApp pop-up
   =========================================================== */
.teklif-modal{
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15,29,58,.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity .2s ease;
}
.teklif-modal.active{
    display: flex;
    opacity: 1;
}
.teklif-modal__panel{
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: 22px;
    padding: 36px 32px 32px;
    box-shadow: 0 30px 60px rgba(15,29,58,.30);
    position: relative;
    transform: translateY(20px);
    transition: transform .25s ease;
    text-align: center;
}
.teklif-modal.active .teklif-modal__panel{
    transform: translateY(0);
}
.teklif-modal__close{
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-soft);
    border-radius: 50%;
    color: var(--ink-700);
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    transition: background .2s ease, color .2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.teklif-modal__close:hover{
    background: var(--brand-orange);
    color: #fff;
}
.teklif-modal__icon{
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--brand-orange) 0%, #ffb04a 100%);
    border-radius: 18px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 12px 24px rgba(245,146,34,.28);
}
.teklif-modal__title{
    font-size: 22px;
    font-weight: 700;
    color: var(--ink-900);
    margin: 0 0 6px;
    line-height: 1.3;
}
.teklif-modal__hizmet{
    font-size: 14px;
    color: var(--brand-orange);
    font-weight: 600;
    margin: 0 0 4px;
}
.teklif-modal__desc{
    font-size: 14.5px;
    color: var(--ink-500);
    margin: 0 0 24px;
    line-height: 1.6;
}
.teklif-modal__actions{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.teklif-modal__btn{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    border: 2px solid var(--line-soft);
    background: #fff;
    color: var(--ink-900);
    border-radius: 14px;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: all .2s ease;
}
.teklif-modal__btn i{
    font-size: 20px;
    color: var(--brand-orange);
    transition: color .2s ease;
}
.teklif-modal__btn:hover{
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245,146,34,.25);
}
.teklif-modal__btn:hover i{
    color: #fff;
}
.teklif-modal__btn small{
    display: block;
    font-weight: 400;
    font-size: 12px;
    opacity: .75;
    margin-top: 2px;
}
.teklif-modal__divider{
    margin: 20px 0 12px;
    border: none;
    border-top: 1px solid var(--line-soft);
    position: relative;
}
.teklif-modal__divider::after{
    content: "veya";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: var(--ink-300);
    font-size: 12px;
    padding: 0 12px;
    letter-spacing: 1px;
}
.teklif-modal__form-link{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink-500);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
}
.teklif-modal__form-link:hover{
    color: var(--brand-orange);
    text-decoration: none;
}
@media (max-width: 575px){
    .teklif-modal__panel{ padding: 28px 22px 22px; }
    .teklif-modal__title{ font-size: 19px; }
}
/* sayfa scroll'u kilitle modal açıkken */
body.teklif-modal-open{
    overflow: hidden;
}
