/* ===== GALLERY PAGE SPECIFIC STYLES ===== */

/* Hero Section */
.gallery-hero {
    background: linear-gradient(rgba(10, 10, 10, 0.85), rgba(10, 10, 10, 0.9)), url('../images/hero/product-hero.jpeg');
    background-size: cover;
    background-position: center;
    padding: 180px 0 100px;
    position: relative;
    text-align: center;
    margin-top: 70px;
    overflow: hidden;
}

.gallery-hero .hero-content {
    position: relative;
    z-index: 3;
}

.gallery-hero .hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.gallery-hero .hero-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #cccccc;
    line-height: 1.6;
}

.hero-breadcrumb {
    font-size: 1rem;
    color: #aaaaaa;
}

.hero-breadcrumb a {
    color: #D4AF37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-breadcrumb a:hover {
    color: #FFD700;
    text-decoration: underline;
}

.hero-breadcrumb span {
    color: #ffffff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.2), transparent 70%);
    z-index: 1;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.shape {
    position: absolute;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
    border-radius: 50%;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 100px;
    left: -50px;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: -50px;
    right: 20%;
}

/* Categories Section */
.categories-section {
    padding: 80px 0 40px;
    background: #0a0a0a;
}

.categories-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 40px 0 30px;
}

.filter-btn {
    background: rgba(30, 30, 30, 0.8);
    color: #cccccc;
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 12px 25px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #D4AF37;
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #D4AF37, #B8860b);
    color: #000;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.filter-btn.active:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
    color: #000;
}

.active-filter-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 20px;
}

#activeFilterText {
    color: #cccccc;
    font-size: 1rem;
}

