@charset "utf-8";
/* CSS Document */
 .gallery {
           display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }
        
        .gallery-item {
            width: 100%;
            height: 250px;
            object-fit: cover;
            border-radius: 10px;
            transition: transform 0.3s ease;
            cursor: pointer;
        }
        
        .gallery-item:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
 .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            overflow: hidden;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .modal.active {
            display: flex;
            opacity: 1;
            align-items: center;
            justify-content: center;
        }
        
        .modal-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
        }
        
        .modal-image {
            width: 100%;
            max-height: 80vh;
            object-fit: contain;
            border-radius: 8px;
        }
        
        .close-btn {
            position: absolute;
            top: -40px;
            right: 0;
            color: white;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            transition: 0.3s;
        }
        
        .close-btn:hover {
            color: #ff5252;
        }
        
        .slider-controls {
            position: absolute;
            bottom: -60px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            gap: 20px;
        }
        
        .slider-btn {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 50px;
            cursor: pointer;
            font-size: 18px;
            transition: 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .slider-btn:hover {
            background: rgba(255, 255, 255, 0.3);
        }
        
        .image-counter {
            color: white;
            font-size: 18px;
            margin-top: 10px;
            text-align: center;
        }
         /* Responsive Design */
        @media (max-width: 768px) {
           
            
            .gallery {
                grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
            }
            
            .modal-content {
                max-width: 95%;
            }
            
            .slider-controls {
                bottom: -50px;
            }
            
            .slider-btn {
                padding: 10px 16px;
                font-size: 16px;
            }
        }
