.text-main {
    color: #ff214f !important;
}

.bg-main {
    background-color: #ff214f !important;
}
.text-main-hover {
    color: #ff214f !important;
}
/* Custom overrides for navigation colors */
/* Base navbar background and link colors */
.navbar.header-light.bg-white {
    background-color: #ffffff; /* keep white background */
}

.navbar .navbar-nav .nav-link {
    color: #232323;
}

    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .nav-item:hover > .nav-link,
    .navbar .navbar-nav .nav-link:focus {
        color: #ff214f !important;
    }

/* Dropdown caret icon color on hover */
.navbar .dropdown-toggle:hover,
.navbar .dropdown:hover > .dropdown-toggle {
    color: #ff214f !important;
}

/* Dropdown menu links — marka rengi (mavi yerine primary) */
.dropdown-menu a,
.dropdown-menu .dropdown-item {
    color: #232323 !important;
}

    .dropdown-menu a:hover,
    .dropdown-menu a:focus,
    .dropdown-menu .dropdown-item:hover,
    .dropdown-menu .dropdown-item:focus {
        color: #ff214f !important;
        background-color: rgba(255, 33, 79, 0.06);
    }

/* Active state for nav links */
.navbar .navbar-nav .active > .nav-link,
.navbar .navbar-nav .nav-link.active {
    color: #ff214f !important;
}

/* Social icons in header keep their original unless hovered */
.header-social-icon a:hover {
    color: #0a58ca;
}

/* Top bar social hover (uses text-fast-blue-hover in theme). Ensure compatible blue */
.text-fast-blue-hover:hover {
    color: #0d6efd !important;
}

/* Spacing for nav icons */
.navbar .navbar-nav .nav-link i {
    margin-right: 8px;
}

/* Masaüstü: ana menü tek satır (flex-wrap bazı genişliklerde son öğeyi alta kaydırıyordu) */
@media (min-width: 992px) {
    #navbarNav > ul.navbar-nav {
        flex-wrap: nowrap !important;
    }

    #navbarNav > ul.navbar-nav > .nav-item {
        flex-shrink: 0;
    }
}

/* Sticky Buttons Container — kullanıcıya göre “sağ” (ekranda sol kenar), dikeyde ortanın altında */
.sticky-buttons-container {
    position: fixed;
    left: max(14px, env(safe-area-inset-left, 0px));
    right: auto;
    top: 75%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    z-index: 9999;
}

.sticky-button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

    .sticky-button i {
        font-size: 22px;
        color: #ffffff;
    }

    .sticky-button span {
        position: absolute;
        background-color: inherit;
        color: #ffffff;
        padding: 8px 15px;
        border-radius: 20px;
        white-space: nowrap;
        font-size: 13px;
        font-weight: 500;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    }

    /* Sol kenardaki butonlar: ipucu ekranın içine, butonun sağına */
    .sticky-buttons-container .sticky-button span {
        left: 55px;
        right: auto;
    }

    .sticky-button:hover span {
        opacity: 1;
        visibility: visible;
    }

    .sticky-buttons-container .sticky-button:hover span {
        left: 60px;
    }

    .sticky-button:hover {
        transform: scale(1.1);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    }

/* İletişim: marka primary (düz) */
.sticky-button--iletisim {
    background-color: #ff214f;
}

.sticky-button--iletisim:hover,
.sticky-button--iletisim:focus {
    background-color: #d91a43;
}

.sticky-button--iletisim span {
    background-color: #ff214f !important;
}

.sticky-button--iletisim:hover span {
    background-color: #d91a43 !important;
}

