/* Elospace Custom Styles - Brand Color #f97000 */

/* Override primary color throughout the site */
.main-btn {
    background-color: #f97000;
    border-color: #f97000;
}

.main-btn:hover,
.main-btn:focus {
    background-color: #d96000;
    border-color: #d96000;
}

.header-area .navigation .navbar .navbar-nav .nav-item .sub-menu li a:hover,
.header-area .navigation .navbar .navbar-nav .nav-item .sub-menu li a.active {
    color: #f97000;
}

.section-title span {
    color: #f97000;
}

.sub-item a {
    background: #f97000;
}
a.image-popup {
    width:100%;
}
.about-content span,
.our-place-content span {
    color: #f97000;
}

.go-top-btn {
    background: #f97000;
}

/* Promotional specific styles */
.promo-highlight {
    background-color: #fff3e6;
    border-left: 4px solid #f97000;
    padding: 20px;
    margin: 20px 0;
}

.price-tag {
    background: #f97000;
    color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.price-tag .old-price {
    text-decoration: line-through;
    opacity: 0.7;
    font-size: 24px;
}

.price-tag .new-price {
    font-size: 48px;
    font-weight: bold;
    margin: 10px 0;
    color:#fff;
}

.benefits-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.benefits-list li i {
    color: #f97000;
    margin-right: 10px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 8px;
}


.gallery-item:hover img {
    transform: scale(1.05);
}

/* Hero/banner overlay */
.banner-area {
    position: relative;
}

.banner-area::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(26,26,26,0.75); /* #1a1a1a com transparência */
    z-index: 1;
}

/* Ensure banner content sits above overlay */
.banner-area .banner-content {
    position: relative;
    z-index: 2;
}

/* Video background styling */

/* On small devices avoid autoplaying heavy video — hide video and fall back to poster/bg image */
@media (max-width: 767px) {
    .banner-area {
        background-size: cover;
        background-position: center;
    }
}

/* Make gallery images adapt to different aspect ratios and fill width without distortion */
.gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-item {
    height: 250px; /* consistent display height for grid items */
}

.no-extra-costs {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
}

.no-extra-costs h4 {
    color: #f97000;
    margin-bottom: 20px;
}

.contact-cta {
    background: #f97000;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.contact-cta h3 {
    color: #fff;
    margin-bottom: 20px;
}

.contact-cta .main-btn {
    background: #fff;
    color: #f97000;
    border-color: #fff;
}

.contact-cta .main-btn:hover {
    background: #f5f5f5;
}

/* Redesigned our-place / condominio section */
.our-place-area {
    background: #f8f9fa;
}

.our-place-images .main-image {
    height: 420px;
    overflow: hidden;
    border-radius: 10px;
}

.our-place-images .small-images {
    margin-top: 16px;
    gap: 12px;
}

.our-place-images .small-image {
    flex: 1 1 50%;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
}

.our-place-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.our-place-images .main-image img:hover,
.our-place-images .small-image img:hover {
    transform: scale(1.03);
}

.our-place-content .condo-list li {
    padding: 10px 0;
    font-size: 16px;
}

.our-place-content .condo-list li i {
    color: #f97000;
    margin-right: 8px;
}

@media (max-width: 991px) {
    .our-place-images .main-image {
        height: 320px;
    }
    .our-place-images .small-image {
        height: 120px;
    }
}

@media (max-width: 767px) {
    .our-place-images .main-image {
        height: 220px;
    }
    .our-place-images .small-image {
        height: 100px;
    }
    .our-place-content {
        margin-bottom: 30px;
    }

    /* Award badge styles removed; badge markup was deleted from pages. */
}

/* ===== WhatsApp floating button fix =====
   The theme's original go-top implementation hides the last <i> icon by default
   and reveals it only on hover. Our WhatsApp button uses a single <i>, which
   becomes the :last-child and is therefore hidden. The rules below force the
   icon to be visible and centered for elements using the .whatsapp-btn class.
*/
.go-top-area .go-top.whatsapp-btn i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 22px;
    padding-left: 0;
    color: #ffffff;
}

/* Larger, green WhatsApp floating button and matching pulse */
.go-top-area .go-top.whatsapp-btn {
    width: 64px;
    height: 64px;
    line-height: 64px;
    right: 18px;
    background-color: #59CE72;
    border-radius: 50%;
    border-right: 0;
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
    transition: transform 0.25s ease, background-color 0.25s ease;
}

/* Ensure the small inner button wrapper matches the larger size */
.go-top-wrap .go-top-btn.whatsapp-btn {
    width: 64px;
    height: 64px;
    line-height: 64px;
    background: #59CE72;
    top: 0;
}

/* Pulse (ripple) color and sizing — reuses the existing `ripple` animation */
.go-top-wrap .go-top-btn.whatsapp-btn::after {
    z-index: -1;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 64px;
    height: 64px;
    -webkit-animation: ripple 1.6s ease-out infinite;
    -moz-animation: ripple 1.6s ease-out infinite;
    -o-animation: ripple 1.6s ease-out infinite;
    animation: ripple 1.6s ease-out infinite;
    opacity: 0.22;
    background: #59CE72;
    border-radius: 50%;
}

.go-top-wrap .go-top-btn.whatsapp-btn:hover {
    background-color: #48b964;
    color: #fff;
}

/* Keep the visible state when active (so it appears at the bottom-right) */
.go-top-area .go-top.whatsapp-btn.active {
    top: 98%;
    transform: translateY(-98%);
    opacity: 1;
    visibility: visible;
}

/* Stronger hover/focus overrides to beat precompiled theme rules
   Some theme selectors target `.go-top` or `.go-top-btn:hover` and may
   still win depending on cascade/order. Use matching selectors and
   !important for hover/focus, ::before and icon color to ensure
   the WhatsApp styling persists.
*/
.go-top-area .go-top.whatsapp-btn:hover,
.go-top-area .go-top.whatsapp-btn:focus,
.go-top-wrap .go-top-btn.whatsapp-btn:hover,
.go-top-wrap .go-top-btn.whatsapp-btn:focus {
    background-color: #48b964 !important; /* slightly darker on hover */
    color: #ffffff !important;
}

.go-top-area .go-top.whatsapp-btn::before,
.go-top-wrap .go-top-btn.whatsapp-btn::before {
    background-color: #59CE72 !important;
    opacity: 0.22 !important;
    visibility: visible !important;
}

.go-top-area .go-top.whatsapp-btn i,
.go-top-wrap .go-top-btn.whatsapp-btn i {
    color: #ffffff !important;
}
