/********** Template CSS **********/
:root {
    /* Ana renk paleti - Hero görseline ve metinlerine uygun */
    --primary: #214F8F;           /* Hero başlık rengi - Profesyonel koyu mavi */
    --secondary: #80342F;         /* Hero tarih rengi - Sıcak koyu kırmızı/kahverengi */
    --accent: #2D1D6C;            /* Hero alt bilgi rengi - Derin mor-mavi */
    --light: #F5F7FA;             /* Açık arka plan - Yumuşak gri-beyaz */
    --dark: #1A1F3A;              /* Koyu metin - Derin lacivert */
    --text-primary: #214F8F;      /* Ana metin rengi */
    --text-secondary: #80342F;    /* İkincil metin rengi */
    --text-accent: #2D1D6C;       /* Vurgu metin rengi */
    --white: #FFFFFF;
    --light-blue: #E8F0F8;        /* Açık mavi ton - Hover efektleri için */
    
    /* Bootstrap renk override */
    --bs-primary: var(--primary);
    --bs-secondary: var(--secondary);
    --bs-dark: var(--dark);
    --bs-light: var(--light);
    --bs-primary-rgb: 33, 79, 143;
    --bs-secondary-rgb: 128, 52, 47;
    --bs-dark-rgb: 26, 31, 58;
}


/*** 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;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Heading ***/
h1,
h2,
h3,
.fw-bold {
    font-weight: 700 !important;
}

h4,
h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #1a3d6f;
    border-color: #1a3d6f;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 79, 143, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: #6b2a26;
    border-color: #6b2a26;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(128, 52, 47, 0.3);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-light {
    background-color: var(--light) !important;
}

.bg-dark {
    background-color: var(--dark) !important;
}

.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;
    border-radius: 50px;
}


/*** Navbar ***/
.sticky-top {
    top: 0px;
    transition: .5s;
    z-index: 1020;
}

.navbar {
    min-height: 85px;
    height: auto;
}

.navbar-logo {
    height: 80px;
    object-fit: contain;
    transition: .3s;
    position: relative;
    z-index: 1;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 0;
    color: rgba(255, 255, 255, .7);
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: rgba(255, 255, 255, 1);
}

.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 {
        padding: 0 15px;
        background: var(--primary);
    }

    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-logo {
        height: 55px;
        width: 55px;
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 50px;
        width: 50px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item {
        position: relative;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        position: absolute;
        z-index: 1030;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.text-justified{
    text-align: justify;
}

/*** Hero Header ***/
.hero-header {
    background: url(../img/hero_bg.jpg) center center no-repeat;
    background-size: cover;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(33, 79, 143, 0.15) 0%, rgba(45, 29, 108, 0.15) 100%);
    z-index: 0;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--primary);
}

.hero-header .breadcrumb-item a{
    color: var(--primary);
    text-decoration: none;
    transition: .3s;
}

.hero-header .breadcrumb-item a:hover {
    color: var(--secondary);
}

.hero-header .breadcrumb-item.active{
    color: var(--accent);
    font-weight: 600;
}

.hero-title{
    color: var(--primary);
    font-weight: 600;
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title span{
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--primary);
}

.hero-body{
    background-color: rgba(255, 255, 255, 0.6);
}

.hero-logo{
    max-width: 150px;
    height: auto;
    object-fit: contain;
}

.hero-text{
    color: var(--secondary);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.hero-text-2{
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Hero Responsive Styles */
@media (max-width: 991.98px) {
    .hero-logo {
        max-width: 120px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title span {
        font-size: 3rem;
    }
    
    .hero-text {
        font-size: 1.5rem;
    }
    
    .hero-text-2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .hero-logo {
        max-width: 100px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title span {
        font-size: 2.5rem;
    }
    
    .hero-text {
        font-size: 1.25rem;
    }
    
    .hero-text-2 {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-logo {
        max-width: 80px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-title span {
        font-size: 2rem;
    }
    
    .hero-text {
        font-size: 1.1rem;
    }
    
    .hero-text-2 {
        font-size: 0.9rem;
    }
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 4px;
    bottom: 0;
    left: 0;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    bottom: 0;
    left: 50px;
    background: var(--secondary);
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -25px;
}

.section-title.text-center::after {
    left: 50%;
    margin-left: 25px;
}

.section-title h6::before,
.section-title h6::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    top: 2px;
    left: 0;
    background: rgba(33, 79, 143, .5);
}

.section-title h6::after {
    top: 5px;
    left: 3px;
    background: rgba(128, 52, 47, .5);
}


/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-about-img.png) top left no-repeat;
    background-size: contain;
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 45px 30px;
    background: var(--white);
    transition: .5s;
    border: 1px solid rgba(33, 79, 143, 0.1);
}

.service-item:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(33, 79, 143, 0.2);
}

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 90px;
    height: 90px;
    color: var(--primary);
    background: var(--light-blue);
    transition: .5s;
    border-radius: 50%;
}

.service-item:hover .service-icon {
    background: var(--white);
    color: var(--primary);
}

.service-item h5,
.service-item p {
    transition: .5s;
    color: var(--dark);
}

.service-item:hover h5,
.service-item:hover p {
    color: var(--white);
}

.service-item a.btn {
    position: relative;
    display: flex;
    color: var(--primary);
    transition: .5s;
    z-index: 1;
}

.service-item:hover a.btn {
    color: var(--primary);
}

.service-item a.btn::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    top: 0;
    left: 0;
    border-radius: 35px;
    background: var(--light-blue);
    transition: .5s;
    z-index: -1;
}

