/* ===================================================================
   SRIBORISUTH FORGING TECHNOLOGY (SRI 2026) - MODERN CORPORATE STYLES
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Prompt:wght@300;400;500;600;700&display=swap');

:root {
    --bg-main: #0a0e17;
    --bg-secondary: #0f172a;
    --bg-card: rgba(17, 24, 39, 0.75);
    --bg-card-hover: rgba(30, 41, 59, 0.85);
    --bg-glass: rgba(15, 23, 42, 0.65);
    
    --primary: #00d2ff;
    --primary-glow: rgba(0, 210, 255, 0.4);
    --primary-dark: #0088cc;
    --accent-gold: #ffb703;
    --accent-orange: #fb8500;
    --accent-red: #ef4444;
    --accent-green: #10b981;
    
    --text-white: #ffffff;
    --text-muted: #cbd5e1; /* bright readable slate */
    --text-dim: #94a3b8;
    
    --border-glass: rgba(255, 255, 255, 0.15);
    --border-active: rgba(0, 210, 255, 0.6);
    --border-gold: rgba(255, 183, 3, 0.5);
    
    --shadow-glow: 0 10px 30px -10px rgba(0, 210, 255, 0.3);
    --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Force readable text colors */
.text-muted {
    color: #e2e8f0 !important; /* High contrast readable light slate */
}

p.text-muted, small.text-muted, span.text-muted, div.text-muted {
    color: #e2e8f0 !important;
}

.text-light {
    color: #ffffff !important;
}

.text-silver {
    color: #cbd5e1 !important;
}

.text-dim {
    color: #94a3b8 !important;
}

/* Team card image frame */
.team-img-frame {
    width: 150px;
    height: 180px;
    margin: 0 auto 16px;
    border-radius: 14px;
    overflow: hidden;
    background: #1e293b;
    border: 2px solid rgba(0, 210, 255, 0.4);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Prompt', 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Background Glow */
body::before {
    content: '';
    position: fixed;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -10%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(251, 133, 0, 0.05) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', 'Prompt', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 20%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #ffffff 20%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.sri-navbar {
    background: rgba(10, 14, 23, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition);
    padding: 8px 0;
}

.sri-navbar.scrolled {
    padding: 6px 0;
    background: rgba(10, 14, 23, 0.97);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 12px;
    flex-shrink: 0;
}

.brand-logo-box {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 8px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 210, 255, 0.45);
    box-shadow: 0 4px 12px rgba(0, 210, 255, 0.18);
    transition: var(--transition);
}

.navbar-brand:hover .brand-logo-box {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(0, 210, 255, 0.38);
    transform: translateY(-1px);
}

.navbar-brand img {
    height: 34px;
    width: auto;
    object-fit: contain;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    white-space: nowrap;
}

.brand-text h1 {
    font-size: 1.02rem;
    margin: 0;
    line-height: 1.15;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.brand-text span {
    font-size: 0.6rem;
    color: var(--primary);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-top: 1px;
}

.sri-nav-list {
    gap: 2px;
    flex-wrap: nowrap;
}

@media (min-width: 992px) {
    .sri-nav-list {
        background: rgba(15, 23, 42, 0.65);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        padding: 4px 6px;
    }
}

.sri-navbar .nav-link {
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--text-muted) !important;
    padding: 7px 11px !important;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    line-height: 1.2;
}

.sri-navbar .nav-link i {
    font-size: 0.85rem;
    flex-shrink: 0;
}

.sri-navbar .nav-link:hover,
.sri-navbar .nav-link.active {
    color: #ffffff !important;
    background: rgba(0, 210, 255, 0.12);
}

.sri-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 11px;
    right: 11px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--primary);
}

.nav-hiring-badge {
    font-size: 0.6rem;
    padding: 2px 6px;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .brand-text h1 {
        font-size: 0.92rem;
    }
    .brand-text span {
        font-size: 0.54rem;
        letter-spacing: 0.4px;
    }
    .sri-nav-list {
        gap: 1px;
        padding: 3px 4px;
    }
    .sri-navbar .nav-link {
        font-size: 0.78rem;
        padding: 6px 8px !important;
        gap: 4px;
    }
}

