/* assets/css/style.css - Auto Sepetim (Saf Kırmızı #cc0000 - Beyaz #ffffff - Siyah #111111, Sahibinden Mantığında Kurumsal Tema) */

:root {
    --gold-primary: #cc0000;
    --gold-light: #e00000;
    --gold-dark: #990000;
    --gold-gradient: linear-gradient(135deg, #e00000 0%, #cc0000 100%);
    --gold-gradient-hover: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    
    --bg-dark: #ffffff;
    --bg-navy: #f7f8fa;
    --bg-card: #ffffff;
    --bg-card-border: #e2e8f0;
    
    --text-white: #111111;
    --text-muted: #4b5563;
    --text-gold: #cc0000;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    background-color: #ffffff;
    color: #111111;
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.02em;
}

p {
    color: #333333;
}

.text-muted {
    color: #555555 !important;
}

.text-secondary {
    color: #444444 !important;
}

/* Saf Kırmızı Marka Vurguları */
.text-gold {
    color: #cc0000 !important;
}

.text-gradient-gold {
    color: #cc0000 !important;
    background: none !important;
    -webkit-text-fill-color: #cc0000 !important;
}

.bg-gold,
.badge.bg-gold,
.bg-gold.text-dark {
    background: #cc0000 !important;
    color: #ffffff !important;
}

/* Butonlar */
.btn-gold {
    background: #cc0000;
    color: #ffffff !important;
    font-weight: 700;
    font-family: var(--font-heading);
    border: 1px solid #cc0000;
    border-radius: 8px;
    padding: 10px 22px;
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.22);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap !important;
}

.btn-gold:hover {
    background: #990000;
    border-color: #990000;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(204, 0, 0, 0.32);
}

.btn-outline-gold {
    background: #ffffff;
    color: #111111 !important;
    font-weight: 700;
    font-family: var(--font-heading);
    border: 2px solid #111111;
    border-radius: 8px;
    padding: 9px 18px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap !important;
}

.btn-outline-gold:hover {
    background: #111111;
    color: #ffffff !important;
    border-color: #111111;
    transform: translateY(-1px);
}

/* ÜST MENÜ (NAVBAR): ARKAPLAN SAF LOGO KIRMIZISI (#cc0000), YAZILAR BEYAZ */
.navbar-custom {
    background: #cc0000 !important;
    border-bottom: 3px solid #111111;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
    z-index: 1050 !important;
}

