/* style.css */
:root {
    --bg-color: #000000;
    --card-bg: #1c1c1e;
    --text-main: #f5f5f7;
    --text-sec: #86868b;
    --accent: #2997ff; /* Apple Blue */
    --danger: #ff453a;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Glass Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(28, 28, 30, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo {
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    color:#df0139
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--text-sec);
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--text-main);
}

/* Mobile Toggle */
.menu-toggle { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 2px; background: white; margin: 5px; transition: 0.3s; }

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, #2c2c2e 0%, #000000 70%);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    background: -webkit-linear-gradient(#fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

/* Cards (Services & Products) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    border-radius: 18px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: var(--accent);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

/* Carousel Specifics */
.carousel-wrap {
    overflow-x: auto;
    display: flex;
    gap: 20px;
    padding-bottom: 20px;
    scrollbar-width: none;
}
.carousel-wrap::-webkit-scrollbar { display: none; }

.product-item {
    min-width: 300px;
    background: #151516;
    border-radius: 16px;
    padding: 15px;
    position: relative;
}
.price-tag {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(0,0,0,0.6);
    padding: 5px 10px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    font-weight: bold;
    color: var(--accent);
}

/* Forms */
input, button {
    width: 100%;
    padding: 15px;
    background: #2c2c2e;
    border: none;
    color: white;
    margin-bottom: 15px;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 1rem;
}
button {
    background: var(--accent);
    font-weight: bold;
    cursor: pointer;
}
button:hover { background: #0077ed; }
.btn-danger { background: var(--danger); }

/* Responsive */
@media(max-width: 768px) {
    .menu-toggle { display: block; z-index: 2000; }
    nav ul {
        position: fixed; top: 0; right: -100%; width: 70%; height: 100%;
        background: rgba(28,28,30,0.95); flex-direction: column;
        justify-content: center; transition: 0.4s; z-index: 1500;
    }
    nav ul.active { right: 0; }
    .hero h1 { font-size: 2.5rem; }
}
/* --- GLASSMORPHISM XIZMATLAR --- */

/* 1. Konteyner va Orqa fon bezaklari */
.services-container {
    position: relative;
    overflow: hidden; /* Tashqariga chiqib ketgan ranglarni qirqish */
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Rangli aylanib yuruvchi shakllar (Blobs) */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px); /* Kuchli xiralashtirish */
    z-index: 0;
    opacity: 0.4; /* Juda yorqin bo'lmasligi uchun */
}

.blob-1 {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--accent); /* Asosiy ko'k rang */
    animation: moveBlob1 15s infinite alternate ease-in-out;
}

.blob-2 {
    bottom: -150px;
    right: -50px;
    width: 350px;
    height: 350px;
    background: #9b5de5; /* Qo'shimcha binafsha rang */
    animation: moveBlob2 20s infinite alternate ease-in-out;
}

/* Bloblarning sekin harakatlanishi uchun animatsiya */
@keyframes moveBlob1 {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(100px, 50px) scale(1.1); }
}
@keyframes moveBlob2 {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(-80px, -60px) scale(0.9); }
}


/* 2. Muzlagan Oyna Kartochkasi (.glass-card) */
.glass-card {
    /* Asosiy Glassmorphism xususiyatlari */
    background: rgba(40, 40, 40, 0.4); /* Yarim shaffof to'q fon */
    backdrop-filter: blur(15px) saturate(120%); /* Orqa fonni xiralashtirish */
    -webkit-backdrop-filter: blur(15px) saturate(120%); /* Safari uchun */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Ingichka oqish hoshiya */
    
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    color: var(--text-main);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3); /* Yumshoq soya */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hover effekti - Yaltirash */
.glass-card:hover {
    transform: translateY(-10px); /* Biroz tepaga ko'tarilish */
    background: rgba(50, 50, 50, 0.6); /* Biroz yorqinroq bo'lish */
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(41, 151, 255, 0.2); /* Ko'k soya berish */
}

/* Ichidagi matnlar */
.glass-card h3 {
    font-size: 1.4rem;
    margin: 20px 0 10px;
    color: #fff;
}

.glass-card p {
    color: rgba(255, 255, 255, 0.7); /* Biroz xira oq matn */
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Bezak uchun ikonka (ixtiyoriy) */
.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: inline-block;
    /* Ikonkaga ham ozgina neon effekt */
    text-shadow: 0 0 20px rgba(41, 151, 255, 0.5);
}