/* Buttons */
.btn-sri-primary {
    background: linear-gradient(135deg, #00d2ff, #0077ff);
    color: #000000;
    font-weight: 600;
    border: none;
    padding: 10px 24px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-sri-primary:hover {
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.5);
}

.btn-sri-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid var(--border-glass);
    font-weight: 500;
    padding: 10px 22px;
    border-radius: 10px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-sri-outline:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(0, 210, 255, 0.08);
    transform: translateY(-2px);
}

/* Glass Cards */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    overflow: hidden;
}

.glass-card:hover {
    border-color: var(--border-active);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 210, 255, 0.15);
}

/* Section Header */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 210, 255, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 210, 255, 0.25);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 14, 23, 0.82) 0%, rgba(10, 14, 23, 0.95) 100%),
                radial-gradient(circle at 70% 30%, rgba(0, 210, 255, 0.15), transparent 60%);
    z-index: 1;
}

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

.stat-pill {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    padding: 18px 14px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    min-height: 114px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-pill:hover {
    border-color: var(--primary);
    background: rgba(0, 210, 255, 0.06);
    transform: translateY(-3px);
}

.stat-num {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.84rem;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.3;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===================================================================
   INTERACTIVE CAR HOTSPOT SYSTEM (CAR BREAKDOWN AROUND THE CAR)
   =================================================================== */
.car-explorer-container {
    position: relative;
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.5) 0%, rgba(10, 14, 23, 0.95) 75%);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 40px 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.8);
}

.car-stage {
    position: relative;
    max-width: 1050px;
    margin: 0 auto;
}

.car-base-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.9));
    transition: transform 0.5s ease;
}

/* Hotspot pulse dots */
.car-hotspot {
    position: absolute;
    width: 32px;
    height: 32px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 20;
    transition: var(--transition);
}

.hotspot-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: hotspotPulse 2s infinite ease-out;
}

.hotspot-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 12px var(--primary);
    transition: var(--transition);
}

.car-hotspot:hover .hotspot-center, .car-hotspot.active .hotspot-center {
    background: var(--primary);
    transform: translate(-50%, -50%) scale(1.4);
    box-shadow: 0 0 20px #00d2ff;
}

@keyframes hotspotPulse {
    0% {
        transform: scale(0.6);
        opacity: 1;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* Callout cards placed around the car */
.part-callout-card {
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    padding: 14px 18px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.part-callout-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0.7;
    transition: var(--transition);
}

.part-callout-card:hover, .part-callout-card.active {
    border-color: var(--primary);
    transform: translateY(-4px);
    background: rgba(20, 32, 54, 0.95);
    box-shadow: 0 10px 25px -5px rgba(0, 210, 255, 0.3);
}

.part-callout-card:hover::before, .part-callout-card.active::before {
    width: 8px;
    opacity: 1;
    box-shadow: 0 0 12px var(--primary);
}

.part-thumb-wrap {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 210, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
    padding: 4px;
}

.part-thumb-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.part-callout-card:hover .part-thumb-wrap img {
    transform: scale(1.1);
}

/* Part Modal Viewer */
.part-modal-img {
    max-height: 380px;
    object-fit: contain;
    background: #070a10;
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    border: 1px solid var(--border-glass);
}

/* Filter pills */
.category-filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.category-filter-btn:hover, .category-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

/* Admin Styling */
.admin-card {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.admin-img-preview {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: #0b0f19;
    border-radius: 10px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    padding: 8px;
    margin-bottom: 12px;
}

.upload-dropzone {
    border: 2px dashed rgba(0, 210, 255, 0.4);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    background: rgba(0, 210, 255, 0.03);
    cursor: pointer;
    transition: var(--transition);
}

.upload-dropzone:hover {
    border-color: var(--primary);
    background: rgba(0, 210, 255, 0.08);
}

/* Footer */
.sri-footer {
    background: #070a10;
    border-top: 1px solid var(--border-glass);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    margin-bottom: 8px;
}

.footer-link:hover {
    color: var(--primary);
    transform: translateX(4px);
}

/* Badges */
.badge-status-open {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-status-closed {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .car-stage {
        padding-bottom: 20px;
    }
}