.photo-count {
    background: rgba(212, 175, 55, 0.1);
    color: #D4AF37;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Gallery Section */
.gallery-section {
    padding: 40px 0 80px;
    background: #111111;
    min-height: 600px;
}

.gallery-container {
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.gallery-grid.filtering {
    opacity: 0.5;
}

.gallery-item {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
}

.gallery-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.7), rgba(60, 60, 60, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4AF37;
    font-size: 3rem;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.view-btn {
    background: rgba(212, 175, 55, 0.9);
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

.gallery-item:hover .view-btn {
    transform: translateY(0);
    opacity: 1;
}

.view-btn:hover {
    background: #D4AF37;
    transform: translateY(-3px);
}

.gallery-info {
    padding: 20px;
}

.gallery-category {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: #D4AF37;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.gallery-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ffffff;
    line-height: 1.3;
}

.gallery-date {
    color: #aaaaaa;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-date i {
    color: #D4AF37;
}

/* Loading Indicator */
.loading-indicator {
    text-align: center;
    padding: 60px 0;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(212, 175, 55, 0.1);
    border-top: 5px solid #D4AF37;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-indicator p {
    color: #aaaaaa;
    font-size: 1.1rem;
}

/* No Photos Message */
.no-photos {
    text-align: center;
    padding: 80px 0;
}

.no-photos i {
    font-size: 4rem;
    color: #555555;
    margin-bottom: 20px;
    display: block;
}

.no-photos h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.no-photos p {
    color: #aaaaaa;
    font-size: 1.1rem;
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.no-photos .filter-btn {
    margin: 0 auto;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 60px;
}

.btn-load-more {
    background: transparent;
    color: #D4AF37;
    border: 2px solid #D4AF37;
    padding: 15px 40px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-load-more:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

.btn-load-more:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-load-more:disabled:hover {
    background: transparent;
    box-shadow: none;
}

/* Featured Gallery */
.featured-gallery {
    padding: 100px 0;
    background: #0a0a0a;
    position: relative;
}

.featured-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
}

.featured-slider {
    max-width: 1000px;
    margin: 60px auto 0;
    position: relative;
    overflow: hidden;
}

.featured-slides-container {
    display: flex;
    transition: transform 0.5s ease;
}

.featured-slide {
    min-width: 100%;
    display: flex;
    gap: 50px;
    align-items: center;
    padding: 40px;
    background: rgba(25, 25, 25, 0.8);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.featured-slide.active {
    opacity: 1;
    position: relative;
}

.slide-image {
    flex: 0 0 300px;
    height: 250px;
}

.slide-image .image-placeholder {
    border-radius: 15px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    font-size: 5rem;
}

.slide-content {
    flex: 1;
}

.slide-category {
    display: inline-block;
    background: linear-gradient(135deg, #D4AF37, #B8860b);
    color: #000;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.slide-content p {
    color: #aaaaaa;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.slide-meta {
    display: flex;
    gap: 30px;
    color: #888888;
    font-size: 0.9rem;
}

.slide-meta i {
    margin-right: 8px;
    color: #D4AF37;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    color: #D4AF37;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #D4AF37;
    transform: scale(1.2);
}

/* Gallery Stats */
.gallery-stats {
    padding: 100px 0;
    background: #111111;
}

.stats-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.stats-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.stats-text p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    padding: 40px 20px;
    background: rgba(30, 30, 30, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 1.1rem;
    color: #cccccc;
}

/* Video Gallery */
.video-gallery {
    padding: 100px 0;
    background: #0a0a0a;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.video-card {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.video-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.video-thumbnail {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.7), rgba(60, 60, 60, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4AF37;
    font-size: 4rem;
    transition: all 0.3s ease;
}

.video-card:hover .thumbnail-placeholder {
    color: #FFD700;
    transform: scale(1.05);
}

.video-duration {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
}

.video-info {
    padding: 25px;
}

.video-category {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: #D4AF37;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.video-info h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffffff;
    line-height: 1.3;
}

.video-info p {
    color: #aaaaaa;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    color: #888888;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

.video-meta i {
    margin-right: 5px;
    color: #D4AF37;
}

.video-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.video-cta p {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 25px;
}

.video-cta .btn-outline {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Submission CTA */
.submission-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(184, 134, 11, 0.02));
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.cta-icon {
    flex: 0 0 150px;
    height: 150px;
    background: linear-gradient(135deg, #D4AF37, #FFD700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #000;
}

.cta-text {
    flex: 1;
}

.cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.cta-text p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.cta-text .btn-gold {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-container {
    position: relative;
    background: #0a0a0a;
    border-radius: 20px;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    color: #D4AF37;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    color: #D4AF37;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lightbox-image {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px 40px;
}

.lightbox-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-info {
    padding: 30px;
    background: rgba(30, 30, 30, 0.9);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.lightbox-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.lightbox-category {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: #D4AF37;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.lightbox-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.lightbox-meta {
    display: flex;
    justify-content: space-between;
    color: #888888;
    font-size: 0.9rem;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.lightbox-meta i {
    margin-right: 8px;
    color: #D4AF37;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .featured-slide {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .slide-image {
        flex: 0 0 200px;
        height: 200px;
        margin: 0 auto;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-icon {
        flex: 0 0 120px;
        height: 120px;
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .gallery-hero .hero-title {
        font-size: 2.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lightbox-content {
        flex-direction: column;
    }
    
    .lightbox-image {
        padding: 80px 20px 20px;
    }
}

@media (max-width: 768px) {
    .gallery-hero {
        padding: 150px 0 80px;
    }
    
    .gallery-hero .hero-title {
        font-size: 2.2rem;
    }
    
    .gallery-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .categories-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    .categories-filter::-webkit-scrollbar {
        height: 5px;
    }
    
    .categories-filter::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
    }
    
    .categories-filter::-webkit-scrollbar-thumb {
        background: rgba(212, 175, 55, 0.3);
        border-radius: 10px;
    }
    
    .filter-btn {
        white-space: nowrap;
    }
    
    .active-filter-info {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .featured-slide {
        padding: 30px 20px;
    }
    
    .slide-content h3 {
        font-size: 1.6rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lightbox-container {
        max-height: 80vh;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-slide .slide-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .slider-controls {
        gap: 20px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
}