/********** Template CSS **********/
:root {
    --primary:#e2161c;
    --secondary: #5F656F;
    --light: #F5F5F5;
    --dark: #1e1e20;
    --success:  #00700f;
    --info:#FFB90F;
}

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

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

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
h6,
.h5,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** 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 {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: #141414;
}
/* Varsayılan mavi buton */
.btn-primary {
    background: #e2161c;   /* Mavi */
    color: #fff;           /* Beyaz yazı */
 border: 2px solid #e2161c;
    transition: all 0.3s ease; 
    
}

/* Hover’da tersine dönecek */
.btn-primary:hover {
    background: #1e1e20;;      /* Beyaz arka plan */
     color: #fff;      /* Yazı Beyaz */
    border: 2px solid #fff; 
}
.btn-square {
    width: 38px;
    height: 38px;
}

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

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

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

@media (max-width: 768px) {
.btn-square{

  padding: 8px;
}
}

.topbar-right {
    position: relative;
    background: var(--primary);
}

.topbar-right::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 100%; 
    top: 0;
    left: -15px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}


.topbar-ana {
    /* Tüm top bar'ın (sol ve orta kısmın) arka planını koyu gri yapar */
    background-color: var(--dark) !important; 
}


.metin-koyu {
    /* Tüm top bar'ın (sol ve orta kısmın) arka planını koyu gri yapar */
  color: var(--dark) !important; 
}

/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    position: relative;
    padding-right: 50px;
    height: 75px;
    display: flex;
    align-items: center;
    background: var(--primary);
}

.navbar .navbar-brand::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 100%;
    top: 0;
    right: -25px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 20px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

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

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

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

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}
@media (max-width: 768px) {
    .navbar-brand {
        padding-left: 5px !important;
        padding-right:5px !important;


    }
}
    @media (max-width: 450px) {
    .navbar-toggler {
        padding:0.1rem;

    }
}
@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 ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgb(21, 22, 22) 0%, rgba(2, 36, 91, 0) 100%);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
    border-radius: 3.5rem;
}



@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 250px;
        
            }
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2.5rem;
    height: 2.5rem;
}
    .display-1 {
    font-size: calc(1.4rem + 1.5vw);
         

   }
   .fs-5 {
    font-size: 1rem !important;
           

}
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit:fill;
    }
}

.page-header {
    background: linear-gradient(to right, rgb(21, 22, 22) 0%, rgba(2, 36, 91, 0) 100%), url(../img/uberco_pages.png) center center no-repeat;
    background-size: cover;
}

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

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Facts ***/
.facts {
    position: relative;
    margin: 6rem 0;
    background: var(--dark);
}

.facts .border {
    border-color: rgba(255, 255, 255, .1) !important;
}


