/* gt-anti-jitter */
html { scroll-behavior: auto; }
html, body { overflow-x: hidden; }
#rs-mouse, #cursor-ball { display: none !important; pointer-events: none !important; }

/* Banner fade: sonraki slide alttan görünmesin */
.rs-banner-area .swiper {
    overflow: hidden;
}
.rs-banner-area .swiper-fade .swiper-slide {
    pointer-events: none;
}
.rs-banner-area .swiper-fade .swiper-slide-active {
    pointer-events: auto;
}

:root {
    --rs-theme-orange: #00C853;
    --primary: #00C853;
    --primary-hover: #00E676;
    --dark: #0F172A;
    --light: #F8FAFC;
    --rs-text-primary: #0F172A;
    --rs-ff-body: "Montserrat", sans-serif;
    --rs-ff-title: "Montserrat", sans-serif;
    --rs-ff-p: "Montserrat", sans-serif;
    --rs-fs-body: 16px;
    --rs-fs-p: 16px;
    --rs-fs-h1: 36px;
    --rs-fs-h2: 32px;
    --rs-fs-h3: 24px;
    --rs-fs-h4: 20px;
    --rs-fs-h5: 18px;
    --rs-fs-h6: 16px;
    --rs-fs-b1: 14px;
    --rs-fs-b2: 16px;
    --rs-fs-b3: 16px;
    --rs-fs-b4: 16px;
}
body,
html {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
}
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.rs-section-title,
.rs-banner-title,
.rs-btn,
.main-menu,
p, a, span, li, input, textarea, button, select {
    font-family: "Montserrat", sans-serif;
}
h1,
.h1,
h1.rs-section-title {
    font-size: 2.25rem; /* 36px */
    line-height: 1.25;
}
h2,
.h2,
h2.rs-section-title {
    font-size: 2rem; /* 32px */
    line-height: 1.3;
}
h3,
.h3,
h3.rs-section-title {
    font-size: 1.5rem; /* 24px */
    line-height: 1.35;
}
h4,
.h4 {
    font-size: 1.25rem; /* 20px */
    line-height: 1.4;
}
h5,
.h5 {
    font-size: 1.125rem; /* 18px */
    line-height: 1.4;
}
h6,
.h6 {
    font-size: 1rem; /* 16px */
    line-height: 1.5;
}
p,
.lead,
.content-body,
.content-body p,
.content-body li,
.content-body td,
.content-body span {
    font-size: 1rem; /* 16px */
    line-height: 1.7;
    font-weight: var(--rs-fw-normal);
}
@media only screen and (max-width: 1366px) {
    h1, .h1, h1.rs-section-title { font-size: 2rem; }
    h2, .h2, h2.rs-section-title { font-size: 1.75rem; }
}
@media only screen and (max-width: 991px) {
    h1, .h1, h1.rs-section-title { font-size: 1.75rem; }
    h2, .h2, h2.rs-section-title { font-size: 1.5rem; }
    h3, .h3, h3.rs-section-title { font-size: 1.25rem; }
}
@media only screen and (max-width: 575px) {
    h1, .h1, h1.rs-section-title { font-size: 1.5rem; }
    h2, .h2, h2.rs-section-title { font-size: 1.375rem; }
}
.rs-btn.has-bg::before {
    background-color: rgb(2 163 92);
}
.rs-brand-five .rs-brand-thumb img {
    width: 100%;
}
.offcanvas-contact-icon {
    min-width: 40px;
    min-height: 40px;
}

.rs-portfolio-six .rs-portfolio-content {
    background: var(--rs-theme-orange);
}

.rs-portfolio-six .rs-services-btn-wrapper {
    border-top: 1px solid #fff;
}

