/* =========================================================
   AI Presio - Custom Responsive Fixes
   ========================================================= */

/* Home hero dashboard image */
.hero-dashboard-img {
    display: block;
    width: 100%;
    max-width: 1000px;
    height: auto;
    margin: 0 auto;
}

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 768px) {

    /* Genel taşma kontrolü */
    .hero,
    .hero-body,
    .hero .container,
    .hero .columns,
    .hero .column {
        max-width: 100%;
    }

    .hero .columns {
        margin-left: 0;
        margin-right: 0;
    }

    /* Ana sayfa hero */
    .hero h1.title {
        font-size: 34px !important;
        line-height: 1.15;
        word-break: normal;
    }

    .hero-dashboard-img {
        max-width: 100%;
    }

    .hero-audit-form .columns {
        display: block;
    }

    .hero-audit-form .column {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .hero-audit-form .button {
        width: 100%;
        margin-top: 12px;
    }

    /* Alt sayfa hero */
    .hero:not(.is-fullheight) {
        overflow: hidden !important;
    }

    .hero:not(.is-fullheight) .hero-body {
        min-height: auto !important;
        height: auto !important;
        padding: 95px 22px 55px !important;
        margin-top: 0 !important;
    }

    .hero:not(.is-fullheight) #main-hero {
        margin-top: 0 !important;
    }

    .hero:not(.is-fullheight) .is-subheader-caption .title {
        font-size: 34px !important;
        line-height: 1.15;
        margin-bottom: 18px !important;
    }

    .hero:not(.is-fullheight) .is-subheader-caption .subtitle-alt {
        font-size: 16px !important;
        line-height: 1.55;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero.is-app-grey:before,
    .hero.is-app-grey:after,
    .is-subheader-caption:before,
    .is-subheader-caption:after {
        display: none !important;
    }

    /* Ana sayfa referans logoları mobilde gizli */
    .reference-logos-wrap {
        display: none !important;
    }

    /* Hakkımızda referans logoları */
    .about-clients .columns {
        display: flex;
        flex-wrap: wrap;
        margin: 0 !important;
    }

    .about-clients .column {
        width: 33.333% !important;
        flex: 0 0 33.333% !important;
        max-width: 33.333% !important;
        padding: 10px 5px !important;
        text-align: center;
    }

    .about-clients .client {
        max-width: 70px;
        max-height: 40px;
        width: auto;
        height: auto;
        margin: 0 auto;
    }

    .about-clients .column:last-child {
        display: none;
    }

    /* CTA / Footer head */
    .footer-head {
        padding: 48px 22px !important;
    }

    .footer-head .head-text {
        padding: 0 6px;
    }

    .footer-head .head-text h3 {
        font-size: 28px;
        line-height: 1.2;
    }

    .footer-head .head-text p {
        font-size: 16px;
        line-height: 1.5;
    }

    .footer-head .buttons {
        justify-content: center;
        gap: 10px;
    }

    /* Footer minimal mobil */
    .footer-body {
        padding: 28px 22px 18px !important;
        text-align: center;
    }

    .footer-body > .column {
        padding: 0 !important;
    }

    .small-footer-logo {
        max-width: 120px;
        margin: 0 auto 14px;
    }

    .footer-description {
        font-size: 14px;
        line-height: 1.55;
        max-width: 300px;
        margin: 0 auto 18px;
    }

    .moto {
        display: none;
    }

    .footer-body .social-links {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 14px auto 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }

    .footer-body .social-links a {
        float: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 8px !important;
    }

    .footer-body .social-links .icon {
        margin: 0 !important;
    }

    /* Mobilde menü kolonunu gizle, yasal linkleri küçük göster */
    .footer-body .column.is-6 {
        display: block !important;
        margin-top: 20px;
    }

    .footer-body .column.is-6 .columns {
        display: block;
        margin: 0 !important;
    }

    .footer-body .column.is-6 .columns > .column {
        padding: 0 !important;
    }

    .footer-body .column.is-6 .columns > .column:first-child {
        display: none !important;
    }

    .footer-column {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 12px;
        margin: 8px auto 0;
        padding: 0;
        max-width: 340px;
    }

    .footer-column .column-header {
        display: none;
    }

    .footer-column .column-item {
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.2;
    }

    .footer-column .column-item a {
        font-size: 12px;
        color: #999;
    }

    .footer-copyright {
        padding: 14px 20px 24px;
        font-size: 13px;
    }

    /* Başarı hikayeleri hero */
    .case-hero {
        padding: 105px 22px 48px !important;
        overflow: hidden;
    }

    .case-hero .container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .case-hero .column {
        padding-left: 0;
        padding-right: 0;
    }

    .case-hero:before {
        width: 220px;
        height: 220px;
        right: -90px;
        top: -60px;
    }

    .case-eyebrow {
        font-size: 11px;
        padding: 7px 12px;
        margin-bottom: 14px;
    }

    .case-hero-title {
        font-size: 28px !important;
        line-height: 1.18;
        margin-bottom: 16px;
        max-width: 100%;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .case-hero-subtitle {
        font-size: 15px;
        line-height: 1.65;
    }

    .case-hero .pt-30 {
        padding-top: 20px !important;
    }

    .case-hero .button {
        width: 100%;
        margin: 0 0 12px 0 !important;
    }

    /* Başarı hikayeleri içerik mobil */
    .metric-card {
        padding: 22px 18px;
        margin-bottom: 16px;
    }

    .metric-value {
        font-size: 32px;
    }

    .case-chart {
        padding: 20px 16px;
    }

    .bar-row {
        display: block;
        margin-bottom: 20px;
    }

    .bar-name,
    .bar-score {
        width: auto;
        text-align: left;
        margin-bottom: 7px;
    }

    .bar-track {
        margin-bottom: 7px;
    }

    .case-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        border-radius: 14px;
    }

    .case-table th,
    .case-table td {
        padding: 14px 16px;
        font-size: 13px;
    }

    .process-modern-wrap:before,
    .process-modern-dot {
        display: none;
    }

    .process-modern-card {
        min-height: auto;
        padding: 22px 18px;
        margin-bottom: 16px;
    }

    .process-modern-head {
        align-items: flex-start;
        gap: 12px;
    }

    .process-modern-icon {
        width: 46px;
        height: 46px;
        flex: 0 0 46px;
        font-size: 21px;
    }

    .process-modern-title {
        font-size: 18px;
    }

    .process-modern-text {
        font-size: 14px;
        line-height: 1.65;
    }

    .case-quote {
        padding: 28px 22px;
        border-radius: 18px;
        margin-bottom: 24px;
    }

    .case-quote .title {
        font-size: 22px !important;
    }

    #trust .button {
        width: 100%;
        margin: 0 0 12px 0 !important;
    }
}