body {
    padding: 0;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    position: relative;
    padding-top: 100px;
    box-sizing: border-box;
    overflow-x: hidden;
    background-color: #0a0a0a;
    color: #ffffff;
}

body::before,
body::after {
    content: '';
    position: fixed;
    top: 0;
    width: 1px;
    height: 100vh;
    z-index: 500;
    pointer-events: none;
}

iframe {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    border: none;
    z-index: -1;
    pointer-events: none;
    opacity: 0.85;
    filter: blur(15px);
    transform: scale(1.06);
}

header {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 15, 15, 0);
    backdrop-filter: blur(12px);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 112, 138, 0);
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

header img {
    width: 60px;    
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

header img:hover {
    transform: scale(1.05);
}

header h1 {
    color: #ffffff;
    margin: 0;
    font-family: "SN Pro", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: bold;
    letter-spacing: 1px;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav a {
    color: #cccccc;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #ffffff;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
    box-shadow: 0 0 8px #ffffff;
}

nav a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 112, 139, 0.6);
}

nav a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }

    nav {
        width: 100%;
        justify-content: center;
        gap: 15px;
    }
    
    body {
        padding-top: 160px;
    }
}

.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(8, 8, 8, 0.92);
    z-index: 2000;
    padding: 20px;
}

.lightbox.open {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: min(100%, 1000px);
    max-width: 960px;
    background: rgba(12, 12, 12, 0.98);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
    border-radius: 18px;
    overflow: hidden;
}

.lightbox-close {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.68);
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 4;
    backdrop-filter: blur(8px);
}

.lightbox-media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 360px;
    background: #090909;
}

.lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.lightbox-download {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(0, 0, 0, 0.68);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    color: #ffffff;
    text-decoration: none;
    z-index: 3;
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, background 0.25s ease;
}

.lightbox-download:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.lightbox-download svg {
    width: 22px;
    height: 22px;
    display: block;
}

.lightbox-caption {
    padding: 24px 28px 24px;
    color: #f5f5f5;
    background: rgba(6, 6, 6, 0.98);
}

.lightbox-title {
    margin: 0 0 10px;
    font-size: 22px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-family: "SN Pro", sans-serif;
    font-weight: 600;
}

.lightbox-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #d1d1d1;
}

.gallery-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px 40px;
    box-sizing: border-box;
}
.folder-section {
    width: min(100%, 950px);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 18px;
}
.gallery-folder {
    width: 100%;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}
.folder-toggle {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 15, 15, 0.92);
    color: #fff;
    cursor: pointer;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 14px;
    font-family: "SN Pro", sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.folder-toggle:hover {
    background: rgba(255, 0, 0, 0.15);
    border-color: rgba(255, 60, 60, 0.8);
}
.folder-arrow {
    font-size: 22px;
    transition: transform 0.25s ease;
}
.folder-note {
    margin: 0;
    color: #ccc;
    font-size: 13px;
    line-height: 1.6;
    max-width: 950px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
    align-items: start;
    transition: max-height 0.35s ease, opacity 0.35s ease;
    overflow: hidden;
}
.gallery-grid.collapsed {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}
.gallery-grid:not(.collapsed) {
    max-height: 10000px;
    opacity: 1;
    pointer-events: auto;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
}
.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.18), 0 20px 60px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 60, 60, 0.8);
}
.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
    background: sweep-gradient(45deg, rgba(255, 112, 138, 0.1), rgba(255, 112, 138, 0.2), rgba(255, 112, 138, 0.1));

}

.photo-description {
    padding: 18px 18px 22px;
    box-sizing: border-box;
    color: #f2f2f2;
    font-family: "SN Pro", sans-serif;
    background: rgba(10, 10, 10, 0.95);
}
.photo-description h3 {
    margin: 0 0 8px;
    font-size: 18px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-weight: 600;
}
.photo-description p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #d8d8d8;
}
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item img {
        height: 200px;
    }

    .photo-description {
        padding: 14px;
    }

    .gallery-container {
        padding: 20px 16px 40px;
    }

    .folder-toggle {
        padding: 14px 16px;
        font-size: 16px;
    }

    .lightbox-content {
        border-radius: 12px;
    }

    .lightbox .side-arrow {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .lightbox .thumbs-wrap {
        padding: 12px 12px 16px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery-item img {
        height: 180px;
    }

    .gallery-container h2 {
        font-size: clamp(18px, 6vw, 24px);
        white-space: normal;
        line-height: 1.2;
        margin-bottom: 20px;
        text-align: center;
    }

    .folder-toggle {
        font-size: 13px;
        align-items: flex-start;
        gap: 8px;
        text-align: left;
    }

    .folder-title {
        flex: 1;
    }

    .lightbox {
        padding: 10px;
    }

    .lightbox-media {
        min-height: 280px;
    }

    .lightbox-caption {
        padding: 16px 16px 20px;
    }

    .lightbox-title {
        font-size: 16px;
    }

    .lightbox-text {
        font-size: 13px;
    }

    .lightbox-close {
        top: 10px;
        left: 10px;
        width: 38px;
        height: 38px;
        font-size: 24px;
    }

    .lightbox-download {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }

    .lightbox-download svg {
        width: 18px;
        height: 18px;
    }
}

.lightbox .thumbs-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px 20px;
    background: rgba(8,8,8,0.98);
}
.thumbs-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
}
.thumbs-track {
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease;
}
.thumb {
    flex: 0 0 auto;
    width: 84px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
}
.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.thumb.active {
    border-color: rgba(255,255,255,0.12);
}
.thumb-nav {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.06);
    color: #fff;
    cursor: pointer;
}


.lightbox .side-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}
.lightbox .side-arrow.left { left: 12px; }
.lightbox .side-arrow.right { right: 12px; }

@media (min-width: 1200px) {
    .gallery-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 900px) and (max-width: 1199px) {
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 600px) and (max-width: 899px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

.gallery-container h2{
    color: #ffffff;
    margin-bottom: 50px;
    font-family: "SN Pro", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: bold;
    letter-spacing: 1px;
    font-size: 30px;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}