/* Galeri Section Styles */
.galeri-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    margin-top: 3rem;
}

/* Galeri Header */
.galeri-header {
    text-align: center;
    margin-bottom: 60px;
}

.galeri-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    letter-spacing: 2px;
    position: relative;
}

.galeri-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 2px;
}

.galeri-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-top: 25px;
    font-weight: 300;
}

/* Galeri Grid */
.galeri-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

/* Galeri Item */
.galeri-item {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.galeri-item:hover {
    transform: scale(1.05);
}

.galeri-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-close:hover {
    color: #ccc;
}

#lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 20px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.4);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Instagram Button */
.instagram-button-container {
    text-align: center;
    margin-top: 50px;
}

.instagram-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.instagram-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.instagram-button i {
    font-size: 1.3rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .galeri-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .galeri-title {
        font-size: 2.5rem;
    }
    
    .galeri-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .galeri-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .galeri-title {
        font-size: 2rem;
    }
    
    .galeri-subtitle {
        font-size: 1rem;
    }
    
    .galeri-section {
        padding: 40px 0;
    }
    
    .galeri-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .galeri-section{
        margin-top: 7rem;
    }
    
    .galeri-title {
        font-size: 1.8rem;
    }
    
    .instagram-button {
        font-size: 1rem;
        padding: 12px 25px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        padding: 15px;
        font-size: 20px;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 30px;
    }
}