/* ==========================================================================
   GLC MOTOR - Premium Automotive Luxury & Motorcycle UI Theme
   ========================================================================== */

:root {
    --glc-primary: #e11d48;
    --glc-primary-hover: #be123c;
    --glc-primary-light: rgba(225, 29, 72, 0.12);
    --glc-dark: #0b0d13;
    --glc-dark-surface: #141722;
    --glc-dark-card: #1c202e;
    --glc-dark-border: #282e42;
    --glc-text-main: #f8fafc;
    --glc-text-muted: #94a3b8;
    --glc-gold: #f59e0b;
    --glc-success: #10b981;
    --glc-radius-sm: 8px;
    --glc-radius-md: 14px;
    --glc-radius-lg: 20px;
    --glc-transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --glc-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
    --glc-shadow-md: 0 10px 25px rgba(0, 0, 0, 0.15);
    --glc-shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.25);
    --glc-shadow-glow: 0 0 25px rgba(225, 29, 72, 0.35);
}

/* Base & Typography */
body {
    background-color: #f8fafc;
    color: #1e293b;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: 'Outfit', 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--glc-transition);
}

a:hover {
    color: var(--glc-primary);
}

/* Header & Navigation */
.glc-top-bar {
    background-color: #0b0d13;
    color: #94a3b8;
    font-size: 13px;
    border-bottom: 1px solid #1e2333;
}

.glc-header-main {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 1020;
    transition: var(--glc-transition);
}

.glc-logo-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.glc-logo-badge span.accent {
    color: var(--glc-primary);
}

.glc-search-wrapper {
    position: relative;
    width: 100%;
}

.glc-search-input {
    background: #f1f5f9;
    border: 2px solid transparent;
    border-radius: 50px;
    padding: 12px 50px 12px 24px;
    font-size: 14px;
    width: 100%;
    transition: var(--glc-transition);
}

.glc-search-input:focus {
    background: #ffffff;
    border-color: var(--glc-primary);
    box-shadow: 0 0 0 4px var(--glc-primary-light);
    outline: none;
}

.glc-search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--glc-primary);
    color: #ffffff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--glc-transition);
}

.glc-search-btn:hover {
    background: var(--glc-primary-hover);
    transform: translateY(-50%) scale(1.05);
}

/* Category & Navigation Menu Bar */
.glc-nav-bar {
    background: #0f172a;
    border-top: 1px solid #1e293b;
    position: relative;
    z-index: 1010;
}

.glc-nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2px;
}

.glc-nav-item {
    position: relative;
}

.glc-nav-item > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    color: #cbd5e1;
    font-size: 13.5px;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: var(--glc-transition);
    text-decoration: none;
    white-space: nowrap;
}

.glc-nav-item:hover > a, .glc-nav-item.active > a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border-bottom-color: var(--glc-primary);
}

.glc-nav-item .dropdown-chevron {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.glc-nav-item:hover .dropdown-chevron {
    transform: rotate(180deg);
}

/* Dropdown Menus */
.glc-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 12px;
    padding: 8px;
    min-width: 240px;
    list-style: none;
    margin: 0;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
}

.glc-nav-item.glc-has-dropdown:hover .glc-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.glc-dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--glc-transition);
}

.glc-dropdown-menu li a:hover {
    color: #ffffff;
    background: rgba(239, 35, 60, 0.15);
    transform: translateX(4px);
}


/* Hero Carousel */
.glc-hero-section {
    position: relative;
    background: #0b0d13;
}

.glc-hero-slide {
    min-height: 520px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.glc-hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 13, 19, 0.92) 0%, rgba(11, 13, 19, 0.7) 50%, rgba(11, 13, 19, 0.2) 100%);
}

.glc-hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.glc-hero-tag {
    display: inline-block;
    background: var(--glc-primary);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.glc-hero-title {
    color: #ffffff;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.15;
    margin-bottom: 16px;
}

.glc-hero-desc {
    color: #cbd5e1;
    font-size: 16px;
    margin-bottom: 28px;
}

/* Brand Ticker */
.glc-brands-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0;
}

.glc-brand-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    transition: var(--glc-transition);
}

.glc-brand-card:hover {
    border-color: var(--glc-primary);
    background: #ffffff;
    box-shadow: var(--glc-shadow-md);
    transform: translateY(-3px);
}

.glc-brand-card img {
    max-height: 42px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(40%);
    transition: var(--glc-transition);
}

.glc-brand-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.08);
}

/* Modern Product Card */
.glc-product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--glc-radius-md);
    overflow: hidden;
    position: relative;
    transition: var(--glc-transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.glc-product-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
    transform: translateY(-5px);
}

