/*
Theme Name: Casa
Template: reland
Version: 1.0.0
*/

.project-item .project-thumb {
    margin-bottom: 15px;
}
.project-content .title {
    margin-bottom:4px;
}

.project-thumb {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 14px;
}

.project-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;

    display: inline-block;
    padding: 7px 13px;

    background: #fff;
    color: #111;

    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    border-radius: 3px;
}
.project-item {
    text-align:left;
}

.project-content span {
    text-transform: none;
    text-align:left;
}

.meta-sub {
    text-transform: initial;
}

.project-desc-short .elementor-shortcode p {
    margin-bottom: 0;
}

.tax-project-cat .inner-project-area {
    padding-bottom: 60px;
}


/* Project gallery - keep all slider images uniform */
.project-gallery-area .reland-gallery-item {
    overflow: hidden;
}

.project-gallery-area .reland-gallery-item img.image-height-class {
    width: 100%;
    height: 650px !important;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 1199px) {
    .project-gallery-area .reland-gallery-item img.image-height-class {
        height: 520px !important;
    }
}

@media (max-width: 767px) {
    .project-gallery-area .reland-gallery-item img.image-height-class {
        height: 340px !important;
    }
}


/* Mobile floating contact CTA */

.casa-mobile-contact {
    display: none;
}

@media (max-width: 767px) {

    .casa-mobile-contact {
        display: block;
        position: fixed;
        right: 18px;
        bottom: 48px;
        z-index: 9999;
    }

    .casa-contact-toggle {
        width: 56px;
        height: 56px;
        padding: 0;
        border: 0;
        border-radius: 50%;

        display: flex;
        align-items: center;
        justify-content: center;

        background: #c99a50;
        color: #fff;

        font-size: 20px;
        cursor: pointer;

        box-shadow: 0 5px 20px rgba(0, 0, 0, .22);

        transition:
            transform .2s ease,
            background-color .2s ease;
    }

    .casa-contact-toggle i {
        transition: transform .25s ease;
    }

    .casa-mobile-contact.is-open .casa-contact-toggle i {
        transform: rotate(135deg);
    }

    .casa-mobile-contact-actions {
        position: absolute;
        right: 0;
        bottom: 68px;

        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 9px;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(10px);

        transition:
            opacity .2s ease,
            transform .2s ease,
            visibility .2s ease;
    }

    .casa-mobile-contact.is-open .casa-mobile-contact-actions {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .casa-contact-action {
        min-width: 118px;
        height: 44px;
        padding: 0 15px;

        display: flex;
        align-items: center;
        gap: 10px;

        border-radius: 22px;

        background: #fff;
        color: #222;

        font-size: 14px;
        font-weight: 600;
        text-decoration: none;

        box-shadow: 0 4px 16px rgba(0, 0, 0, .16);
    }

    .casa-contact-action i {
        width: 18px;
        color: #c99a50;
        font-size: 16px;
        text-align: center;
    }

    .casa-contact-action:hover,
    .casa-contact-action:focus {
        color: #222;
    }
}

@media (max-width: 767px) {
    .project-meta-year {
        flex-basis:100% !important;
        max-width:100% !important;
        width: auto !important;
    }
}

@media (max-width: 767px) {
    .mobile-menu .main-logo img {
        max-width: 200px;
        height: auto;
    }

    .mobile-menu-logo {
        padding-right: 45px;
    }
}