/* ========================================
   GALLERY-CINEMATIC.CSS - FINAL VERSION
   Header styles REMOVED - using base.css
   ======================================== */

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.preloader-content {
    text-align: center;
}

.logo-pulse {
    width: 85px;
    height: 85px;
    margin: 0 auto 1.8rem;
    animation: breathe 3s ease-in-out infinite;
}

.logo-pulse img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
}

@keyframes breathe {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.preloader-text {
    color: #d4af37;
    font-size: 1rem;
    letter-spacing: 7px;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.preloader-subtitle {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.68rem;
    letter-spacing: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
}

/* ===== NO HEADER STYLES HERE - USING BASE.CSS ===== */
/* Header styles are in base.css and will work automatically */

/* ===== AUDIO TOGGLE ===== */
.audio-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(26, 26, 26, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.05rem;
    cursor: pointer;
    z-index: 500;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-toggle:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #d4af37;
    color: #d4af37;
    transform: scale(1.1);
}

.audio-toggle.playing i::before {
    content: "\f028";
}

/* ===== CINEMATIC HERO ===== */
.hero-cinematic {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.hero-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video,
.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    filter: grayscale(0.2);
}

.hero-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(10, 10, 10, 0.7) 70%, rgba(10, 10, 10, 0.92) 100%);
    pointer-events: none;
}

.hero-grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    animation: grain 8s steps(10) infinite;
}

@keyframes grain {

    0%,
    100% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-5%, -10%);
    }

    20% {
        transform: translate(-15%, 5%);
    }

    30% {
        transform: translate(7%, -25%);
    }

    40% {
        transform: translate(-5%, 25%);
    }

    50% {
        transform: translate(-15%, 10%);
    }

    60% {
        transform: translate(15%, 0%);
    }

    70% {
        transform: translate(0%, 15%);
    }

    80% {
        transform: translate(3%, 35%);
    }

    90% {
        transform: translate(-10%, 10%);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    padding-top: 85px;
}

.hero-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #d4af37;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 3rem;
    color: #fff;
}

.hero-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.hero-line:nth-child(1) {
    animation-delay: 0.7s;
}

.hero-line:nth-child(2) {
    animation-delay: 0.9s;
}

.hero-line:nth-child(3) {
    animation-delay: 1.1s;
}

.hero-line-gold {
    color: #d4af37;
    font-style: italic;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hero-quote-carousel {
    position: relative;
    height: 60px;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
}

.quote-item {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    opacity: 0;
    transition: opacity 1s ease;
}

.quote-item.active {
    opacity: 1;
}

.hero-metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease 1.8s forwards;
}

.metric {
    text-align: center;
}

.metric-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #d4af37;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.68rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Montserrat', sans-serif;
}

.metric-divider {
    width: 1px;
    height: 40px;
    background: rgba(212, 175, 55, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    cursor: pointer;
    opacity: 0;
    animation: fadeIn 1s ease 2s forwards;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, #d4af37, transparent);
    margin: 0 auto 0.5rem;
    animation: scrollLinePulse 2s ease-in-out infinite;
}

@keyframes scrollLinePulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.5);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

.scroll-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== FILTER NAVIGATION ===== */
.gallery-filter-nav {
    position: sticky;
    top: 80px;
    z-index: 99;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding: 1.5rem 0;
}

.filter-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.filter-container::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    flex-shrink: 0;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 0;
    padding: 0.9rem 1.8rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.filter-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #d4af37;
    line-height: 1;
}

.filter-name {
    font-size: 0.68rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Montserrat', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.05);
}

.filter-btn.active .filter-name {
    color: #d4af37;
}

/* ===== GALLERY MASONRY ===== */
.gallery-main {
    min-height: 100vh;
    padding: 4rem 0;
    background: #0a0a0a;
}

.gallery-masonry {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 3rem;
    columns: 3;
    column-gap: 1.5rem;
}

.gallery-item {
    position: relative;
    break-inside: avoid;
    margin-bottom: 1.5rem;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(40px);
}

.gallery-item.reveal {
    animation: itemReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes itemReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gallery images - natural sizing */
.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: grayscale(0.1) contrast(1.04);
}

.gallery-item:hover img {
    transform: scale(1.08) translateX(-4px);
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 10, 0.95) 100%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .item-overlay {
    opacity: 1;
}

.item-category {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #d4af37;
    margin-bottom: 0.3rem;
}

