/********** Template CSS **********/
:root {
    --primary: #C79045;
    --primary-light: #F0D083;
    --primary-dark: #8F642E;
    --secondary: #171512;
    --light: #F8F2E8;
    --dark: #11100E;
    --body: #6B6256;
    --surface: #FFFCF7;
    --gold-gradient: linear-gradient(135deg, #8F642E 0%, #C79045 45%, #F0D083 100%);
    --dark-gradient: linear-gradient(135deg, #080806 0%, #171512 55%, #2B2418 100%);
}


/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }

    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }

    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }

    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }

    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

.new-model {
    color: green; 
    font-weight: bold; 
    animation: blink 1s infinite; /* Animasyonu uygula */
}

@keyframes blink {
    0%, 100% {
        opacity: 1; /* Tam görünür */
    }
    50% {
        opacity: 0; /* Yarı görünür */
    }
}

#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;
}

#whatsapp-float-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
}

#whatsapp-icon {
    max-width: 30%;
    height: auto;
}

/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.responsive {
    width: auto;
    max-width: 280px; /* önce 320 */
    max-height: 70px;
    height: auto;
    margin: 10px auto;
}

.footer-about img {
    max-height: 140px;
    width: auto !important;
    height: auto !important;
    margin-bottom: 0 !important;
}

.footer-about .navbar-brand {
    margin: 0 !important;
    padding: 0 !important;
}

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

/* 545 px altında */
@media (max-width: 545px) {
    .responsive {
        max-width: 180px; /* önce 210 */
        margin: 12px auto;
    }
}

/* 423 px altında */
@media (max-width: 423px) {
    .responsive {
        max-width: 130px; /* önce 150 */
        margin: 14px auto;
    }
}

/* 354 px altında */
@media (max-width: 354px) {
    .responsive {
        max-width: 95px; /* önce 110 */
        margin: 16px auto;
    }
}




.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

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

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

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

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

/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark);
}

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

.navbar-dark .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-dark .navbar-toggler {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        color: var(--dark);
    }

    .navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }

    .sticky-top.navbar-dark {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}


/*** Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #17171785;
    z-index: 1;
}

.carousel-caption h5 {
    font-family: 'Rubik', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
}

.carousel-caption h1 {
    font-family: 'Rubik', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.02em;
}

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

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.section-title-heading {
    font-size: 32px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .section-title-heading {
        font-size: 26px;
    }
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {
        left: 0;
    }

    50% {
        left: 145px;
    }

    100% {
        left: 0;
    }
}

@-webkit-keyframes section-title-run-center {
    0% {
        left: 50%;
        margin-left: -75px;
    }

    50% {
        left: 50%;
        margin-left: 45px;
    }

    100% {
        left: 50%;
        margin-left: -75px;
    }
}

@-webkit-keyframes section-title-run-sm {
    0% {
        left: 0;
    }

    50% {
        left: 85px;
    }

    100% {
        left: 0;
    }
}


/*** Service ***/
.service-item {
    position: relative;
    height: 300px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 2px;
    transform: rotate(-45deg);
}

.service-item .service-icon i {
    transform: rotate(45deg);
}

.image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    /* Resimler arasındaki boşluk */
    justify-content: center;
    /* Resimleri yatayda ortala */
}

.image-container img {
    width: 200px;
    /* Resim genişliği */
    height: 120px;
    /* Resim yüksekliği */
    object-fit: cover;
    /* Resim boyutunu koru, taşma olursa kırp */
}

/* Ekran genişliği 600 pikselden küçükse */
@media screen and (max-width: 600px) {
    .image-container img {
        width: 100%;
        /* Resimleri ekran genişliği kadar genişlet */
        height: auto;
        /* Yükseklik otomatik olarak ayarlanacak */
    }
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    gap: 20px;
    /* İki video arasındaki boşluk */
    flex-wrap: wrap;
    /* Eğer ekran daralırsa alt alta geç */
}

video {
    max-width: 100%;
}

video::-webkit-media-controls-enclosure {
    display: none !important;
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}


