/* assets/css/responsive.css - Global Responsive */

/* ============================================================
   1024px — Footer grid
   ============================================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

/* ============================================================
   992px — Tablet genel + hamburger menü
   ============================================================ */
@media (max-width: 992px) {

    body {
        overflow-x: hidden;
    }

    .container,
    .section-container,
    .services-container,
    .services-page-container {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    section {
        overflow: hidden;
    }

    /* Servis kartları 2 kolon */
    .services-page-grid,
    .service-grid,
    .services-grid,
    .cards-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 22px;
    }

    .service-card,
    .services-card,
    .service-page-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    /* Hamburger menü */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border-radius: 14px;
        border: 1px solid rgba(255,255,255,.18);
        background: rgba(255,255,255,.12);
        color: #fff;
        font-size: 1.55rem;
        z-index: 10001;
    }

    .nav-menu,
    .header-phone,
    .header-actions .btn-primary {
        display: none;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }
}

.header.scrolled .mobile-menu-toggle {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* ============================================================
   768px — Mobil genel
   ============================================================ */
@media (max-width: 768px) {

    body {
        overflow-x: hidden;
        padding-bottom: 90px; /* mobile-sticky-actions yüksekliği */
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .section {
        padding: 70px 0;
    }

    h1 {
        font-size: clamp(2.4rem, 11vw, 4rem);
        line-height: 1.05;
    }

    h2,
    .section h2 {
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.12;
    }

    p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .flex-between {
        flex-direction: column;
        text-align: center;
    }

    /* Servis kartları 1 kolon */
    .services-page-grid,
    .service-grid,
    .services-grid,
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-card,
    .services-card,
    .service-page-card {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .service-card h3,
    .services-card h3,
    .service-page-card h3 {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    .service-card p,
    .services-card p,
    .service-page-card p {
        font-size: .95rem;
        line-height: 1.6;
    }

    /* Services page hero */
    .services-page-hero {
        padding: 110px 0 45px;
    }

    .services-page-hero h1 {
        font-size: clamp(2rem, 9vw, 2.7rem);
        line-height: 1.15;
    }

    .services-page-hero p {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0 6px;
    }

/* Eski sticky butonları tamamen kapat */
.sticky-call,
.sticky-whatsapp {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
}

/* ============================================================
   420px — Küçük ekran padding
   ============================================================ */
@media (max-width: 420px) {

    .container,
    .section-container,
    .services-container,
    .services-page-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .services-page-hero {
        padding-top: 100px;
    }

    .services-page-hero h1 {
        font-size: 2rem;
    }

    .service-card,
    .services-card,
    .service-page-card {
        padding: 20px 16px;
    }
}

/* ============================================================
   MOBİL STICKY CTA BAR — sabit alt çubuk
   ============================================================ */
.mobile-sticky-actions {
    display: none;
}

@media (max-width: 768px) {

    .mobile-sticky-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;

    padding: 12px 16px 20px;

    background: transparent;
    box-shadow: none;
    pointer-events: none;
}

    .mobile-sticky-btn {
        pointer-events:auto;
        height: 60px;
        border-radius: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-decoration: none;
        font-size: 17px;
        font-weight: 700;
        transition: .25s ease;
    }

    .mobile-sticky-btn.call {
        background: #0B2B5E;
        color: #fff;
    }

    .mobile-sticky-btn.whatsapp {
        background: #25D366;
        color: #fff;
    }

    .mobile-sticky-btn i {
        font-size: 20px;
    }

    .mobile-sticky-btn:active {
        transform: scale(.97);
    }
}
@media (max-width:768px){

    .mobile-service-bar{
        display:none !important;
        opacity:0 !important;
        visibility:hidden !important;
        pointer-events:none !important;
    }

}
/* ============================================================
   MOBILE HERO FEATURE + TRUST FIX
   ============================================================ */

@media (max-width:768px){

    .hero-feature-row{
        display:grid !important;
        grid-template-columns:repeat(2, 1fr) !important;
        gap:18px 14px !important;
        margin-top:28px !important;
    }

    .hero-feature-item{
        min-width:0 !important;
    }

    .hero-feature-item:not(:last-child)::after{
        display:none !important;
    }

    .hero-feature-item i{
        width:58px !important;
        height:58px !important;
        font-size:28px !important;
        margin-bottom:8px !important;
    }

    .hero-feature-item span{
        font-size:14px !important;
        line-height:1.35 !important;
    }

    .hero-guarantee{
        margin-top:22px !important;
        margin-bottom:16px !important;
        justify-content:center !important;
        text-align:center !important;
    }

    .hero-guarantee span{
        font-size:15px !important;
    }

    .hero-trust-bar{
        grid-template-columns:repeat(2, 1fr) !important;
        gap:0 !important;
        max-width:100% !important;
        padding:6px !important;
        margin-top:18px !important;
    }

    .hero-trust-item{
        padding:14px 10px !important;
        gap:8px !important;
    }

    .hero-trust-item i{
        font-size:1.8rem !important;
    }

    .hero-trust-item strong{
        font-size:1rem !important;
    }

    .hero-trust-item span{
        font-size:.72rem !important;
        line-height:1.25 !important;
    }
}
/* ============================================================
   MOBILE HERO GENERAL POLISH
   ============================================================ */

@media (max-width:768px){

    .hero{
        padding:115px 0 46px !important;
        min-height:auto !important;
    }

    .hero-container{
        display:flex !important;
        flex-direction:column !important;
        gap:24px !important;
        text-align:center !important;
    }

    .hero-content{
        max-width:100% !important;
        padding-top:0 !important;
        transform:none !important;
    }

    .hero-content .subtitle{
        font-size:11px !important;
        line-height:1.5 !important;
        letter-spacing:2.4px !important;
        margin-bottom:12px !important;
    }

    .hero-content h1{
        font-size:clamp(2.35rem, 10vw, 3.25rem) !important;
        line-height:1.02 !important;
        letter-spacing:-2px !important;
        margin-bottom:16px !important;
        color:#fff !important;
    }

    .hero-content h1 strong{
        color:var(--color-accent) !important;
    }

    .hero-content p{
        max-width:92% !important;
        margin:0 auto !important;
        font-size:.96rem !important;
        line-height:1.65 !important;
        color:rgba(255,255,255,.9) !important;
    }

    .hero-visual{
        order:2 !important;
        justify-self:center !important;
        margin-top:0 !important;
    }

    .hero-visual img{
        max-width:78vw !important;
        transform:none !important;
    }

    .hero-feature-row{
        order:3 !important;
        width:100% !important;
    }

    .hero-guarantee{
        width:100% !important;
    }

    .hero-trust-bar{
        width:100% !important;
        border-radius:18px !important;
        background:linear-gradient(135deg, rgba(255,255,255,.20), rgba(255,255,255,.08)) !important;
    }

    .local-seo-strip{
        font-size:.82rem !important;
        padding:14px 0 !important;
    }
}
/* ============================================================
   MOBILE HERO FEATURES — SINGLE ROW
   ============================================================ */

@media (max-width:768px){

    .hero-feature-row{
        display:grid !important;
        grid-template-columns:repeat(4, 1fr) !important;
        gap:10px !important;
        margin-top:22px !important;
        align-items:start !important;
    }

    .hero-feature-item{
        min-width:0 !important;
    }

    .hero-feature-item:not(:last-child)::after{
        display:none !important;
    }

    .hero-feature-item i{
        width:46px !important;
        height:46px !important;
        font-size:22px !important;
        margin-bottom:6px !important;
    }

    .hero-feature-item span{
        font-size:11px !important;
        line-height:1.25 !important;
        word-break:break-word !important;
    }

}
/* ============================================================
   STICKY ACTIONS — tüm ekranlarda görünür
   ============================================================ */
.mobile-sticky-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 12px 16px 20px;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
}