.item-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.item-description {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.gallery-loader {
    text-align: center;
    padding: 6rem 0;
}

.loader-ring {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-top-color: #d4af37;
    border-radius: 50%;
    margin: 0 auto 2rem;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.98);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close span {
    position: absolute;
    width: 20px;
    height: 1px;
    background: #d4af37;
}

.lightbox-close span:nth-child(1) {
    transform: rotate(45deg);
}

.lightbox-close span:nth-child(2) {
    transform: rotate(-45deg);
}

.lightbox-close:hover {
    border-color: #d4af37;
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 10001;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #d4af37;
    color: #d4af37;
}

.lightbox-prev {
    left: 3rem;
}

.lightbox-next {
    right: 3rem;
}

.lightbox-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 4rem;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-sidebar {
    width: 380px;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(20px);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid rgba(212, 175, 55, 0.1);
}

.meta-category {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #d4af37;
    margin-bottom: 1rem;
}

.meta-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #fff;
}

.meta-description {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.meta-counter {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

#metaCurrent {
    color: #d4af37;
    font-size: 1.4rem;
}

.counter-divider {
    margin: 0 0.5rem;
}

/* ===== CTA ===== */
.cta-section {
    padding: 8rem 3rem;
    text-align: center;
    background: linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.cta-content {
    max-width: 780px;
    margin: 0 auto;
}

.cta-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #d4af37;
    margin-bottom: 1.5rem;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #fff;
}

.cta-emphasis {
    color: #d4af37;
    font-style: italic;
}

.cta-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1.2rem 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border-radius: 0;
}

.cta-btn-primary {
    background: #d4af37;
    color: #0a0a0a;
    border: 1px solid #d4af37;
}

.cta-btn-primary:hover {
    background: transparent;
    color: #d4af37;
}

.cta-btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.cta-btn-outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.cta-btn-outline:hover {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.05);
}


/* ===== VIDEOS SECTION ===== */
.videos-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #111 30%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.videos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
}

.videos-section .section-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 600px;
    margin: 1rem auto 0;
    line-height: 1.7;
}

.videos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

.video-card {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.1);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    text-decoration: none;
    display: block;
    color: inherit;
}

.video-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.video-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.1);
}

.video-card-featured {
    grid-column: 1 / -1;
}

.video-thumb-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-thumb-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
    filter: brightness(0.75);
}

.video-card:hover .video-thumb-wrapper img {
    transform: scale(1.05);
    filter: brightness(0.5);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 68px;
    height: 48px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.85;
}

.video-card:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
}

.video-play-btn svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(10, 10, 10, 0.85);
    color: #d4af37;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.4rem 0.8rem;
    z-index: 2;
    border: 1px solid rgba(212, 175, 55, 0.3);
}


.video-info {
    padding: 1.5rem 2rem;
}

.video-badge {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #0a0a0a;
    background: #d4af37;
    padding: 0.3rem 0.8rem;
    margin-bottom: 0.8rem;
}

.video-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0.3rem;
}

.video-type {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(212, 175, 55, 0.7);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .gallery-masonry {
        columns: 2;
    }

    .lightbox-sidebar {
        width: 320px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }

    .hero-metrics {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .metric-divider {
        display: none;
    }

    .gallery-masonry {
        columns: 2;
        column-gap: 1rem;
        padding: 0 1.5rem;
    }

    .lightbox-stage {
        padding: 4rem 2rem;
    }

    .lightbox-sidebar {
        display: none;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .video-card-featured {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding-top: 100px;
    }

    .gallery-filter-nav {
        top: 68px;
    }

    .filter-container {
        padding: 0 1rem;
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.7rem 1.2rem;
    }

    .filter-number {
        font-size: 1.1rem;
    }

    .filter-name {
        font-size: 0.6rem;
    }

    .gallery-masonry {
        columns: 1;
        padding: 0 1rem;
    }

    .gallery-item {
        margin-bottom: 1rem;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
    }

    .lightbox-prev {
        left: 0.8rem;
    }

    .lightbox-next {
        right: 0.8rem;
    }

    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .lightbox-stage {
        padding: 4rem 1rem;
    }

    .cta-section {
        padding: 4rem 1.5rem;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-btn {
        justify-content: center;
    }

    .audio-toggle {
        bottom: 1.2rem;
        right: 1.2rem;
        width: 44px;
        height: 44px;
    }

    .videos-section {
        padding: 4rem 1.5rem;
    }

    .videos-grid {
        gap: 1.5rem;
    }

    .video-info {
        padding: 1rem 1.2rem;
    }

    .video-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-metrics {
        flex-direction: column;
        gap: 1rem;
    }

    .metric-number {
        font-size: 2rem;
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 3rem);
    }
}