html,
body {
    background: rgba(197, 198, 202);
}

/* ================= NAVBAR ================= */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;

    padding: 16px 0;

    background: linear-gradient(to bottom,
            rgba(11, 44, 90, 0.65),
            /* görselin laciverti */
            rgba(11, 44, 90, 0.25),
            rgba(11, 44, 90, 0));

    backdrop-filter: blur(8px);
    transition: 0.3s;
}

/* LOGO */
.brand-logo {
    color: #ffffff;
    font-weight: 600;
    line-height: 1;
}

/* MENU */
.navbar .nav-link {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 400;

    margin-left: 20px;
    padding: 6px 0;
    line-height: 1.2;

    position: relative;
    transition: 0.3s;
}

/* hover */
.navbar .nav-link:hover {
    color: #ffffff;
}

/* ACTIVE */
.navbar .nav-link.active {
    color: #ffffff !important;
}

/* underline */
.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: 0.3s;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 100%;
}

/* .navbar.scrolled {
    background: rgba(15, 23, 42, 0.55) !important;
    box-shadow: none !important;
} */
.navbar.scrolled {
    background: rgba(11, 44, 90, 0.92) !important;
}

.navbar.scrolled .nav-link {
    color: #e2e8f0 !important;
}

.navbar.scrolled .brand-logo {
    color: #ffffff !important;
}

/* navbar iç hizalama */
.navbar .navbar-nav {
    padding: 0 !important;
    align-items: center;
}

.navbar .navbar-brand {
    display: flex;
    align-items: center;
}

/* ================= HERO ================= */

/* görsel */
.hero-img {
    width: 100%;
    height: 74vh;
    object-fit: cover;
    object-position: center top;
}

.carousel-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-caption.hero-content {
    bottom: 40px;
}

/* overlay */
.carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.25) 0%,
            rgba(0, 0, 0, 0.1) 40%,
            transparent 70%);
    z-index: 1;
}

#header-carousel {
    /* margin-top: 55px; */
}

/* caption ortalama */
.carousel-caption {
    top: 50%;
    background-color: transparent;
    transform: translateY(-50%);
    bottom: auto;
    z-index: 2;
}

/* içerik */
/* .carousel-caption.hero-content {
            left: 8%;
            right: auto;
            text-align: left;
            max-width: 600px;
        } */
.carousel-caption.hero-content {
    left: 50%;
    right: auto;
    bottom: 40px;
    top: auto;
    transform: translateX(-50%);
    text-align: center;
    max-width: 100%;
}

/* .hero-box {
            padding: 20px;
        }
 */
.hero-box {
    padding: 0;
    background: transparent;
}

/* başlık */
.hero-box h1 {
    font-size: 52px;
    font-weight: 500;
    color: #ffffff;
}

/* açıklama */
.hero-box p {
    font-size: 18px;
    color: #e5e7eb;
    margin: 20px 0;
}

/* buton */
.btn-outline {
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #ffffff;
    color: #000;
}

/* ================= FIXES ================= */

/* rolling-text fix */
.rolling-text {
    color: inherit !important;
}

/* bootstrap turuncu override */
.text-primary,
.navbar .text-primary {
    color: #3b82f6 !important;
}

.btn-outline {
    border: 2px solid #0b2c5a;
    color: #0b2c5a;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.85);
    transition: 0.3s;
}

.btn-outline:hover {
    background: #0b2c5a;
    color: #fff;
}

/* ================= MOBILE ================= */
@media (max-width: 992px) {

    /* NAVBAR */
    .navbar {
        padding: 12px 0 !important;

        background: linear-gradient(to bottom,
                rgba(11, 44, 90, 0.75),
                rgba(11, 44, 90, 0.35),
                rgba(11, 44, 90, 0)) !important;

        backdrop-filter: blur(8px);
    }

    .navbar .nav-link {
        color: #1a1a1a;
        margin-left: 0;
        padding: 10px 0;
    }

    .hero-box h1 {
        font-size: 34px;
    }

    .carousel-caption.hero-content {
        left: 5%;
        right: 5%;
    }
}








.footer {
    background: rgba(16, 18, 24);
    color: #cbd5e1;
    padding: 80px 0 40px;
}

.footer h3,
.footer h5 {
    color: #ffffff;
    font-weight: 500;
}

.footer p {
    font-size: 15px;
    color: #94a3b8;
}

.footer a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer a:hover {
    color: #ffffff;
}

.social-icon {
    width: 42px;
    height: 42px;
    border: 1px solid #334155;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: 0.3s;
}

.social-icon:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
}

