/* Gallery Page */

/* Gallery Intro */
.gallery-intro {
    padding: 60px 0;
    background: white;
}

.intro-content h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text-dark);
    text-align: center;
}

.intro-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: justify;
}

.gallery-section {
    padding: 60px 0 80px;
    background: var(--bg-light);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    transition: var(--transition);
}

.gallery-item.hidden {
    display: none;
}

.gallery-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.gallery-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-image:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-image:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.gallery-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

/* Gallery Text Section */
.gallery-text-section {
    padding: 80px 0;
    background: white;
}

.text-content h2 {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.text-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.text-block h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 25px 0 15px;
    color: var(--text-dark);
}

.text-block h3:first-child {
    margin-top: 0;
}

.text-block p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: justify;
}

.text-block strong {
    color: var(--text-dark);
    font-weight: 600;
}

.area-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 20px 0;
}

.area-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-light);
    padding: 8px 0;
}

.area-list i {
    color: var(--primary-color);
    font-size: 16px;
}

.cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    color: white;
    gap: 30px;
}

.cta-box-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cta-box-content p {
    font-size: 16px;
    opacity: 0.95;
}

@media (max-width: 968px) {
    .text-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-box {
        flex-direction: column;
        text-align: center;
    }
    
    .text-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-image img {
        height: 250px;
    }
    
    .intro-content h2 {
        font-size: 24px;
    }
}