/*** Team ***/
.team-item {
    transition: .5s;
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
    background: rgba(9, 30, 62, .7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.team-item .team-img img,
.blog-item .blog-img img {
    transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

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

.bg-header {
    background: linear-gradient(rgba(59, 69, 85, 0.7), rgba(62, 35, 9, 0.7)), url(../img/bgheader.png) center center no-repeat;
    background-size: cover;
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}


/*** Decor logo palette ***/
body {
    color: var(--body);
    background: var(--surface);
}

a {
    color: var(--primary);
}

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

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    color: var(--dark);
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-dark {
    color: var(--dark) !important;
}

.bg-primary {
    background: var(--dark-gradient) !important;
}

.bg-secondary,
.bg-dark {
    background: var(--dark) !important;
}

.bg-light {
    background-color: var(--light) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.btn-primary {
    color: #11100E !important;
    background: var(--gold-gradient);
    border-color: var(--primary);
    box-shadow: inset 0 0 0 50px transparent, 0 10px 24px rgba(143, 100, 46, .18);
}

.btn-primary:hover,
.btn-primary:focus {
    color: #FFFFFF !important;
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-secondary {
    color: var(--primary-light) !important;
    background: var(--dark-gradient);
    border-color: rgba(240, 208, 131, .45);
}

.btn-secondary:hover,
.btn-secondary:focus {
    color: #11100E !important;
    background: var(--primary-light);
    border-color: var(--primary-light);
}

.bg-primary .btn-dark,
.footer-about .btn-dark,
form .btn-dark {
    color: #11100E !important;
    background: var(--gold-gradient);
    border-color: var(--primary);
    box-shadow: 0 10px 24px rgba(143, 100, 46, .22);
    text-shadow: none;
}

.bg-primary .btn-dark:hover,
.bg-primary .btn-dark:focus,
.footer-about .btn-dark:hover,
.footer-about .btn-dark:focus,
form .btn-dark:hover,
form .btn-dark:focus {
    color: #FFFFFF !important;
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.bg-primary form .form-control,
.bg-primary form .form-select {
    background-color: #F8F2E8 !important;
    border: 1px solid rgba(240, 208, 131, .28) !important;
    color: var(--dark);
}

.bg-primary form .form-control::placeholder {
    color: #8A7D6C;
}

.bg-primary form .form-control:focus,
.bg-primary form .form-select:focus {
    background-color: #FFFCF7 !important;
    border-color: var(--primary-light) !important;
    box-shadow: 0 0 0 .25rem rgba(240, 208, 131, .2);
}

.footer-about a[href*="asirmuhendislik"],
.footer-about a[href*="asirmuhendislik"] b {
    color: var(--primary-light) !important;
    text-shadow: 0 6px 18px rgba(199, 144, 69, .35);
}

.footer-about a[href*="asirmuhendislik"]:hover,
.footer-about a[href*="asirmuhendislik"]:hover b {
    color: #FFFFFF !important;
}

.form-control,
.form-select {
    color: var(--dark);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .25rem rgba(199, 144, 69, .18);
}

.spinner,
.service-item .service-icon,
.testimonial-carousel .owl-dot.active {
    background: var(--gold-gradient);
}

.navbar-dark {
    background: linear-gradient(180deg, rgba(8, 8, 6, .9), rgba(8, 8, 6, .18));
}

.sticky-top.navbar-dark,
.navbar-dark .navbar-collapse {
    background: rgba(8, 8, 6, .96);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
}

.navbar-dark .navbar-nav .nav-link,
.sticky-top.navbar-dark .navbar-nav .nav-link {
    color: #F8F2E8;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active,
.sticky-top.navbar-dark .navbar-brand h1 {
    color: var(--primary-light);
}

.navbar-dark .navbar-nav .nav-link::before,
.section-title::before {
    background: var(--gold-gradient);
}

.navbar-dark .navbar-toggler {
    color: var(--primary-light) !important;
    border-color: rgba(240, 208, 131, .7) !important;
}

.carousel-caption {
    background: linear-gradient(90deg, rgba(8, 8, 6, .82), rgba(23, 21, 18, .58), rgba(8, 8, 6, .34));
}

.carousel-caption h5 {
    color: var(--primary-light);
}

.carousel-caption h1 {
    color: #FFFFFF;
    text-shadow: 0 12px 28px rgba(0, 0, 0, .38);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .35));
}

.facts .bg-primary,
.position-relative.bg-primary,
.rounded.h-100.bg-primary,
.footer-about.bg-primary {
    background: var(--dark-gradient) !important;
}

.facts .bg-light,
.service-item.bg-light,
.testimonial-item.bg-light,
.team-item.bg-light,
.blog-item.bg-light {
    background: linear-gradient(180deg, #FFFCF7 0%, var(--light) 100%) !important;
    border: 1px solid rgba(199, 144, 69, .16);
}

.service-item {
    box-shadow: 0 14px 34px rgba(17, 16, 14, .06);
}

.service-item:hover,
.team-item:hover,
.blog-item:hover {
    box-shadow: 0 20px 42px rgba(17, 16, 14, .12);
}

.testimonial-carousel .owl-dot {
    background: #D8C8AE;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 18px 38px rgba(17, 16, 14, .14);
}

.team-item:hover .team-social {
    background: rgba(8, 8, 6, .76);
}

.bg-header {
    background: linear-gradient(rgba(8, 8, 6, .78), rgba(45, 35, 20, .78)), url(../img/bgheader.png) center center no-repeat !important;
    background-size: cover;
}

.container-fluid.text-white[style*="#061429"] {
    background: #080806 !important;
}

.footer-about .navbar-brand img,
.navbar-brand img {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .28));
}

.back-to-top {
    box-shadow: 0 12px 28px rgba(143, 100, 46, .28);
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark,
    .navbar-dark {
        background: #080806;
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        color: #F8F2E8;
    }

    .navbar-dark .navbar-brand h1 {
        color: var(--primary-light);
    }
}
