/* Custom Color Palette for Angelo Real Estate */
/* Replaces original blue #26baee with golden #DCBE69 */

:root {
    --primary-color: #DCBE69;
    --primary-hover: #c9a952;
    --dark-text: #2B2B2B;
    --body-text: #4A4A4A;
    --background: #FAFAF7;
    --secondary-accent: #D8BFA3;
    --tertiary-accent: #C77B4A;
    --borders: #E5E2D8;
}

/* Override all #26baee occurrences with primary color */

/* Primary Color Overrides */
.btn-primary,
.submit,
.form-control.btn.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.submit:hover,
.form-control.btn.btn-primary:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: #fff !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

a {
    color: var(--primary-color);
}

a:hover, a:focus {
    color: #c9a952;
}

/* Navigation */
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
    font-size: 18px;
}

.ftco_navbar .navbar-nav > .nav-item.cta > a {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.ftco_navbar .navbar-nav > .nav-item.cta.cta-colored > a {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.ftco_navbar .navbar-nav > .nav-item > .nav-link:hover,
.ftco_navbar .navbar-nav > .nav-item.active > .nav-link {
    color: var(--primary-color);
}

.btn-contact-nav {
    background: transparent !important;
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    border-radius: 50px;
    padding: 8px 24px;
    font-size: 16px;
    white-space: nowrap;
}

.btn-contact-nav:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.heading,
.heading-section h2,
.ftco-heading-2 {
    color: var(--dark-text) !important;
}

/* Body Text */
body {
    color: var(--body-text);
}

p, li, .text {
    color: var(--body-text);
}

/* Background */
body {
    background-color: var(--background);
}

.bg-light {
    background-color: var(--background) !important;
}

/* Secondary Accent */
.ftco-footer {
    background: var(--dark-text);
}

.icon {
    color: var(--secondary-accent);
}

/* Borders */
hr,
.properties .text,
.form-control {
    border-color: var(--borders);
}

/* Status badges */
.status.sale {
    background: var(--primary-color);
}

.status.rent {
    background: var(--secondary-accent);
}

/* Price styling */
.price,
.price-tag h3 {
    color: var(--primary-hover) !important;
    font-weight: 700 !important;
}

/* Buttons and CTAs */
.btn-custom {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-custom:hover {
    background: #c9a952;
    border-color: #c9a952;
}

/* Form focus states */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(220, 190, 105, 0.25);
}

/* Links in footer */
.ftco-footer a {
    color: rgba(255, 255, 255, 0.7);
}

.ftco-footer a:hover {
    color: var(--primary-color);
}

/* Sidebar */
.sidebar-box {
    background: var(--background);
    border: 1px solid var(--borders);
}

/* Property card links & icons */
.properties .text h3 a {
    color: var(--primary-color) !important;
}

.properties .text h3 a:hover {
    color: var(--primary-hover) !important;
}

.properties .text .ti-map-pin,
.Properties-single .ti-map-pin {
    color: var(--primary-color) !important;
}

/* Breadcrumb links */
.breadcrumb-item a {
    color: var(--primary-color);
}

/* Property feature icons in sidebar */
.property-features i {
    font-size: 24px;
    color: var(--primary-color) !important;
}

/* Cookie banner hidden state */
.cookie-banner-hidden {
    display: none;
}

/* Property cards */
.properties .text {
    background: #fff;
    border: 1px solid var(--borders);
    overflow: hidden;
}

.properties .text .d-flex {
    flex-wrap: nowrap;
}

.properties .text .one {
    width: auto;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.properties .text .two {
    width: auto;
    flex-shrink: 0;
    padding-left: 10px;
}

/* Overlay adjustments */
.overlay {
    background: rgba(43, 43, 43, 0.7);
}

/* Pagination */
.block-27 ul li a,
.block-27 ul li span {
    color: var(--primary-color) !important;
    border-color: var(--borders) !important;
}

.block-27 ul li.active span,
.block-27 ul li.active a {
    background: var(--primary-color) !important;
    color: #fff !important;
    border: 1px solid var(--primary-color) !important;
}

.block-27 ul li a:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
}

/* Top bar */
.top {
    background: var(--primary-color) !important;
    border-bottom: 1px solid var(--borders);
    padding: 8px 0;
}

.top .num a {
    color: #fff !important;
}

.top .social a:hover {
    color: var(--dark-text);
}

.top .ftco-footer-social li a {
    width: 30px;
    height: 30px;
    font-size: 20px;
    background: transparent !important;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top .num,
.top .num span {
    color: #fff !important;
}

.top .num .icon-phone {
    vertical-align: middle;
    position: relative;
    top: -1px;
}

/* Search section */
.ftco-search {
    background: var(--secondary-accent);
}

/* Navbar background */
.ftco_navbar {
    background: transparent !important;
    padding-top: 5px;
    padding-bottom: 10px;
}

@media (max-width: 991.98px) {
    .ftco-navbar-light .navbar-toggler {
        color: rgba(0, 0, 0, 0.8) !important;
        border-color: rgba(0, 0, 0, 0.3) !important;
    }
}

@media (max-width: 767.98px) {
    .properties .img-2 {
        margin-bottom: 0;
    }
}

/* Recent Properties section */
.ftco-properties {
    background: #fff !important;
}

/* Service blocks on homepage */
.block-6 {
    background: #fff;
    border: 1px solid var(--borders);
    width: 100%;
}

@media (max-width: 767.98px) {
    .col-12.col-md-3 {
        margin-bottom: 12px;
    }
}

.block-6 .icon span {
    color: var(--primary-color);
}

/* Newsletter section text */
.heading-section-white h2,
.heading-section-white p {
    color: #fff !important;
}

/* Newsletter subscribe button — restore original template look */
.subscribe-form .form-group .submit {
    background-color: transparent !important;
    border-color: transparent !important;
    border-left: 1px solid rgba(255, 255, 255, 0.7) !important;
    color: #fff !important;
    white-space: nowrap !important;
    align-self: stretch;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-width: max-content;
}

/* ========================================
   COMPREHENSIVE #26baee COLOR OVERRIDES
   All instances replaced with primary color
   ======================================== */

/* Navbar logo */
.navbar-logo {
    height: 90px;
}

@media (max-width: 767.98px) {
    .navbar-logo {
        height: 50px;
    }
}

/* Text colors */
.text-primary,
.navbar-brand span,
a.text-primary,
.icon-heart,
.subheading {
    color: var(--primary-color) !important;
}

/* Background colors */
.bg-primary,
.btn.btn-primary,
.submit.px-3,
.owl-carousel .owl-dot.active,
.owl-carousel .owl-dot:hover,
.btn-outline-primary:hover,
.properties-slider .owl-nav button:hover,
.cta-colored a,
.navbar .cta a:hover {
    background: var(--primary-color) !important;
}

/* Border colors */
.btn-primary,
.btn.btn-primary,
.cta a,
.cta-colored a,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-color) !important;
}

/* Link hover states */
.ftco-navbar .navbar-nav > .nav-item > .nav-link:hover,
.ftco-navbar .navbar-nav > .nav-item.active > .nav-link,
.ftco-footer-widget ul li a:hover,
.social a:hover,
.properties .text h3 a:hover,
.blog-entry .heading a:hover {
    color: var(--primary-color) !important;
}

/* Icon colors */
.flaticon-pin:before,
.flaticon-detective:before,
.flaticon-house:before,
.flaticon-purse:before,
.icon-search2:before {
    color: var(--primary-color) !important;
}

/* Button hover states */
.btn-primary:hover,
.btn.btn-primary:hover,
.submit:hover,
.btn-custom:hover,
a.btn-custom:hover,
.btn-custom.bg-primary:hover,
a.btn-custom.bg-primary:hover {
    background: var(--primary-hover) !important;
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: #fff !important;
    text-decoration: none !important;
}

/* Owl carousel navigation */
.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
    color: var(--primary-color) !important;
}

