:root {
    --primary-color: #D2CEC3;
    --left-padding: 26px;
    --home-list-type: 29px;
    --grid-bar-height: 60px;
    --grid-bar-caps: 13px;
    --preco-font-size: 20px;

    @media (max-width: 1440px) {
        --home-list-type: 24px;
        --grid-bar-height: 50px;
        --left-padding: 18px;
        --grid-bar-caps: 12px;
        --preco-font-size: 16px;
    }

    @media (max-width: 768px) {
        --home-list-type: 22px;
        --grid-bar-height: 50px;
        --left-padding: 18px;
    }
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

body {
    font-family: 'Geist', sans-serif;
    background-color: var(--primary-color);
}

main,
.internal {
    display: flex;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-color);
}

.left {
    display: block;
    position: relative;
    width: 50%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.caps {
    text-transform: uppercase;
    font-size: var(--grid-bar-caps);
    font-weight: 600;
}

.subtitle {
    height: var(--grid-bar-height);
    text-transform: uppercase;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
    width: 100%;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.subtitle h2 {
    animation: slideDown 0.6s ease-out forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

h2 {
    padding-left: var(--left-padding);
    text-transform: uppercase;
    width: 100%;
}

.title {
    width: 100%;
    flex-grow: 1;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
    display: flex;
    align-items: center;
}

.title h1 {
    animation: slideDown 0.6s ease-out forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

h1 {
    padding-left: var(--left-padding);
    font-size: 102px;
    font-weight: 500;
}

.fale-container {
    width: 100%;
    height: var(--grid-bar-height);
    display: flex;
    align-items: center;
    border-right: 1px solid #000;
}


.fale-container:hover {
    background-color: #000;
    color: var(--primary-color);
    cursor: pointer;
}

.fale-container .fale {
    font-size: 14px;
    padding-left: 26px;
    font-weight: 600;
    animation: slideDown 0.6s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}


.right {
    display: flex;
    flex-direction: column;
    width: 50%;
    min-height: 100vh;
    height: auto;
    font-weight: 500;
    font-size: var(--home-list-type);
}

.category {
    width: 100%;
    min-height: var(--grid-bar-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid #000;
}

.category:first-of-type p {
    animation: slideDown 0.6s ease-out forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.category:nth-of-type(2) p {
    animation: slideDown 0.6s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.category p {
    padding-left: var(--left-padding);
}

.objects {
    list-style: "+ ";
    padding: 14px 0;
    border-bottom: 1px solid #000;
}

#outros {
    flex-grow: 1;
}

.year {
    width: 100%;
    min-height: var(--grid-bar-height);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.year p {
    animation: slideDown 0.6s ease-out forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.objects li {
    padding: 5px 0 5px 0;
    margin-right: var(--left-padding);
    margin-left: calc(var(--left-padding)*2);
    line-height: 1.0;
    display: list-item;
    list-style-position: outside;
    transition: all 0.2s ease-in-out;
}

.objects li:not(.sold):hover {
    padding-left: 10px;
    cursor: pointer;
}

.sold {
    color: #9A9587;
    cursor: default;
}

.objects li::marker {
    content: "+ ";
}



.year p {
    padding-right: var(--left-padding);
}

.fale-mobile {
    display: none;
    width: 100%;
    height: var(--grid-bar-height);
    align-items: center;
    justify-content: center;
    border-top: 1px solid #000;
    background-color: #000;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
}




/*INTERNAL*/

.internal {
    display: none;
    position: absolute;
    top: 0;
    left: 0;

}

.back-bar {
    min-height: var(--grid-bar-height);
    text-transform: uppercase;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
    width: 100%;
    font-weight: 700;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.1s ease-in-out;
}

.back-bar:hover {
    background-color: #000;
    color: var(--primary-color);
}

.back-bar:hover .back path {
    fill: var(--primary-color);
}

.back-bar .fale {
    display: none;
}

.back {
    margin-left: var(--left-padding);
    transition: all 0.2s ease-in-out;
}

.back path {
    transition: fill 0.2s ease-in-out;
}

.internal-falar {
    font-size: var(--grid-bar-caps);
    font-weight: 600;
}

.photos {
    width: 100%;
    flex-grow: 1;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    overflow: hidden;
    background-color: #000;
    position: relative;
    height: 100%;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease-out;
    animation: slideDown 0.6s ease-out forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.slide {
    width: 50vw;
    flex-shrink: 0;
    height: 100%;
    overflow: hidden;
    position: relative;
    left: 0;
    transition: left 0.4s ease-out;
}

.slide img {
    width: 101%;
    height: 101%;
    object-fit: cover;
}


.photo-nav {
    width: 100%;
    min-height: var(--grid-bar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-right: 1px solid #000;
    font-size: var(--grid-bar-caps);
}

.anterior {
    margin-left: var(--left-padding);
    animation: slideDown 0.6s ease-out forwards;
    animation-delay: 0.2s;
    opacity: 0;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.anterior:hover {
    transform: translateX(-3px);
}

.proximo {
    margin-right: var(--left-padding);
    animation: slideDown 0.6s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.proximo:hover {
    transform: translateX(3px);
}

.dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #000;
    opacity: 0.3;
    transition: opacity 0.3s ease-in-out;
}

.dot.active {
    opacity: 1;
}

.internal-falar {
    width: 100%;
    min-height: var(--grid-bar-height);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-bottom: 1px solid #000;
    transition: all 0.1s ease-in-out;
}

.internal-falar:hover {
    background-color: #000;
    color: var(--primary-color);
    cursor: pointer;
}

.internal-falar p {
    padding-right: var(--left-padding);
    animation: slideDown 0.6s ease-out forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.details {
    flex-grow: 1;
    border-bottom: 1px solid #000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.details-category-title {
    display: flex;
    flex-direction: column;
    padding-top: 90px;
}

.details-category {
    animation: slideDown 0.6s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.details p {
    margin-left: var(--left-padding);
}

.details-title {
    font-size: 44px;
    font-weight: 600;
    line-height: 1;
    padding-top: 2px;
    width: 80%;
    animation: slideDown 0.6s ease-out forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.details-desc {
    justify-self: flex-end;
    font-size: 18px;
    line-height: 24px;
    width: 40%;
    padding-bottom: 32px;
    font-weight: 400;
    animation: slideDown 0.6s ease-out forwards;
    animation-delay: 0.7s;
    opacity: 0;
}

.usado-novo {
    width: 100%;
    min-height: var(--grid-bar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.usado-novo .preco {
    margin-left: var(--left-padding);
    font-size: var(--preco-font-size);
    font-weight: 400;
    animation: slideDown 0.6s ease-out forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.usado-novo p:last-child {
    animation: slideDown 0.6s ease-out forwards;
    animation-delay: 0.9s;
    opacity: 0;
}

.usado-novo p {
    margin-right: var(--left-padding);
}

/* Responsive Styles */

@media (max-width: 800px) {
    main .left {
        display: none;
    }

    main .right {
        width: 100%;
    }

    #outros {
        flex-grow: 1;
        padding-bottom: 200px;
    }

    .year {
        display: none;
    }

    .fale-mobile {
        display: flex;
        position: fixed;
        bottom: 0;
    }

    .internal {
        flex-direction: column;
    }

    .internal .left {
        width: 100%;
        min-height: 70%;
    }

    .internal .right {
        width: 100%;
        min-height: auto;
    }

    .slide {
        width: 100%;
    }

    .internal-falar {
        display: none;
    }

    .photo-nav {
        min-height: 30px;
    }

    .internal .photo-nav p {
        display: none !important;
    }

    .internal .photo-nav {
        justify-content: center;
    }




    .details-category-title {
        padding-top: 20px;

    }


    .details-category {
        font-size: 11px;
        padding-left: 1px;
    }

    .details-title {
        font-size: 26px;
        padding-bottom: 60px;
    }

    .details-desc {
        font-size: 16px;
        width: 80%;
        line-height: 22px;
    }

    .usado-novo {
        padding-bottom: 6px;
    }

    .back-bar {
        justify-content: space-between;
    }

    .back-bar .fale {
        display: block;
        margin-right: var(--left-padding);
        text-transform: lowercase;
        font-size: 14px;
    }
}