
/* ========================================
   GALLERY PAGE STYLES
======================================== */

.gallery-hero {
    width: 100%;
    height: 35vh;
    background: #0a0f1e;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    margin-top: 76px;
}

.gallery-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1) saturate(1.0);
}

.gallery-hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.1) 0%,
        rgba(0,0,0,0.35) 60%,
        rgba(10,15,30,0.95) 100%
    );
    z-index: 1;
}

.gallery-hero__placeholder {
    display: none;
}

.gallery-section {
    padding: 80px 40px;
    max-width: 1380px;
    margin: 0 auto;
}

.gallery-header {
    margin-bottom: 50px;
    text-align: center;
}

.gallery-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--yellow);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.gallery-tag__line {
    width: 32px;
    height: 1px;
    background: var(--yellow);
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gallery-grid {
    columns: 3;
    column-gap: 20px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background: #1e2a38;
}

.gallery-item:hover {
    border-color: var(--yellow);
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.gallery-item__placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #1e2a38;
    color: #7A8FA6;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gallery-item svg {
    display: none;
}

.gallery-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.gallery-item__placeholder {
    display: none;
}

@media (max-width: 1024px) {
    .gallery-grid {
        columns: 2;
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        columns: 1;
    }
    .gallery-section {
        padding: 40px 20px;
    }
    .gallery-title {
        font-size: 2.5rem;
    }
}

/* TikTok Section */
.tiktok-section {
    padding: 80px 40px;
    background: rgba(0,0,0,0.2);
}

.tiktok-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.tiktok-item {
    aspect-ratio: 9 / 16;
    background: #050b14;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    color: #7A8FA6;
    text-align: center;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.tiktok-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 500px;
    display: block;
}

.tiktok-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    transition: background 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tiktok-item:hover .tiktok-overlay {
    background: rgba(0,0,0,0.5);
}

.tiktok-icon {
    width: 48px;
    height: 48px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
    fill: white;
}

.tiktok-item:hover .tiktok-icon {
    opacity: 1;
}

.gallery-social-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.gallery-social-icon svg {
    fill: #f5a200;
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.gallery-social-icon:hover svg {
    transform: scale(1.1);
}

.tiktok-item:hover {
    border-color: var(--yellow);
}

.tiktok-item > svg, .tiktok-item > span {
    display: none;
}

@media (max-width: 768px) {
    .tiktok-grid {
        grid-template-columns: 1fr;
    }
    .tiktok-item {
        max-width: 300px;
        margin: 0 auto;
        width: 100%;
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox__content {
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    border: 3px solid var(--yellow);
    background: #1e2a38;
}

.lightbox__close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
}
