/* Prevent scrolling while loading */
body.loading {
  overflow: hidden;
}

/* Loader overlay */
#loader {
  position: fixed;
  inset: 0;
  background: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s ease;
}

/* Percentage text */
#loader-percent {
  font-size: 3rem;
  font-weight: 300;
  color: #fff;
  font-family: system-ui, sans-serif;
  letter-spacing: 2px;
}

/* Hide content initially */
#content {
  visibility: hidden;
}
/*---------------------------------- */
html, body {
    margin: 0;
    padding: 0;
    background-color: #1b1b1b;
    color: #ffffff;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    overflow-x: hidden;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}
a {
    color: #ffffff;
    text-decoration: none;
}
nav a {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}
nav a.active {
    opacity: 1;                      
}
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: center;
    font-size: 0.7em;
    padding: 1rem 0;
}
/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.hero h1, .hero p {
    display: flex;
    position: absolute;
    z-index: 999;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}
.hero h1 {
    top: 40%;
    font-size: 3em;
}
.hero p {
    top: 50%;
}
@media (max-width: 450px){
    .hero h1{
        font-size: calc(100vw / 10)
    }
}
.hero img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero img.active {
    opacity: 1;
}

/* Optional: Add navigation dots */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-dot.active {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

.hero-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.horizontal-scroll {
    height: 100vh;
    position: relative;
}
.image-container {
    position: relative;
    width: 35vmin;
    height: 50vmin;
    flex-shrink: 0;
    overflow: hidden;
}

.image-container .image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 90% 50%;
}
.image-container .caption {
    position: absolute;
    bottom: 5%;
    left: 5%;
    color: #ffffff;
    font-size: 1em;
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: rgba(0,0,0,0.5);
    padding: 0.3em 0.5em;
    border-radius: 3px;
    pointer-events: none;
}

.image-container:hover .caption {
    opacity: 1;
}

#imageTrack {
    display: flex;
    gap: 2.5vmin;
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translate(-7%, -55%);
    will-change: transform;
}


@media (max-width:700px){
    .image-container{
        height: 30vh;
        width: 40vw;
    }
    .image-container .image{
        object-position: 75% center;
    }
}

.mySVG {
    color: #ffffff;
    width: 50px;
    height: 50px;
    position: relative;
    bottom: 20vh;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 5;
}

/* Prints Section */
.prints {
    min-height: var(--viewport-height);
    padding: 6rem var(--prints-padding-horizontal) 4rem;
    background-color: var(--color-background);
    margin-top: 50px;
}
.prints-header {
    text-align: center;
    margin-bottom: 4rem;
}
.prints-header h2 {
    font-size: 2.2em;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
}
.prints-header p {
    font-size: 1.2em;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}
.prints-grid-1 {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}
@media(max-width: 1100px) {
    .prints-grid-1 {
        grid-template-columns: repeat(2, 1fr);
        }
    }
    @media(max-width: 600px) {
    .prints-grid-1 {
        grid-template-columns: 1fr;
        }
    }
.print-card {
    position: relative;
    overflow: hidden;
    background-color: #1a1a1a;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
}
.print-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}
.print-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 133.33%;
    overflow: hidden;
    background-color: #000;
}
.print-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.print-card:hover .print-image {
    transform: scale(1.05);
}
.print-title-wrapper {
    padding: 1.5rem;
    text-align: center;
}
.print-title {
    font-size: 1.3em;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 0;
}
footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    background-color: #111111;
    padding: 1rem;
    border-top: 1px solid #333;
    margin-top: 25px;
}
footer p, footer a{
    line-height: 1;
}

footer p { 
    font-size: 0.8em; 
    margin: 0;
}
footer a { 
    font-size: clamp(1rem, 4vw, 1.5rem);
    font-weight: 600;
}
#wwm {
    font-size: clamp(0.8rem, 2.2vw, 0.9rem)
}
.scroll-spacer {
    height: 100vh;
}
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

#lightbox.active {
  display: flex;
}

#lb-image {
  min-width: 100vw;
  min-height: 100vh;
  object-fit: cover;
}

#lb-close,
#lb-prev,
#lb-next {
  position: absolute;
  background: none;
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
}

#lb-close { top: 20px; right: 30px; }
#lb-prev { left: 30px; }
#lb-next { right: 30px; }
#lb-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: clamp(1.5rem, 4vw, 3rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.3s ease;
  z-index: 2;
}

#lb-title:hover {
  opacity: 1;
}
