/**
 * Gallery Page Specific Styling
 * Lannie's Nails and Hair Salon
 */

/* ========== TEMPORARY: UNDER CONSTRUCTION OVERLAY - REMOVE WHEN GALLERY IS COMPLETE ========== */
.construction-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f8f9fa; /* Solid background to completely hide content */
    z-index: 99999; /* Higher z-index to ensure it covers everything */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
}

.construction-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.construction-content {
    padding: 3rem 2rem;
    text-align: center;
}

.construction-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.construction-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.construction-content p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.construction-buttons {
    display: flex;
    justify-content: center;
}

.construction-buttons .btn {
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    min-width: 140px;
}

.construction-buttons .btn.primary {
    background-color: var(--primary-color);
    color: white;
}

.construction-buttons .btn.primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.construction-buttons .btn.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.construction-buttons .btn.secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design for Construction Overlay */
@media (max-width: 576px) {
    .construction-content {
        padding: 2rem 1.5rem;
    }
    
    .construction-content h2 {
        font-size: 1.6rem;
    }
    
    .construction-content p {
        font-size: 1rem;
    }
    
    .construction-buttons .btn {
        width: 100%;
        max-width: 200px;
    }
}
/* ========== END TEMPORARY CONSTRUCTION OVERLAY ========== */

/* Page Banner */
.page-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/gallery-banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 0;
}

.page-banner h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-banner p {
    font-size: 1.2rem;
    margin-bottom: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Gallery Filters */
.gallery-filters {
    background-color: var(--light-background);
    padding: 1.5rem 0;
    position: sticky;
    top: 68px;
    z-index: 900;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

/* Gallery Main */
.gallery-main {
    padding: 5rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.gallery-item.hidden {
    display: none;
}

.gallery-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.overlay-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Instagram Feed */
.instagram-feed {
    padding: 5rem 0;
    background-color: var(--light-background);
    text-align: center;
}

.instagram-intro {
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.instagram-handle {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.insta-item {
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1/1;
    transition: var(--transition);
}

.insta-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.insta-item:hover img {
    transform: scale(1.05);
}

/* Call to Action */
.call-to-action {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.call-to-action h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.call-to-action p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .gallery-grid,
    .insta-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-banner h1 {
        font-size: 2.5rem;
    }
    
    .gallery-filters {
        top: 60px;
    }
    
    .filter-btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .call-to-action h2 {
        font-size: 2rem;
    }
    
    .instagram-handle {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .page-banner {
        padding: 60px 0;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
} 