.owl-carousel .owl-nav button.owl-next:hover,
.owl-carousel .owl-nav button.owl-prev:hover {
    background: var(--primary-color) !important;
}

/* Form elements focus */
.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 190, 105, 0.25) !important;
}

/* Progress bars, loaders */
.ftco-loader:after {
    border-top-color: var(--primary-color) !important;
}

/* Blockquotes, highlights */
blockquote {
    border-left-color: var(--primary-color) !important;
}

/* Dropdown active states */
.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
    background-color: var(--primary-color) !important;
}

/* Checkbox and radio checked states */
input[type="checkbox"]:checked,
input[type="radio"]:checked {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* Testimonials, quotes */
.testimony-wrap .quote {
    background: var(--primary-color) !important;
}

/* Tabs active state */
.nav-tabs .nav-link.active {
    border-color: var(--primary-color) !important;
}

/* Slider dots */
.home-slider .owl-dots .owl-dot.active span {
    background: var(--primary-color) !important;
}

/* Scrolled navbar overrides */
.ftco-navbar-light.scrolled .nav-item.active > a {
    color: var(--primary-color) !important;
}

.ftco-navbar-light.scrolled .nav-link.active {
    color: var(--primary-color) !important;
}

.ftco-navbar-light.scrolled .nav-item.cta > a {
    background: var(--primary-color) !important;
}

.ftco-navbar-light.scrolled .nav-item.cta.cta-colored span {
    border-color: var(--primary-color) !important;
}

/* Search section background */
.ftco-search {
    background-color: #D8BFA3 !important;
}

.search-property .form-group .form-control.btn.btn-primary {
    background: var(--tertiary-accent) !important;
    border-color: var(--tertiary-accent) !important;
}

.ftco-search .icon span,
.ftco-search .icon i {
    color: var(--tertiary-accent) !important;
}

.ftco-search .unit-label {
    color: var(--tertiary-accent) !important;
}

.ftco-search label {
    font-size: 0.875rem;
}

.ftco-search .form-control:focus,
.ftco-search select:focus {
    border-color: var(--tertiary-accent) !important;
    box-shadow: 0 0 0 0.2rem rgba(199, 123, 74, 0.25) !important; /* --tertiary-accent with opacity */
}

.ftco-search select.form-control,
.ftco-search select.form-control option {
    color: var(--body-text) !important;
}

.block-23 ul li .icon {
    width: 40px;
    min-width: 40px;
}

.filter-spinner-icon {
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid #E5E2D8;
    border-top-color: var(--tertiary-accent);
    border-radius: 50%;
    animation: filter-spin 0.6s linear infinite;
}

@keyframes filter-spin {
    to { transform: rotate(360deg); }
}

.block-27 ul li.disabled span {
    color: #ccc;
    cursor: not-allowed;
}

#reset-filters:disabled {
    background: #a08560 !important;
    border-color: #a08560 !important;
    opacity: 0.5;
    cursor: not-allowed;
}

