/* Gallery Page Styles */
.gallery-hero {
    background-color: #000000;
    color: white;
    padding: 80px 0 40px;
    text-align: center;
    border-bottom: 3px solid #FFD700;
}

.gallery-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.filter-buttons {
    text-align: center;
    margin: 2rem 0;
    padding: 0 1rem;
}

.filter-btn {
    background-color: #f8f9fa;
    border: 2px solid #000000;
    color: #000000;
    padding: 0.5rem 1.5rem;
    margin: 0.25rem;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #FFD700;
    color: #000000;
    border-color: #FFD700;
    font-weight: bold;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.7) 50%, transparent);
    color: white;
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-info {
    transform: translateY(0);
}

/* Enhanced hover effect */
.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 215, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.gallery-item-title {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.gallery-item-location {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.gallery-item-details {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Project badges */
.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gold);
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2;
}

.project-badge.new {
    background: #4CAF50;
    color: white;
}

/* Featured items */
.gallery-item.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.featured img {
    height: 520px;
}

/* Enhanced gallery item interactions */
.gallery-item {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Quick view icon on hover */
.gallery-item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 3rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.9;
}

/* Filter animation */
.gallery-item {
    animation: fadeIn 0.4s ease;
}

.gallery-item.hiding {
    animation: fadeOut 0.3s ease;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

/* Gallery Stats */
.gallery-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: #FFD700;
    letter-spacing: 2px;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Featured Items - temporarily simplified */
.gallery-item.featured {
    /* grid-column: span 2;
    grid-row: span 2; */
}

.gallery-item.featured img {
    /* height: 520px; */
}

.project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #FFD700;
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}

/* Enhanced Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s;
}

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

.lightbox-container {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.lightbox-content {
    max-width: 70%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-info {
    color: white;
    max-width: 300px;
}

.lightbox-info h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: #FFD700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.lightbox-info p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Project details in lightbox */
.project-specs {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 5px;
    margin: 1.5rem 0;
}

.project-specs h4 {
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    color: rgba(255, 255, 255, 0.7);
}

.spec-value {
    color: white;
    font-weight: 500;
}

.lightbox-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.lightbox-actions .btn-primary {
    text-align: center;
    display: block;
    background: #FFD700;
    color: #000;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

.share-btn {
    color: #FFD700;
    cursor: pointer;
    text-align: center;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.prev-img, .next-img {
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s;
}

.prev-img:hover, .next-img:hover {
    background: rgba(255,215,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.featured {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery-item.featured img {
        height: 250px;
    }
    
    .gallery-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .lightbox-container {
        flex-direction: column;
    }
    
    .lightbox-content {
        max-width: 90%;
    }
}

.gallery-cta {
    background-color: #000000;
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-top: 2rem;
    border-top: 3px solid #FFD700;
}

.gallery-cta h2 {
    margin-bottom: 1rem;
}

.gallery-cta p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Override navbar styles for consistency */
.navbar {
    background: #000000 !important;
    padding: 1rem 0;
}

.nav-menu a {
    color: #ffffff !important;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #FFD700 !important;
}

/* Modern Footer Styles */
.modern-footer {
    background: #1a1a1a !important;
    border-top: 3px solid #FFD700;
    padding: 3rem 0 1rem;
    color: #ffffff;
}

.modern-footer h3 {
    color: #FFD700 !important;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.modern-footer a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.modern-footer a:hover {
    color: #FFD700 !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.social-proof-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.review-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.review-badge:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

.review-badge img {
    width: 24px;
    height: 24px;
}

.review-badge span {
    color: white !important;
    font-weight: 600;
}

.footer-phone a {
    color: #FFD700 !important;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

.footer-cta {
    margin-top: 1rem;
}

.footer-cta .btn-primary {
    background: #FFD700;
    color: #000000;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-cta .btn-primary:hover {
    background: #FFC700;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
}

/* Hidden Gallery Items */
.gallery-item.hidden {
    display: none;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin: 3rem 0;
}

#load-more-btn {
    background: var(--gold) !important;
    color: #000 !important;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

#load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Gallery Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item.fade-in {
    animation: fadeInUp 0.4s ease-out;
}

/* Results Counter */
.results-counter {
    text-align: center;
    margin: 1rem 0;
    color: #666;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-proof-badges {
        justify-content: center;
    }
    
    #load-more-btn {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}/* Mobile responsive */
