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

body {
    font-family: "Freight Text Pro Book", serif;
    background-color: rgb(255, 255, 255);
    color: #454545;
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 1000;
    margin-bottom: 40px;
}

.name {
    opacity: 0;
    transform: translateY(-10px);
    animation: logoSlideDown 1s forwards;
    animation-delay: 0.5;
    font-size: 20px;
    font-weight: 200;
    letter-spacing: 1px;
    padding: 10px 0;
    will-change: transform;
}

@keyframes logoSlideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.name a {
    color: #333;
    text-decoration: none;
}

nav a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 200;
    letter-spacing: 0.5px;
    transition: color 0.5s ease;
    padding: 10px 15px;
}

nav a:hover,
nav a.active {
    color: #888;
}

.intro {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFadeIn 1.5s forwards;
    animation-delay: 0.7;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto 30px;
    padding: 0 40px;
    text-align: center;
}

@keyframes slideUpFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro p {
    font-size: 16px;
    color: #454545;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.footer {
    width: 100%;
    max-width: 1800px;
    margin: 50px auto 20px;
    padding: 20px 40px;
    text-align: center;
}

.footer p {
    font-size: 14px;
    color: #454545;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin: 5px 0;
}

.gallery {
    width: 100%;
    max-width: 1800px;
    min-height: 500px;
    margin: 50px auto 0;
    padding: 0 30px 30px;
    column-count: 5;
    column-gap: 15px;
}

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

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

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

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: 90%;
    max-width: 1200px;
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img picture {
    max-width: 100%;
    max-height: 90vh;
}

.lightbox-img img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

.lightbox-nav {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.lightbox-prev,
.lightbox-next {
    color: white;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 5px 10px;
    outline: none;
}

.lightbox-counter {
    color: white;
    font-size: 16px;
    align-self: center;
}

.social-icon {
    width: 16px;
    height: 16px;
}

.about-container {
    max-width: 800px;
    margin: 60px auto 20px;
    padding: 0 30px;
}

.about-content {
    margin-top: 30px;
}

.about-content h1 {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.about-content h2 {
    font-size: 22px;
    font-weight: 300;
    margin: 30px 0 15px;
    letter-spacing: 0.5px;
}

.about-content p {
    margin-bottom: 20px;
    font-weight: 300;
    line-height: 1.8;
}

.about-content a {
    color: #454545;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
    transition: border-color 0.3s ease;
}

.about-content a:hover {
    border-color: #454545;
}

@media (max-width: 1600px) {
    .gallery {
        column-count: 6;
    }
}

@media (max-width: 1300px) {
    .gallery {
        column-count: 5;
    }
}

@media (max-width: 1000px) {
    .gallery {
        column-count: 4;
    }
}

@media (max-width: 768px) {
    .gallery {
        column-count: 3;
    }
    
    .lightbox-content {
        width: 95%;
    }

    .intro p {
        font-size: 14px;
    }
    
    header {
        padding: 20px 30px;
        margin-bottom: 30px;
    }

    .footer {
        margin-top: 40px;
        padding: 15px 30px;
    }

    .footer p {
        font-size: 12px;
    }

    .about-content h1 {
        font-size: 24px;
    }
    
    .about-content h2 {
        font-size: 16px;
    }
    
    .about-content p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .about-container {
        padding: 0 25px;
        margin: 40px auto 20px;
    }
}

@media (max-width: 500px) {
    .gallery {
        column-count: 2;
        padding: 0 15px 15px;
        margin-top: 30px;
    }
    
    header {
        padding: 15px 20px;
        margin-bottom: 20px;
    }

    .intro p {
        font-size: 14px;
    }

    .footer {
        margin-top: 30px;
        padding: 15px 20px;
    }
    
    .footer p {
        font-size: 10px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        padding: 5px;
    }
    
    .about-content h1 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .about-content h2 {
        font-size: 16px;
        margin: 20px 0 10px;
    }
    
    .about-content p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .about-container {
        padding: 0 20px;
        margin: 30px auto 15px;
    }
}
