/* =====================================================================
   Arrtha Motors – MG HECTOR SPECIFIC STYLING
   India's Segment-Leading Internet SUV | 14-inch Portrait Screen & Level-2 ADAS
   ===================================================================== */

:root {
    --hector-primary: #C8102E;
    --hector-dark: #111827;
    --hector-accent: #0077C8;
    --hector-gold: #D4AF37;
    --hector-card-bg: #FFFFFF;
    --hector-border: #E5E7EB;
}

/* Page Scaffolding */
.hector-page {
    background-color: #F8F9FA;
    color: #1F2937;
    overflow-x: hidden;
}

/* Hero Badge */
.hector-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin-bottom: 20px;
}

/* Color Switcher Container */
.hector-color-box {
    margin-top: 24px;
    padding: 18px 22px;
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.hector-color-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.hector-color-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #4B5563;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hector-color-active-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--hector-primary);
}

.hector-color-swatches {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hector-swatch {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    box-shadow: 0 0 0 1px #D1D5DB;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0;
    outline: none;
}

.hector-swatch:hover {
    transform: scale(1.15);
    box-shadow: 0 0 0 2px var(--hector-primary);
}

.hector-swatch.active {
    transform: scale(1.18);
    box-shadow: 0 0 0 3px var(--hector-primary), 0 4px 12px rgba(200, 16, 46, 0.35);
}

/* Hero Showcase Image Transition */
.hector-showcase-img {
    max-height: 420px;
    width: 100%;
    object-fit: contain;
    transition: opacity 0.35s ease, transform 0.35s ease;
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.16));
}

.hector-showcase-img.fade-out {
    opacity: 0;
    transform: scale(0.97);
}

/* 6 Key Pillars Grid */
.hector-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

@media (max-width: 991px) {
    .hector-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .hector-pillars-grid {
        grid-template-columns: 1fr;
    }
}

.hector-pillar-card {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.hector-pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
    border-color: rgba(200, 16, 46, 0.35);
}

.hector-pillar-media {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #0B0F19;
}

.hector-pillar-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.hector-pillar-card:hover .hector-pillar-media img {
    transform: scale(1.06);
}

.hector-pillar-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(17, 24, 39, 0.82);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hector-pillar-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hector-pillar-title {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
    line-height: 1.35;
}

.hector-pillar-desc {
    font-size: 14px;
    color: #4B5563;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Level-2 ADAS Features Grid */
.hector-adas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.hector-adas-item {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: all 0.2s ease;
}

.hector-adas-item:hover {
    border-color: var(--hector-primary);
    box-shadow: 0 4px 14px rgba(200, 16, 46, 0.1);
    transform: translateY(-2px);
}

.hector-adas-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #FEF2F2;
    color: var(--hector-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.hector-adas-info h6 {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
}

.hector-adas-info p {
    font-size: 12.5px;
    color: #6B7280;
    margin: 0;
    line-height: 1.45;
}

/* 14-Inch Portrait Screen Highlight Section */
.hector-screen-feature {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: #FFFFFF;
    border-radius: 20px;
    padding: 44px;
    margin: 30px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

@media (max-width: 767px) {
    .hector-screen-feature {
        padding: 24px 18px;
    }
    .hector-color-box {
        padding: 14px 16px;
    }
}
