@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none !important;
}

body {
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

.bg-default {
    background-color: #1651a0 !important;
}

.header {
    position: fixed;
    z-index: 999;
    width: 100%;
    top: 0;
    transition: all 0.3s ease;
    background: rgb(255, 255, 255, 1) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header .top-menu {
    background: #1651a0 !important;
    transition: background 0.5s ease;
}

.header.scrolled .top-menu {
    background: #1651a0 !important;
    /* Maintain color while it slides up */
}

.header .header-menu {
    background: transparent !important;
    transition: background 0.5s ease;
}

.header.scrolled .header-menu {
    background: transparent !important;
    /* Let parent handle background */
}

.header .social-icons a {
    color: #fff !important;
    /* background-color: white; */
    padding: 7px 10px;
    border-radius: 100%;
    margin-left: 5px;
}

.header .collapse {
    justify-content: end;
}

.header .top-menu .responsive-header {
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

.header .top-menu .responsive-header:hover {
    color: #000 !important;
    text-decoration: none !important;
}

.header .top-menu .responsive-header i {
    color: #fff !important;
    margin-right: 5px;
    transition: transform 0.2s ease;
}

.header .top-menu .responsive-header:hover i {
    transform: scale(1.1);
}

/*hoverdropdwnmenu*/

.header .navbar-nav {
    display: inline-flex;
    position: relative;
}

.header .navbar-nav li {
    margin: auto;
    position: relative;
}

.header .navbar-nav li a {
    margin: auto;
    text-align: center;
    position: relative;
    display: block;
}

/* Sub-menus positioning */
.header .navbar-nav .navbar-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 12px 0;
    flex-direction: column;
}

/* Hovering shows the immediate child navbar-nav - SADECE MASAÜSTÜNDE */
@media (min-width: 992px) {
    .header .navbar-nav li:hover>.navbar-nav {
        display: flex;
    }
}

/* Sub-menus items full width */
.header .navbar-nav .navbar-nav li {
    width: 100%;
}

.header .navbar-nav .navbar-nav li a {
    text-align: left;
    padding: 10px 20px;
}

/* Sub-sub menus and deeper (3rd level+) - Positioning to the right */
.header .navbar-nav .navbar-nav .navbar-nav {
    top: 0;
    /* Align with top of parent li */
    left: 100%;
    margin-left: 0;
    margin-top: -12px;
    /* Adjust for parent padding */
}

/* Remove default arrows from template's .dropdown class if any */
.header .navbar-nav li a.dropdown::after,
.header .navbar-nav li a.dropdown::before,
.header .navbar-nav li a.nav-link::after,
.header .navbar-nav li a.nav-link::before {
    display: none !important;
    content: none !important;
}

/* Dropdown link styling override */
.header .navbar-nav .navbar-nav a {
    margin: 0;
    padding: 12px 20px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header .navbar-nav .navbar-nav a:hover {
    background-color: #f0f3f7;
    color: #1651a0 !important;
}

/* Add the >> arrow to dropdown links */
.header .navbar-nav .navbar-nav a::after {
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f101";
    font-size: 0.8rem;
    color: inherit;
    transition: transform 0.3s ease;
}

.header .navbar-nav .navbar-nav a:hover::after {
    transform: translateX(4px);
}

.header .navbar-nav a {
    color: #444 !important;
    font-size: 1.05rem;
    font-weight: 600;
}

.header .navbar-nav a:hover {
    color: #1651a0 !important;
    transition: .5s;
}

.header .navbar-nav a:first-child {
    color: #444 !important;
    font-size: 1.05rem;
    font-weight: 600;
}

.dmenu {
    display: none !important;
}

.dmenu .languagebtn {
    /* background-color: white; */
    color: #fff;
    padding: 7px 10px;
    border-radius: 100%;
}

.dmenu .languagebtn:focus {
    border: 0;
}

.dmenu .dropdown-menu {
    min-width: 3rem;
}

.dmenu .dropdown-menu a {
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dropdown-toggle::after {
    display: none;
}


/*hoverdropdwnmenu*/

.second {
    position: relative;
}

.header .header-menu img {
    width: 200px;
    max-width: 200px;
    max-height: 100px;
    object-fit: contain;
}

.header .navbar-toggler {
    background-color: transparent;
    border-radius: 0;
    border: 0 !important;
    outline: 0 !important;
    color: #000;
}

.header .navbar-toggler:focus {
    background-color: transparent;
    border-radius: 0;
    border: 0 !important;
    outline: 0 !important;
    color: #000;
    box-shadow: none !important;
}

.header .navbar-toggler:active {
    background-color: transparent;
    border-radius: 0;
    border: 0 !important;
    outline: 0 !important;
    color: #000;
}

.header .top-social-menu {
    display: flex;
    justify-content: space-between;
    padding: 0.7rem 0.7rem 0 0.7rem;
}

.header .top-social-menu .social-icons {
    order: 2;
}

.header .top-social-menu .social-icons a:hover {
    background-color: #f0f3f7;
    transition: .5s;
}

    .header .top-social-menu .phone {
        order: 1;
        color: #fff !important;
    }

.social-icons {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    text-align: end;
}

.footer .social-icons a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin-left: 6px;
    margin-right: 0;
    border-radius: 100%;
    color: white;
    background-color: #0dcaf0;
    padding: 10px 13px;
}

    .footer .social-icons a:hover {
        color: white;
        background-color: #1a64c7;
    }

.social-icons li {
    display: inline-block;
    margin-bottom: 4px;
}

.footer a:hover {
    color: white;
    text-decoration: none;
}

#menu-bar {
    display: none;
}


/*firstslidecss*/

.second {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.owl-carouselslide {
    top: 0;
    margin-top: 150px;
    width: 100%;
    display: block !important;
    visibility: visible !important;
}

.owl-carouselslide .owl-stage-outer,
.owl-carouselslide .owl-stage,
.owl-carouselslide .owl-item {
    display: block !important;
    visibility: visible !important;
}

.owl-carouselslide .item {
    position: relative;
    width: 100%;
    display: block !important;
}

.owl-carouselslide img {
    width: 100%;
    height: auto;
    min-height: 400px;
    aspect-ratio: auto;
    display: block !important;
    object-fit: cover;
}

.owl-carouselslide .slide-detail {
    position: absolute;
    top: 10%;
    transition: all 1s;
    padding: 1rem;
    left: 40%;
    width: 50%;
    transform: translate(-50%);
    z-index: 10;
}

.slide-detail h2 {
    font-size: 2rem;
    color: #1651a0;
    font-weight: 800;
}

.slide-detail p {
    font-size: 1.5rem;
}

.slide-detail button {
    padding: 0.5rem 0.6rem;
    border-radius: 10px;
    color: white;
    font-size: 1.2rem;
    background-color: #1651a0;
    font-weight: 600;
}

/* Mobil düzeltmeleri */
@media (max-width: 991.98px) {
    .owl-carouselslide {
        margin-top: 60px !important;
        overflow: hidden !important;
        width: 100% !important;
    }

    .owl-carouselslide .owl-stage-outer {
        overflow: hidden !important;
        width: 100% !important;
    }

    .owl-carouselslide .owl-stage {
        display: flex !important;
        max-width: none !important;
    }

    .owl-carouselslide .owl-item {
        max-width: none !important;
        flex-shrink: 0 !important;
    }

    .owl-carouselslide .item {
        display: flex !important;
        flex-direction: column !important;
    }

    .owl-carouselslide img {
        min-height: 220px !important;
        max-height: 300px !important;
        object-fit: cover !important;
        display: block !important;
        width: 100% !important;
    }

    .owl-carouselslide .slide-detail {
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        transform: none !important;
        background-color: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(8px);
        padding: 1.5rem !important;
        margin: 0 !important;
        display: block !important;
    }

    .slide-detail h2 {
        font-size: 1.3rem !important;
        margin-bottom: 0.5rem !important;
    }

    .slide-detail p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 0.8rem !important;
    }

    .slide-detail button {
        font-size: 0.9rem !important;
        padding: 0.4rem 0.8rem !important;
    }

    .slide-detail div {
        margin-top: 0.5rem;
    }
}

/*firstslidecss*/


/*
in gen css
*/

.bg-bar {
    background-color: #071a24;
}

.paddingyequal {
    padding: 3rem 0;
}

.btn-default {
    background-color: #1651a0;
    color: white;
}

.btn-default:hover {
    background-color: #1651a0;
    color: white;
}

.btn-default2 {
    background-color: #eff7fa;
}

.btn-default2:hover {
    background-color: #7998aa;
}

.btn-purple {
    background-color: #9c27b0;
    color: white;
}

.btn-black-hover:hover {
    background-color: #000;
    color: white;
}

.btn-green {
    background-color: #79c356;
    color: white;
}

.bold {
    font-weight: 600;
}

.btn-padding {
    padding: 30px 0;
}

.padding-xxl {
    padding: 250px 0 50px 0;
}

.padding-xl {
    padding: 100px 0 50px 0;
}

.padding-l {
    padding: 50px 0;
}

.form-control {
    box-shadow: none !important;
}

.border-radius10 {
    border-radius: 10px;
}

.border-radius30 {
    border-radius: 30px;
}

.border-radius50 {
    border-radius: 50px;
}

.thin {
    font-weight: 300 !important;
}

.btn-black {
    background-color: #000;
    color: white;
}

.btn-black:hover {
    background-color: rgb(78, 78, 78);
    color: white;
}

.bg-bordo {
    background-color: #752633;
}


/*bar bg + birb tekrar eden diğer şeyler.*/


/*
in gen css
*/


/*third*/

.third img {
    width: 80%;
}

.third .owl-carouselfirst img {
    height: 500px !important;
    width: 100%;
    object-fit: cover;
}

.third .owl-carouselfirst img:hover {
    transition: all 0.5s ease-in-out;
}

.third .owl-carouselfirst .owltextfirst:hover .textowlinside {
    transition: all 1s ease-in-out !important;
}

/* hizmet kategorileri korosel */
.third .owl-carouselfirst .textowlinside {
    position: absolute;
    top: auto;
    bottom: 0;
    color: #000;
    padding: 1rem 2rem;
    transition: all 1s ease-in-out;
    background-color: rgba(255, 255, 255, 0.644);
    backdrop-filter: blur(3px);
    height: 140px !important;
    left: 0;
    width: 100%;
}

.third p {
    line-height: 40px;
    text-overflow: ellipsis;
    width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 10;
    overflow: hidden;
}

.third .content-whyus {
    display: flex;
    justify-content: center;
    align-items: center;
}


/*third*/


/*fourth*/

.fourth {
    background-color: #eff7fa;
}

.fourth .card .card-alt-menu {
    display: flex;
    justify-content: space-between;
}

.fourth .card .card-alt-menu .share {
    background-color: #7998aa;
    padding: 10px 15px;
    border-radius: 100%;
    color: white;
}

.fourth .owl-carouselproduct img {
    object-fit: cover;
    height: 260px;
}


/*fourth*/


/*fifth*/

.fifth img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.fifth p {
    line-height: 40px;
    text-overflow: ellipsis;
    width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 10;
    overflow: hidden;
}


/*fifth*/


/*sixth*/

.sixth {
    background-color: #1651a0;
}

.sixth .btn-icon1 {
    width: 100%;
    display: block;
    background-color: #1651a0;
    border-radius: 50px;
}

.sixth .btn-icon1:hover {
    background-color: #1a64c7;
    border: 1px solid black;
}

.sixth .btn-icon1 i {
    color: white;
}

/* Contact Map Wrapper */
.contact-map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 500px;
    line-height: 0;
    overflow: hidden;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: 0;
    display: block;
}

/* Footer Separator */
.footer-separator {
    height: 3px;
    background: linear-gradient(to right, #1651a0, #0dcaf0, #1651a0);
    box-shadow: 0 2px 10px rgba(22, 81, 160, 0.3);
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
    .sixth .row {
        flex-direction: column;
    }
    
    .contact-map-wrapper {
        min-height: 400px;
    }
    
    .contact-map-wrapper iframe {
        min-height: 400px;
    }
}


/*sixth*/


/*about and general*/

.page-banner {
    width: 100%;
    height: 250px;
    background-image: linear-gradient(rgb(26 56 75 / 30%), rgb(0 149 239 / 80%)), url(../img/about_header_bg.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    margin-top:150px;
}
.banner-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.banner-title {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}


/*services*/

.secondleft .services-col {
    border-right: 1px solid rgb(233, 233, 233);
    border-bottom: 1px solid rgb(233, 233, 233);
    padding: 0.5rem 3rem 1rem 3rem;
}

.secondleft .services-col:last-child {
    border-right: 0px !important;
    border-bottom: 0px !important;
}

.secondleft .services-col:nth-child(5) {
    border-bottom: 0px !important;
}

.secondleft .services-col:nth-child(4) {
    border-bottom: 0px !important;
}

.secondleft .services-col:nth-child(3) {
    border-right: 0px !important;
}

.secondleft .services-col img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 1s;
    border-radius: 100%;
}

.secondleft .services-col img:hover {
    transform: scale(0.9);
}

.secondleft .card a {
    text-align: center;
}

.secondleft .card button {
    background: #752633;
    padding: 10px;
    color: white;
    width: 50%;
    border-radius: 40px;
}

.secondleft .card button:hover {
    background: #bf3c51;
    padding: 10px;
    color: white;
    width: 50%;
    border-radius: 40px;
}

.firstservices .card img {
    height: 170px;
    width: 100%;
    object-fit: cover;
}

.firstservicedetail img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}


/*services*/


/*blog*/

.blog {
    position: relative;
}

.blog .card button {
    background: #752633;
    padding: 10px;
    color: white;
    width: 30%;
    border-radius: 40px;
    margin: 1rem 0;
}

.blog img:first-child {
    height: 300px;
    object-fit: cover;
    width: 100%;
}

.blogdetail {
    position: absolute;
    bottom: 0px;
    right: 0px;
    background-color: black;
    padding: 10px 15px;
}

.blogdetail a {
    color: white;
}

.blog .list-group li.active {
    background-color: #000;
    border: 0px;
    border-radius: 0px;
}

.blog .list-group {
    border-radius: 0px;
}

.blog .list-group li.active a {
    color: white;
}

.blog .list-group a {
    color: black;
}


/*blog*/


/*gallery*/

.galleryarea .card {
    border-radius: 0;
    filter: grayscale(100%);
    transition: transform 0.5s;
    opacity: 0.7;
}

.gallery-album {
    padding-bottom: 3rem;
}

.galleryarea img {
    height: 300px;
    object-fit: cover;
}

.galleryarea .card:hover {
    transform: scale(0.8);
    filter: grayscale(0%);
    opacity: 1;
}


/*gallery*/
.gallery-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/*
contact css*/

.contact-photo img {
    object-fit: cover;
    width: 100% !important;
    height: 100% !important;
}

.contact-page {
    padding-top: 100px;
    padding-bottom: 30px;
}


/*
contact css*/


/*footer*/

.footer {
    background-color: #ffffff;
    padding-top: 2rem;
    border-top: 3px solid #1651a0;
}

.footer .light-300 {
    font-weight: 300;
}

.footer .navbar-brand {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer .list-inline {
    padding-left: 0;
    list-style: none;
}

.footer .list-inline-item {
    display: inline-block;
}

/* Dark text classes for white footer */
.footer-dark-text {
    color: #1a1a1a !important;
}

.footer-dark-link {
    color: #333333 !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-dark-link:hover {
    color: #1651a0 !important;
    padding-left: 5px;
}

.footer-social-link {
    color: #333333;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.footer-social-link:hover {
    opacity: 0.7;
    transform: translateY(-3px);
}

.footer .footer-icons a {
    color: #333333;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.footer .footer-icons a:hover {
    opacity: 0.7;
    transform: translateY(-3px);
}

.footer .footer-icons .fa-instagram {
    color: #E4405F;
}

.footer .footer-icons .fa-facebook-f {
    color: #1877F2;
}

.footer .footer-icons .fa-x-twitter {
    color: #000000;
}

.footer .footer-icons .fa-linkedin-in {
    color: #0A66C2;
}

.footer .list-unstyled {
    padding-left: 0;
    list-style: none;
}

.footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

.footer .list-unstyled a {
    color: #333333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer .list-unstyled a:hover {
    color: #1651a0;
    padding-left: 5px;
}

.footer .bx-xs {
    font-size: 14px;
    margin-right: 5px;
}

.footer-bottom {
    background-color: #1651a0;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom .social-icons {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    display: inline-block;
}

.footer-bottom .social-icons li {
    display: inline-block;
    margin: 0 5px;
}

.footer-bottom .social-icons a {
    width: 35px;
    height: 35px;
    line-height: 35px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.footer-bottom .social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.footer-row {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.btn-top {
    display: none;
    cursor: pointer;
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 99;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #1651a0;
    color: white;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-top:hover {
    background-color: #0d3d7a;
    transform: translateY(-3px);
}

.btn-top i {
    color: white;
    font-size: 20px;
}

.footer .pozitif img {
    animation: flip;
    animation-duration: 2s;
}

.footer-about-text {
    color: white;
}

.iconf {
    color: black;
    padding: 7px 10px;
    border-radius: 100%;
    background-color: white;
}

.iconf:hover {
    background-color: #f0f3f7;
}

.footer-menu li {
    list-style: none;
}

.footer-menu li a {
    color: white;
}

.footer-menu li a:hover {
    color: #cacaca;
}

.footer-subs .form-control {
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    padding: 1rem;
}

.footer-subs .btn-icon2 {
    background-color: #0dcaf0;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    padding: 1rem;
}

.footer-subs .btn-icon2 i {
    color: white;
}

.footer-menu {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px;
}

.bg-bar h2 {
    color: #fff !important;
    font-size: 34px;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 2px;
}

.bg-bar p {
    color: #fff;
    font-size: 18px;
    padding-left: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.footer-hizli-menu {
    text-align: center;
}

.footer .links {
    padding-bottom: 1rem;
}

/* Footer Responsive */
@media (max-width: 991.98px) {
    .footer .align-left {
        text-align: center !important;
    }
    
    .footer .navbar-brand {
        justify-content: center;
    }
    
    .footer .footer-icons {
        justify-content: center;
    }
    
    .footer-bottom .social-icons {
        margin-top: 1rem;
    }
}


/*footer*/

.copyright-text a {
    background: url(../img/hlogobeyaz.png) no-repeat;
    margin: 5px auto;
    text-align: end;
    height: 70px;
    width: 50px;
    transition: ease-in .5s;
    background-size: 150px 70px;
    display: inline-block;
}

.copyright-text a:hover {
    height: 70px;
    width: 170px;
    transition: ease-in .5s;
}

.space-top-xl {
    margin-top: 150px;
}

.padding-top {
    padding-top: 230px;
}

.margin-bottom {
    margin-bottom: 50px;
}

.card-body-2 {
    justify-content: center;
}

/* =========================
   HEADER THEME FIXES
   ========================= */
.header .header-menu .navbar {
    --bs-navbar-color: #000;
    --bs-navbar-hover-color: #000;
    --bs-navbar-active-color: #000;
    --bs-navbar-brand-color: #000;
    --bs-navbar-brand-hover-color: #000;
    --bs-navbar-toggler-border-color: rgba(0, 0, 0, .35);
    --bs-navbar-toggler-icon-bg: none;
}

.header .header-menu .navbar .navbar-nav>.nav-item>.nav-link {
    color: #444 !important;
    font-size: 1.05rem;
    font-weight: 600;
}

.header .header-menu .navbar .navbar-nav .dropdown-toggle,
.header .header-menu .navbar .navbar-nav .dropdown-toggle i {
    color: #000 !important;
}

.header .header-menu .navbar .navbar-nav>.nav-item>.nav-link:hover,
.header .header-menu .navbar .navbar-nav>.nav-item>.nav-link:focus {
    color: #000 !important;
}

/* Inner pages solid header */
.header[data-page="inner"],
.header[data-page="inner"] .header-menu,
.header[data-page="inner"] {
    background: #ffffff !important;
}

.top-menu {
    background: #1651a0;
}

/* =========================
   MOBILE NAVBAR  (≤ 991.98px)
   ========================= */
@media (max-width: 991.98px) {

    /* ── Üst mavi bar: gizle ─────────────────────────── */
    .header .top-menu { display: none !important; }

    /* ── Header kapsayıcı ────────────────────────────── */
    .header {
        z-index: 1050;
        background: rgba(255, 255, 255, 0.98) !important;
    }

    /* ── Navbar çubuğu ───────────────────────────────── */
    .header .header-menu .navbar {
        padding: 8px 0 !important;
        min-height: 60px;
        position: relative;
    }

    /* ── Logo ─────────────────────────────────────────── */
    .header .header-menu img {
        width: auto !important;
        max-width: min(150px, 44vw) !important;
        max-height: 48px !important;
        object-fit: contain;
    }

    /* ── Hamburger butonu ────────────────────────────── */
    .header .navbar-toggler,
    .header .navbar-toggler:focus,
    .header .navbar-toggler:active {
        padding: 7px 11px !important;
        border: 1.5px solid rgba(22, 81, 160, 0.35) !important;
        border-radius: 7px !important;
        color: #1651a0 !important;
        background: transparent !important;
        box-shadow: none !important;
        font-size: 1.25rem;
        line-height: 1;
        outline: none !important;
    }

    .header .navbar-toggler:hover {
        background: rgba(22, 81, 160, 0.07) !important;
    }

    /* ── Açılan menü paneli ──────────────────────────── */
    /* Bootstrap collapse/show sınıflarına dokunmuyoruz;  */
    /* sadece görsel stil uyguluyoruz.                    */
    .header .navbar-collapse {
        background: #fff !important;
        border-top: 2px solid rgba(22, 81, 160, 0.18);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.13);
        max-height: calc(100dvh - 76px);
        overflow-y: auto;
        overflow-x: hidden;
        padding: 4px 12px 24px;
    }

    /* ── Ana menü listesi ────────────────────────────── */
    .header .navbar-nav {
        flex-direction: column !important;
        width: 100% !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
    }

    /* ── Üst seviye menü ögeleri ─────────────────────── */
    .header .navbar-nav > li.nav-item {
        position: relative;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .header .navbar-nav > li.nav-item:last-child {
        border-bottom: none;
    }

    /* Alt menü öğeleri de relative olmalı */
    .header .navbar-nav .navbar-nav > li {
        position: relative !important;
    }
    .header .navbar-nav > li > a {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        padding: 14px 6px !important;
        color: #111 !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        background: none !important;
        text-decoration: none !important;
        position: relative;
    }

    .header .navbar-nav > li > a:hover,
    .header .navbar-nav > li > a:focus {
        color: #1651a0 !important;
        background: rgba(22, 81, 160, 0.04) !important;
    }

    /* Mobilde açı ikonlarını göster ve tıklanabilir yap */
    .header .navbar-nav > li > a .fa-angle-down,
    .header .navbar-nav > li > a .fa-angle-right {
        display: inline-block !important;
        margin-left: auto !important;
        transition: transform 0.25s ease;
        font-size: 14px !important;
        padding: 8px;
    }

    /* Menü açıkken ikonu döndür */
    .header .navbar-nav li.mob-open > a .fa-angle-down,
    .header .navbar-nav li.mob-open > a .fa-angle-right {
        transform: rotate(180deg);
    }

    /* ── Alt menüler: accordion stili ───────────────── */
    .header .navbar-nav .navbar-nav {
        /* Başlangıçta gizli */
        display: none !important;
        /* Absolute konumu sıfırla */
        position: static !important;
        top: unset !important;
        left: unset !important;
        right: unset !important;
        /* Görsel */
        background: rgba(22, 81, 160, 0.04) !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        border-left: 3px solid rgba(22, 81, 160, 0.25) !important;
        margin: 0 0 6px 10px !important;
        padding: 4px 0 !important;
        min-width: unset !important;
        width: calc(100% - 10px) !important;
        flex-direction: column;
    }

    /* Hover kaynaklı masaüstü açılımını iptal et */
    .header .navbar-nav li:hover > .navbar-nav {
        display: none !important;
    }

    /* mob-open class'ı eklenince alt menüyü göster - EN ÖNEMLİ KURAL */
    .header .navbar-nav li.mob-open > .navbar-nav {
        display: flex !important;
    }
    
    /* İç içe menüler için de aynı kural */
    .header .navbar-nav .navbar-nav li.mob-open > .navbar-nav {
        display: flex !important;
    }

    /* ── Alt menü ögeleri ────────────────────────────── */
    .header .navbar-nav .navbar-nav > li {
        position: relative !important;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .header .navbar-nav .navbar-nav > li:last-child {
        border-bottom: none;
    }

    /* ── Alt menü linkleri ───────────────────────────── */
    .header .navbar-nav .navbar-nav a {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        padding: 11px 14px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        color: #333 !important;
        text-align: left !important;
        background: none !important;
        justify-content: flex-start !important;
        position: relative;
    }

    .header .navbar-nav .navbar-nav a:hover,
    .header .navbar-nav .navbar-nav a:focus {
        color: #1651a0 !important;
        background: rgba(22, 81, 160, 0.06) !important;
    }

    /* Alt menü ikonlarını göster */
    .header .navbar-nav .navbar-nav a .fa-angle-right {
        display: inline-block !important;
        margin-left: auto !important;
        transition: transform 0.25s ease;
        font-size: 12px !important;
        padding: 8px;
    }

    /* Alt menü açıkken ikonu döndür */
    .header .navbar-nav .navbar-nav li.mob-open > a .fa-angle-right {
        transform: rotate(90deg);
    }

    /* Masaüstü ok işaretlerini kaldır (::after pseudo-element) */
    .header .navbar-nav .navbar-nav a::after,
    .header .navbar-nav .navbar-nav a::before {
        display: none !important;
        content: none !important;
    }

    /* ── Collapse container: Bootstrap çakışmasını engelle ── */
    .header .navbar-collapse.collapsing {
        overflow: hidden;
    }

    /* Alt menüler varsayılan gizli */
    .navbar-nav .navbar-nav {
        display: none;
        padding-left: 15px;
    }

    /* mob-open olan li'nin direkt alt .navbar-nav'ı göster */
    .navbar-nav li.mob-open > .navbar-nav {
        display: block;
    }
}

/* ── Global: yatay taşmayı engelle ──────────────────── */
html {
    overflow-x: hidden;
    max-width: 100%;
}

:root {
    color-scheme: light !important;
}

html,
body {
    background: #ffffff !important;
    color: #0b1220 !important;
}

* {
    -webkit-text-fill-color: currentColor;
}

/* ===== SIDEBAR (KATEGORİ/HİZMET AĞACI) ===== */
.cat-sidebar {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 24px 0;
    position: sticky;
    top: 140px;
}

.cat-sidebar-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #adb5bd;
    padding: 0 20px 12px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 8px;
}

.cat-tree {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-tree>li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

.cat-tree>li:last-child {
    border-bottom: none;
}

.cat-tree>li>.cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #444;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.cat-tree>li>.cat-link:hover {
    background: #f5f7f9;
    color: #2c3e50;
    border-left-color: #6c757d;
}

.cat-tree>li>.cat-link.active {
    background: #f0f2f5;
    color: #2c3e50;
    border-left-color: #2c3e50;
}

.cat-all-link {
    display: block;
    padding: 10px 20px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #444;
    text-decoration: none;
    border-left: 3px solid transparent;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    margin-bottom: 0px;
}

.cat-all-link:hover {
    background: #f5f7f9;
    color: #2c3e50;
    border-left-color: #6c757d;
}

.cat-all-link.active {
    background: #f0f2f5;
    color: #2c3e50;
    border-left-color: #2c3e50;
}

/* ===== PRODUCTS & SERVICES PAGE LAYOUT ===== */
.products-page {
    background-color: #f7f8fa !important;
}

/* Desktop centering with 200px side spacing as requested */
@media (min-width: 1400px) {
    .products-page {
        padding-left: 200px !important;
        padding-right: 200px !important;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .products-page {
        padding-left: 100px !important;
        padding-right: 100px !important;
    }
}