/* ZZJG: btn-gradient-primary ile aynı gradient, yuvarlak sticky boyutunda */
.sticky-buttons-container .sticky-button.sticky-button--zzjg.btn-gradient-primary {
    width: 45px;
    height: 45px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;
    line-height: 1;
    box-sizing: border-box;
    background-image: linear-gradient(90deg, #ff214f 0%, #d91a43 100%) !important;
    color: #fff !important;
}

.sticky-buttons-container .sticky-button.sticky-button--zzjg.btn-gradient-primary:hover,
.sticky-buttons-container .sticky-button.sticky-button--zzjg.btn-gradient-primary:focus {
    background-image: linear-gradient(90deg, #e01d47 0%, #a61232 100%) !important;
    color: #fff !important;
}

.sticky-buttons-container .sticky-button.sticky-button--zzjg.btn-gradient-primary span {
    background-color: #ff214f !important;
    background-image: linear-gradient(90deg, #ff214f 0%, #d91a43 100%) !important;
    color: #fff !important;
}

.sticky-buttons-container .sticky-button.sticky-button--zzjg.btn-gradient-primary:hover span,
.sticky-buttons-container .sticky-button.sticky-button--zzjg.btn-gradient-primary:focus span {
    background-image: linear-gradient(90deg, #e01d47 0%, #a61232 100%) !important;
}

@media (max-width: 768px) {
    .sticky-buttons-container {
        left: max(10px, env(safe-area-inset-left, 0px));
        right: auto;
        top: 75%;
    }

    .sticky-button {
        width: 40px;
        height: 40px;
    }

    .sticky-buttons-container .sticky-button.sticky-button--zzjg.btn-gradient-primary {
        width: 40px;
        height: 40px;
    }

        .sticky-button i {
            font-size: 18px;
        }

        .sticky-button span {
            font-size: 12px;
            padding: 6px 12px;
        }
}

/* Mobil yalnızca: sol alt köşe yuvarlak Fiyat Listesi FAB — ~5 sn'de bir hafif dikkat animasyonu */
a.mobile-quote-fab {
    display: none !important;
}

@keyframes mobile-quote-fab-nudge {
    0%,
    96%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    }

    97% {
        transform: translate3d(0, -6px, 0) scale(1.05);
        box-shadow: 0 8px 20px rgba(255, 33, 79, 0.45);
    }

    99% {
        transform: translate3d(0, 0, 0) scale(1);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    }
}

@media (max-width: 767.98px) {
    a.mobile-quote-fab {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        position: fixed;
        left: max(12px, env(safe-area-inset-left, 0px));
        bottom: max(16px, env(safe-area-inset-bottom, 0px));
        z-index: 10000;
        width: 68px;
        height: 68px;
        padding: 6px 4px;
        border-radius: 50%;
        background-color: #ff214f;
        color: #fff;
        text-decoration: none;
        text-align: center;
        box-sizing: border-box;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
        animation: mobile-quote-fab-nudge 5s ease-in-out infinite;
        -webkit-tap-highlight-color: transparent;
    }

        a.mobile-quote-fab i {
            font-size: 22px;
            line-height: 1;
            color: #fff;
        }

        a.mobile-quote-fab .mobile-quote-fab__label {
            display: flex;
            flex-direction: column;
            gap: 0;
            line-height: 1.05;
        }

        a.mobile-quote-fab .mobile-quote-fab__line {
            display: block;
            font-size: 9px;
            font-weight: 700;
            letter-spacing: 0.02em;
            text-transform: uppercase;
        }

        a.mobile-quote-fab:active {
            filter: brightness(0.95);
        }

    @media (prefers-reduced-motion: reduce) {
        a.mobile-quote-fab {
            animation: none;
        }
    }
}

/* Prevent CLS for hero slider */
.one-third-screen {
    min-height: 400px;
}

@media (min-width: 768px) {
    .one-third-screen {
        min-height: 33.33vh;
    }
}

/* Homepage buttons spacing */
.gap-3 {
    gap: 1rem;
}

@media (max-width: 576px) {
    .gap-3 {
        gap: 0.5rem;
    }
}

/* Products page specific styles */
.products-page .product-cards-row {
    row-gap: 40px !important;
}

.products-page .product-cards-row .col {
    margin-bottom: 0 !important;
    display: flex;
    flex-direction: column;
}

.products-page .product-cards-row .col a:first-child {
    display: block;
    overflow: hidden;
    height: 250px;
}

.products-page .product-cards-row .col img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    display: block !important;
}

.products-page .product-cards-row .col .position-relative {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.products-page .product-cards-row .col .position-relative p {
    flex: 1;
}

@media (max-width: 991px) {
    .products-page .product-cards-row {
        row-gap: 30px !important;
    }
}

@media (max-width: 575px) {
    .products-page .product-cards-row {
        row-gap: 25px !important;
    }
    
    .products-page .product-cards-row .col a:first-child {
        height: 200px;
    }
    
    .products-page .product-cards-row .col img {
        height: 200px !important;
    }
}

/* Services page specific styles */
.services-page .service-cards-row {
    row-gap: 40px !important;
}

.services-page .service-cards-row .col {
    margin-bottom: 0 !important;
    display: flex;
    flex-direction: column;
}

.services-page .service-cards-row .col a:first-child {
    display: block;
    overflow: hidden;
    height: 250px;
}

.services-page .service-cards-row .col img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    display: block !important;
}

.services-page .service-cards-row .col .position-relative {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.services-page .service-cards-row .col .position-relative p {
    flex: 1;
}

/* Blog detail: content headings match Hizmetlerimiz / service pages (alt-font, text-extra-dark-gray, font-weight-500, margin-20px-bottom) */
.blog-post-content h1,
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4,
.blog-post-content h5,
.blog-post-content h6 {
    font-family: inherit;
    color: #2d2d2d;
    font-weight: 500;
    margin-bottom: 20px;
}
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4,
.blog-post-content h5,
.blog-post-content h6 {
    margin-top: 25px;
}
.blog-post-content h1:first-child,
.blog-post-content h2:first-child,
.blog-post-content h3:first-child,
.blog-post-content h4:first-child,
.blog-post-content h5:first-child,
.blog-post-content h6:first-child {
    margin-top: 0;
}

@media (max-width: 991px) {
    .services-page .service-cards-row {
        row-gap: 30px !important;
    }
}

@media (max-width: 575px) {
    .services-page .service-cards-row {
        row-gap: 25px !important;
    }
    
    .services-page .service-cards-row .col a:first-child {
        height: 200px;
    }
    
    .services-page .service-cards-row .col img {
        height: 200px !important;
    }
}

/* Üst menü: container-fluid ile tam genişlik; sol/sağ menü %40+%40 (tema) — ortada logo bandı kalmalı.
   calc(50% - …) kullanmak menüleri logonun üzerine bindiriyordu. */
@media (min-width: 992px) {
    header .navbar.menu-logo-center .nav-header-container {
        max-width: 100%;
    }

    .menu-logo-center .navbar-left,
    .menu-logo-center .navbar-right {
        width: 40%;
        max-width: none;
        box-sizing: border-box;
    }

    /* Logo ile menü metni arasında nefes payı */
    .menu-logo-center .navbar-left {
        padding-right: 12px;
    }

    .menu-logo-center .navbar-right {
        padding-left: 12px;
    }

    .menu-logo-center .navbar-collapse {
        max-width: 100%;
    }
}

@media (min-width: 1400px) {
    .menu-logo-center .navbar-left,
    .menu-logo-center .navbar-right {
        width: 42%;
    }
}

/* Blog index list: her yazı tek satır (masonry grid yerine) */
.blog-index-row .row {
    margin-left: 0;
    margin-right: 0;
}
.blog-index-row-icon {
    min-height: 100px;
}
@media (min-width: 576px) {
    .blog-index-row-icon {
        min-height: 140px;
    }
}

/* Geniş ekran: Fiyat Listesi FAB yok (tema / başka CSS display'i ezmeye çalışsa bile) */
@media (min-width: 768px) {
    a.mobile-quote-fab {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* Primary brand gradient buttons (#ff214f family; replaces theme magenta-orange) */
.btn.btn-gradient-primary,
.btn.btn-gradient-primary-2 {
    background-color: #ff214f;
    color: #fff !important;
    border-color: transparent !important;
}

.btn.btn-gradient-primary {
    background-image: linear-gradient(90deg, #ff214f 0%, #d91a43 100%) !important;
}

.btn.btn-gradient-primary-2 {
    background-image: linear-gradient(90deg, #ff6b8a 0%, #ff214f 45%, #b81438 100%) !important;
}

/* Aynı margin-30px-right düzeni (+30px); margin-30px-right-2 ile birlikte daha açık (pastel) gradient */
.margin-30px-right-2 {
    margin-right: 30px !important;
}

.btn.btn-gradient-primary.margin-30px-right-2 {
    background-color: #fff2f8 !important;
    background-image: linear-gradient(
        118deg,
        #ffffff 0%,
        #fff8fc 18%,
        #ffeff7 42%,
        #ffe8f3 65%,
        #ffdfee 100%
    ) !important;
    color: #9d2560 !important;
}

.btn.btn-gradient-primary:hover,
.btn.btn-gradient-primary:focus,
.btn.btn-gradient-primary:active,
.btn.btn-gradient-primary-2:hover,
.btn.btn-gradient-primary-2:focus,
.btn.btn-gradient-primary-2:active {
    background-image: linear-gradient(90deg, #e01d47 0%, #a61232 100%) !important;
    color: #fff !important;
}

.btn.btn-gradient-primary.margin-30px-right-2:hover,
.btn.btn-gradient-primary.margin-30px-right-2:focus,
.btn.btn-gradient-primary.margin-30px-right-2:active {
    background-image: linear-gradient(
        118deg,
        #fffafd 0%,
        #fff2f8 28%,
        #ffe4f0 58%,
        #ffd6e8 100%
    ) !important;
    color: #8a214f !important;
}

/* Açık gradientte beyaz ikon sınıfı kontrastı bozmasın */
.btn.btn-gradient-primary.margin-30px-right-2 .text-white {
    color: inherit !important;
}

@media (max-width: 575px) {
    .margin-30px-right-2.xs-margin-15px-bottom {
        margin-right: 0 !important;
    }
}

/* Layout: footer üstü CTA bandı — kart, iletişim satırları, outline sekonder buton */
/* CTA ile <footer> aynı zemin (tek kaynak; footer metin renkleri aşağıda) */
.layout-footer-cta.half-section,
footer.footer-light.bg-slate-blue,
footer.bg-slate-blue,
footer.footer-dark.bg-dark {
    background-color: #f3f6fb;
    background-image:
        radial-gradient(1200px circle at 0% 100%, rgba(255, 33, 79, 0.06), transparent 45%),
        radial-gradient(900px circle at 100% 0%, rgba(13, 110, 253, 0.05), transparent 40%);
}

.layout-footer-cta.half-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 992px) {
    .layout-footer-cta.half-section {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }
}

.layout-footer-cta__panel {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.07),
        0 2px 0 rgba(255, 33, 79, 0.12);
    padding: 2rem 1.5rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .layout-footer-cta__panel {
        padding: 2.5rem 2.25rem;
    }
}

@media (min-width: 1200px) {
    .layout-footer-cta__panel {
        padding: 2.75rem 3rem;
    }
}

.layout-footer-cta__panel::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    border-radius: 16px 0 0 16px;
    background: linear-gradient(180deg, #ff214f 0%, #ff6b8a 55%, #0d6efd 100%);
}

.layout-footer-cta__ribbon {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.14em;
    color: #64748b;
    margin-bottom: 14px;
    padding-bottom: 2px;
    border-bottom: 2px solid rgba(255, 33, 79, 0.35);
}

.layout-footer-cta__title {
    font-size: 1.5rem;
    line-height: 1.35;
}

@media (min-width: 768px) {
    .layout-footer-cta__title {
        font-size: 1.75rem;
    }
}

.layout-footer-cta__lead {
    font-size: 15px;
    line-height: 1.65;
    color: #575b68;
}

.layout-footer-cta__channels {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.layout-footer-cta__channels > li + li {
    margin-top: 12px;
}

.layout-footer-cta__channel {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fafbff 0%, #f8fafc 100%);
    border: 1px solid rgba(148, 163, 184, 0.25);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.layout-footer-cta__channel:hover,
.layout-footer-cta__channel:focus {
    border-color: rgba(255, 33, 79, 0.45);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
    text-decoration: none;
}

.layout-footer-cta__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 33, 79, 0.1);
    color: #ff214f;
    font-size: 18px;
}

.layout-footer-cta__channel-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    min-width: 0;
}

.layout-footer-cta__channel-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
}

.layout-footer-cta__channel-value {
    font-size: 15px;
    font-weight: 600;
    word-break: break-word;
}

.btn-outline-pricing {
    background: #fff !important;
    border: 2px solid #0d6efd !important;
    color: #0d6efd !important;
}

.btn-outline-pricing i {
    vertical-align: middle;
}

.btn-outline-pricing:hover,
.btn-outline-pricing:focus,
.btn-outline-pricing:active {
    background-color: #0d6efd !important;
    color: #fff !important;
    border-color: #0d6efd !important;
}

.btn-outline-pricing:hover i,
.btn-outline-pricing:focus i,
.btn-outline-pricing:active i {
    color: #fff !important;
}

/* --------------------------------------------------------------------------
   Mobil alt 5’li menü (Fiyat Teklifi ortada, primary; hamburger yalnızca burada)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    body.has-mobile-bottom-nav {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }

    .mobile-bottom-nav {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw;
        max-width: 100vw;
        z-index: 1040;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2px;
        box-sizing: border-box;
        min-height: calc(64px + env(safe-area-inset-bottom, 0px));
        height: auto;
        padding: 18px 6px env(safe-area-inset-bottom, 0px);
        overflow: visible;
        background: rgba(255, 255, 255, 0.97);
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        transform: none !important;
        transition: none !important;
        contain: layout;
    }

    .mobile-bottom-nav__item {
        flex: 1 1 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        padding: 8px 2px 6px;
        text-decoration: none;
        color: #4a5568;
        font-size: 10px;
        font-weight: 600;
        line-height: 1.1;
        text-align: center;
        border-radius: 10px;
        -webkit-tap-highlight-color: transparent;
        transition: color 0.2s ease, background-color 0.2s ease;
    }

    .mobile-bottom-nav__item:hover,
    .mobile-bottom-nav__item:focus {
        color: #0d6efd;
        text-decoration: none;
    }

    .mobile-bottom-nav__item:focus-visible {
        outline: 2px solid #0d6efd;
        outline-offset: 2px;
    }

    .mobile-bottom-nav__icon {
        font-size: 20px;
        line-height: 1;
        color: #64748b;
    }

    .mobile-bottom-nav__item:hover .mobile-bottom-nav__icon,
    .mobile-bottom-nav__item:focus .mobile-bottom-nav__icon {
        color: #0d6efd;
    }

    .mobile-bottom-nav__label {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-bottom-nav__label-line {
        display: block;
        line-height: 1.15;
    }

    .mobile-bottom-nav__label-line + .mobile-bottom-nav__label-line {
        font-size: 9px;
        font-weight: 700;
    }

    .mobile-bottom-nav__label--multiline {
        white-space: normal;
        text-overflow: clip;
        overflow: visible;
    }

    /* Orta: Fiyat Teklifi — primary (marka gradient) */
    .mobile-bottom-nav__item--primary {
        flex: 0 0 auto;
        padding: 0;
        align-items: center;
        justify-content: flex-end;
        background: transparent;
        color: inherit;
    }

    .mobile-bottom-nav__item--primary:hover,
    .mobile-bottom-nav__item--primary:focus {
        color: inherit;
    }

    .mobile-bottom-nav__primary-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 64px;
        height: 64px;
        margin: 0;
        transform: translateY(-28px);
        padding: 8px 6px;
        border-radius: 50%;
        background-color: #ff214f;
        background-image: linear-gradient(135deg, #ff214f 0%, #d91a43 100%);
        color: #fff !important;
        text-decoration: none;
        box-shadow: 0 6px 20px rgba(255, 33, 79, 0.45);
        border: 3px solid #fff;
    }

    .mobile-bottom-nav__item--primary .mobile-bottom-nav__icon {
        font-size: 24px;
        color: #fff !important;
    }

    .mobile-bottom-nav__label--primary {
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.02em;
        line-height: 1.15;
        white-space: normal;
        color: #fff !important;
        max-width: 58px;
    }

    .mobile-bottom-nav__item--primary:hover .mobile-bottom-nav__primary-inner,
    .mobile-bottom-nav__item--primary:focus .mobile-bottom-nav__primary-inner {
        filter: brightness(1.05);
        box-shadow: 0 8px 24px rgba(255, 33, 79, 0.5);
    }

    /* Sol alt Fiyat Listesi FAB: alt menünün üstünde */
    a.mobile-quote-fab {
        bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    }

    .scroll-top-arrow {
        bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

@media (min-width: 992px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}

/* Footer: zemin = .layout-footer-cta.half-section ile yukarıda paylaşılıyor; metin/link kontrastı */
footer.footer-light.bg-slate-blue,
footer.bg-slate-blue,
footer.footer-dark.bg-dark {
    color: #334155 !important;
}

footer.footer-light.bg-slate-blue .footer-top,
footer.bg-slate-blue .footer-top,
footer.footer-dark.bg-dark .footer-top {
    color: #334155 !important;
}

footer.footer-light.bg-slate-blue .text-white,
footer.bg-slate-blue .text-white,
footer.footer-dark.bg-dark .text-white {
    color: #1e293b !important;
}

footer.footer-light.bg-slate-blue p,
footer.bg-slate-blue p,
footer.footer-dark.bg-dark p {
    color: #475569 !important;
}

footer.footer-light.bg-slate-blue .footer-top a:not(.btn),
footer.bg-slate-blue .footer-top a:not(.btn),
footer.footer-light.bg-slate-blue .footer-bottom a:not(.btn),
footer.bg-slate-blue .footer-bottom a:not(.btn),
footer.footer-dark.bg-dark .footer-top a:not(.btn),
footer.footer-dark.bg-dark .footer-bottom a:not(.btn) {
    color: #0d6efd !important;
}

footer.footer-light.bg-slate-blue .footer-top a:not(.btn):hover,
footer.footer-light.bg-slate-blue .footer-top a:not(.btn):focus,
footer.bg-slate-blue .footer-top a:not(.btn):hover,
footer.bg-slate-blue .footer-top a:not(.btn):focus,
footer.footer-light.bg-slate-blue .footer-bottom a:not(.btn):hover,
footer.footer-light.bg-slate-blue .footer-bottom a:not(.btn):focus,
footer.bg-slate-blue .footer-bottom a:not(.btn):hover,
footer.bg-slate-blue .footer-bottom a:not(.btn):focus,
footer.footer-dark.bg-dark .footer-top a:not(.btn):hover,
footer.footer-dark.bg-dark .footer-bottom a:not(.btn):hover {
    color: #0a58ca !important;
}

footer.footer-light.bg-slate-blue .text-white-hover,
footer.bg-slate-blue .text-white-hover,
footer.footer-dark.bg-dark .text-white-hover {
    color: #0d6efd !important;
}

footer.footer-light.bg-slate-blue .text-white-hover:hover,
footer.bg-slate-blue .text-white-hover:hover,
footer.footer-dark.bg-dark .text-white-hover:hover {
    color: #0a58ca !important;
}

footer.footer-light.bg-slate-blue .footer-bottom,
footer.bg-slate-blue .footer-bottom,
footer.footer-dark.bg-dark .footer-bottom {
    background-color: transparent !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
}

footer.footer-light.bg-slate-blue .footer-bottom .social-icon-style-12 a,
footer.bg-slate-blue .footer-bottom .social-icon-style-12 a,
footer.footer-dark.bg-dark .footer-bottom .social-icon-style-12 a {
    color: #475569 !important;
}

footer.footer-light.bg-slate-blue .footer-bottom .social-icon-style-12 a:hover,
footer.bg-slate-blue .footer-bottom .social-icon-style-12 a:hover,
footer.footer-dark.bg-dark .footer-bottom .social-icon-style-12 a:hover {
    color: #ff214f !important;
}

/* Beyaz PNG logo (ör. logo-white): açık zeminde okunur koyu ton */
footer.footer-light.bg-slate-blue .footer-logo img[src*="logo-white"],
footer.bg-slate-blue .footer-logo img[src*="logo-white"],
footer.footer-dark.bg-dark .footer-logo img[src*="logo-white"] {
    filter: brightness(0.28);
}

/* .text-light: link olmayan metinler gri; linkler mavi kalsın */
footer.footer-light.bg-slate-blue .text-light:not(a),
footer.bg-slate-blue .text-light:not(a),
footer.footer-dark.bg-dark .text-light:not(a) {
    color: #475569 !important;
}

footer.footer-light.bg-slate-blue a.text-light,
footer.bg-slate-blue a.text-light,
footer.footer-dark.bg-dark a.text-light {
    color: #0d6efd !important;
}

footer.footer-light.bg-slate-blue a.text-light:hover,
footer.footer-light.bg-slate-blue a.text-light:focus,
footer.bg-slate-blue a.text-light:hover,
footer.bg-slate-blue a.text-light:focus,
footer.footer-dark.bg-dark a.text-light:hover,
footer.footer-dark.bg-dark a.text-light:focus {
    color: #0a58ca !important;
}

/* Hakkımızda — misyon & vizyon kartları */
.hakkimizda-mv-card {
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.hakkimizda-mv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14) !important;
}

/* Navbar: Hizmetlerimiz açılır menü üstte kalsın; kesilmesin */
.navbar .dropdown-menu.nav-navbar-dropdown {
    z-index: 1050;
}

@media (min-width: 992px) {
    header nav.navbar .navbar-collapse {
        overflow: visible !important;
    }

    header nav.navbar .nav-header-container {
        overflow: visible !important;
    }
}

/* Üst menü: dar ekranda satır gerektiğinde kırılsın; lg+ tek satır */
header nav.navbar .nav-header-container > .row {
    flex-wrap: wrap;
}

@media (min-width: 992px) {
    header nav.navbar .nav-header-container > .row {
        flex-wrap: nowrap;
        align-items: center;
    }
}

.border-color-main {
    border-color: #ff214f !important;
}

/* Hizmetlerimiz — kutucuklar arası geniş boşluk */
.hizmetler-services-row {
    margin-left: -18px;
    margin-right: -18px;
}

.hizmetler-services-row > [class*="col-"] {
    padding-left: 18px;
    padding-right: 18px;
    margin-bottom: 2.75rem;
}

.dropdown-menu .dropdown-item.text-main {
    color: #ff214f !important;
}

.dropdown-menu .dropdown-item.text-main:hover,
.dropdown-menu .dropdown-item.text-main:focus {
    color: #d91947 !important;
    background-color: rgba(255, 33, 79, 0.08) !important;
}

.page-title-small .breadcrumb a {
    color: #232323 !important;
}

.page-title-small .breadcrumb a:hover {
    color: #ff214f !important;
}

/* Üst menü: simple-dropdown — başlık linki + açı ok */
.navbar .nav-item.simple-dropdown {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.navbar .nav-item.simple-dropdown > .nav-link {
    padding-right: 0.2rem;
}

.navbar .nav-item.simple-dropdown > .dropdown-toggle.fas,
.navbar .nav-item.simple-dropdown > .dropdown-toggle.fa {
    cursor: pointer;
    padding: 0.35rem 0.4rem;
    font-size: 0.75rem;
    line-height: 1;
    color: #ff214f;
}

.navbar .nav-item.simple-dropdown > .dropdown-toggle.fas:hover,
.navbar .nav-item.simple-dropdown > .dropdown-toggle.fa:hover {
    color: #d91947;
}

.dropdown-menu .dropdown-item.d-flex > .feather {
    margin-right: 10px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .hizmetler-services-row > [class*="col-"] {
        margin-bottom: 3.25rem;
    }
}

/* İletişim: Google Harita gömülü iframe — 16:9 */
.iletisim-map-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.iletisim-map-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 767.98px) {
    .iletisim-map-wrap {
        padding-bottom: 66%;
    }
}

/* Footer — Bayilerimiz (Hızlı erişim sütunu) */
footer.footer-light.bg-slate-blue .footer-bayiler__title,
footer.bg-slate-blue .footer-bayiler__title {
    font-size: 1rem;
}

footer.footer-light.bg-slate-blue .footer-bayiler__city,
footer.bg-slate-blue .footer-bayiler__city {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ff214f;
    margin-bottom: 0.35rem;
}

footer.footer-light.bg-slate-blue .footer-bayiler__firma,
footer.bg-slate-blue .footer-bayiler__firma {
    font-size: 0.875rem;
    line-height: 1.35;
    margin-bottom: 0.35rem;
}

footer.footer-light.bg-slate-blue .footer-bayiler__adres,
footer.bg-slate-blue .footer-bayiler__adres {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.45;
}

footer.footer-light.bg-slate-blue .footer-bayiler__item,
footer.bg-slate-blue .footer-bayiler__item {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

footer.footer-light.bg-slate-blue .footer-bayiler__item:first-of-type,
footer.bg-slate-blue .footer-bayiler__item:first-of-type {
    padding-top: 0;
    margin-top: 0;
    border-top: 0;
}

footer.footer-light.bg-slate-blue .footer-bayiler__tel:hover,
footer.footer-light.bg-slate-blue .footer-bayiler__tel:focus,
footer.bg-slate-blue .footer-bayiler__tel:hover,
footer.bg-slate-blue .footer-bayiler__tel:focus {
    text-decoration: underline !important;
}

/* Hurda Metal Sözlüğü */
.sozluk-harf-section {
    padding: 2.5rem 0 4rem;
    background: #f8f9fa;
}

.sozluk-harf-panel {
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.25rem;
}

.sozluk-harf-panel__head {
    gap: 1rem 1.5rem;
    margin-bottom: 0;
    padding: 1.35rem 0 1.5rem;
    border-bottom: 1px solid rgba(35, 35, 35, 0.08);
}

.sozluk-harf-panel__title {
    font-size: 1.35rem;
    line-height: 1.3;
    padding: 0.15rem 0;
}

.sozluk-harf-panel__hub-btn {
    padding: 0.65rem 1.35rem !important;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.sozluk-harf-panel--table .sozluk-harf-table-wrap {
    padding-top: 0.25rem;
}

.sozluk-letter-nav__list {
    gap: 0.65rem 1.15rem;
}

.sozluk-letter-nav__item {
    margin: 0 0.15rem;
}

.sozluk-letter-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.65rem;
    border-radius: 8px;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

/* Seçili olmayan harfler — secondary (açık) */
.sozluk-letter-nav__link--secondary {
    color: #ff214f;
    background: #fff;
    border: 1px solid rgba(255, 33, 79, 0.35);
    box-shadow: none;
}

.sozluk-letter-nav__link--secondary:hover {
    color: #fff;
    background: linear-gradient(118deg, #ffffff 0%, #fff2f8 35%, #ffd6e4 100%);
    border-color: #ff214f;
    color: #ff214f;
    transform: translateY(-1px);
}

/* Aktif harf — primary */
.sozluk-letter-nav__link--active {
    color: #fff !important;
    background-image: linear-gradient(90deg, #ff214f 0%, #d91a43 100%) !important;
    background-color: #ff214f;
    border: 1px solid transparent;
    box-shadow: 0 4px 14px rgba(255, 33, 79, 0.3);
}

.sozluk-letter-nav__link--active:hover {
    color: #fff !important;
    transform: translateY(-1px);
}

.sozluk-harf-table-wrap {
    margin: 0 -0.25rem;
}

.sozluk-harf-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.sozluk-harf-table thead th {
    padding: 0.65rem 1rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6f6f6f;
    background: #f8f9fa;
    border-bottom: 1px solid rgba(35, 35, 35, 0.1);
    white-space: nowrap;
}

.sozluk-harf-table thead th:first-child {
    border-radius: 6px 0 0 0;
}

.sozluk-harf-table thead th:last-child {
    border-radius: 0 6px 0 0;
}

.sozluk-harf-table__th-action {
    width: 3rem;
}

.sozluk-harf-table__row {
    transition: background 0.15s ease;
}

.sozluk-harf-table__row:hover {
    background: rgba(255, 33, 79, 0.04);
}

.sozluk-harf-table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(35, 35, 35, 0.07);
    line-height: 1.5;
}

.sozluk-harf-table tbody tr:last-child td {
    border-bottom: 0;
}

.sozluk-harf-table__term {
    width: 34%;
    min-width: 11rem;
}

.sozluk-harf-table__term-link {
    text-decoration: none;
    transition: color 0.2s ease;
}

.sozluk-harf-table__row:hover .sozluk-harf-table__term-link,
.sozluk-harf-table__term-link:hover {
    color: #ff214f !important;
}

.sozluk-harf-table__desc {
    color: #5c5c5c;
}

.sozluk-harf-table__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    color: #ff214f;
    background: rgba(255, 33, 79, 0.08);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.sozluk-harf-table__row:hover .sozluk-harf-table__arrow,
.sozluk-harf-table__arrow:hover {
    background: #ff214f;
    color: #fff;
    transform: translateX(2px);
}

.sozluk-term-detail__image {
    object-fit: cover;
    width: 100%;
    max-height: 520px;
}

@media (max-width: 767.98px) {
    .sozluk-harf-section {
        padding: 1.75rem 0 3rem;
    }

    .sozluk-harf-panel {
        padding: 1.15rem 1rem;
    }

    .sozluk-harf-panel__head {
        padding: 1rem 0 1.15rem;
    }

    .sozluk-harf-panel__title {
        font-size: 1.2rem;
        width: 100%;
    }

    .sozluk-harf-panel__hub-btn {
        width: 100%;
        justify-content: center;
    }

    .sozluk-harf-table thead {
        display: none;
    }

    .sozluk-harf-table,
    .sozluk-harf-table tbody,
    .sozluk-harf-table tr,
    .sozluk-harf-table td {
        display: block;
        width: 100%;
    }

    .sozluk-harf-table__row {
        padding: 0.85rem 0;
        border-bottom: 1px solid rgba(35, 35, 35, 0.08);
    }

    .sozluk-harf-table__row:last-child {
        border-bottom: 0;
    }

    .sozluk-harf-table tbody td {
        padding: 0.2rem 0;
        border-bottom: 0;
    }

    .sozluk-harf-table__term {
        width: 100%;
        padding-top: 0.75rem;
        font-size: 1.05rem;
    }

    .sozluk-harf-table__desc {
        padding-bottom: 0.5rem;
    }

    .sozluk-harf-table__action {
        text-align: left !important;
        padding-bottom: 0.75rem;
    }
}
