/* --- DEĞİŞKENLER VE TEMEL AYARLAR --- */
:root {
    --bs-primary-rgb: 78, 115, 223;
    --bs-primary: #4e73df;
    --bs-link-hover-color: #224abe;
    --section-title-border: #dddfeb;
    --card-hover-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
    --card-border-color: #e3e6f0;
}

[data-bs-theme="dark"] {
    --bs-body-bg: #212529;
    --bs-body-color: #dee2e6;
    --bs-tertiary-bg: #2c3034;
    --section-title-border: #495057;
    --card-border-color: #495057;
    --bs-primary-rgb: 108, 142, 240;
    --bs-primary: #6c8ef0;
}

body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* --- NAVBAR VE LOGO AYARI --- */
.navbar-brand img {
    transition: opacity 0.3s ease;
}
[data-bs-theme="light"] .logo-dark,
[data-bs-theme="dark"] .logo-light {
    display: none;
}
.theme-switch-wrapper {
    display: flex;
    align-items: center;
}
.theme-switch-wrapper .form-check-input {
    margin: 0 0.5rem;
}

/* --- ANA SAYFA SLIDER --- */
.main-slider {
    height: 70vh;
    color: #fff;
}
.swiper-slide {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.slider-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 0.5rem;
}

/* --- BÖLÜM BAŞLIKLARI --- */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}
.section-title span {
    background-color: var(--bs-body-bg);
    padding: 0 20px;
    position: relative;
    z-index: 1;
}
.section-title:before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--bs-primary);
}
.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--section-title-border);
}


/* --- KARTLAR (Hizmet/Ürün) --- */
.service-card, .product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-color: var(--card-border-color);
}
.service-card:hover, .product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}
.card-footer {
    background-color: transparent;
    border-top: 1px solid var(--card-border-color);
}

/* --- KAYAN İLETİŞİM BARI (Masaüstü) --- */
.floating-contact-bar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1040;
    transition: all 0.3s ease;
}
.floating-contact-bar .bar-content {
    display: flex;
    align-items: center;
    background-color: var(--bs-primary);
    color: white;
    border-radius: 25px 0 0 25px;
    cursor: pointer;
    overflow: hidden;
    width: 60px; /* Sadece ikon görünecek */
    height: 60px;
    transition: all 0.3s ease-in-out;
}
.floating-contact-bar:hover .bar-content {
    width: 300px; /* Genişleyecek */
}
.floating-contact-bar .icon-wrapper {
    min-width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.floating-contact-bar .details {
    padding: 0 20px 0 10px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s 0.2s; /* Genişleme bittikten sonra belirsin */
}
.floating-contact-bar:hover .details {
    opacity: 1;
}
.floating-contact-bar .details p {
    margin-bottom: 0.5rem;
}

/* --- MOBİL ALT BAR --- */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--bs-tertiary-bg);
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1040;
}
.mobile-bottom-bar .bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--bs-body-color);
    text-decoration: none;
    font-size: 0.8rem;
}
.mobile-bottom-bar .bar-item i {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

/* --- REFERANS TOAST (Pop-up) --- */
#referenceToast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1055;
    min-width: 250px;
    transition: opacity 0.5s, transform 0.5s;
}
#referenceToast.hide {
    opacity: 0;
    transform: translateY(20px);
}
#referenceToast.show {
    opacity: 1;
    transform: translateY(0);
}
.toast-header {
    background-color: var(--bs-primary);
    color: white;
}
.toast-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* --- İLETİŞİM SAYFASI LİSTE --- */
.contact-info-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.contact-info-list i {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: var(--bs-primary);
    margin-right: 15px;
}

/* Masaüstü Alt İletişim Barı */
.desktop-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #212529; /* Koyu arkaplan */
    padding: 1.5rem 0;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1045;
    color: #fff;
}

.desktop-bottom-bar .bar-cta h4 {
    font-weight: 600;
}

.desktop-bottom-bar .bar-cta p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.desktop-bottom-bar .bar-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    height: 50px;
}

.desktop-bottom-bar .bar-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.desktop-bottom-bar .bar-form .form-check-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.desktop-bottom-bar .btn-cta {
    font-weight: 500;
    padding: 0.75rem 1.25rem;
}
a {
  color: inherit;           /* Bulunduğu yerin metin rengini kullanır */
  text-decoration: none;    /* Altı çizili olmasın */
}

a:hover,
a:focus,
a:active {
  color: inherit;           /* Üzerine gelince de rengi değişmesin */
  text-decoration: none;    /* Altı çizili olmasın */
}