/********** Template CSS **********/
:root {
    --primary: #06a7e2;
    --primary-hover : #000;
    --primary-hover-color : #fff;
    --light: #F6F7F8;
    --dark: #1A2A36;
}
body { color: #333; background-color: #dbe7ef;}
.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

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

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

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

.btn-mg-square {
    width: 72px !important;
    height: 72px !important;
}

.btn-mg-square,
.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    aspect-ratio: 1/1;
}

/*** Top Bar ***/
#topbar { background: var(--primary); padding: 5px 0;  }
#topbar .flex-end { gap: 30px; }
#topbar a,#topbar a:link,#topbar a:visited { color: #fff !important; font-size: 12px;}
#topbar i { background: #fff; border-radius: 50%; padding: 5px; color: var(--primary); width: 24px; height: 24px; line-height: 12px; text-align: center; font-size: 12px;}
#topbar p { margin-bottom: 0px !important; }
#topbar .container {     
    display: flex;
    justify-content: flex-end; 
    gap: 30px;
}


/*** Navbar ***/
#logo img { width: 300px;}
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 73px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    text-transform: capitalize;
    outline: none;
}
.navbar .nav-item .dropdown-menu {
    text-transform: capitalize;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    background: var(--primary);
    color:#fff;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-nav > a { white-space: nowrap;}

.flex-end {
    display: flex;
    justify-content: flex-end;
}
.flex-middle {
    display: flex;
    align-items: center;
}

.search { position: relative; width: 60px;}
#search { margin: 20px 10px; border: 1px solid transparent; position: absolute; right: 0; min-width: 35px; padding: 5px;}
#search:hover { border: 1px solid #000; border-radius: 20px; background: #fff; }
#search .form {  display: flex; align-items: center;  }
#search input { width: 1px; opacity: 0; border: none; outline: none; transition:.35s ease-in;}
#search:hover input  { width: 100px; opacity: 1;}
#search i { margin: 4px;}

#urun_icon {
    display: flex;
    align-items: center;
    gap: 40px;
}
#urun_icon label {
    text-align: center;
    font-size: 11px;
    cursor: pointer;
}

@media (max-width: 992px) {
    .search, .search .form { width: 100% !important; flex-direction:row-reverse; }
    #search { position:static;  border: 1px solid #000;  border-radius: 20px; margin: 20px 0; }
    #search input  { width: 100%; opacity: 1; display: inline-block; }
    .form span { flex: 1; }
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
    .imleme_foto { max-width: 100%;}
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
}

@media (max-width: 768px) {
    .col-md-p-5 {
        padding: 3rem !important
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
    .header-carousel .owl-dots {
        display: none !important;
    }
    .imlemeler {  height: 350px;}
    .flex-end {
        display: flex;
        flex-direction: row;
        justify-content:center;
    }
    #topbar { padding: 10px 0;}
    #topbar .container {     
        display: flex;
        justify-content: center; 
        gap: 30px;
        align-items: center;
    }
    #topbar i {
        padding: 10px;
        width: 36px;
        height: 36px;
        line-height: 18px;
        text-align: center;
        font-size: 18px;
    }
    .top_dil img { height: 25px; }
    .ms-2 { margin-left: 18px !important; }

    h5, .h5 {
        font-size: 1rem !important;
    }
    
}

@media (max-width: 480px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 160px;
    }
    

    
}
.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(255, 255, 255, .9);
    border-radius: 45px;
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    border-radius: 45px;
    transition: .5s;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service ***/
