/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #050608;
    color: #fff;
    line-height: 1.6;
    margin: 0;
}

main {
    margin: 0;
    padding: 0;
}

/* Header Styles - Dark background */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.85) 100%
    );
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    position: relative;
}

.nav-logo {
    flex: 1;
    display: flex;
}

.nav-logo a {
    display: flex;
    text-decoration: none;
}

.nav-logo img {
    height: 45px;
    width: auto;
}

.main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    position: relative;
    transition: all 0.2s ease;
    padding-bottom: 0.25rem;
}

.main-nav a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #FCC300;
    transition: width 0.2s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
}

.nav-cta {
    display: inline-flex;
    padding: 0.65rem 1.2rem;
    background: transparent;
    color: #FCC300;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid #FCC300;
    box-shadow: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-cta:hover {
    background: rgba(252, 195, 0, 0.12);
    box-shadow: 0 0 18px rgba(252, 195, 0, 0.25);
}

.nav-cta-mobile {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-close {
    display: none;
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
    line-height: 1;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-close:hover {
    color: #FCC300;
    transform: rotate(90deg);
}

.nav-close[style*="display: none"] {
    display: none !important;
}

.nav-close[style*="display: block"],
.nav-close[style*="display: flex"] {
    display: flex !important;
}

/* Hero Section */
.gallery-hero {
    background: #050608;
    padding: 8rem 2rem 3rem;
    text-align: center;
    position: relative;
}

.gallery-hero__content {
    max-width: 800px;
    margin: 0 auto;
}

.gallery-hero__title {
    font-family: "Georgia", serif;
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    font-weight: 400;
    color: #fff;
}

.gallery-hero__subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.7;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

/* Gallery Section - Dark Background */
.gallery-section {
    background: #050608;
    color: #fff;
    padding: 1rem 2rem 4rem;
    min-height: 60vh;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto 4rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.3s ease;
}

.gallery-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.gallery-item__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-item__image {
    transform: scale(1.05);
}

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover .gallery-item__overlay {
    background: rgba(0, 0, 0, 0.3);
}

.gallery-item__icon {
    font-size: 2rem;
    color: #fff;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-item__icon {
    opacity: 1;
    transform: scale(1);
}

/* Fallback for missing images */
.gallery-item__image {
    background: rgba(255, 255, 255, 0.05);
}

.gallery-item__image[src=""],
.gallery-item__image[src*="undefined"],
.gallery-item__image[src*="null"] {
    background: rgba(255, 255, 255, 0.05);
    opacity: 0.3;
}

/* CTA */
.gallery-cta {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding-top: 2rem;
}

.gallery-cta__text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.gallery-cta__button {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.gallery-cta__button:hover {
    background: #FCC300;
    border-color: #FCC300;
    color: #000;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.lightbox__content {
    position: relative;
    z-index: 10001;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__image {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox__close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10002;
    padding: 0;
}

.lightbox__close:hover {
    background: rgba(252, 195, 0, 0.2);
    border-color: #FCC300;
    color: #FCC300;
    transform: rotate(90deg);
}

.lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10002;
    padding: 0;
}

.lightbox__arrow:hover {
    background: rgba(252, 195, 0, 0.2);
    border-color: #FCC300;
    color: #FCC300;
}

.lightbox__arrow--prev {
    left: 2rem;
}

.lightbox__arrow--next {
    right: 2rem;
}

/* Footer */
.site-footer {
    position: relative;
    overflow: hidden;
    background: #050608;
    padding: 5rem 2rem 3rem;
    color: #fff;
}

#footer-stars {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Fade overlay */
.site-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(5, 6, 8, 1) 0%,
        rgba(5, 6, 8, 0.85) 15%,
        rgba(5, 6, 8, 0.4) 35%,
        rgba(5, 6, 8, 0) 60%
    );
}

.site-footer__inner {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__column {
    display: flex;
    flex-direction: column;
}

.site-footer__toggle {
    display: none;
}

.site-footer__content {
    display: block;
    max-height: none;
    overflow: visible;
    padding: 0;
}

.site-footer__heading {
    font-family: "Georgia", serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    font-weight: 400;
    color: #fff;
}

.site-footer__brand-name {
    font-family: "Georgia", serif;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: #FCC300;
    margin-bottom: 1rem;
}

.site-footer__text {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
}

.site-footer__text strong {
    color: #fff;
    font-weight: 500;
}

.site-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__links li {
    margin-bottom: 0.75rem;
}

.site-footer__links a,
.site-footer__contact a,
.site-footer__text a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.site-footer__links a:hover,
.site-footer__contact a:hover,
.site-footer__text a:hover {
    color: #FCC300;
}

.site-footer__contact {
    display: flex;
    flex-direction: column;
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 2rem;
}

.site-footer__disclaimer {
    flex: 1;
    min-width: 300px;
}

.site-footer__copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.site-footer__disclaimer-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.site-footer__social {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.site-footer__social-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.site-footer__social-link:hover {
    color: #FCC300;
}

.site-footer__back-to-top {
    display: flex;
    align-items: center;
}

.site-footer__back-to-top-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.site-footer__back-to-top-link:hover {
    color: #FCC300;
}

.site-footer__chevron {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
    transform: rotate(0deg);
}

.site-footer__toggle[aria-expanded="true"] .site-footer__chevron {
    transform: rotate(90deg);
    color: #FCC300;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__social {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }

    .nav-right .nav-cta {
        display: none;
    }

    .main-nav {
        position: fixed !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        left: 0 !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 3000;
        padding: 0;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-100%);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    }

    .main-nav--open {
        opacity: 1;
        visibility: visible;
        transform: translateX(0) !important;
    }

    .main-nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        text-align: center;
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 300px;
    }

    .main-nav ul li {
        list-style: none;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .main-nav a {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
        text-decoration: none;
        text-align: center;
        display: block;
        width: 100%;
    }

    .main-nav a::after {
        display: none;
    }

    .nav-cta-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav .nav-cta-mobile .nav-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.9rem 1.6rem;
        background: transparent;
        color: #FCC300;
        border: 1px solid #FCC300;
        border-radius: 999px;
        font-size: 0.9rem;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        text-decoration: none;
        text-align: center;
        transition: all 0.3s ease;
        width: auto;
        margin: 0 auto;
    }

    .main-nav .nav-cta-mobile .nav-cta:hover {
        background: rgba(252, 195, 0, 0.12);
        box-shadow: 0 0 18px rgba(252, 195, 0, 0.25);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-close {
        position: fixed;
        top: 2rem;
        right: 2rem;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        color: #fff;
        font-size: 2.5rem;
        line-height: 1;
        cursor: pointer;
        z-index: 3001;
        display: none;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .main-nav--open .nav-close {
        display: flex !important;
    }

    .gallery-hero {
        padding: 6rem 1.5rem 2rem;
    }

    .gallery-hero__title {
        font-size: 2.5rem;
    }

    .gallery-hero__subtitle {
        font-size: 1rem;
    }

    .gallery-section {
        padding: 1rem 1.5rem 3rem;
    }

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

    .lightbox__arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .lightbox__arrow--prev {
        left: 1rem;
    }

    .lightbox__arrow--next {
        right: 1rem;
    }

    .lightbox__close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .site-footer {
        padding: 2.5rem 1.5rem 1.5rem;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .site-footer__column {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .site-footer__column:last-child {
        border-bottom: none;
    }

    .site-footer__toggle {
        display: flex;
    }

    .site-footer__content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0;
        display: block;
    }

    .site-footer__toggle[aria-expanded="true"] + .site-footer__content {
        max-height: 500px;
        padding: 0 0 1rem 0;
    }

    .site-footer__heading {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .site-footer__brand-name {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .site-footer__text {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .site-footer__links {
        padding-top: 0.5rem;
    }

    .site-footer__links li {
        margin-bottom: 0.5rem;
    }

    .site-footer__links a,
    .site-footer__contact a,
    .site-footer__text a {
        font-size: 0.8rem;
        padding: 0.25rem 0;
    }

    .site-footer__contact {
        padding-top: 0.5rem;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding-top: 1rem;
    }

    .site-footer__disclaimer {
        min-width: 100%;
        order: 3;
    }

    .site-footer__copyright {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
    }

    .site-footer__disclaimer-text {
        font-size: 0.7rem;
        line-height: 1.4;
    }

    .site-footer__social {
        flex-wrap: wrap;
        gap: 1rem;
        order: 1;
    }

    .site-footer__social-link {
        font-size: 0.75rem;
    }

    .site-footer__back-to-top {
        order: 2;
    }

    .site-footer__back-to-top-link {
        font-size: 0.75rem;
    }

    #footer-stars {
        opacity: 0.4;
    }
}

/* ============================================
   LOADING SCREEN
   ============================================ */

.page-loader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: #050608;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader__stars {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.loader__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.loader__logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader__logo {
    height: 78px;
    width: auto;
    filter: drop-shadow(0 0 25px rgba(252, 195, 0, 0.6)) 
            drop-shadow(0 0 50px rgba(252, 195, 0, 0.3))
            drop-shadow(0 0 80px rgba(252, 195, 0, 0.15));
    animation: loaderGlow 2s ease-in-out infinite;
}

@keyframes loaderGlow {
    0%, 100% {
        filter: drop-shadow(0 0 25px rgba(252, 195, 0, 0.6)) 
                drop-shadow(0 0 50px rgba(252, 195, 0, 0.3))
                drop-shadow(0 0 80px rgba(252, 195, 0, 0.15));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 35px rgba(252, 195, 0, 0.8)) 
                drop-shadow(0 0 70px rgba(252, 195, 0, 0.5))
                drop-shadow(0 0 100px rgba(252, 195, 0, 0.25));
        transform: scale(1.02);
    }
}

@media (prefers-reduced-motion: reduce) {
    .loader__logo {
        animation: none;
        filter: drop-shadow(0 0 25px rgba(252, 195, 0, 0.7)) 
                drop-shadow(0 0 50px rgba(252, 195, 0, 0.4));
    }
}

.loader__progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 280px;
}

.loader__progress-bar {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.loader__progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #FCC300 0%, rgba(252, 195, 0, 0.8) 100%);
    border-radius: 999px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(252, 195, 0, 0.5);
}

.loader__text {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    margin: 0;
}

@media (max-width: 768px) {
    .loader__logo {
        height: 65px;
    }

    .loader__progress {
        width: 240px;
    }

    .loader__text {
        font-size: 0.7rem;
    }
}