/* Çözümler: yazı resmin altında, görsel tam görünsün */
.rs-portfolio-six .rs-portfolio-item.ae-solution-card {
    height: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, .08);
}
.rs-portfolio-six .ae-solution-card-media {
    position: relative;
    width: 100%;
    height: auto;
    inset: auto;
    z-index: 1;
    background: #f8fafc;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rs-portfolio-six .ae-solution-card-media a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}
.rs-portfolio-six .ae-solution-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.rs-portfolio-six .ae-solution-card-content {
    position: relative;
    inset: auto;
    bottom: auto !important;
    width: 100%;
    max-width: none;
    border: none;
    border-radius: 0 0 16px 16px;
    padding: 24px 24px 22px;
}
.rs-portfolio-six .ae-solution-card-content .rs-portfolio-title a,
.rs-portfolio-six .ae-solution-card-content .rs-portfolio-tag a,
.rs-portfolio-six .ae-solution-card-content .rs-text-btn {
    color: #fff;
}
.rs-portfolio-six .rs-portfolio-item.ae-solution-card:hover .rs-portfolio-content {
    bottom: auto;
}
.rs-square-btn.has-black {
    background: #fff;
}

.rs-footer-two .rs-footer-widget-title {
    color: var(--rs-text-primary);
}

.rs-footer-two .rs-footer-widget-description,
.rs-footer-widget-links ul li a,
.rs-footer-two .rs-footer-widget-address a,
.rs-footer-two .rs-footer-widget-email a,
.rs-footer-two .rs-footer-widget-number span a,
.rs-theme-social a,
.rs-copyright-one .rs-footer-copyright.has-theme-orange p {
    color: var(--primary);
}

.rs-banner-title,
.rs-banner-descrip {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.main-menu li a {
    font-size: 16px;
    padding: 40px 10px;
}

/* Breadcrumb */
.breadcrumb-area {
    padding: 120px 0 60px;
    background: #00c854;
}
.breadcrumb-area .rs-section-title,
.breadcrumb-area .breadcrumb,
.breadcrumb-area .breadcrumb-item,
.breadcrumb-area .breadcrumb-item.active,
.breadcrumb-area .breadcrumb-item + .breadcrumb-item::before {
    color: #fff !important;
}
.breadcrumb-area .breadcrumb-item a {
    color: #fff !important;
}
.breadcrumb-area .breadcrumb-item a:hover {
    color: rgba(255, 255, 255, 0.85) !important;
}

@media only screen and (max-width: 991px) {
    .rs-header-one {
        background-color: var(--rs-bg-primary);
    }
}

/* İletişim formu: varsayılan negatif margin kapalı (harita yokken formu kesmesin) */
.rs-contact-seven .rs-contact-form {
    margin-bottom: 0 !important;
}
.rs-contact-seven.has-map .rs-contact-form {
    margin-bottom: -340px !important;
}
.rs-contact-seven.has-no-map {
    padding-bottom: 120px !important;
    overflow: visible !important;
}
.rs-contact-seven.has-no-map .rs-contact-form {
    position: relative;
    z-index: 2;
}

/* Menü rs-header-menu içinde ortalı; sosyal ikonlar solda (normal + sticky) */
@media only screen and (min-width: 1200px) {
    .rs-header-one .rs-header-menu,
    .rs-sticky-header .rs-header-menu {
        flex: 1;
        margin-inline-end: 0;
        position: relative;
        display: grid !important;
        grid-template-columns: auto 1fr;
        align-items: center;
        min-height: 70px;
    }

    .rs-header-one .rs-header-menu .rs-theme-social,
    .rs-sticky-header .rs-header-menu .rs-theme-social {
        grid-column: 1;
        grid-row: 1;
        z-index: 5;
        display: inline-flex !important;
        align-items: center;
        gap: 15px;
        position: relative;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .rs-header-one .rs-header-menu .rs-theme-social a,
    .rs-sticky-header .rs-header-menu .rs-theme-social a {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .rs-header-one .rs-header-menu #mobile-menu.main-menu,
    .rs-header-one .rs-header-menu #mobile-menu-two.main-menu,
    .rs-header-one .rs-header-menu .main-menu,
    .rs-sticky-header .rs-header-menu #mobile-menu.main-menu,
    .rs-sticky-header .rs-header-menu #mobile-menu-two.main-menu,
    .rs-sticky-header .rs-header-menu .main-menu {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-self: center;
        width: max-content;
        max-width: 100%;
        display: flex !important;
        justify-content: center;
        margin: 0 !important;
        border: none !important;
        padding: 0 !important;
        position: relative;
        z-index: 1;
        transform: none !important;
        top: auto;
        left: auto;
        right: auto;
        pointer-events: auto;
    }

    .rs-header-one .rs-header-menu .main-menu > ul,
    .rs-sticky-header .rs-header-menu .main-menu > ul {
        display: inline-flex;
        pointer-events: auto;
    }
}

/* Site logo */
.rs-header-logo img,
.offcanvas-logo img {
    max-width: 220px;
    width: auto;
    height: auto;
}
@media (max-width: 767px) {
    .rs-header-logo img,
    .offcanvas-logo img {
        max-width: 200px;
    }
}

/* Ana sayfa referanslar: ortak kalıp, çerçeve yok */
.rs-brand-one .rs-brand-item,
.rs-brand-one .rs-brand-item.has-clip-path {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    clip-path: none !important;
    height: auto;
    min-height: 0;
    padding: 0;
}
.rs-brand-one .rs-brand-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}
.rs-brand-one .rs-brand-thumb a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.rs-brand-one .rs-brand-thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain;
}

/* Marka logoları */
.rs-brand-two .rs-brand-thumb img {
    width: 130px;
}
.rs-brand-two .rs-brand-item:nth-child(2) .rs-brand-thumb img {
    width: 170px;
}
.rs-category-one .rs-category-item::before {
    bottom: 105px;
    inset-inline-start: 15px;
}

/* Marka detay / ürün listesi görselleri */
.ae-brand-product-img {
    max-height: 240px;
    width: 100%;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Referans detay görselleri */
.ae-ref-main-img {
    max-height: 420px;
    width: 100%;
    object-fit: contain;
    border-radius: 12px;
    cursor: zoom-in;
    background: #f8fafc;
}
.ae-ref-thumb-img {
    display: block;
    background: #f8fafc;
    border-radius: 8px;
    padding: 6px;
    border: 1px solid rgba(0,0,0,.06);
}
.ae-ref-thumb-img img {
    height: 100px;
    width: 100%;
    object-fit: contain;
    border-radius: 6px;
    cursor: zoom-in;
}
.ae-ref-thumb-wide img {
    height: 280px;
}

/* Çözümler listesi — ortak kalıp, ortalanmış */
.ae-solution-list-media {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 12px;
    aspect-ratio: 4 / 3;
    width: 100%;
    margin-bottom: 12px;
    padding: 16px;
    overflow: hidden;
}
.ae-solution-list-img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center;
    border-radius: 8px;
    margin-bottom: 0 !important;
}

/* Markalar listesi */
.ae-brands-logo-wrap {
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
}
.ae-brands-logo-img {
    max-height: 180px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Hakkımızda */
.ae-about-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}
.ae-about-title {
    margin-bottom: 18px;
}
.ae-about-lead {
    font-size: 1rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 18px;
}
.ae-about-media {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #e2e8f0;
    min-height: 360px;
}
.ae-about-media img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
}
.ae-about-media-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: rgba(15, 23, 42, .88);
    color: #fff;
    padding: 14px 18px;
    border-radius: 12px;
    max-width: 70%;
}
.ae-about-media-badge span {
    display: block;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #86efac;
    margin-bottom: 4px;
}
.ae-about-media-badge strong {
    font-size: 15px;
    font-weight: 600;
}
.ae-info-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 14px;
    padding: 28px 24px;
}
.ae-info-card-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}
.ae-info-card h2 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}
.ae-info-card p {
    margin-bottom: 0;
    color: #475569;
}
.ae-cta-panel {
    background: linear-gradient(135deg, rgba(0, 200, 84, .12), rgba(15, 23, 42, .06));
    border-radius: 18px;
    padding: 40px 36px;
}
/* Ana sayfa çözüm kartları — görsel tam görünsün */
.ae-home-cat-thumb {
    width: 100%;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    padding: 12px;
}
.ae-home-cat-thumb img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
@media (max-width: 1199px) {
    .ae-home-cat-thumb {
        height: 300px;
    }
}
@media (max-width: 767px) {
    .ae-home-cat-thumb {
        height: 240px;
    }
    .ae-about-media,
    .ae-about-media img {
        min-height: 260px;
    }
    .ae-cta-panel {
        padding: 28px 22px;
        text-align: center;
    }
    .ae-cta-panel .text-lg-end {
        text-align: center !important;
    }
}
