/********** Template CSS **********/
:root {
    --primary: #FD5D14;
    --secondary: #FDBE33;
    --light: #F4F6F8;
    --dark: #040F28;
}

/* Site logo (img/brand-logo.svg) */
.navbar .navbar-brand.site-logo-link {
    padding: 0.4rem 0.85rem;
    border-radius: 12px;
    background: linear-gradient(160deg, rgba(4, 15, 40, 0.72) 0%, rgba(4, 15, 40, 0.4) 100%);
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.navbar .navbar-brand.site-logo-link:hover {
    box-shadow:
        0 6px 24px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.navbar-brand .site-logo {
    display: block;
    height: 52px;
    width: auto;
    max-width: min(300px, 78vw);
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand.site-logo-link {
        padding: 0.3rem 0.55rem;
        border-radius: 10px;
    }

    .navbar-brand .site-logo {
        height: 44px;
        max-width: min(260px, 82vw);
    }
}

.footer .navbar-brand .site-logo {
    height: 48px;
    max-width: 280px;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
    opacity: 0.98;
}

/* Üst bilgi satırı: üç sütunda ikon + metin dikey ortalı */
@media (min-width: 992px) {
    .container-fluid.px-5.d-none.d-lg-block > .row > [class*="col-"] {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* Navbar: logo ile menü / Teklif Al aynı hizada; CTA taşmasın */
@media (min-width: 992px) {
    .sticky-top.bg-dark .navbar.navbar-expand-lg {
        align-items: center;
        padding-top: 0.65rem !important;
        padding-bottom: 0.65rem !important;
    }

    .sticky-top .navbar-expand-lg .navbar-collapse {
        align-items: center;
    }

    .sticky-top .navbar-expand-lg .navbar-nav {
        align-items: center;
    }

    .sticky-top .navbar-expand-lg .navbar-brand.site-logo-link {
        margin-top: 0;
        margin-bottom: 0;
        align-self: center;
        padding-top: 0.35rem !important;
        padding-bottom: 0.35rem !important;
    }

    .navbar-dark .navbar-nav .nav-link.bg-primary {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        line-height: 1.25;
        align-self: center;
    }
}

.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.btn {
    position: relative;
    font-weight: 600;
    text-transform: uppercase;
    transition: .5s;
}

.btn::after {
    position: absolute;
    content: "";
    width: 0;
    height: 5px;
    bottom: -1px;
    left: 50%;
    background: var(--primary);
    transition: .5s;
}

.btn.btn-primary::after {
    background: var(--dark);
}

.btn:hover::after,
.btn.active::after {
    width: 50%;
    left: 25%;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    left: 50%;
    bottom: 0;
    margin-left: -22px;
    border-radius: 0;
    z-index: 99;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: #FFFFFF;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
}

@media (max-width: 576px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
        font-size: 30px;
    }
}

.bg-dark-radial {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-size: 3px 3px;
}

.bg-light-radial {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-size: 3px 3px;
}

.navbar-dark .navbar-nav .nav-link {
    position: relative;
    padding: 35px 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--light);
    outline: none;
    transition: .5s;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

#header-carousel .carousel-inner {
    overflow: hidden;
}

#header-carousel .carousel-item {
    position: relative;
    min-height: clamp(280px, 52vw, 720px);
}

#header-carousel .carousel-item > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 2;
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 15, 40, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h4 {
        font-size: 18px;
        font-weight: 500 !important;
    }

    .carousel-caption h1,
    .carousel-caption h2.display-2 {
        font-size: 30px;
        font-weight: 600 !important;
        line-height: 1.2;
    }
}

.page-header {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(4, 15, 40, .7), rgba(4, 15, 40, .7)), url(../img/istanbul-asfalt-yol-cizgi-hero.jpg) center center no-repeat;
    background-size: cover;
}

.service-item .service-icon {
    margin-top: -50px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
}

.service-item .service-icon i {
    transition: .2s;
}

.service-item:hover .service-icon i {
    font-size: 60px;
}

.portfolio-item {
    margin-bottom: 60px;
}

.portfolio-box > img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

@media (min-width: 768px) {
    .portfolio-box > img {
        height: 340px;
    }
}

@media (min-width: 1200px) {
    .portfolio-box > img {
        height: 300px;
    }
}

.portfolio-title {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 120px;
    padding: 0 30px;
    right: 30px;
    left: 30px;
    bottom: -60px;
    background: #FFFFFF;
    z-index: 3;
}

.portfolio-btn {
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    margin-top: -60px;
    margin-left: -60px;
    font-size: 120px;
    line-height: 0;
    transition: .1s;
    transition-delay: .3s;
    z-index: 2;
    opacity: 0;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
}

.portfolio-box::before,
.portfolio-box::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    transition: .5s;
    z-index: 1;
    background: rgba(4, 15, 40, .7);
}

.portfolio-box::before {
    left: 0;
}

.portfolio-box::after {
    right: 0;
}

.portfolio-item:hover .portfolio-box::before {
    left: 0;
    width: 50%;
}

.portfolio-item:hover .portfolio-box::after {
    right: 0;
    width: 50%;
}

@media (min-width: 992px) {
    .testimonial,
    .contact-form {
        margin-left: -90px;
    }

    .contact-page-layout .contact-info-panel {
        margin-left: -90px;
    }
}

@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 1px;
        height: 100%;
        top: 0;
        left: 50%;
        background: var(--primary)
    }
}

.footer-shape::before {
    position: absolute;
    content: "";
    width: 80px;
    height: 100%;
    top: 0;
    left: -40px;
    background: var(--primary);
    transform: skew(40deg);
}

/* ---- SEO: satır içi stillerden taşınan yardımcı sınıflar ---- */
.seo-caption-inner {
    max-width: 900px;
}

.seo-intro-narrow {
    max-width: 600px;
}

.seo-intro-wide {
    max-width: 720px;
}

.seo-aside-tall {
    min-height: 400px;
}

.seo-aside-tall .position-relative.bg-dark-radial {
    overflow: hidden;
    min-height: 360px;
}

@media (max-width: 991.98px) {
    .seo-aside-tall .position-relative.bg-dark-radial.ms-5 {
        margin-left: 0 !important;
    }

    .seo-aside-tall .seo-img-cover-abs.mt-5.ms-n5 {
        margin-top: 0 !important;
        margin-left: 0 !important;
    }
}

.seo-map-wrap {
    min-height: 480px;
}

.seo-team-cell {
    min-height: 300px;
}

.seo-img-cover-abs {
    object-fit: cover;
}

.seo-portfolio-filter-thumb {
    width: 240px;
    height: 150px;
    object-fit: cover;
    display: block;
}

.seo-portfolio-filter-overlay {
    background: rgba(4, 15, 40, 0.3);
}

.seo-map-iframe {
    border: 0;
    min-height: 480px;
}

.seo-reading-block {
    font-size: 1.02rem;
    line-height: 1.75;
}

.seo-reading-block h2,
.seo-reading-block h3 {
    margin-top: 1.75rem;
    margin-bottom: 1rem;
}