/* Gallery Page Specific Styles */

.gallery-page {
    background: #f8f9fa;
}

/* Gallery Hero - Full Screen with Parallax */
.gallery-hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(26, 35, 50, 0.7), rgba(26, 35, 50, 0.7)),
                url('https://images.unsplash.com/photo-1566073771259-6a8506099945?w=1920&q=80') center/cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 0;
    overflow: hidden;
}

.gallery-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.8), rgba(44, 95, 125, 0.6));
}

/* Hero Animated Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    top: 50%;
    right: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    bottom: 20%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

.gallery-hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

/* Title Wrapper */
.hero-title-wrapper {
    text-align: center;
    animation: fadeInUp 1s ease 0.2s both;
}

.gallery-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 96px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.title-line {
    display: block;
    animation: slideInLeft 1s ease;
}

.title-line:nth-child(2) {
    animation: slideInRight 1s ease 0.2s both;
}

.gradient-text {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Title Decoration */
.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    animation: fadeIn 1.5s ease 0.5s both;
}

.decoration-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.decoration-diamond {
    color: var(--secondary-color);
    font-size: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.gallery-hero-subtitle {
    font-size: 28px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    animation: fadeInUp 1s ease 0.6s both;
    text-align: center;
}

/* Gallery Stats */
.gallery-stats {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    padding: 30px 60px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: fadeInUp 1s ease 0.8s both;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.stat-item-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    transition: transform 0.3s ease;
}

.stat-item-hero:hover {
    transform: translateY(-5px);
}

.stat-number-hero {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.stat-label-hero {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.stat-divider-hero {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Animated Scroll Indicator */
.scroll-indicator-gallery {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 3;
    cursor: pointer;
    animation: fadeInUp 1.5s ease 1s both;
}

.scroll-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 20px;
    animation: bounce 2s infinite;
    transition: all 0.3s ease;
}

.scroll-indicator-gallery:hover .scroll-arrow {
    background: var(--gradient-gold);
    border-color: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Premium Gallery Section */
.premium-gallery {
    padding: 100px 0 120px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.premium-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(26, 35, 50, 0.02) 0%, transparent 100%);
    pointer-events: none;
}

/* Gallery Section Header */
.gallery-section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.gallery-section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    position: relative;
}

.gallery-section-subtitle::before,
.gallery-section-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color));
}

.gallery-section-subtitle::before {
    right: calc(100% + 20px);
}

.gallery-section-subtitle::after {
    left: calc(100% + 20px);
    background: linear-gradient(90deg, var(--secondary-color), transparent);
}

