/* 
   GALERY.CSS - RESPONSIVE
 */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: "Poppins", sans-serif; 
}

body { 
    margin-top: 10px;
    background: #111; 
    color: #fff; 
}

.galery-section {
    background-color: #000000;
    color: #fff;
    padding: 60px 0;
    min-height: 100vh;
}

.galery-section .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.galery-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
}

.galery-images .img-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.galery-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s ease;
}

.galery-images img.show {
    opacity: 1;
    transform: scale(1);
}

.galery-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

.galery-text {
    padding: 20px 0;
}

.galery-text h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.galery-text p {
    font-size: 15px;
    line-height: 1.7;
    color: #ccc;
    margin-bottom: 15px;
    text-align: justify;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.2s;
}

.galery-text .date {
    display: inline-block;
    font-size: 13px;
    color: #ffffff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.4s;
}

.galery-text.show h3,
.galery-text.show p,
.galery-text.show .date {
    opacity: 1;
    transform: translateY(0);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 50px;
    padding: 20px 0;
}

.pagination-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.pagination-numbers {
    display: flex;
    gap: 8px;
}

.pagination-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-number:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.pagination-number.active {
    background: #fff;
    color: #000;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.empty-gallery {
    text-align: center;
    padding: 80px 20px;
}

.empty-gallery i {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.empty-gallery h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}

.empty-gallery p {
    font-size: 16px;
    color: #999;
}

@media (max-width: 1024px) {
    .galery-section {
        padding: 50px 0;
    }
    
    .galery-content {
        gap: 35px;
    }
    
    .galery-images img {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .galery-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .galery-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .galery-images .img-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .galery-images img {
        height: 160px;
    }
    
    .galery-text h3 {
        font-size: 18px;
    }
    
    .galery-text p {
        font-size: 14px;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .pagination-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .pagination-number {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .galery-section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .galery-images .img-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .galery-images img {
        height: 200px;
    }
    
    .galery-text h3 {
        font-size: 17px;
    }
    
    .galery-text p {
        font-size: 13px;
    }
}
