/**
 * LT Booking Theme - Custom Styles
 * PIVOT: Tesla-style Minimalism & Lead Funnel Focus
 */

/* ==========================================================================
   Tesla-style Design Tokens
   ========================================================================== */
:root {
    --lt-bg-dark: #000000;
    --lt-bg-light: #f4f4f4;
    --lt-accent-tesla: #3182ce; 
    --lt-text-tesla: #171a20;
    --lt-text-secondary: #5c5e62;
    --lt-border-tesla: rgba(0, 0, 0, 0.1);
    --lt-glass: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   Global Reset & UI Elements
   ========================================================================== */
body {
    background: #fff;
    color: var(--lt-text-tesla);
    letter-spacing: -0.01em;
}

.lt-site-header {
    background: var(--lt-glass);
    backdrop-filter: blur(20px);
    border-bottom: none;
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.lt-logo-text {
    color: #000 !important;
    font-weight: 600;
    letter-spacing: 0.1em;
}

/* AI Pill Style - Glassmorphic */
.lt-ai-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lt-ai-pill:hover {
    background: #000;
    color: #fff;
}

/* ==========================================================================
   Tesla Configurator Layout
   ========================================================================= */

.lt-tesla-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    min-height: calc(100vh - 60px);
}

/* Left: Cinematic Gallery */
.lt-tesla-gallery {
    background: #fff;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lt-tesla-gallery__sticky {
    position: sticky;
    top: 100px;
    width: 100%;
    max-width: 900px;
}

.lt-tesla-main-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Tesla Specs Bar */
.lt-tesla-specs-bar {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.lt-tesla-spec {
    text-align: center;
}

.lt-tesla-spec__val {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: #000;
}

.lt-tesla-spec__label {
    display: block;
    font-size: 12px;
    color: var(--lt-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* Right: Configurator Sidebar */
.lt-tesla-config {
    width: 400px;
    padding: 60px 40px;
    background: #fff;
}

.lt-tesla-title {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 20px;
}

.lt-ex-showroom {
    font-size: 18px;
    font-weight: 500;
    color: var(--lt-text-secondary);
}

.lt-ex-showroom span {
    color: #000;
    font-weight: 600;
}

.lt-booking-tag {
    font-size: 13px;
    color: var(--lt-accent-tesla);
    background: #e6f0ff;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    margin-top: 10px;
    font-weight: 600;
}

/* Sections */
.lt-tesla-section {
    margin-top: 40px;
    border-bottom: 1px solid var(--lt-border-tesla);
    padding-bottom: 30px;
}

.lt-tesla-section__title {
    font-size: 14px;
    color: var(--lt-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

/* Variant Selector */
.lt-tesla-variants {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lt-tesla-variant {
    display: flex;
    justify-content: space-between;
    padding: 16px 20px;
    border: 1px solid var(--lt-border-tesla);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.lt-tesla-variant.active {
    border-color: var(--lt-accent-tesla);
    border-width: 2px;
    padding: 15px 19px;
}

.lt-tesla-variant__name {
    font-weight: 600;
    font-size: 14px;
}

.lt-tesla-variant__price {
    font-size: 14px;
    color: #666;
}

/* Color Palette */
.lt-tesla-colors {
    display: flex;
    gap: 12px;
}

.lt-tesla-color {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: inset 0 0 0 4px #fff;
    cursor: pointer;
    transition: transform 0.2s;
}

.lt-tesla-color.active {
    border: 2px solid var(--lt-accent-tesla);
    transform: scale(1.1);
}

/* Footer / Booking Button */
.lt-tesla-footer {
    padding: 40px 0;
}

.lt-tesla-book-btn {
    padding: 18px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 30px !important;
}

.lt-tesla-footer__note {
    font-size: 11px;
    color: #999;
    text-align: center;
    margin-top: 15px;
}

/* ==========================================================================
   Laxmi AI Chatbot Modal
   ========================================================================== */
.lt-ai-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center; justify-content: center;
    padding: 20px;
}
.lt-ai-overlay.active { display: flex; animation: fadeIn 0.3s ease; }
.lt-ai-modal {
    width: 100%; max-width: 500px; height: 80vh;
    background: #fff; border-radius: 20px;
    display: flex; flex-direction: column;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    overflow: hidden;
}
/* ... rest of AI CSS (already basically good) ... */

/* Responsive */
@media (max-width: 1024px) {
    .lt-tesla-layout {
        grid-template-columns: 1fr;
    }
    .lt-tesla-config {
        width: 100%;
        padding: 40px 20px;
    }
    .lt-tesla-gallery__sticky {
        position: relative;
        top: 0;
    }
}