.gallery-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-icon {
    position: relative;
    margin: -50px 0 25px 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 100px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.gallery-item:hover .service-icon {
    color: #FFFFFF;
    background: var(--primary);
}

.tarz  .gallery-item { display: flex; align-items:center; gap: 20px; position: relative; background: #fff;}
.tarz1 .gallery-item { display: inline !important;}
:is(.tarz2, .tarz4) .gallery-item, .tarz6 .animasyon:nth-child(odd) .gallery-item { flex-direction: row-reverse; justify-content: flex-start;}
:is(.tarz2, .tarz3) .gallery-item div { width: 220px !important; flex-shrink: 0; flex-grow: 0; margin-left: auto;}
:is(.tarz4, .tarz5, .tarz6) .gallery-item div { width: 50%;  }
:is(.tarz4, .tarz5, .tarz6) .gallery-item:after { position: absolute; left:47.5%; top: -20px; bottom: -20px; width: 5%; content: ''; background-color: #fff; transform: rotate(5deg);transform: rotate(5deg); }

:is(.tarz4, .tarz5, .tarz6) a .gallery-item div.p-4 { padding: 50px !important; }
:is(.tarz4, .tarz5, .tarz6) a .gallery-item h2 { text-transform: capitalize; font-size: 52px; font-weight: 400; }
:is(.tarz4, .tarz5, .tarz6) a .gallery-item p { color:var(--primary-hover) !important; font-size: 18px; line-height: 28px; }
:is(.tarz4, .tarz5, .tarz6) .gallery-item:has( .tekparca) { flex-direction: column-reverse !important; }
:is(.tarz4, .tarz5, .tarz6) .gallery-item:has( .tekparca):after { display: none; }
:is(.tarz4, .tarz5, .tarz6) .gallery-item:has( .tekparca) :where(h2,div) { width: 100%; }

[class^=col-] img { max-width: 100%;}
@media (max-width: 768px) {
    .tarz  .gallery-item { flex-direction: column; }
    :is(.tarz2, .tarz4) .gallery-item, .tarz6 .animasyon:nth-child(odd) .gallery-item { flex-direction: column-reverse;}
    :is(.tarz4, .tarz5, .tarz6) a .gallery-item h2 { font-size: 30px; }
    :is(.tarz4, .tarz5, .tarz6) .gallery-item div, :is(.tarz4, .tarz5, .tarz6) .gallery-item div.p-4 { width: 100%; padding: 20px !important; }
    :is(.tarz4, .tarz5, .tarz6) .gallery-item:after { display: none;}

    .container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
        padding-left: 5px; padding-right: 5px;
    }
}

.flex { display: flex; align-items: center; gap:20px}

p:has( .float-end) { float: right !important;}

/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-img {
    position: relative;
    overflow: hidden;
}
/* tam kare siyah bg
.portfolio-img::after {
    position: absolute;
    content: attr(title);
    left:0;
    width: 100%;
    height: 100%;
    top: 100%;
    background: rgba(0,0,0,.7);
    transition: .5s;
    color:#fff;
    font-size: 20px;
    font-weight: bold;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content:center;
    text-align: center;
}
.portfolio-item:hover .portfolio-img::after {
    top: 0%;
}
*/

.portfolio-img {
    background: #fff;
}

.portfolio-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 1;
    transition: .5s;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
    transition-delay: .3s;
}

.py-8 {
    padding-top: 7rem !important;
    padding-bottom: 7rem !important;
}

/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team-item img {
    border-radius: 8px 60px 0 0;
}

.team-item .team-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: #FFFFFF;
    transition: .5s;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .testimonial-img img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .testimonial-img .btn-square {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.adresler { margin-bottom: 20px; padding-bottom: 10px;}
.adresler:not(:last-child) { border-bottom: 1px solid #9B9B9B;}


/*** Footer ***/
.footer h5 {
    color: #fff;
}
.footer .btn.btn-social {
    margin-right: 5px;
    color: #9B9B9B;
    border: 1px solid #9B9B9B;
    border-radius: 38px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #9B9B9B;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #FFFFFF;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer {
    padding: 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer a {
    color: var(--light);
}

.footer a:hover {
    color: var(--primary);
}

.text-pre { white-space: pre; } 
.rb {
    object-position: right bottom;
}
.cr {
    object-position: center right;
}

.ofc {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

table { margin-bottom: 2.5rem; border:1px solid #666}
table thead tr td { background: #666; color:#fff; vertical-align: middle; }
table tr td { border-right:1px solid #333; border-bottom:1px solid #333; vertical-align: middle; padding:5px 10px }


table tr td p {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
table tbody tr:nth-child(even) { background:#eee}

.zor1::after { position: absolute; top:10px; right: 0; content: '*'; color: red;}
.zorunlu { position: relative;}
.zorunlu::before { position: absolute; top:-5px; left: 0; content: '*'; color: red;}
.form-hata { border:1px solid #f00}
input[type=radio]+label { top:-30px}

.title {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    color: var(--color, #000);
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.title::after, .title::before {
    content: '';
    height: 1px;
    flex: 1;
    background-image: linear-gradient(var(--position, to right), transparent, var(--color, #000));
}
.title::after {
    --position: to left;
}

.py-3:has(.row:empty) { 
    padding-top: 0rem !important;
    padding-bottom: 0rem !important;
}

.lazy {
    visibility: hidden;
    opacity:0;
    transition: all 0.3s;
    transform: translateY(100);
}

.lazy-loaded {
    opacity: 1;
    transform: translateY(0);
}

.takim tr td:nth-child(2) { width: 10%;}
.takim tr td:nth-child(3) { width: 45%;}

.bg-primary { background-color: #fff !important;}
.py-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.urun_baslik { font-weight: 400 !important;}