.glc-card-media {
    position: relative;
    background: #f8fafc;
    padding: 24px 20px;
    text-align: center;
    overflow: hidden;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glc-card-img-main {
    max-height: 180px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.glc-product-card:hover .glc-card-img-main {
    transform: scale(1.08);
}

.glc-badge-stack {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 3;
}

.glc-badge {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.glc-badge-discount { background: #e11d48; color: #fff; }
.glc-badge-new { background: #0284c7; color: #fff; }
.glc-badge-b-license { background: #059669; color: #fff; }
.glc-badge-deal { background: #d97706; color: #fff; }

.glc-card-quick-actions {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--glc-transition);
    z-index: 3;
}

.glc-product-card:hover .glc-card-quick-actions {
    opacity: 1;
    transform: translateX(0);
}

.glc-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glc-shadow-sm);
    transition: var(--glc-transition);
}

.glc-action-btn:hover {
    background: var(--glc-primary);
    color: #ffffff;
    border-color: var(--glc-primary);
}

.glc-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.glc-card-brand {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.glc-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44px;
}

.glc-card-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: #f8fafc;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 16px;
}

.glc-spec-chip {
    text-align: center;
}

.glc-spec-chip .icon {
    font-size: 13px;
    color: var(--glc-primary);
    margin-bottom: 2px;
}

.glc-spec-chip .val {
    font-size: 11px;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.glc-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.glc-price-box .price-old {
    font-size: 12px;
    color: #94a3b8;
    text-decoration: line-through;
}

.glc-price-box .price-new {
    font-size: 18px;
    font-weight: 800;
    color: var(--glc-primary);
}

.glc-installment-hint {
    font-size: 11px;
    color: #64748b;
}

/* Custom Buttons */
.btn-glc-primary {
    background: linear-gradient(135deg, #e11d48, #be123c);
    color: #ffffff;
    border: none;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: var(--glc-radius-sm);
    transition: var(--glc-transition);
}

.btn-glc-primary:hover {
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(225, 29, 72, 0.35);
    transform: translateY(-2px);
}

.btn-glc-dark {
    background: #0f172a;
    color: #ffffff;
    border: none;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: var(--glc-radius-sm);
    transition: var(--glc-transition);
}

.btn-glc-dark:hover {
    background: #1e293b;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-glc-outline {
    border: 2px solid #e2e8f0;
    color: #0f172a;
    font-weight: 700;
    background: transparent;
    padding: 8px 18px;
    border-radius: var(--glc-radius-sm);
    transition: var(--glc-transition);
}

.btn-glc-outline:hover {
    border-color: var(--glc-primary);
    color: var(--glc-primary);
    background: var(--glc-primary-light);
}

/* Section Headings */
.glc-section-header {
    margin-bottom: 32px;
}

.glc-section-badge {
    color: var(--glc-primary);
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    display: inline-block;
}

.glc-section-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
}

/* Interactive Loan Calculator Card */
.glc-calculator-card {
    background: linear-gradient(145deg, #141722, #0b0d13);
    color: #ffffff;
    border-radius: var(--glc-radius-lg);
    border: 1px solid #282e42;
    padding: 36px;
    position: relative;
    overflow: hidden;
}

.glc-calculator-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.glc-calc-range {
    accent-color: var(--glc-primary);
}

.glc-calc-result-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--glc-radius-md);
    padding: 24px;
    text-align: center;
}

.glc-calc-monthly {
    font-size: 36px;
    font-weight: 900;
    color: var(--glc-primary);
    font-family: 'Outfit', sans-serif;
}

/* Promo Banners Grid */
.glc-promo-banner {
    position: relative;
    border-radius: var(--glc-radius-md);
    overflow: hidden;
    min-height: 220px;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    background-size: cover;
    background-position: center;
    box-shadow: var(--glc-shadow-sm);
    transition: var(--glc-transition);
}

.glc-promo-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 70%, transparent 100%);
    transition: var(--glc-transition);
}

.glc-promo-banner:hover {
    transform: translateY(-4px);
    box-shadow: var(--glc-shadow-lg);
}

.glc-promo-banner:hover::before {
    background: linear-gradient(0deg, rgba(225, 29, 72, 0.95) 0%, rgba(15, 23, 42, 0.6) 70%, transparent 100%);
}

.glc-promo-content {
    position: relative;
    z-index: 2;
}

/* Compare Sticky Bottom Bar */
.glc-compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0f172a;
    color: #ffffff;
    padding: 14px 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1040;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glc-compare-bar.active {
    transform: translateY(0);
}

.glc-compare-thumb {
    width: 60px;
    height: 45px;
    object-fit: contain;
    background: #1e293b;
    border-radius: 6px;
    padding: 4px;
}

/* Floating WhatsApp & Contact Widget */
.glc-floating-contact {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1030;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.glc-float-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: var(--glc-transition);
}

.glc-float-btn.whatsapp {
    background: #25d366;
}

.glc-float-btn.whatsapp:hover {
    background: #20ba59;
    transform: scale(1.12);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}

/* Mobile Bottom Navigation */
.glc-mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 8px 12px;
    z-index: 1010;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
}

.glc-mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
}

.glc-mobile-nav-item i {
    font-size: 18px;
    margin-bottom: 2px;
}

.glc-mobile-nav-item.active, .glc-mobile-nav-item:hover {
    color: var(--glc-primary);
}

/* Footer Styling */
.glc-footer {
    background: #0b0d13;
    color: #94a3b8;
    border-top: 1px solid #1e2333;
}

.glc-footer-trust-strip {
    background: #141722;
    border-bottom: 1px solid #1e2333;
    padding: 30px 0;
}

.glc-trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.glc-trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(225, 29, 72, 0.1);
    color: var(--glc-primary);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.glc-trust-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 2px;
}

.glc-trust-desc {
    font-size: 12px;
    color: #64748b;
}

/* Responsive Breakpoints */
@media (max-width: 991.98px) {
    .glc-mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
    }
    body {
        padding-bottom: 65px;
    }
    .glc-hero-slide {
        min-height: 400px;
    }
}
