/* Gallery Page Specific Styles */

/* Hero Section */
.gallery-hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.gallery-stats .stat-item {
    text-align: center;
}

.gallery-stats .stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.gallery-stats .stat-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* Filter Section */
.gallery-filter {
    background-color: #ffffff;
}

.btn-filter {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    margin: 0 0.5rem 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-filter:hover,
.btn-filter.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(218, 161, 76, 0.3);
}

/* Gallery Grid */
.gallery-grid-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.gallery-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(218, 161, 76, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.overlay-content h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.overlay-content i {
    font-size: 2rem;
    opacity: 0.8;
}

/* Gallery Item Animations */
.gallery-item {
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s ease;
}

.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

/* Featured Project Section */
.featured-project {
    background-color: #ffffff;
}

.featured-content {
    padding-right: 2rem;
}

.project-details .detail-item {
    font-size: 1rem;
    color: var(--text-dark);
}

.project-details .detail-item i {
    font-size: 1.2rem;
}

.featured-image img {
    transition: transform 0.3s ease;
}

.featured-image:hover img {
    transform: scale(1.05);
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.testimonial-header img {
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.rating {
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #b98b4e 100%);
    color: white;
}

.cta-section .main-heading {
    color: white !important;
}

.cta-section .paragraph {
    color: rgba(255,255,255,0.9) !important;
}

.btn-outline-primary {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline-primary:hover {
    background: white;
    color: var(--primary-color);
}

/* Lightbox Customization */
.lb-data .lb-caption {
    font-family: "Plus Jakarta Sans", serif;
    font-weight: 600;
    color: var(--text-dark);
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    opacity: 0.8;
}

.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
    opacity: 1;
}

.lb-closeContainer .lb-close {
    opacity: 0.8;
}

.lb-closeContainer .lb-close:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 991px) {
    .gallery-hero-section {
        padding: 60px 0;
    }
    
    .gallery-stats {
        justify-content: center;
        gap: 2rem !important;
    }
    
    .featured-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .cta-section .text-lg-end {
        text-align: center !important;
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .gallery-stats {
        flex-direction: column;
        gap: 1.5rem !important;
    }
    
    .gallery-stats .stat-item h3 {
        font-size: 2rem;
    }
    
    .main-heading {
        font-size: 2rem !important;
    }
    
    .btn-filter {
        margin: 0 0.25rem 0.5rem;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .gallery-card img {
        height: 250px;
    }
    
    .testimonial-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .gallery-hero-section {
        padding: 40px 0;
    }
    
    .gallery-stats .stat-item {
        text-align: center;
    }
    
    .btn-filter {
        width: 100%;
        margin: 0 0 0.5rem 0;
    }
    
    .gallery-card img {
        height: 200px;
    }
    
    .overlay-content {
        padding: 1rem;
    }
    
    .overlay-content h5 {
        font-size: 1rem;
    }
    
    .overlay-content p {
        font-size: 0.9rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b98b4e;
}

/* Loading Animation */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Masonry Layout */
.gallery-grid {
    column-count: 3;
    column-gap: 20px;
}

@media (max-width: 768px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        column-count: 1;
    }
}

/* Filter Animation */
.gallery-item {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item.filtered-out {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.gallery-item.filtered-in {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
} 