:root {
    --photo-width: 80vw;
    --photo-height: 75vh;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Alineación superior: Nombre a la izquierda */
.brand-name {
    position: fixed;
    top: 24px;
    left: 24px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: #000000;
    z-index: 200;
}

/* Alineación superior: Enlace CONTACT a la derecha */
#contacto {
    position: fixed;
    top: 24px;
    right: 24px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: #000000;
    text-decoration: none;
    z-index: 200;
}

/* Centrado absoluto de la foto principal */
main {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.carousel-track {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery_card {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery_card_image {
    width: var(--photo-width);
    height: var(--photo-height);
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    cursor: pointer;
}

@media (max-width: 600px) {
    :root {
        --photo-width: 85vw;
        --photo-height: 70vh;
    }
    
    .brand-name, #contacto {
        top: 20px;
        font-size: 0.85rem;
    }
}