
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
}

header {
    padding: 2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.98);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 1.2rem;
    font-weight: 300;
}

.menu {
    display: flex;
    gap: 2rem;
}

.menu a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 300;
    transition: opacity 0.3s ease;
}

.menu a:hover {
    opacity: 0.7;
}

.menu a.active {
    font-weight: 400;
}

.gallery {
    margin-top: 100px;
    width: 100%;
}

.gallery-grid {
    columns: 3 300px;
    column-gap: 2px;
    background-color: #000;
    line-height: 0;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 2px;
    position: relative;
    width: 100%;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.gallery-item img:hover {
    opacity: 0.8;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.98);
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

.close {
    position: fixed;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
}

.nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 1rem;
    z-index: 1001;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-btn:hover {
    opacity: 1;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Responsive design */
@media (max-width: 900px) {
    .gallery-grid {
        columns: 2 300px;
        column-gap: 8px;
    }
    
    .gallery-item {
        margin-bottom: 8px;
    }
    
    .gallery {
        padding: 0 8px;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        columns: 1 300px;
        column-gap: 2px;
    }
    
    .gallery-item {
        margin-bottom: 2px;
    }
    
    .gallery {
        padding: 0 2px;
        margin-top: 80px;
    }
    
    header {
        padding: 1rem 0;
    }
    
    nav {
        padding: 0 15px;
    }
    
    .logo {
        margin-left: 2px;
    }
}

/* Selection color */
::selection {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
} 