html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Mobil görünümde menü öğeleri arası boşluk */
@media (max-width: 991px) {
    .navbar-collapse .nav-item {
        padding: 5px 0;
        border-bottom: 1px solid #f8f9fa;
    }
}

@media (max-width: 1199px) {
    .navbar-collapse {
        background: #fff;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        margin-top: 10px;
    }

    .navbar-nav .nav-link {
        font-size: 1.1rem;
        padding: 10px 0 !important;
    }
}

/* Menü linklerine yumuşak geçiş ekle */
.navbar-nav .nav-link {
    transition: all 0.3s ease-in-out; /* Yumuşak geçiş süresi */
    position: relative;
}

    /* Hover olduğunda renk değişimi ve hafif ölçeklenme */
    .navbar-nav .nav-link:hover {
        color: var(--primary-color) !important;
        transform: translateY(-2px); /* Hafif yukarı kayar */
    }

    /* Alt çizgi efekti (Opsiyonel ama çok şık durur) */
    .navbar-nav .nav-link::after {
        content: '';
        display: block;
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: width 0.3s;
        margin-top: 2px;
    }

    .navbar-nav .nav-link:hover::after {
        width: 100%; /* Üstüne gelince çizgi dolar */
    }

.btn-primary {
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        transform: scale(1.05); /* Buton biraz büyür */
        box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.4); /* Etrafına ışık efekti düşer */
    }

.navbar-toggler:hover {
    border-color: var(--primary-color) !important;
}

    .navbar-toggler:hover .navbar-toggler-icon {
        filter: invert(45%) sepia(96%) saturate(1450%) hue-rotate(200deg) brightness(95%) contrast(100%);
    }

/* 🎯 PREMIUM FIXED ACTION POOL (FAB) CSS */
.fixed-action-pool {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition-smooth);
}

.fab-btn {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #ffffff;
    border: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Renk Kimlikleri */
.fab-contact {
    background: linear-gradient(135deg, var(--primary-color), #004fc4) !important;
}

.fab-whatsapp {
    background: linear-gradient(135deg, #25d366, #1ebd58) !important;
}

.fab-top {
    background: linear-gradient(135deg, #475569, #334155) !important;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

    /* Aktiflik Durumu (JS ile tetiklenecek) */
    .fab-top.show {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

/* Hover Animasyonları */
.fab-btn:hover {
    transform: translateY(-3px) scale(1.05);
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* 📱 Mobil Ekranlar İçin Konum Optimizasyonu */
@media (max-width: 991.98px) {
    .fixed-action-pool {
        bottom: 20px;
        right: 20px;
        padding: 6px;
        gap: 6px;
    }

    .fab-btn {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 1.15rem;
    }
}

/* Public legal and company information pages */
.public-content-page {
    width: min(960px, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4.5rem) 0;
    color: var(--text-primary-color, #1f2937);
}

.section-scroll-anchor {
    display: block;
    scroll-margin-top: 6rem;
}

.public-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted-color, #64748b);
    font-size: .9rem;
}

.public-content-page__header {
    max-width: 780px;
    margin-bottom: 2.25rem;
}

.public-content-page__eyebrow {
    display: block;
    margin-bottom: .65rem;
    color: var(--primary-color, #0d6efd);
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.public-content-page h1 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.08;
}

.public-content-page__header p {
    margin: 0;
    color: var(--text-muted-color, #64748b);
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.75;
}

.public-content-page section {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, .25);
}

.public-content-page section h2,
.public-provider h2 {
    margin-bottom: .75rem;
    font-size: 1.2rem;
}

.public-content-page section p {
    margin: 0;
    line-height: 1.8;
}

.public-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: .5rem 0 1.5rem;
}

.public-feature-grid > div {
    display: grid;
    gap: .45rem;
    padding: 1.15rem;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
}

.public-feature-grid span {
    color: var(--text-muted-color, #64748b);
    line-height: 1.6;
}

.public-provider {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 3px solid var(--primary-color, #0d6efd);
}

.public-provider__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem 1.5rem;
    margin: 0;
}

.public-provider__list div {
    min-width: 0;
}

.public-provider__list dt {
    color: var(--text-muted-color, #64748b);
    font-size: .8rem;
    font-weight: 700;
}

.public-provider__list dd {
    margin: .2rem 0 0;
    overflow-wrap: anywhere;
    font-weight: 600;
}

.footer-payment-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, .22);
}

.footer-payment-trust > span {
    color: var(--text-muted-color, #64748b);
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.footer-payment-trust img,
.payment-brand-card__logos {
    display: block;
    width: min(100%, 429px);
    height: auto;
    object-fit: contain;
}

.footer-payment-trust img {
    max-width: 360px;
}

@media (max-width: 575.98px) {
    .public-content-page {
        width: min(100% - 1.25rem, 960px);
        padding: 1.75rem 0 3rem;
    }

    .public-feature-grid,
    .public-provider__list {
        grid-template-columns: 1fr;
    }

    .footer-payment-trust {
        flex-direction: column;
    }

    .footer-payment-trust img {
        max-width: 100%;
    }
}
