/* ============================
✅ Global Styles
============================ */
body {
    font-family: 'Poppins', sans-serif;
    color: #888;
    font-size: 15px;
    line-height: 1.9;
    margin: 0;
    word-wrap: break-word;
    background: #fafafa;
}

/* ============================
✅ Top Bar
============================ */
.top-bar {
    background-color: #f0f0f0;
    height: 49px;
    display: flex;
    align-items: center;
}

.top-bar i {
    color: #bf9410;
}

/* ============================
✅ Navbar
============================ */

.main-navigation ul#primary-menu>li>a {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.main-navigation ul#primary-menu>li>a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: #bf9410;
    transition: width 0.3s ease;
}

.main-navigation ul#primary-menu>li>a:hover {
    color: #bf9410;
}

.main-navigation ul#primary-menu>li>a:hover::after {
    width: 100%;
}

/* Active menu item */
.main-navigation ul#primary-menu>li.current-menu-item>a,
.main-navigation ul#primary-menu>li.current-menu-ancestor>a,
.main-navigation ul#primary-menu>li.current_page_item>a,
.main-navigation ul#primary-menu>li.current_page_parent>a {
    color: #bf9410;
}

.main-navigation ul#primary-menu>li.current-menu-item>a::after,
.main-navigation ul#primary-menu>li.current-menu-ancestor>a::after,
.main-navigation ul#primary-menu>li.current_page_item>a::after,
.main-navigation ul#primary-menu>li.current_page_parent>a::after {
    width: 100%;
}

/* Submenu */
.main-navigation ul ul {
    background-color: #fff;
    box-shadow: 0px 2px 2px #666;
    left: -9999px;
    min-width: 220px;
    position: absolute;
    top: 81px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease-in-out;
}

.main-navigation ul li:hover>ul {
    left: 0;
    opacity: 1;
    z-index: 9999;
}

.main-navigation ul ul li a {
    color: #000;
    padding: 8px 15px;
    display: block;
    transition: all 0.3s ease;
}

.main-navigation ul ul li a:hover {
    color: #bf9410;
    background-color: #f5f5f5;
}

.main-navigation ul ul::before {
    content: "";
    display: block;
    background: transparent;
    width: 100%;
    height: 30px;
    position: absolute;
    top: -30px;
    left: 0;
}

/* Navbar Brand */
.navbar-brand img {
    height: 49px;
}

.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-link {
    color: #000;
    /* adjust your color */
    padding-bottom: 5px;
    transition: color 0.3s ease;
    /* optional text color fade */
}

/* Hidden line by default */
.navbar-nav .nav-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 2px;
    background-color: #000;
    /* line color */
    opacity: 0;
    transform: scaleX(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* On hover — fade in smoothly */
.navbar-nav .nav-item:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

@media (min-width: 992px) {
    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: all 0.25s ease;
        transform: translateY(10px);
    }

    .navbar .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* ============================
✅ Banner Section + Breadcrumb
============================ */
.banner-section {
    position: relative;
    background: url('https://site.astridliving.com/wp-content/themes/realestate-base-pro/images/header-banner.jpg') center/cover no-repeat;
    min-height: 200px;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    color: #fff;
}

.banner-section .overlay {
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    inset: 0;
}

.banner-section .container-fluid {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-text {
    font-size: 44px;
    font-weight: 500;
    margin: 0;
}

#breadcrumb {
    color: #fff;
    padding-top: 10px;
}

#breadcrumb a {
    color: #ddd;
    text-decoration: none;
}

#breadcrumb a:hover {
    color: #fff;
}

#breadcrumb li {
    display: inline-block;
    list-style: none;
    padding-right: 7px;
}

#breadcrumb li a::after {
    content: "/";
    margin-left: 7px;
    color: #ddd;
}

#breadcrumb .trail-items {
    margin: 0;
    padding: 0;
}

/* ============================
✅ Buttons
============================ */
.btn.btn-dark {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #32506d;
    color: #fff;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
    width: 150px;
    height: 50px;
    font-size: 14px;
}

.btn.btn-dark:hover {
    background-color: #bf9410;
    color: #fff;
}

/* Scroll to top */
.scroll-top-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #bf9410;
    color: #fff;
    border: none;
    padding: 12px 15px;
    display: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top-btn:hover {
    background-color: #bf9410;
}

/* ============================
✅ Sidebar - Search
============================ */
.widget_search .input-group {
    display: flex;
    align-items: center;
}

.widget_search .form-control {
    border-radius: 0;
    border: 1px solid #ccc;
    height: 45px;
    font-size: 15px;
}

.widget_search .form-control:focus {
    box-shadow: none;
    border-color: #bf9410;
}

