/* ============================================
   PROMOTIONS PAGE - MINIMAL
   Ikut gaya car-info.css (Outfit font, biru tema)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* ============================================
   HERO
   ============================================ */
.promotions-hero {
    background: url('https://easydrive.my/images/promotions-hero.jpg') center top / cover no-repeat;
    padding: 300px 0 80px;
    text-align: left !important;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-start;
}

.promotions-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
    z-index: 1;
}

.promotions-hero .container {
    position: relative;
    z-index: 2;
    padding-bottom: 3rem;
    width: 100%;
    text-align: left !important;
}

.promotions-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.1;
    letter-spacing: -1px;
    text-shadow: none !important;
    text-align: left !important;
}

.promotions-hero .highlight {
    color: #a8d8f0;
    font-style: normal;
    text-shadow: none !important;
}

.promotions-hero p {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.85;
    letter-spacing: 0.5px;
    text-shadow: none !important;
    text-align: left !important;
}

/* ============================================
   PROMOTION SECTION OVERRIDE
   ============================================ */
.promotion {
    background: #f8f8f8;
}

/* ============================================
   CALCULATOR SECTION
   ============================================ */
.calculator-section {
    padding: 80px 0 100px;
    background: #fff;
    border-top: 1px solid #efefef;
    position: relative;
}

.calculator-section::before {
    display: none;
}

.calculator-container {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    box-shadow: none;
    max-width: 980px;
    margin: 0 auto;
}

/* ---- Header ---- */
.calculator-header {
    background: #fff;
    border-bottom: 1px solid #efefef;
    padding: 2rem 2.5rem;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.calculator-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 4px;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.calculator-header h2 i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.calculator-header p {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 300;
    color: #aaa;
    margin: 0;
}

/* ---- Body ---- */
.calculator-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.calculator-left {
    padding: 2.5rem;
    border-right: 1px solid #efefef;
}

.calculator-right {
    padding: 2.5rem;
    background: #fafafa;
}

/* ============================================
   CAR SELECTOR
   ============================================ */
.car-selector {
    margin-bottom: 1.75rem;
}

.car-selector h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #bbb;
    margin-bottom: 10px;
}

.car-selector h3 i {
    display: none;
}

.car-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.car-option {
    background: #f8f8f8;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.car-option:hover {
    border-color: var(--primary-color);
    background: #f0f9ff;
}

.car-option.active {
    border-color: var(--primary-color);
    background: #eaf6fd;
}

.car-option-info h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

.car-option-info p {
    font-family: 'Outfit', sans-serif;
    font-size: 0.68rem;
    font-weight: 300;
    color: #aaa;
    margin: 0;
}

.car-option-price {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 4px;
}

/* ============================================
   FORM GROUPS
   ============================================ */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    font-family: 'Outfit', sans-serif;
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: #888;
    margin-bottom: 6px;
}

.form-group label i {
    display: none;
}

.input-wrapper input,
.input-wrapper select {
    font-family: 'Outfit', sans-serif;
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e8e8e8;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-color);
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(101,189,237,0.1);
}

.input-prefix {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: #ccc;
    pointer-events: none;
}

.input-with-prefix input {
    padding-left: 36px;
}

/* Range slider */
.range-slider { margin-top: 4px; }

.range-slider input[type="range"] {
    width: 100%;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #ebebeb;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1.5px var(--primary-color);
    cursor: pointer;
    transition: transform 0.15s;
}

.range-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.range-info {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.68rem;
    font-weight: 300;
    color: #ccc;
}

/* Calculate button */
.calculate-btn {
    font-family: 'Outfit', sans-serif;
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: none;
    letter-spacing: 0.3px;
}

.calculate-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: none;
}

.calculate-btn i {
    font-size: 0.85rem;
}

/* ============================================
   RESULTS SECTION
   ============================================ */
.results-section h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #bbb;
    margin-bottom: 1.25rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.results-section h3 i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* Monthly payment card */
.monthly-payment-card {
    background: #fff;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.monthly-payment-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px 0 0 4px;
}

.monthly-payment-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #bbb;
    margin-bottom: 6px;
}

.monthly-payment-card .amount {
    font-family: 'Outfit', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -1px;
}

.monthly-payment-card p {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    color: #aaa;
}

.monthly-payment-card p span {
    font-family: 'Outfit', sans-serif;
    color: var(--dark-color);
    font-weight: 600;
}

/* Result card */
.result-card {
    background: #fff;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    padding: 4px 18px;
    margin-bottom: 1rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 300;
    color: #888;
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-label i {
    color: var(--primary-color);
    font-size: 0.78rem;
    width: 14px;
}

.result-value {
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--dark-color);
}

.result-value.highlight {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 700;
    text-shadow: none !important;
}

/* Breakdown chart */
.breakdown-chart {
    margin-bottom: 1rem;
}

.chart-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.chart-label {
    font-family: 'Outfit', sans-serif;
    min-width: 60px;
    font-size: 0.73rem;
    font-weight: 300;
    color: #aaa;
}

.chart-progress {
    flex: 1;
    height: 5px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
}

.chart-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.5s ease;
    color: transparent;
    font-size: 0;
}

/* Action buttons */
.action-buttons {
    display: grid;
    gap: 8px;
    margin-top: 0;
}

.action-btn {
    font-family: 'Outfit', sans-serif;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.action-btn.primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: none;
}

.action-btn.secondary {
    background: #fff;
    color: var(--primary-color);
    border: 1.5px solid #d8eef9;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.action-btn.primary:hover {
    background: var(--secondary-color);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .calculator-body {
        grid-template-columns: 1fr;
    }
    .calculator-left {
        border-right: none;
        border-bottom: 1px solid #efefef;
    }
    .car-options {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .promotions-hero { padding: 100px 0 60px; min-height: 500px; }
    .promotions-hero h1 { font-size: 2.5rem; }
    .calculator-header { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
    .calculator-header h2 { font-size: 1.2rem; }
    .calculator-left, .calculator-right { padding: 1.5rem; }
    .monthly-payment-card .amount { font-size: 2rem; }
}

@media (max-width: 480px) {
    .promotions-hero { padding: 100px 0 50px; min-height: 500px; }
    .promotions-hero h1 { font-size: 2rem; }
    .car-options { grid-template-columns: 1fr; }
    .calculator-left, .calculator-right { padding: 1.25rem; }
}