/* Replace black font colors with anthracite variants */
/* Headings and strong elements */
h1, h2, h3, h4, h5, h6,
.heading,
.block-3 .text .heading a,
.block-21 .text .heading a,
.blog-entry .text .heading a,
.owl-carousel.home-slider .slider-item .slider-text h1 a {
    color: var(--dark-text) !important;
}

/* Body and general text */
body,
p,
.properties .text,
.blog-entry .text .read,
.testimony-wrap .name,
.tagcloud a,
.categories li a,
.sidelink li a {
    color: var(--body-text);
}

/* Scrolled navbar */
.ftco-navbar-light.scrolled .nav-link,
.ftco-navbar-light.scrolled .navbar-brand {
    color: var(--dark-text) !important;
}

/* Form controls */
.form-control {
    color: var(--dark-text) !important;
}

/* Properties icon */
.properties .icon span {
    color: var(--dark-text) !important;
}

/* Counter section overlay - override blue */
#section-counter:after {
    background: #DCBE69 !important;
}

/* Heading section - wavy lines */
.heading-section h2:after {
    background-color: transparent !important;
    background-image: url("/images/MaraviaWaves_golven.svg") !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    height: 24px !important;
    width: 200px !important;
    bottom: -30px !important;
}

.heading-section h2:before {
    display: none !important;
}

/* About page - Team section */
.ftco-section.about-team {
    padding: 3em 0;
}

.about-team .staff .text h3,
.about-team .staff .text p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.about-team .staff {
    margin-bottom: 20px;
}

.about-team .staff .img {
    height: 200px;
    width: 200px;
    border-radius: 50%;
    margin: 0 auto;
    background-size: cover;
    background-position: center;
}

.about-team .ftco-social a i {
    color: #fff !important;
}

.about-team .heading-section-white h2:after {
    display: block !important;
    background-color: transparent !important;
    background-image: url("/images/MaraviaWaves_golven.svg") !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    height: 24px !important;
    width: 200px !important;
    bottom: -30px !important;
    filter: brightness(0) invert(1) !important;
}

.about-team .heading-section-white h2:before {
    display: none !important;
}

/* Social media brand colors */
.ti-brand-facebook,
.icon-facebook,
.icon-facebook:before {
    color: #1877F2 !important;
    -webkit-text-fill-color: #1877F2 !important;
}

.ti-brand-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.icon-instagram,
.icon-instagram:before {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    color: #fff;
}

/* Tablet breakpoint for slider (768px–991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .home-slider-wrap {
        height: 500px;
    }
    .owl-carousel.home-slider,
    .owl-carousel.home-slider .slider-item {
        height: 500px;
    }
    .slider-overlay-text {
        top: 60px;
        left: 40px;
    }
    .slider-overlay-text p {
        font-size: 32px;
        letter-spacing: 4px;
    }
}

/* Slider overlay text */
.home-slider-wrap {
    position: relative;
    height: 650px;
}

.slider-overlay-text {
    position: absolute;
    top: 80px;
    left: 60px;
    text-align: left;
    z-index: 10;
    pointer-events: none;
}

.slider-overlay-text p {
    display: inline-block;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 200;
    letter-spacing: 6px;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    margin: 0;
    line-height: 1.3;
}

@media (max-width: 767.98px) {
    .home-slider-wrap {
        height: 400px;
    }
    .owl-carousel.home-slider,
    .owl-carousel.home-slider .slider-item {
        height: 400px;
    }
    .slider-overlay-text {
        top: 40px;
        left: 20px;
    }
    .slider-overlay-text p {
        font-size: 22px;
        letter-spacing: 3px;
    }
}

/* Cookie banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2B2B2B;
    color: #fff;
    z-index: 99999;
    padding: 16px 24px;
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner-text p {
    margin: 4px 0 0;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.cookie-banner-text a {
    color: var(--primary-color);
}

.cookie-banner-text strong {
    font-size: 15px;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.cookie-btn-accept {
    background: var(--primary-color);
    color: #fff;
}

.cookie-btn-decline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
}

.cookie-btn-accept:hover {
    background: var(--primary-hover);
}

.cookie-btn-decline:hover {
    border-color: #fff;
}

@media (max-width: 767.98px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