.navbar-brand-logo {
    display: inline-flex;
    align-items: center;
    background: #111111;
    padding: 6px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.navbar-logo-img {
    height: 46px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.navbar-brand-logo:hover .navbar-logo-img {
    transform: scale(1.03);
}

.brand-icon-box {
    width: 42px;
    height: 42px;
    background: #cc0000;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar-custom .nav-link {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 14px !important;
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.navbar-custom .nav-link i {
    color: #ffffff !important;
}

.navbar-custom .nav-link:hover {
    color: #ffffff !important;
    background: rgba(0, 0, 0, 0.22);
}

.navbar-custom .nav-link.active {
    color: #ffffff !important;
    background: #111111;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

/* Kırmızı Menü İçindeki Sağ Butonlar */
.navbar-custom .btn-outline-gold {
    background: transparent;
    color: #ffffff !important;
    border: 2px solid #ffffff;
}

.navbar-custom .btn-outline-gold:hover {
    background: #ffffff;
    color: #cc0000 !important;
    border-color: #ffffff;
}

.navbar-custom .btn-gold {
    background: #111111;
    color: #ffffff !important;
    border: 2px solid #111111;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.navbar-custom .btn-gold:hover {
    background: #ffffff;
    color: #111111 !important;
    border-color: #ffffff;
}

/* Açılır Menü (Dropdown) */
.navbar-custom .dropdown-menu {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
}

.navbar-custom .dropdown-item {
    color: #111111 !important;
    font-weight: 600;
}

.navbar-custom .dropdown-item:hover {
    background: #f8fafc !important;
    color: #cc0000 !important;
}

/* HERO SECTION - Göz Yormayan Ferah Beyaz / Açık Gri Zemin, Siyah & Kırmızı Yazılar */
.hero-section {
    position: relative;
    padding: 50px 0 55px;
    background: #f7f8fa;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
}

.hero-glow {
    display: none;
}

.hero-title {
    font-size: 2.9rem;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 16px;
    color: #111111 !important;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #333333 !important;
    margin-bottom: 24px;
    max-width: 620px;
    line-height: 1.7;
}

/* Hızlı Başvuru Kartı (Hero Formu) - Beyaz Zemin, Siyah Yazı, Kırmızı Üst Şerit */
.hero-form-card {
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-top: 5px solid #cc0000 !important;
    border-radius: 14px !important;
    padding: 28px 24px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    color: #111111 !important;
}

.hero-form-card h4 {
    color: #111111 !important;
}

.hero-form-card p,
.hero-form-card .text-muted {
    color: #4b5563 !important;
}

.custom-form-label {
    font-size: 13px;
    font-weight: 700;
    color: #111111 !important;
    margin-bottom: 6px;
}

.custom-form-control {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #111111 !important;
    padding: 10px 13px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.custom-form-control::placeholder {
    color: #6b7280 !important;
    opacity: 1;
}

.custom-form-control:focus {
    background: #ffffff !important;
    border-color: #cc0000 !important;
    color: #111111 !important;
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.14) !important;
}

/* İLAN KARTLARI (Sahibinden Mantığında Tıklanabilir Temiz Beyaz Kartlar) */
.listing-card {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    text-decoration: none !important;
    color: #111111 !important;
}

.listing-card:hover {
    transform: translateY(-4px);
    border-color: #cc0000;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.listing-thumb-box {
    position: relative;
    width: 100%;
    height: 215px;
    overflow: hidden;
    background-color: #f1f5f9;
}

.listing-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.listing-card:hover .listing-thumb-box img {
    transform: scale(1.04);
}

.listing-badge-container {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.badge-gold {
    background: #cc0000;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 5px;
    text-transform: uppercase;
}

.badge-trade {
    background: #111111;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 11px;
    padding: 4px 9px;
    border-radius: 5px;
}

.badge-promissory {
    background: #ffffff;
    color: #111111 !important;
    border: 1px solid #111111;
    font-weight: 700;
    font-size: 11px;
    padding: 4px 9px;
    border-radius: 5px;
}

.listing-category-tag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(17, 17, 17, 0.88);
    color: #ffffff !important;
    border-left: 3px solid #cc0000;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 4px;
}

.listing-body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #ffffff;
}

.listing-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111111 !important;
    margin-bottom: 6px;
    line-height: 1.35;
    transition: color 0.2s;
}

.listing-card:hover .listing-title {
    color: #cc0000 !important;
}

.listing-location {
    font-size: 12.5px;
    color: #555555 !important;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.listing-specs-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.listing-spec-pill {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #111111;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
}

.listing-price-box {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #eaeaea;
}

.listing-main-price {
    font-size: 1.28rem;
    font-weight: 800;
    color: #cc0000 !important;
    font-family: var(--font-heading);
}

.listing-sub-price {
    font-size: 11.5px;
    color: #555555 !important;
    font-weight: 600;
}

/* Özellik Kartları (Feature Boxes) */
.feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 3px solid #cc0000;
    border-radius: 12px;
    padding: 24px 20px;
    transition: all 0.25s ease;
    height: 100%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.feature-card h4 {
    color: #111111 !important;
}

.feature-card p {
    color: #444444 !important;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #cc0000;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: rgba(204, 0, 0, 0.08);
    color: #cc0000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.feature-icon-box i {
    color: #cc0000 !important;
}

/* Mantık Şeması */
.flow-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.flow-step-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 18px;
    text-align: center;
    position: relative;
    height: 100%;
    color: #111111;
}

.flow-step-box h4 {
    color: #111111 !important;
}

.flow-step-box p {
    color: #444444 !important;
}

.flow-step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #cc0000;
    color: #ffffff !important;
    font-weight: 800;
    font-size: 12px;
    padding: 2px 14px;
    border-radius: 20px;
}

.flow-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(204, 0, 0, 0.08);
    border: 1px solid rgba(204, 0, 0, 0.25);
    color: #cc0000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 10px auto 14px;
}

.flow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cc0000;
    font-size: 26px;
}