@media (max-width: 992px) {

    /* LOGO */
    .brand-logo {
        color: #ffffff !important;
        font-size: 18px;
    }

    /* HAMBURGER FIX */
    .navbar-toggler {
        border: none;
        outline: none;
        box-shadow: none;
    }

    .navbar-toggler-icon {
        background-image: none;
        width: 24px;
        height: 2px;
        background-color: #fff;
        position: relative;
        display: inline-block;
    }

    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after {
        content: "";
        position: absolute;
        width: 24px;
        height: 2px;
        background-color: #fff;
        left: 0;
    }

    .navbar-toggler-icon::before {
        top: -6px;
    }

    .navbar-toggler-icon::after {
        top: 6px;
    }

    /* MENU PANEL */
    .navbar-collapse {
        background: #ffffff;
        margin-top: 10px;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }

    /* MENU LINK */
    .navbar .nav-link {
        color: #1a1a1a !important;
        padding: 12px 0;
        font-size: 15px;
        border-bottom: 1px solid #f1f5f9;
    }

    .navbar .nav-link:last-child {
        border-bottom: none;
    }

    /* underline kaldır */
    .navbar .nav-link::after {
        display: none;
    }

    /* HERO overlap fix */
    .carousel-caption {
        top: 55%;
    }
}

.mobile-menu,
.mobile-menu-overlay {
    display: none;
}

@media (max-width: 992px) {

    .mobile-menu,
    .mobile-menu-overlay {
        display: block;
    }

}

.navbar-logo {
    height: 60px;
    width: auto;
}

/* ================= ABOUT SECTION ================= */
.about-section {
    padding: 80px 0 100px 0;
    background: #ffffff;
}

/* iç padding sadeleştir */
.about-section .pb-lg-5,
.about-section .py-5 {
    padding: 0 !important;
}

/* TEXT BLOK */
.about-section p {
    font-size: 18px;
    line-height: 1.8;
    color: #6b7280;
    max-width: 520px;
    margin-top: 20px;
}

/* BAŞLIK */
.title-left h5 {
    font-size: 13px;
    letter-spacing: 1.5px;
    color: #9ca3af;
    margin-bottom: 10px;
}

.title-left h1 {
    font-size: 42px;
    font-weight: 500;
    color: #1a1a1a;
}

/* eski çizgileri kaldır */
.title-left h5::after,
.title-left h5::before {
    display: none !important;
}

/* GÖRSEL */
/* .about-section img {
        border-radius: 16px;
        width: 100%;
        max-width: 420px;
        margin-left: auto;

        box-shadow:
            0 20px 40px rgba(0, 0, 0, 0.08),
            0 0 0 1px #f1f5f9;
    }

    .about-section img:hover {
        transform: translateY(-5px);
        transition: 0.3s;
    }

    */
.about-features {
    margin-top: 15px;
}

.about-features div {
    font-size: 15px;
    color: #374151;
    margin-bottom: 8px;
}

/* ================= SERVICES ================= */

/* section spacing */
.container-fluid.section {
    padding: 20px 0 140px 0 !important;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

/* başlık ortalama */
.title-center h1 {
    font-size: 42px;
    font-weight: 600;
    color: #0b2c5a;
    /* koyu mavi */
    letter-spacing: -0.5px;
}

.title-center h5 {
    font-size: 13px;
    letter-spacing: 2px;
    color: #9ca3af;
}

/* ================= ITEM ================= */
.service-item {
    margin-top: 100px;
}

/* kart hissi */
.service-text {
    background: #ffffff;
    padding: 50px !important;
    border-radius: 20px;
    border: 1px solid #e2e8f0;

    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.04);
    transition: 0.3s;
}

.service-text h3 {
    font-size: 26px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 10px;
}

.service-text p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
}

/* ================= IMAGE ================= */
.service-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-img img {
    width: 100%;
    max-width: 420px;
    border-radius: 20px !important;

    background: #fff;
    padding: 8px;
    /* çerçeve hissi */

    /* box-shadow:
            0 25px 60px rgba(2, 6, 23, 0.08),
            0 0 0 1px #e2e8f0; */

    transition: all 0.4s ease;
}

.service-item {
    margin-top: 60px;
}

.rounded-circle {
    border-radius: 16px !important;
}

/* eski overlay kaldır */
.service-img::before {
    display: none !important;
}

.service-img::after {
    content: "";
    position: absolute;
    inset: 20% 10% -10% 10%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
    z-index: -1;
    filter: blur(30px);
}

.service-img img:first-child {
    border-radius: 14px;
}

/* eski arka plan temizle */
.service-item-left,
.service-item-right {
    background: none !important;
}

/* ================= BUTTON ================= */
.btn-outline-primary {
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
}

.btn-outline-primary:hover {
    background: #1a1a1a;
    color: #fff;
}

/* ================= ALIGN FIX ================= */

/* sağ-sol hizayı düzelt */
.service-item .row {
    justify-content: space-between;
}

/* mobil */
.service-item.reverse .row {
    flex-direction: row-reverse;
}

@media (max-width: 992px) {

    .service-item .row {
        flex-direction: column !important;
    }

    .service-img {
        order: 1;
        padding: 0 !important;
    }

    .service-text {
        order: 2;
        padding: 20px !important;
        text-align: center;
    }

    .service-img img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        border-radius: 16px 16px 0 0;
    }

}