.gallery-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.gallery-section-desc {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Gallery Filter Bar - Enhanced */
.gallery-filter-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.gallery-filter-btn {
    background: transparent;
    border: 2px solid transparent;
    color: var(--primary-color);
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.gallery-filter-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.gallery-filter-btn:hover {
    background: rgba(26, 35, 50, 0.05);
    transform: translateY(-2px);
}

.gallery-filter-btn:hover i {
    transform: scale(1.1);
}

.gallery-filter-btn.active {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(26, 35, 50, 0.25);
    transform: translateY(-2px);
}

.filter-count {
    background: rgba(26, 35, 50, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    min-width: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.gallery-filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.25);
}

/* Load More Button */
.gallery-load-more {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.btn-load-more {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-load-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-load-more:hover {
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(26, 35, 50, 0.2);
}

.btn-load-more:hover::before {
    width: 100%;
}

.btn-load-more i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-load-more:hover i {
    transform: rotate(-10deg) scale(1.1);
}

/* Premium Gallery Grid - Masonry Style */
.premium-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 300px;
    gap: 25px;
    grid-auto-flow: dense;
}

.gallery-item-premium {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: scale(1);
}

.gallery-item-premium.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item-premium.wide {
    grid-column: span 2;
}

.gallery-item-premium.tall {
    grid-row: span 2;
}

.gallery-item-premium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.gallery-item-premium:hover img {
    transform: scale(1.15);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 35, 50, 0.95) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

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

.gallery-item-content {
    width: 100%;
    transform: translateY(30px);
    transition: transform 0.5s ease;
}

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

.gallery-item-category {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.gallery-item-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 600;
}

.gallery-view-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.gallery-view-btn:hover {
    background: var(--gradient-gold);
    border-color: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

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

.premium-lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--gradient-gold);
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

.lightbox-content-wrapper {
    max-width: 90%;
    max-height: 85vh;
    position: relative;
    animation: scaleIn 0.4s ease;
}

.lightbox-content-wrapper img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    text-align: center;
    margin-top: 25px;
    color: var(--white);
}

.lightbox-category {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.lightbox-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--white);
    margin-top: 10px;
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .gallery-section-title {
        font-size: 42px;
    }
    
    .gallery-filter-btn {
        padding: 12px 18px;
        font-size: 13px;
    }
    
    .gallery-filter-btn i {
        font-size: 14px;
    }
}

@media (max-width: 1024px) {
    .premium-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        grid-auto-rows: 250px;
        gap: 20px;
    }
    
    .gallery-hero {
        height: 100vh;
        min-height: 500px;
    }
    
    .gallery-hero-title {
        font-size: 64px;
    }
    
    .gallery-hero-subtitle {
        font-size: 22px;
    }
    
    .gallery-section-title {
        font-size: 38px;
    }
    
    .gallery-section-desc {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .gallery-hero {
        height: 100vh;
        min-height: 500px;
        background-attachment: scroll;
    }
    
    .gallery-hero-title {
        font-size: 52px;
    }
    
    .gallery-hero-subtitle {
        font-size: 20px;
    }
    
    .gallery-stats {
        flex-direction: column;
        gap: 20px;
        padding: 20px 30px;
    }
    
    .stat-divider-hero {
        display: none;
    }
    
    .hero-shapes .shape {
        opacity: 0.5;
    }
    
    .premium-gallery {
        padding: 60px 0 80px;
    }
    
    .gallery-section-header {
        margin-bottom: 40px;
    }
    
    .gallery-section-title {
        font-size: 32px;
        letter-spacing: 1px;
    }
    
    .gallery-section-subtitle::before,
    .gallery-section-subtitle::after {
        display: none;
    }
    
    .premium-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
        gap: 15px;
    }
    
    .gallery-item-premium.large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .gallery-item-premium.wide {
        grid-column: span 2;
    }
    
    .gallery-item-premium.tall {
        grid-row: span 1;
    }
    
    .gallery-filter-bar {
        gap: 8px;
        padding: 15px;
        border-radius: 15px;
    }
    
    .gallery-filter-btn {
        padding: 10px 14px;
        font-size: 12px;
        border-radius: 10px;
    }
    
    .gallery-filter-btn span:not(.filter-count) {
        display: none;
    }
    
    .gallery-filter-btn i {
        font-size: 16px;
    }
    
    .filter-count {
        padding: 3px 8px;
        font-size: 10px;
    }
    
    .gallery-item-title {
        font-size: 18px;
    }
    
    .gallery-item-category {
        font-size: 10px;
        padding: 4px 10px;
    }
    
    .btn-load-more {
        padding: 15px 30px;
        font-size: 14px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .gallery-hero {
        height: 100vh;
        min-height: 450px;
    }
    
    .gallery-hero-title {
        font-size: 36px;
        letter-spacing: 1px;
        gap: 5px;
    }
    
    .gallery-hero-subtitle {
        font-size: 16px;
    }
    
    .gallery-stats {
        padding: 20px 30px;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-number-hero {
        font-size: 24px;
    }
    
    .stat-label-hero {
        font-size: 10px;
    }
    
    .title-decoration {
        gap: 15px;
    }
    
    .decoration-line {
        width: 50px;
    }
    
    .scroll-indicator-gallery {
        bottom: 30px;
    }
    
    .premium-gallery {
        padding: 50px 0 60px;
    }
    
    .gallery-section-title {
        font-size: 26px;
    }
    
    .gallery-section-desc {
        font-size: 14px;
        padding: 0 10px;
    }
    
    .premium-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
        gap: 15px;
    }
    
    .gallery-item-premium.large,
    .gallery-item-premium.wide {
        grid-column: span 1;
    }
    
    .gallery-filter-bar {
        padding: 12px;
        gap: 6px;
    }
    
    .gallery-filter-btn {
        padding: 10px 12px;
        gap: 6px;
    }
    
    .gallery-item-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .gallery-view-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .gallery-load-more {
        margin-top: 40px;
    }
    
    .btn-load-more {
        padding: 14px 25px;
        font-size: 13px;
        gap: 10px;
    }
    
    .lightbox-title {
        font-size: 24px;
    }
}