/* Bayilik CTA Alanı - Beyaz Kutu, Kırmızı & Siyah Çerçeve */
.dealer-cta-section {
    background: #ffffff;
    border: 2px solid #111111;
    border-left: 8px solid #cc0000;
    border-radius: 16px;
    padding: 40px 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.dealer-cta-section h2,
.dealer-cta-section .text-white,
.dealer-cta-section .text-light {
    color: #111111 !important;
}

.dealer-cta-section p {
    color: #333333 !important;
}

/* Footer (Siyah Zemin Üzerinde Beyaz & Kırmızı Logo Uyumlu) */
.footer-custom {
    background: #111111;
    border-top: 4px solid #cc0000;
    padding: 60px 0 30px;
    color: #e5e7eb;
}

.footer-custom p,
.footer-custom .text-muted {
    color: #d1d5db !important;
}

.footer-custom h5 {
    color: #ffffff !important;
    font-size: 1.05rem;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-custom h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: #cc0000;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    color: #e5e7eb;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #cc0000;
    transform: translateX(3px);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
    color: #d1d5db;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.25s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    color: #ffffff;
}

/* Arka Plan Müziği Floating Kontrol Butonu */
.music-float-btn {
    position: fixed;
    bottom: 98px;
    right: 28px;
    height: 44px;
    padding: 0 14px 0 12px;
    background: #111111;
    color: #ffffff !important;
    border: 2px solid #cc0000;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
    z-index: 999;
    cursor: pointer;
    transition: all 0.25s ease;
}

.music-float-btn:hover {
    background: #cc0000;
    border-color: #111111;
    transform: translateY(-2px);
}

.music-float-btn.is-muted,
.music-float-btn.is-waiting {
    background: #ffffff;
    color: #111111 !important;
    border-color: #cc0000;
}

.music-float-btn.is-waiting {
    background: #cc0000;
    color: #ffffff !important;
    border-color: #111111;
    animation: pulseMusicBtn 1.5s infinite;
}

@keyframes pulseMusicBtn {
    0% { box-shadow: 0 0 0 0 rgba(204, 0, 0, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(204, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(204, 0, 0, 0); }
}

.music-float-btn .music-icon-wrap {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #cc0000;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.music-float-btn.is-waiting .music-icon-wrap {
    background: #111111;
}

.music-float-btn.is-muted .music-icon-wrap {
    background: #6b7280;
}

.music-bars {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 14px;
}

.music-bars span {
    display: inline-block;
    width: 3px;
    background: #cc0000;
    border-radius: 2px;
    animation: soundWaveAnim 0.8s infinite ease-in-out alternate;
}

.music-float-btn:hover .music-bars span {
    background: #ffffff;
}

.music-bars span:nth-child(1) { height: 6px; animation-delay: 0s; }
.music-bars span:nth-child(2) { height: 13px; animation-delay: 0.2s; }
.music-bars span:nth-child(3) { height: 8px; animation-delay: 0.4s; }

.music-float-btn.is-muted .music-bars,
.music-float-btn.is-waiting .music-bars {
    display: none;
}

@keyframes soundWaveAnim {
    0% { height: 4px; }
    100% { height: 14px; }
}

/* Sayfalama (Pagination) */
.page-link {
    background-color: #ffffff;
    border-color: #d1d5db;
    color: #111111;
    font-weight: 600;
}

.page-link:hover {
    background-color: #f8fafc;
    color: #cc0000;
    border-color: #cc0000;
}

.page-item.active .page-link {
    background: #cc0000;
    border-color: #cc0000;
    color: #ffffff !important;
    font-weight: 700;
}

/* Beyaz Arka Plan Üzerinde Tüm Yazıların Siyah Olmasını Garanti Eden Kural */
.light-section {
    background-color: #ffffff !important;
    color: #111111 !important;
}

.light-section-alt {
    background-color: #f7f8fa !important;
    color: #111111 !important;
}

main .text-white,
main .text-light,
.container .text-white,
.container .text-light,
.card .text-white,
.card .text-light,
.modal-content .text-white,
.modal-content .text-light {
    color: #111111 !important;
}

/* Sadece Kırmızı/Siyah Rozetler ve Butonların İçindeki Yazılar Beyaz Kalsın */
.badge.bg-gold,
.badge.bg-danger,
.badge.bg-success,
.badge.bg-dark,
.badge-gold,
.badge-trade,
.listing-category-tag,
.btn-gold,
.btn-danger,
.btn-success,
.btn-dark,
.navbar-custom .nav-link,
.footer-custom .text-white,
.footer-custom .text-light {
    color: #ffffff !important;
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .navbar-logo-img {
        height: 40px;
    }
    .flow-connector {
        transform: rotate(90deg);
        margin: 15px 0;
    }
    .dealer-cta-section {
        padding: 30px 20px;
        text-align: center;
    }
}

/* ==========================================================================
   ANLAŞMALI ÖDEME & FİNANSMAN KURUMLARI KAYAN LOGO (MARQUEE)
   ========================================================================== */
.institutions-section {
    padding: 10px 0 20px 0;
}

.institutions-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    position: relative;
}

.institutions-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
}

.institutions-track {
    display: flex;
    align-items: center;
    gap: 20px;
    width: max-content;
    animation: institutionMarquee 42s linear infinite;
    padding: 8px 0;
}

.institutions-track:hover {
    animation-play-state: paused;
}

@keyframes institutionMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.institution-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    height: 82px;
    min-width: 215px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    cursor: pointer;
}

.institution-card:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: #cc0000;
    box-shadow: 0 10px 25px rgba(204, 0, 0, 0.14);
}

.institution-card img {
    max-height: 56px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
    display: block;
}

.institution-card:hover img {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .institutions-box {
        padding: 14px 16px;
        border-radius: 12px;
    }
    .institution-card {
        height: 68px;
        min-width: 175px;
        padding: 8px 16px;
    }
    .institution-card img {
        max-height: 46px;
        max-width: 150px;
    }
}

