/* Globālie iestatījumi */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #050508;
    background-image: url('../image/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 8, 0.85); 
    z-index: -1; 
}

/* Krāsas un efekti */
.purple-text { color: #b026ff; }
.white-text { color: #ffffff; }

.glow {
    text-shadow: 0 0 15px rgba(176, 38, 255, 0.8);
}

.glass-panel {
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(176, 38, 255, 0.2);
    border-radius: 10px;
}

/* Navigācija */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    margin: 20px auto;
    width: 90%;
    max-width: 1400px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #cccccc;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: #b026ff;
    text-shadow: 0 0 8px rgba(176, 38, 255, 0.5);
}

.btn-login {
    background: transparent;
    color: #ffffff;
    padding: 10px 20px;
    border: 1px solid #b026ff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-login:hover {
    background: #b026ff;
    box-shadow: 0 0 15px rgba(176, 38, 255, 0.5);
}

/* Varoņa sekcija (Hero) */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    text-align: center;
    margin-top: 20px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-logo {
    max-width: 350px; 
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(176, 38, 255, 0.4)); 
}

.server-status {
    display: inline-block;
    padding: 20px 40px;
    margin-top: 20px;
    min-width: 400px;
}

.status-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-weight: 600;
}

.online-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #00ff44;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ff44;
    margin-right: 5px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: #b026ff;
    box-shadow: 0 0 10px #b026ff;
}

.btn-connect {
    display: inline-block;
    background: #b026ff;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 800;
    transition: 0.3s;
    width: 100%;
}

.btn-connect:hover {
    background: #c354ff;
    box-shadow: 0 0 20px rgba(176, 38, 255, 0.7);
}

/* Par mums kartītes */
.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 50px auto;
    width: 90%;
    max-width: 1200px;
}

.feature-card {
    padding: 30px;
    flex: 1;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

.feature-card p {
    color: #aaaaaa;
    line-height: 1.6;
}

/* --- Auto Salona Stili --- */
.section-title {
    text-align: center;
    font-size: 36px;
    margin: 80px 0 30px;
    font-weight: 800;
}

.auto-katalogs {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 100px;
}

.status-banner {
    text-align: center;
    padding: 15px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 51, 51, 0.4); 
    background: rgba(255, 51, 51, 0.1);
}

/* LABOJUMS: Režģis mašīnām ar auto-fill */
.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.car-card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(176, 38, 255, 0.15);
    border-color: rgba(176, 38, 255, 0.5);
}

.car-image-placeholder {
    width: 100%;
    height: 180px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    color: #555;
    font-weight: 600;
    font-size: 20px;
}

.car-info h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.price-container {
    margin-bottom: 20px;
}

.prices {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 14px;
}

.new-price {
    font-size: 24px;
    font-weight: 800;
}

.btn-buy {
    background: transparent;
    color: #ffffff;
    border: 1px solid #b026ff;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
    width: 100%;
}

.btn-buy:hover {
    background: #b026ff;
    box-shadow: 0 0 15px rgba(176, 38, 255, 0.4);
}

/* --- Importa / Premium Auto Stili --- */
.gold-text {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.euro-price {
    font-size: 14px;
    color: #aaaaaa;
}

.premium-card {
    border-color: rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.premium-card:hover {
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.8);
}

.premium-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: #ffd700;
    color: #000;
    font-weight: 800;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 12px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    z-index: 10;
}

.premium-btn {
    border-color: #ffd700;
    color: #ffd700;
}

.premium-btn:hover {
    background: #ffd700;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}
/* --- Veikala Stili --- */
.store-katalogs {
    width: 90%;
    max-width: 1200px;
    margin: 100px auto 100px;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.store-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(176, 38, 255, 0.15);
}

.store-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.glow-icon {
    text-shadow: 0 0 20px rgba(176, 38, 255, 0.8);
}

.store-desc {
    color: #aaaaaa;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1; /* Nospiež pogu uz leju, ja teksts ir īss */
}

.store-btn {
    margin-top: 15px;
}
.car-img {
    width: 100%;
    height: 160px; /* Pielāgo šo augstumu, lai tas smuki iekļaujas tavā kartītē */
    object-fit: contain; /* MAĢISKAIS PARAMETRS: neļauj bildei izstiepties! */
    display: block;
    margin: 0 auto; /* Nocentrē bildi pa vidu */
    padding: 10px; /* Iedod nedaudz elpas telpu gar malām */
}