/*** Features ***/
.btn-play {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

@media (max-width: 992px) {
    .btn-play {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid #FFFFFF;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}


@media (max-width: 768px) {

.btn {
    display: inline-block;
    font-weight: 400;
   border-radius: 3px;
    margin: 2px;
    line-height: 0.8rem;
    font-size: 1.0rem;
    }
.text-start {
    text-align: center !important;

}
.bi-arrow-up{
    line-height: 2.5rem;

}

.mb-5 {
    margin-bottom: 1rem !important;
}
}
.topbar-right {
    position: relative;
    background: var(--primary);
}


@media (max-width: 768px) {
.g-5, .gy-5 {
    --bs-gutter-y: 1rem;
}
.p-5 {
    padding: 1rem !important;
}
}
@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Service ***/
.service-item {
    position: relative;
    margin: 65px 0 25px 0;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-img {
    position: absolute;
    padding: 12px;
    width: 130px;
    height: 130px;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .service-detail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.service-item .service-title {
    position: absolute;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-title {
    top: -100%;
}

.service-item .service-text {
    position: absolute;
    overflow: hidden;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    display: flex;
    align-items: center;
    text-align: center;
    background: rgba(2, 36, 91, .7);
    transition: .5s;
}

.service-item:hover .service-text {
    top: 0;
}

.service-item .service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100px;
    top: -100%;
    left: 0;
    transform: skewY(-12deg);
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-text::before {
    top: -55px;
}

.service-item .btn {
    position: absolute;
    width: 130px;
    height: 50px;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    background: #FFFFFF;
    border: none;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

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


/*** Project ***/
.project-carousel {
    position: relative;
    background: var(--dark);
}

.project-item {
    position: relative;
    display: block;
}

.project-item img {
    transition: .5s;
}

.project-item:hover img,
.project-carousel .owl-item.center img {
    margin-top: -60px;
}

.project-item .project-title {
    position: absolute;
    padding: 0 15px;
    width: 100%;
    height: 80px;
    bottom: -110px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark);
    transition: .5s;
}

.project-item:hover .project-title,
.project-carousel .owl-item.center .project-title  {
    bottom: -60px;
}

.project-item .project-title::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    top: -15px;
    left: 0;
    transform: skewY(-5deg);
    background: var(--dark);
    transition: .5s;
}

.project-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    transition: .5s;
    opacity: 0;
    z-index: 1;
}

.project-carousel:hover .owl-nav {
    opacity: 1;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 30px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}


/*** Team ***/
.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    display: flex;
    align-items: center;
    background: var(--secondary);
    transition: .5s;
}

.team-item:hover .team-social {
    left: 0;
}


/*** 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);
}


/*** Footer ***/
.footer {
    color: #B0B9AE;
    background-color: var(--dark) !important; 
   
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    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: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #ffffff;
    border-top: 1px solid rgba(216, 215, 215, 0.1);
    background-color: #000000 !important;

   
}


@media (max-width: 768px) {
    .copyright {
        font-size: 0.8rem;
    }
}


.cookie-banner-fix {
    background-color: #2f2f2f; /* Antrasit gri */
    color: #fff;
    width: 100%;
    padding: 20px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9999;
    display: none;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease-in-out;
}

.cookie-banner-fix.show {
    display: flex;
}

.cookie-banner-fix.slide-up {
    opacity: 1;
    transform: translateY(0);
}

.cookie-banner-fix.slide-down {
    opacity: 0;
    transform: translateY(100%);
}

.cookie-content-fix {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.cookie-col-icon-fix i {
    width: 40px;
    height: 40px;
    background-color: #e2161c;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.cookie-col-text-fix p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.cookie-col-text-fix a {
    color: #e2161c;
    text-decoration: underline;
}

.cookie-col-btns-fix {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-kabul-et-fix {
    background-color: #e2161c;
    border: none;
    padding: 10px 20px;
    color: #fff;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}
.btn-kabul-et-fix:hover {
    background-color: #e2161c;
}

.btn-kapat-x-fix {
    background-color: #555;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.btn-kapat-x-fix:hover {
    background-color: #777;
}

@media (max-width: 768px) {
    .cookie-content-fix {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-col-btns-fix {
        width: 100%;
        justify-content: flex-end;
    }
}

/*** bilgilendirme menüsü***/

.menu-item {
    padding: 10px 16px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.menu-item a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.menu-item:hover {
    background: rgba(0, 0, 0, 0.04);
    border-left: 3px solid var(--primary);
}

.menu-item.active {
    font-weight: 600;
    border-right: 3px solid var(--theme-color, #e2161c);
    background: rgba(0, 0, 0, 0.05);
}

.icerik h2 {
    margin-bottom: 16px;
    font-size: 1.4rem;
    font-weight: 600;
}

.icerik p {
    margin-bottom: 12px;
    text-align: justify;
}


/*** karşılaştırma tablosu menüsü***/

.compare-table {
  display:flex;
  grid-template-columns: 1fr repeat(5, 1fr);
  gap: 1rem;
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow-x: auto;
  font-family: "Segoe UI", sans-serif;
}

.table-column {
  display:flex;
  flex-direction: column;
  align-items: center;
}

.table-header {
  text-align: center;
  margin-bottom: 1rem;
 
}

.table-header img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.table-header h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: #222;
   text-overflow: ellipsis;  
}

.feature-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-item {
  text-align: center;
  padding: 0.6rem;
  border-radius: 8px;
  background: #f9f9f9;
}

.features-left {
  font-weight: 600;
  text-align: left;
  color: #333;
  background: #f1f1f1;

  white-space: nowrap;       /* ✅ Satır kırılmasını engeller */
  overflow: hidden;          /* Taşma olursa gizler */
  text-overflow: ellipsis;   /* Uzun olursa üç nokta koyar (... opsiyonel) */
}
 

.table-footer {
  margin-top: 1rem;
}

.table-footer button {
  background: #198754;
  border: none;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.table-footer button:hover {
  background: #146c43;
}

/* Responsive */
@media (max-width: 992px) {
  .compare-table {
    display: grid; /* mobilde grid  */
    grid-template-columns: 1fr 1fr;
    overflow-x: auto;
  }
}


/* Sadece galeri alanını etkiler */
.gallery-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 20px;
}


.gallery {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1100px;
  width: 100%;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  background: #fff;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}

.resimh img:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}


/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.modal img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 10px;
}

.close, .next, .prev {
  position: absolute;
  color: white;
  font-size: 40px;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}

.close:hover, .next:hover, .prev:hover {
  color: #00bfff;
}

.close { top: 20px; right: 40px; }
.next { right: 25px; top: 50%; transform: translateY(-50%); }
.prev { left: 25px; top: 50%; transform: translateY(-50%); }

@media (max-width: 600px) {
  .gallery-wrapper { padding: 20px 10px; }
  .gallery { gap: 10px; }
  .close { right: 20px; font-size: 30px; }
  .next, .prev { font-size: 30px; }
}




/* Marka Logoları*/

.brand-box {
  width: 150px;
  height: 150px;
  margin: 5px;
  overflow: hidden;
  border-radius: 6px;
  border: 3px solid #000;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.brand-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.brand-box:hover {
  transform: scale(1.05);
  border-color: #e2161c;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}




/*Responsive yapı için ebeveyn kapsayıcı */
.brand-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* 🔹 Küçük ekranlarda otomatik küçülme */
@media (max-width: 768px) {
  .brand-box {
    width: 120px;
    height: 120px;
    margin: 6px;
  }
}

@media (max-width: 480px) {
  .brand-box {
    width: 100px;
    height: 100px;
  }
}



@media (max-width: 768px) {

    .footer-title {
        cursor: pointer;
        position: relative;
        padding: 5px 0;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }

    .footer-title::after {
        content: "﹀";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
        transition: 0.3s;
    }

    .footer-title.active::after {
        content: "−";
    }

    .footer-links {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .footer-links.open {
        max-height: 500px;
        margin-bottom: 10px;
    }
}
@media (max-width: 768px) {

    .footer img {
        display: block;
        margin: 0 auto !important;
    }

    .footer p {
       
        margin-left: 0 !important;
    }

}

.footer-logo-box {
    text-align: center;
}

.footer-logo {
    display: block;
    margin: 0 auto;
    height: 60px;
}
