/*
Theme Name: Dehomes Child
Theme URI:http://wordpress.zcube.in/dehomes
Description: Dehomes – Single Real Estate WordPress Theme.
Text Domain: wesecure
Author:       zcube
Author URI: https://themeforest.net/user/zcubedesign
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
Template:     dehomes
Version: 1.2
Tested up to: 6.6
Requires PHP: 7.0

*/



/* Theme customization starts here
  -------------------------------------------------------------- */

/* Override Bootstrap Container Width to 1300px */
@media (min-width: 1350px) {
    .container {
        max-width: 1300px;
    }
}


/* Remove decorative content lines */
.content-lines-wrapper2, .content-lines-wrapper {
    display: none !important;
}

/* ----------------------------------------------------------- */
/*  Header Customization                                       */
/* ----------------------------------------------------------- */

/* Black Header Background */
.header-area, .header-three, .header-top, .menu-area {
    background-color: #fff !important;
    background: #fff !important;
    color: #000 !important;
}

/* Force Hide Default Mobile Menu (MeanMenu) */
.mobile-menu, .mean-container {
    display: none !important;
}

/* Ensure Mobile Trigger is Visible & Positioned */
@media (max-width: 991px) {
    .menu-tigger {
        display: inline-block !important; /* Force display */
        float: right;
        margin-top: 5px; 
        position: relative;
        z-index: 9999;
        font-size: 24px;
        color: #000 !important; /* Black color */
    }
}

/* ----------------------------------------------------------- */
/*  Custom Header Buttons (Enquire, WhatsApp, Call)            */
/* ----------------------------------------------------------- */

.header-action-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px; /* Space between buttons */
}

.header-action-buttons .btn-custom-outline,
.header-action-buttons .btn-custom-outline:visited {
    display: flex !important; /* Force flex */
    align-items: center;
    justify-content: center;
    border: 1px solid #bc986b !important;
    color: #bc986b !important;
    background: transparent !important;
    padding: 0 20px;
    height: 45px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    line-height: normal;
    white-space: nowrap;
    border-radius: 0;
    flex-shrink: 0; /* Prevent shrinking */
    margin-left: 10px !important; /* Force spacing */
    float: none !important; /* Reset any floats */
    position: relative !important; /* Ensure flow layout */
    top: auto; left: auto; right: auto; bottom: auto; /* Reset positioning */
}

.header-action-buttons .btn-custom-outline:hover {
    background-color: #bc986b !important;
    color: #fff !important;
}

/* Specific sizing for icon buttons */
.header-action-buttons .btn-custom-outline.btn-custom-icon {
    padding: 0 !important;
    width: 45px !important; /* Force square width */
    height: 45px !important; /* Force square height */
    min-width: 45px !important; /* Prevent squashing */
    font-size: 18px;
}

/* Mobile Action Buttons (Off-canvas) */
.offcanvas-action-buttons .btn-custom-outline {
    display: inline-block;
    border: 1px solid #bc986b;
    color: #fff;
    padding: 12px 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-decoration: none;
    margin-right: 0;
}

/* Off-canvas specific styles */
.offcanvas-action-buttons .btn-custom-outline {
    border: 1px solid #bc986b;
    color: #fff; /* White text on dark bg */
    padding: 12px 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-decoration: none;
}

.offcanvas-action-buttons .btn-custom-outline:hover {
    background-color: #bc986b;
    color: #fff;
}

/* Styles for inline icon buttons in off-canvas */
.offcanvas-action-buttons .btn-custom-outline.btn-custom-icon {
    padding: 10px 15px;
    color: #bc986b;
    border-color: #bc986b;
}

.offcanvas-action-buttons .btn-custom-outline.btn-custom-icon:hover {
    background-color: #bc986b;
    color: #fff;
}

/* White Menu Links */
.main-menu ul li a {
    color: #000 !important;
}
.main-menu ul li a:hover {
    color: #bc986b !important; /* Theme accent color on hover */
}

/* White Logo (Text Fallback) */
.logo h1 a {
    color: #000 !important;
}

/* ----------------------------------------------------------- */
/*  Sticky Header Animation                                    */
/* ----------------------------------------------------------- */

/* Keyframes for Slide Down Effect */
@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Enhanced Sticky Menu */
.sticky-menu {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #fff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Subtle shadow */
    animation: slideDown 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards !important; /* Smooth easing */
    padding-bottom: 0px !important;
}

/* Ensure content visibility */
.sticky-menu .main-menu ul li a {
    padding: 25px 0 !important;
}

.header-three .menu-area
{
  margin-bottom: 0px !important;
  padding-block: 12px !important;
}

/* ----------------------------------------------------------- */
/*  Off-Canvas Mobile Menu (Glassmorphism)                     */
/* ----------------------------------------------------------- */

/* Glass Effect Container */
/* Glass Effect Container */
.offcanvas-menu {
    position: fixed !important;
    right: -350px !important; /* Start off-screen */
    top: 0 !important;
    width: 320px !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.95) !important; /* Darker background */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    padding-top: 60px;
    z-index: 999999 !important;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1) !important;
    overflow-y: auto !important;
}

.offcanvas-menu.active {
    right: 0 !important; /* Slide in */
}

/* Menu Links in Off-Canvas */
.offcanvas-menu ul li a {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 18px;
    font-weight: 500;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
    transition: all 0.3s ease;
}

.offcanvas-menu ul li a:hover {
    color: #bc986b !important;
    padding-left: 10px; /* Slide effect */
}

/* Close Button */
.menu-close {
    display: inline-block !important; /* Fix for width/height ignoring */
    position: absolute !important;   /* Ensure top/right work */
    background: transparent !important;
    color: #fff !important;
    font-size: 24px;
    top: 20px;
    right: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2) !important; /* Ensure border is visible */
    border-radius: 50%;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important; /* Center text vertically */
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-close:hover {
    background: #bc986b !important;
    border-color: #bc986b;
    transform: rotate(90deg);
}

/* Search Form in Off-Canvas */
.offcanvas-menu .searchform input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 30px;
}

.offcanvas-menu .searchform button {
    color: #fff;
    background: transparent;
}

/* ----------------------------------------------------------- */
/*  Footer Customization                                       */
/* ----------------------------------------------------------- */

/* Footer Background */
.footer-bg, .footer-top {
    background-color: #fffbec !important;
    background: #fffbec !important;
}

/* Footer Text Color (Black) */
.footer-bg, 
.footer-widget, 
.footer-widget p, 
.footer-widget ul li, 
.footer-widget ul li a, 
.copyright-text, 
.footer-bottom a,
.footer-widget .textwidget, /* Target text widgets specifically */
.footer-widget span,        /* Target spans */
.footer-widget i,           /* Target icons */
.footer-widget .widget_text,
.footer-widget a {          /* Target all links */
    color: #000 !important;
}

/* Ensure Icons are Black (if they were white) */
.footer-widget i,
.footer-widget .icon,
.footer-widget .fa,
.footer-widget .fas,
.footer-widget .fab,
.footer-widget .far {
    color: #000 !important;
}

/* Footer Widget Titles (Golden) */
.footer-widget .widget-title, 
.footer-widget h3, 
.footer-widget h4, 
.footer-widget h2 {
    color: #bc986b !important;
    border-color: #bc986b !important; /* For left borders if any */
}

/* Link Hovers */
.footer-widget ul li a:hover, .footer-bottom a:hover {
    color: #bc986b !important;
}