/* ================= MOBILE FULL PAGE FIX ================= */
@media (max-width: 992px) {

    html,
    body {
        overflow-x: hidden;
    }

    /* ABOUT */
    .about-section {
        padding: 50px 20px !important;
        text-align: center;
    }

    /* BAŞLIK */
    .title-left h5 {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .title-left h1 {
        font-size: 26px;
        margin-bottom: 15px;
    }

    /* TEXT */
    .about-section p {
        font-size: 15px;
        line-height: 1.7;
        max-width: 320px;
        /* 💣 EN KRİTİK */
        margin: 0 auto;
    }

    /* FEATURES */
    .about-features {
        margin-top: 20px;
    }

    .about-features div {
        font-size: 14px;
        text-align: left;
        max-width: 260px;
        margin: 8px auto;
    }

    /* GÖRSEL */
    .about-section img {
        max-width: 85%;
        margin: 25px auto 0;
    }
}

@media (max-width: 992px) {

    /* SECTION */
    .container-fluid.bg-secondary {
        padding: 60px 20px !important;
    }

    /* ÜST KÜÇÜK BAŞLIK */
    .title-center h5 {
        font-size: 11px;
        letter-spacing: 1px;
    }

    /* ANA BAŞLIK (EN KRİTİK) */
    .title-center h1 {
        font-size: 26px;
        line-height: 1.3;
        padding: 0 10px;
    }

    /* çizgileri kaldır */
    .title-center h5::before,
    .title-center h5::after {
        display: none;
    }

    /* TESTIMONIAL TEXT */
    .testimonial-item p {
        font-size: 14px;
        line-height: 1.6;
        padding: 0 10px;
    }

    /* İSİM */
    .testimonial-item h5 {
        font-size: 15px;
        margin-top: 10px;
    }

    /* AVATAR */
    .owl-dots img {
        width: 45px !important;
        height: 45px !important;
    }

    /* aktif avatar */
    .owl-dot.active img {
        transform: scale(1.1);
    }
}

/* ================= MOBILE SLIDER FINAL ================= */

.mobile-slide {
    display: none;
}

.desktop-slide {
    display: block;
}

@media only screen and (max-width:768px) {
    #header-carousel {
        margin-top: 0;
    }

    html,
    body {
        overflow-x: hidden;
        background: #fff;
    }

    /* desktop görsel gizle */
    .desktop-slide {
        display: none !important;
    }

    /* mobile görsel göster */
    .mobile-slide {
        display: block !important;
        width: 100%;
        top: -30px;
        height: auto !important;
    }

    /* slider */
    #header-carousel {
        margin-top: 0 !important;
        background: #fff;
    }

    #header-carousel .carousel-inner,
    #header-carousel .carousel-item {
        background: #fff;
    }

    /* overlay kaldır */
    #header-carousel .carousel-item::before {
        display: none !important;
    }

    /* görseller */
    #header-carousel .hero-img {
        width: 100%;
        height: auto !important;
        object-fit: contain !important;
        display: block;
    }

    /* navbar */
    /*  .navbar {
        background: transparent !important;
        backdrop-filter: none !important;
        padding: 8px 0 !important;
    } */

    .navbar-logo {
        height: 40px;
    }

    /* buton */
    #header-carousel .carousel-caption.hero-content {
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        bottom: 20px !important;
        transform: none !important;
        width: 100%;
        text-align: center;
    }

    .navbar {
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 999;

        padding: 0 0;

        background: linear-gradient(to bottom,
                rgba(11, 44, 90, 0.65),
                /* görselin laciverti */
                rgba(11, 44, 90, 0.25),
                rgba(11, 44, 90, 0));

        backdrop-filter: blur(8px);
        transition: 0.3s;
    }
}

@media only screen and (max-width:768px) {

    .navbar {
        height: 60px;
        min-height: 60px;
    }

    .navbar-brand {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .navbar-logo {
        height: 32px !important;
        width: auto;
    }

    #header-carousel {
        padding-top: 0 !important;
    }

    #header-carousel .carousel-item {
        align-items: flex-start !important;
    }
}

/* MOBILE SCROLL NAVBAR FIX */
@media (max-width: 992px) {

    .navbar.scrolled {
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
    }
}

/* ================= MOBILE NAVBAR FINAL ================= */
@media only screen and (max-width:768px) {

    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;

        padding: 8px 0 !important;

        background: linear-gradient(to bottom,
                rgba(11, 44, 90, .92) 0%,
                rgba(11, 44, 90, .72) 45%,
                rgba(11, 44, 90, .18) 100%) !important;

        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);

        transition: all .3s ease;
    }

    .navbar.scrolled {
        background: rgba(11, 44, 90, .96) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, .18);
    }

    .navbar-logo {
        height: 34px !important;
        width: auto;
    }

    .navbar-toggler-icon,
    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after {
        background-color: #fff !important;
    }
}