        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            background-color: #000000;
            color: #ffffff;
            font-family: 'Montserrat', sans-serif;
            padding: 50px 20px;
            -webkit-font-smoothing: antialiased;
        }

        .container {
            max-width: 1440px;
            margin: 0 auto;
        }

        /* Orqaga qaytish tugmasi */
        .back-btn {
            display: inline-flex;
            align-items: center;
            color: #888888;
            text-decoration: none;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 3px;
            margin-bottom: 40px;
            transition: color 0.3s ease, transform 0.3s ease;
        }

        .back-btn:hover {
            color: #ffffff;
            transform: translateX(-5px);
        }

        /* Sarlavha bo'limi va animatsiya */
        .header-section {
            margin-bottom: 60px;
            animation: fadeIn 1s ease-out forwards;
        }

        .project-tag {
            color: #e63946;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 4px;
            margin-bottom: 12px;
        }

        .project-title {
            font-family: 'Cinzel', serif;
            font-size: 52px;
            font-weight: 700;
            letter-spacing: 2px;
            margin-bottom: 18px;
            text-transform: uppercase;
            color: #ffffff;
        }

        .project-desc {
            color: #888888;
            font-size: 16px;
            font-weight: 300;
            line-height: 1.8;
            max-width: 750px;
            letter-spacing: 0.5px;
        }

        /* Galereya tepa qismi */
        .gallery-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid #1a1a1a;
            padding-bottom: 20px;
            margin-bottom: 30px;
            animation: fadeIn 1s ease-out 0.2s forwards;
            opacity: 0;
        }

        .gallery-title {
            font-family: 'Cinzel', serif;
            font-size: 22px;
            font-weight: 700;
            letter-spacing: 6px;
            text-transform: uppercase;
            color: #ffffff;
        }

        .gallery-count {
            color: #555555;
            font-size: 12px;
            letter-spacing: 2px;
        }

        /* Grid Galereya */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }

        .gallery-item:first-child {
            grid-column: span 2;
        }

        .gallery-item {
            position: relative;
            background-color: #0d0d0d;
            overflow: hidden;
            border-radius: 2px;
            border: 1px solid #161616;
            cursor: pointer;
            
            /* Sahifa ochilganda pastdan yuqoriga sekin chiqish animatsiyasi */
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            min-height: 350px;
            max-height: 500px;
            object-fit: cover;
            display: block;
            transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.05);
            filter: brightness(1.15);
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Modal oyna (Lightbox Slayder) */
        .modal {
            display: none;
            position: fixed;
            z-index: 9999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.94);
            backdrop-filter: blur(10px);
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .modal.show {
            display: flex;
            opacity: 1;
        }

        .modal-content {
            max-width: 85%;
            max-height: 85vh;
            border-radius: 4px;
            box-shadow: 0 0 40px rgba(0,0,0,0.9);
            transform: scale(0.95);
            transition: transform 0.3s ease;
            object-fit: contain;
        }

        .modal.show .modal-content {
            transform: scale(1);
        }

        /* Yopish tugmasi */
        .close-btn {
            position: absolute;
            top: 25px;
            right: 35px;
            color: #ffffff;
            font-size: 36px;
            font-weight: 300;
            cursor: pointer;
            transition: color 0.3s;
            user-select: none;
            z-index: 10001;
        }

        .close-btn:hover {
            color: #e63946;
        }

        .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent !important;   /* Fon umuman bo'lmaydi */
    border: none !important;              /* Ramka umuman bo'lmaydi */
    outline: none !important;             /* Bosilgandagi liniya bo'lmaydi */
    box-shadow: none !important;          /* So'ya bo'lmaydi */
    color: #ffffff;                       /* Strelka rangi */
    font-size: 50px;                      /* Strelka kattaligi */
    padding: 10px 20px;
    cursor: pointer;
    user-select: none;
    z-index: 10000;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

        .nav-btn:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #ffffff;
    opacity: 0.8;
    transform: translateY(-50%) scale(1.15); /* Sal kattalashadi */
}

        .prev-btn {
            left: 30px;
        }

        .next-btn {
            right: 30px;
        }

        /* Rasm raqami ko'rsatgichi (masalan: 1 / 10) */
        .modal-counter {
            position: absolute;
            bottom: 25px;
            color: #888888;
            font-size: 13px;
            letter-spacing: 3px;
            font-weight: 600;
        }

        /* Mobil moslashuvchanlik */
        @media (max-width: 1024px) {
            .gallery-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .gallery-item:first-child {
                grid-column: span 2;
            }
            .project-title {
                font-size: 38px;
            }
        }

        @media (max-width: 768px) {
            .nav-btn { display: none !important; }
        }

        @media (max-width: 650px) {
            .gallery-grid {
                grid-template-columns: 1fr;
            }
            .gallery-item:first-child {
                grid-column: span 1;
            }
            .project-title {
                font-size: 28px;
            }
            .gallery-item img {
                min-height: 260px;
            }
        }

        /* Topilmagan loyiha */
        .not-found {
            text-align: center;
            padding: 120px 20px;
        }
        .not-found h1 {
            font-family: 'Cinzel', serif;
            font-size: 42px;
            letter-spacing: 4px;
            margin-bottom: 16px;
        }
        .not-found p {
            color: #888888;
            margin-bottom: 32px;
        }
