/* FORZIMA Gallery Page Styles */

/* ===== GALLERY HERO ===== */
.gallery-hero {
    background: var(--light-gray);
    padding: 6rem 0 3rem 0;
    margin-top: 70px !important;
    text-align: center;
}

.gallery-hero h1 {
    font-size: 3rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--charcoal);
    max-width: 800px;
    margin: 0 auto 1rem auto;
    line-height: 1.6;
}

.gallery-hero p:last-child {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== GALLERY INTRODUCTION ===== */
.gallery-intro {
    padding: 4rem 0;
    background: white;
}

.intro-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.intro-content h2 {
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.intro-content>p {
    font-size: 1.1rem;
    color: var(--charcoal);
    line-height: 1.7;
    margin-bottom: 3rem;
}

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

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 0.8rem;
    transition: var(--transition-smooth);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.feature-item p {
    color: var(--medium-gray);
    margin: 0;
}

/* ===== PRODUCT CATEGORIES ===== */
.product-categories {
    padding: 4rem 0;
    background: var(--light-gray);
}

.product-categories>.container>h2 {
    text-align: center;
    color: var(--navy);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.category-section {
    margin-bottom: 4rem;
    padding: 3rem 0;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-light);
}

.category-section:last-child {
    margin-bottom: 0;
}

.category-section h3 {
    text-align: center;
    color: var(--navy);
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.category-section h3::after {
    content: '';
    width: 80px;
    height: 3px;
    background: var(--gold-gradient);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* ===== GALLERY GRID ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.gallery-item {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover .image-container img {
    transform: scale(1.05);
}

/* ===== IMAGE OVERLAY ===== */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(15, 23, 42, 0) 0%,
            rgba(15, 23, 42, 0.3) 50%,
            rgba(15, 23, 42, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item:hover .image-overlay {
    opacity: 1;
}

.overlay-content h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===== TECHNICAL EXCELLENCE ===== */
.technical-excellence {
    padding: 4rem 0;
    background: white;
}

.technical-excellence h2 {
    text-align: center;
    color: var(--navy);
    margin-bottom: 3rem;
}

.excellence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.excellence-item {
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 0.8rem;
    border-left: 4px solid var(--primary-gold);
}

.excellence-item h3 {
    color: var(--navy);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.excellence-item ul {
    list-style: none;
    padding: 0;
}

.excellence-item li {
    padding: 0.5rem 0;
    color: var(--charcoal);
    position: relative;
    padding-left: 1.5rem;
}

.excellence-item li::before {
    content: '•';
    color: var(--primary-gold);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 0.2rem;
}

.excellence-item strong {
    color: var(--navy);
}

/* ===== GALLERY TESTIMONIALS ===== */
.gallery-testimonials {
    padding: 4rem 0;
    background: var(--light-gray);
}

.gallery-testimonials h2 {
    text-align: center;
    color: var(--navy);
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 0.8rem;
    box-shadow: var(--shadow-light);
    text-align: center;
    position: relative;
}

.testimonial::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-gold);
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    line-height: 1;
}

.testimonial blockquote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--charcoal);
    margin: 1rem 0 1.5rem 0;
    position: relative;
}

.testimonial cite {
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: 600;
}

/* ===== GALLERY CTA ===== */
.gallery-cta {
    padding: 4rem 0;
    background: var(--navy);
    color: white;
    text-align: center;
}

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

.gallery-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.contact-icon {
    font-size: 1.2rem;
}

.contact-item a {
    color: var(--primary-gold);
    transition: var(--transition-fast);
}

.contact-item a:hover {
    color: white;
    text-decoration: underline;
}

/* ===== LIGHTBOX MODAL ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.lightbox-image {
    width: 100%;
    height: auto;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

.lightbox-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 2rem 1rem 2rem;
}

.lightbox-info h4 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.lightbox-info p {
    margin: 0;
    opacity: 0.9;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .gallery-hero h1 {
        font-size: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .excellence-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .gallery-features {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .contact-options {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-hero {
        padding: 4rem 0 2rem 0;
    }

    .gallery-hero h1 {
        font-size: 2rem;
    }

    .category-section {
        padding: 2rem 0;
    }

    .category-section h3 {
        font-size: 1.5rem;
    }

    .excellence-item,
    .testimonial {
        padding: 1.5rem;
    }
}