.widget_search .search-submit {
    background-color: #32506d;
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 0 14px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.widget_search .search-submit:hover {
    background-color: #bf9410;
}

.widget_search .search-submit i {
    font-size: 13px;
}

/* ============================
✅ Contact Form
============================ */
.contact-form-title {
    color: #232323;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-form-subtitle {
    color: #6B7280;
    font-size: 15px;
    margin-bottom: 1.5rem;
}

.contact-form .contact-field {
    border-radius: 0;
    border: 1px solid #e0e0e0;
    height: 45px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    padding: 0.5rem 0.75rem;
}

.contact-form .contact-field::placeholder {
    color: #9CA3AF;
}

.contact-form .contact-field:focus {
    box-shadow: none;
    border-color: #bf9410;
    outline: none;
}

.contact-form .contact-message {
    min-height: 120px;
    height: auto;
    resize: vertical;
    padding: 0.75rem;
}

.contact-form .contact-submit {
    min-width: 120px;
}

/* ============================
✅ Contact Form Response
============================ */
.contact-response-success,
.contact-response-error {
    padding: 2rem 0;
}

.contact-response-success i,
.contact-response-error i {
    display: block;
    margin: 0 auto 1rem;
}

.contact-response-message {
    max-width: 600px;
    margin: 0 auto;
}

.btn-outline-dark {
    border: 1px solid #32506d;
    color: #32506d;
    background-color: transparent;
    border-radius: 0;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background-color: #32506d;
    color: #fff;
    border-color: #32506d;
}

/* ============================
✅ Sidebar - Social Icons
============================ */
.wp-block-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
    padding: 20px 25px;
    background: #fff;
    justify-content: center;
}

.wp-block-social-links li {
    list-style: none;
}

.wp-block-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 18px;
}

.wp-block-social-links a[href*="facebook"] {
    background-color: #1877F2;
}

.wp-block-social-links a[href*="instagram"] {
    background: linear-gradient(45deg, #feda75, #d62976, #962fbf, #4f5bd5);
}

.wp-block-social-links a[href*="linkedin"] {
    background-color: #0077B5;
}

.wp-block-social-links a[href*="pinterest"] {
    background-color: #E60023;
}

.wp-block-social-links a[href*="twitter"] {
    background-color: #1DA1F2;
}

.wp-block-social-links a[href*="youtube"] {
    background-color: #FF0000;
}

.wp-block-social-links a:hover {
    filter: brightness(0.85);
    transform: translateY(-2px);
}

/* ============================
✅ Sidebar - Gallery
============================ */
.widget_media_gallery .row.g-2 img {
    transition: transform 0.3s ease;
    border-radius: 4px;
}

.widget_media_gallery .row.g-2 img:hover {
    transform: scale(1.05);
}

.gallery-box {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.gallery-box img {
    width: 100%;
    height: auto;
    display: block;
}

.widget_media_gallery {
    background: transparent;
    padding: 0;
    border: none;
}

/* ============================
✅ Footer
============================ */
.info-section {
    background-color: #32506d;
}

.info-section h4 {
    color: #fff;
}

.info-section p {
    line-height: 1.7;
}

.footer {
    background-color: #1d3c5a;
    font-size: 14px;
    color: #fff;
}

/* ============================
✅ Miscellaneous
============================ */
.container-fluid {
    width: 97%;
}

.email-text a,
.phone-text a {
    font-size: 13px;
    text-decoration: none;
    color: black;
    letter-spacing: 0.75px;
}

/*.content-area {*/
/*    background: #fff;*/
/*}*/

.widget-title {
    color: #232323;
    font-size: 22px;
    font-weight: 600;
    padding: 10px 25px;
    background: #f0f0f0;
    margin-bottom: 0;
}

.search-form {
    background: #fff;
    padding: 20px 25px;
}

.search-submit {
    width: 70px !important;
}

.after-banner-section h1,
.after-banner-section h2 {
    color: #222;
    font-family: 'Poppins', sans-serif;
}

.after-banner-section p {
    font-size: 16px;
    /* color: #555; */
    line-height: 1.8;
    margin-bottom: 1rem;
}

.nav-link:hover {
    color: #bf9410 !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    padding: 0px;
    min-width: 220px;
}

.dropdown-item:hover {
    background-color: transparent;
    color: #bf9410 !important;
}

.dropdown-menu li {
    border-bottom: 1px solid #f1f1ee;
}

.fborder-line::after {
    content: "";
    display: block;
    width: 55px;
    height: 2px;
    margin-top: 5px;
    background: #bf9410;
}

.wp-block-button__link:hover {
    background-color: #bf9410;
    color: #fff;
    text-decoration: none;
}

.property-button {
    display: inline-block;
    background-color: #bf9410;
    padding: 8px 30px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 500;
    font-size: 42px;
    line-height: 1.75;
    text-decoration: none;
    width: 100%;
}

/*.entry-content {*/
/*    position: relative;*/
/*}*/

/*.entry-content a {*/
/*    color: #232323;*/
/*}*/

/*.entry-content entry-content-text {*/
/*    position: absolute;*/
/*    bottom: 10px;*/
/*}*/

/*.entry-content a:hover {*/
/*    color: #bf9410;*/
/*    text-decoration: none;*/
/*}*/

.city-card img {
  height: 460px;
  object-fit: cover;
}

.city-name {
    background: rgb(255 255 255 / 70%);
    font-weight: 600;
    font-size: 20px;
    bottom: 25px;
    color: #bf9410;
}
.btn-primary {
  font-size: 13px;
  padding: 4px 10px;
}


