/* ==========================================================================
   Demiral Oto Kurtarma - Premium Light Design System & Styling
   ========================================================================== */

/* Background Grid & Subtle Pattern */
.bg-grid-subtle {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32' height='32' fill='none' stroke='rgb(226 232 240 / 0.7)'%3e%3cpath d='M0 .5H31.5V32'/%3e%3c/svg%3e");
}

.bg-dots-subtle {
    background-image: radial-gradient(#e2e8f0 1.2px, transparent 1.2px);
    background-size: 24px 24px;
}

/* Custom Ultra-Slim Smooth Scrollbar */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
::-webkit-scrollbar-track {
    background: #f8fafc;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d97706;
}

/* Header & Nav Layout Fixes */
.nav-link-item {
    white-space: nowrap !important;
    word-break: keep-all !important;
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

.footer-contact-card {
    background-color: #0b1329 !important;
    border: 1px solid #1e293b !important;
    border-radius: 1rem !important;
    padding: 1.25rem 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.625rem !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.footer-contact-card * {
    box-sizing: border-box !important;
    margin: 0 !important;
}

.footer-wa-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.625rem !important;
    width: 100% !important;
    padding: 0.875rem 1rem !important;
    border-radius: 1rem !important;
    background-color: #059669 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.footer-wa-btn:hover {
    background-color: #10b981 !important;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px -3px rgba(217, 119, 6, 0.35);
    }
    50% {
        box-shadow: 0 0 35px 2px rgba(217, 119, 6, 0.55);
    }
}

.animate-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}

/* Range Input Custom Styling */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: #e2e8f0;
    border-radius: 9999px;
    height: 8px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 22px;
    width: 22px;
    border-radius: 50%;
    background: #d97706;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.4);
    border: 3px solid #ffffff;
    transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: #b45309;
}

/* Vehicle Selector Chip Buttons in Calculator */
.calc-type-btn.active {
    border-color: #d97706 !important;
    background-color: #fffbeb !important;
    box-shadow: 0 0 0 1.5px #d97706;
}

.calc-type-btn.active .icon-box {
    background-color: #d97706 !important;
    color: #ffffff !important;
}

/* Utility Classes */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Tab Component Styling */
.tab-btn {
    color: #475569;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn i {
    color: #94a3b8 !important; /* Unselected icon is always elegant slate/gray */
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.tab-btn:hover:not(.active) i {
    color: #64748b !important;
}

.tab-btn.active {
    background-color: #0f172a !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.25) !important;
}

.tab-btn.active i {
    color: #f59e0b !important; /* Selected tab icon is bright amber-orange */
}

/* Gallery Filter Component Dynamic Styling */
.gallery-filter-btn {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-filter-btn.active {
    background-color: #0f172a !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.25) !important;
}

/* FAQ Accordion Styling */
.faq-card.active .faq-toggle i {
    transform: rotate(180deg);
    color: #d97706;
}

.faq-card.active .faq-body {
    display: block !important;
}

/* Line Clamp Utilities */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
