@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

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


body {
    padding-top: 95px;
    font-family: "Urbanist", sans-serif;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

body{
    background-size:cover ;
    background-position: center;
    display: flex;
    justify-content: center;
    gap: 10% 0;
    align-items: first baseline;
    min-height: 100vh;
}
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 95px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10%;
    z-index: 100;

}

.site-header nav {
    width: 100%;
    max-width: 850px;
    height: 100%;
    max-height: 75px;
    background: rgb(23, 23, 23);
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1%;
    gap: 0 65px;
    animation: glow 3s linear infinite;
}

.site-header nav a {
    text-decoration: none;
    font-family: "Urbanist";
    color: rgb(243, 243, 243);
    font-size: 1.2rem;
    transition: 0.3s;
}

.site-header nav a:hover {
    width: 100%;
    max-width: 185px;
    height: 100%;
    max-height: 45px;
    border-radius: 30px;
    background: rgb(233, 233, 233);
    color: rgb(23, 23, 23);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.section-onne {
    width: 100%;
    height: auto;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}


.img-logo {
    width: 155px;
    height: 105px;
    margin-top: 1%;
    max-width: 100%;
    display: block;
}


.txt-galeria h1 {
    width: 100%;
    max-width: 800px;
    font-weight: 300;
    font-size: clamp(1.5rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin: 0 auto;
    text-align: center;
    color: #171717;
    padding: 10px;
}

.txt-galeria b {
    font-weight: 700;
}

.galeria-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px 36px;
    margin: 32px auto 24px;
    padding: 0 16px;
}

.filter-btn {
    font-family: "Urbanist", sans-serif;
    font-size: clamp(0.75rem, 1.2vw, 0.95rem);
    font-weight: 500;
    letter-spacing: 0.06em;
    color: #555;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 2px 10px;
    position: relative;
    transition: color 0.2s;
}

.filter-btn:hover {
    color: #171717;
}

.filter-btn.active {
    color: #171717;
}

.filter-btn.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #171717;
    border-radius: 2px;
}

.galeria-albums-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 64px;
}

.galeria-albums-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 28px;
    align-items: start;
}

.galeria-albums-grid[hidden] {
    display: none !important;
}

.album-card {
    display: block;
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: transform 0.25s ease;
}

.album-card:hover {
    transform: translateY(-4px);
}

.album-card-cover {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #eaeaea;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
}

.album-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #1a1a1a;
}

.album-card-title {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #222;
    line-height: 1.35;
    margin-bottom: 8px;
}

.album-card-kind {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 4px;
}

.album-card-loc {
    font-size: 0.78rem;
    color: #888;
}

.album-card-cover img.show {
    animation: fadeIn 1s ease forwards;
}

.body-album-page {
    background: #fff;
    color: #171717;
}

.album-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 20px 80px;
}

.album-back {
    display: inline-block;
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 28px;
    transition: color 0.2s;
}

.album-back:hover {
    color: #171717;
}

.album-hero {
    text-align: center;
    margin-bottom: 36px;
}

.album-hero h1 {
    font-size: clamp(1.25rem, 4vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.3;
    color: #171717;
    margin-bottom: 12px;
}

.album-hero-kind {
    font-size: 0.85rem;
    color: #666;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
}

.album-hero-loc {
    font-size: 0.9rem;
    color: #555;
}

.album-page-msg {
    text-align: center;
    color: #666;
    padding: 2rem;
}

.album-page-msg[hidden] {
    display: none !important;
}

.album-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 100%;
}

.album-stack[hidden] {
    display: none !important;
}

.album-stack img,
.album-stack video {
    width: 100%;
    max-width: min(100%, 1100px);
    margin: 0 auto;
    display: block;
    object-fit: contain;
    background: #f0f0f0;
    cursor: pointer;
    border-radius: 6px;
    transition: opacity 0.2s;
}

.album-stack img:hover,
.album-stack video:hover {
    opacity: 0.92;
}

.album-stack img.show,
.album-stack video.show {
    animation: fadeIn 0.9s ease forwards;
}

.modal-album .modal-img,
.modal-album .modal-video {
    max-width: min(96vw, 1400px);
    max-height: 92vh;
    width: auto;
    height: auto;
}

@media (max-width: 900px) {
    .galeria-albums-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 20px;
    }
}

@media (max-width: 600px) {
    .galeria-albums-grid {
        grid-template-columns: 1fr;
    }

    .galeria-filters {
        gap: 16px 24px;
    }
}


.section-galeria {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: clamp(20px, 5vw, 60px);
}


.galeria-foto,
.galeria-video {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 90%;
    margin: 50px auto;
    gap: 14px;
    align-items: stretch;
}

.galeria-video {
    display: none;
}

.galeria-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1.5rem;
    margin: 0;
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}

.galeria-empty[hidden] {
    display: none !important;
}


.galeria-foto img,
.galeria-video img,
.galeria-foto video,
.galeria-video video {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    background: #1a1a1a;
    transition: 0.3s;
    cursor: pointer;
    border-radius: 6px;
}

.galeria-foto img.show,
.galeria-video img.show,
.galeria-foto video.show,
.galeria-video video.show {
    animation: fadeIn 1.2s ease forwards;
}


.galeria-foto img:hover,
.galeria-video img:hover,
.galeria-foto video:hover,
.galeria-video video:hover {
    transform: scale(1.05);
}


.button-container {
    width: 100%;
    min-height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.btn-galeria-foto,
.btn-galeria-video {
    display: flex;
    justify-content: center;
    align-items: center;
    width: clamp(90px, 20vw, 120px);
    height: clamp(40px, 6vh, 55px);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 25px;
    border: none;
    background: #8d888f;
    color: #171717;
    cursor: pointer;
    transition: all 0.3s ease;
}


.btn-galeria-foto:hover,
.btn-galeria-video:hover {
    transform: scale(1.05);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.modal img,
.modal video {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 35px;
    cursor: pointer;
}

@media (max-width: 450px) {
    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        max-height: 95px;
        background: rgb(233, 233, 233);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 100;

    }

    .site-header nav {
        width: 100%;
        max-width: 750px;
        height: 100%;
        max-height: 60px;
        background: rgb(23, 23, 23);
        border-radius: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        animation: glow 3s linear infinite;
    }

    .site-header nav a {
        text-decoration: none;
        font-family: "Urbanist";
        color: rgb(243, 243, 243);
        font-size: clamp(0.7rem, 1vw + 0.1rem, 1.2rem);
        transition: 0.5s;
    }

    .site-header nav a:hover {
        width: 100%;
        max-width: 100px;
        height: 100%;
        max-height: 40px;
        border-radius: 30px;
        background: rgb(243, 243, 243);
        color: rgb(23, 23, 23);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
    }

    .img-logo {
        display: none;
    }

    .galeria-foto,
    .galeria-video {
        grid-template-columns: 1fr;
        width: 95%;
        margin: 30px auto;
        gap: 12px;
    }

    .galeria-foto img,
    .galeria-video img,
    .galeria-foto video,
    .galeria-video video {
        width: 100%;
        aspect-ratio: 4 / 3;
        height: auto;
        display: block;
        object-fit: cover;
        object-position: center;
        background: #1a1a1a;
        border-radius: 8px;
    }
}
