/*
Theme Name: carparking
Theme URI: http://example.com/carparking
Author: Antigravity
Author URI: http://example.com/
Description: Professional car parking and black car service theme.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: carparking
*/

/* --- Typography Synchronization --- */
body {
    font-family: 'DM Sans', sans-serif !important;
}

.font-display, h1, h2, h3, h4 {
    font-family: 'DM Serif Display', serif !important;
}

/* Header Font Fix */
nav a, 
#mobile-drawer a {
    font-family: 'DM Sans', sans-serif !important;
}

#main-nav .lg\:flex a {
    font-size: 13px !important;
    font-weight: 600 !important;
}

.btn-primary,
.btn-ghost {
    font-family: 'DM Sans', sans-serif !important;
}

.section-label {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 600 !important;
}

/* --- Testimonials Slider Parity --- */
.testimonials-slider {
    padding: 20px 0 60px !important;
    overflow: visible !important;
}

.testimonials-slider .swiper-slide {
    height: auto !important;
    display: flex !important;
    opacity: 0.3;
    transition: opacity 0.5s ease;
}

.testimonials-slider .swiper-slide-active {
    opacity: 1;
}

.testimonials-slider .testimonial-card {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
}

@media (min-width: 768px) {
    .testimonials-slider .testimonial-card {
        min-height: 180px;
    }
}

.testimonials-slider .swiper-button-next, 
.testimonials-slider .swiper-button-prev {
    color: #D1D5DB !important;
    width: 50px !important;
    height: 50px !important;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(10,10,10,0.5);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.testimonials-slider .swiper-button-next:after, 
.testimonials-slider .swiper-button-prev:after {
    font-size: 18px !important;
    font-weight: bold;
}

.testimonials-slider .swiper-button-next:hover, 
.testimonials-slider .swiper-button-prev:hover {
    border-color: rgba(192,192,192,0.4);
    background: rgba(255,255,255,0.05);
}

.testimonials-slider .swiper-pagination-bullet {
    background: rgba(255,255,255,0.2) !important;
    width: 30px !important;
    height: 2px !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
}

.testimonials-slider .swiper-pagination-bullet-active {
    background: #C0C0C0 !important;
    width: 50px !important;
}

@media (max-width: 768px) {
    .testimonials-slider .swiper-button-next, 
    .testimonials-slider .swiper-button-prev {
        display: none !important;
    }
}

footer h4, 
footer a, 
footer p, 
footer span {
    font-family: 'DM Sans', sans-serif !important;
}

/* --- Form Improvements --- */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #0a0a0a inset !important;
    -webkit-text-fill-color: #fdfdfd !important;
    transition: background-color 5000s ease-in-out 0s;
}

input::placeholder {
    color: rgba(209, 213, 219, 0.3) !important;
}

select option {
    background-color: #1a1a1a;
    color: #fdfdfd;
}

/* --- Obsidian Design System Tokens --- */
:root {
    --obsidian: #000;
    --void: #050505;
    --charcoal: #0a0a0a;
    --ivory: #f0efed;
    --silver-primary: #b8b8b8;
    --silver-dim: #666;
    --silver-chrome: #9a9a9a;
    --silver-light: #d9d9d9;
    --background: #080808;
    --foreground: #d4d4d4;
    --emerald-500: #10b981;
    --amber-500: #f59e0b;
}

/* Background Utilities */
.bg-obsidian { background-color: var(--obsidian); }
.bg-void { background-color: var(--void); }
.bg-charcoal { background-color: var(--charcoal); }
.bg-background { background-color: var(--background); }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-silver-primary\/10 { background-color: rgba(184, 184, 184, 0.1); }
.bg-silver-primary\/20 { background-color: rgba(184, 184, 184, 0.2); }
.bg-silver-primary\/30 { background-color: rgba(184, 184, 184, 0.3); }

/* Text Utilities */
.text-ivory { color: var(--ivory); }
.text-silver-primary { color: var(--silver-primary); }
.text-silver-dim { color: var(--silver-dim); }
.text-silver-chrome { color: var(--silver-chrome); }
.text-silver-light { color: var(--silver-light); }
.text-obsidian { color: var(--obsidian); }
.text-chrome {
    background: linear-gradient(160deg, #efefef, #c8c8c8 30%, #9a9a9a 60%, silver 80%, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-silver-highlight {
    -webkit-text-fill-color: transparent;
    background: linear-gradient(90deg, #888, #fff 45% 55%, #888) 0 0/200%;
    -webkit-background-clip: text;
    animation: glint 4s linear infinite;
}

@keyframes glint {
    to { background-position: 200%; }
}

/* Border Utilities */
.border-white\/5 { border-color: rgba(255, 255, 255, 0.05); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-silver-primary\/30 { border-color: rgba(184, 184, 184, 0.3); }
.border-silver-primary\/20 { border-color: rgba(184, 184, 184, 0.2); }

/* Components */
.card-dark {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.5s ease;
}

.card-dark:hover {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(184, 184, 184, 0.2);
}

.btn-primary {
    color: #000 !important;
    background: linear-gradient(180deg, #d4d4d4, #9a9a9a 50%, #5a5a5a) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.5), inset 0 1px rgba(255,255,255,0.4) !important;
    border: none !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.6), inset 0 1px rgba(255,255,255,0.5) !important;
}

.btn-ghost {
    color: #c8c8c8 !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(184, 184, 184, 0.15) !important;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-ghost:hover {
    color: #efefef !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(184, 184, 184, 0.4) !important;
}

.section-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.4em;
    color: #9a9a9a;
    text-transform: uppercase;
}

/* Animations */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s forwards ease-out;
}

/* Dashboard Specific Fixes */
.ride-row:hover {
    background: rgba(255, 255, 255, 0.015) !important;
}

.ride-row.active {
    background: rgba(255, 255, 255, 0.03) !important;
    border-left: 2px solid var(--silver-primary);
}