.service-item:hover a.btn::before {
    width: 100%;
    background: var(--white);
}


/*** Feature ***/
.feature {
    background: url(../img/bg-hero.png) center center no-repeat;
    background-size: cover;
}


/*** Newsletter ***/
.newsletter {
    background: url(../img/bg-hero.png) center center no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .newsletter .container {
        max-width: 100% !important;
    }

    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Case Study ***/
.case-item img {
    transition: .5s;
}
  
.case-item:hover img {
    transform: scale(1.2);
}
  
.case-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(26, 31, 58, 0), var(--dark));
    z-index: 1;
}

.case-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: var(--white);
    background: rgba(33, 79, 143, .8);
    border-radius: 25px;
    margin-bottom: 15px;
}

.case-overlay span.btn:hover {
    color: var(--primary);
    background: var(--white);
    border-color: var(--white);
}


/*** FAQs ***/
.accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
}

.accordion .accordion-button {
    background: var(--light);
    border-radius: 2px;
    color: var(--dark);
    font-weight: 500;
}

.accordion .accordion-button:not(.collapsed) {
    color: var(--white);
    background: var(--primary);
    box-shadow: none;
}

.accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion .accordion-button:hover {
    background: var(--light-blue);
    color: var(--primary);
}

.accordion .accordion-body {
    padding: 15px 0 0 0;
}


/*** Testimonial ***/
.testimonial-carousel {
    position: relative;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 40px;
    height: 100%;
    top: calc(50% - 50px);
    left: -21px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 5px 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 40px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    margin-left: 3rem;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin-right: 10px;
    width: 15px;
    height: 15px;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}


/*** Team ***/
.team-item {
    transition: .5s;
    border: 1px solid transparent;
    transition: .5s;
}

.team-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(33, 79, 143, 0.15);
}


/*** Footer ***/
.footer {
    background: url(../img/footer.png) center center no-repeat;
    background-size: contain;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.5);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    background: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,.5);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: var(--white);
    padding-left: 5px;
}

.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 {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: rgba(255,255,255,.5);
}

.footer .copyright a:hover {
    color: var(--white);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


/*** Card Styles ***/
.card {
    border: 1px solid rgba(33, 79, 143, 0.1);
    transition: .3s;
}

.card:hover {
    box-shadow: 0 10px 25px rgba(33, 79, 143, 0.15);
    transform: translateY(-3px);
}

.card-header.bg-primary {
    background-color: var(--primary) !important;
    color: var(--white);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.card-header.bg-secondary {
    background-color: var(--secondary) !important;
    color: var(--white);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}


/*** Badge Styles ***/
.badge.bg-primary {
    background-color: var(--primary) !important;
}

.badge.bg-secondary {
    background-color: var(--secondary) !important;
}


/*** Border Styles ***/
.border-primary {
    border-color: var(--primary) !important;
}

.border-secondary {
    border-color: var(--secondary) !important;
}


/*** Link Styles ***/
a {
    color: var(--primary);
    transition: .3s;
}

a:hover {
    color: var(--secondary);
}


/*** Dropdown Styles ***/
.dropdown-menu {
    border: 1px solid rgba(33, 79, 143, 0.1);
    box-shadow: 0 5px 15px rgba(33, 79, 143, 0.1);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--light-blue);
    color: var(--primary);
}

.dropdown-item.active {
    background-color: var(--primary);
    color: var(--white);
}


/*** Navbar Enhancement ***/
.navbar.bg-primary {
    background-color: var(--primary) !important;
    box-shadow: 0 2px 10px rgba(33, 79, 143, 0.2);
}

.navbar .navbar-nav .nav-link.active {
    color: var(--white);
    font-weight: 600;
    border-bottom: 2px solid var(--white);
    padding-bottom: 2px;
}


/*** Hero Header Container ***/
.hero-header .container {
    position: relative;
    z-index: 1;
}


/*** Form Styles ***/
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(33, 79, 143, 0.25);
}

.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(33, 79, 143, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(33, 79, 143, 0.25);
}


/*** Table Styles ***/
.table-primary {
    --bs-table-bg: var(--light-blue);
    --bs-table-color: var(--primary);
}

.table thead th {
    background-color: var(--primary);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.2);
}


/*** Alert Styles ***/
.alert-primary {
    background-color: var(--light-blue);
    border-color: var(--primary);
    color: var(--primary);
}

.alert-secondary {
    background-color: rgba(128, 52, 47, 0.1);
    border-color: var(--secondary);
    color: var(--secondary);
}


/*** Progress Bar Styles ***/
.progress-bar {
    background-color: var(--primary);
}

.progress-bar.bg-secondary {
    background-color: var(--secondary);
}


/*** Pagination Styles ***/
.page-link {
    color: var(--primary);
    border-color: rgba(33, 79, 143, 0.2);
}

.page-link:hover {
    color: var(--white);
    background-color: var(--primary);
    border-color: var(--primary);
}

.page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}


/*** List Group Styles ***/
.list-group-item.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.list-group-item-action:hover {
    background-color: var(--light-blue);
    color: var(--primary);
}


/*** Spinner Styles ***/
.spinner-border.text-primary {
    color: var(--primary) !important;
}

.spinner-border.text-secondary {
    color: var(--secondary) !important;
}


/*** Back to Top Button ***/
.back-to-top {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    transition: .3s;
}

.back-to-top:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(33, 79, 47, 0.3);
}