/* =========================================================
   Project Name   : Basa Dorkar
   Website        : www.basadorkar.com
   Description    : Bangladesh House Rent Platform
   Developed By   : IT Factory
   Developer      : Abu Faisal Mohammad Younus
   Version        : 1.0.0
   Technology     : HTML5, CSS3, Bootstrap 5
   ========================================================= */


/* =========================================================
   Google Font & Reset
   ========================================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Hind Siliguri', sans-serif;
}

body{
    background:#f5f7fa;
    overflow-x:hidden;
}

a{
    text-decoration:none;
}

img{
    max-width:100%;
}


/* =========================================================
   Navbar
   ========================================================= */

.navbar{
    background:#fff;
    padding:12px 0;
    box-shadow:0 2px 10px rgba(0,0,0,0.06);
}

.logo{
    height:50px;
}

.navbar-nav .nav-link{
    color:#222;
    font-weight:500;
    margin-left:15px;
    transition:.3s;
}

.navbar-nav .nav-link:hover{
    color:#16a34a;
}

.navbar-nav .nav-link.active{
    color:#16a34a;
}


/* =========================================================
   Hero Section
   ========================================================= */

.hero{
    position:relative;
    background:url('https://basadorkar.com/images/webimg/topcover.jpg?q=80&w=1600&auto=format&fit=crop') center center/cover no-repeat;
    min-height:85vh;
    display:flex;
    align-items:center;
}

.hero::before{
    content:'';
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.55);
    top:0;
    left:0;
}

.hero-content{
    position:relative;
    z-index:2;
    width:100%;
}

.hero-title{
    color:#fff;
    font-size:42px;
    font-weight:700;
    text-align:center;
    margin-bottom:15px;
}

.hero-subtitle{
    color:#e5e5e5;
    text-align:center;
    margin-bottom:40px;
    font-size:18px;
}


/* =========================================================
   Search Box
   ========================================================= */

.search-box{
    background:rgba(255,255,255,0.15);
    backdrop-filter:blur(10px);
    border-radius:20px;
    padding:25px;
}

.search-box select,
.search-box button{
    height:55px;
    border-radius:12px;
    border:none;
}

.search-btn{
    background:#16a34a;
    color:#fff;
    font-weight:600;
    transition:.3s;
}

.search-btn:hover{
    background:#15803d;
}


/* =========================================================
   Common Sections
   ========================================================= */

.section-title{
    text-align:center;
    font-size:34px;
    font-weight:700;
    margin-bottom:20px;
    color:#222;
}


/* =========================================================
   About Section
   ========================================================= */

.about{
    padding:80px 0;
    background:#fff;
}

.about-box{
    background:#f9fafb;
    border-radius:20px;
    padding:35px;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.about-logo{
    width:250px;
    margin-bottom:30px;
}

.about-text{
    font-size:18px;
    color:#555;
    line-height:1.9;
}


/* =========================================================
   Property Cards
   ========================================================= */

.recent{
    padding:80px 0;
}

.property-card,
.listing-box,
.house-item{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
    transition:.3s;
}

.property-card:hover{
    transform:translateY(-5px);
}

.property-img,
.listing-img{
    width:100%;
    object-fit:cover;
}

.property-img{
    height:250px;
}

.property-content,
.listing-content{
    padding:20px;
}

.property-title,
.house-title{
    font-size:22px;
    font-weight:600;
    margin-bottom:10px;
}

.property-info,
.house-info,
.listing-info{
    color:#666;
    margin-bottom:8px;
}

.price,
.listing-price{
    color:#16a34a;
    font-weight:700;
}

.price{
    font-size:24px;
}

.listing-price{
    font-size:30px;
}


/* =========================================================
   Buttons
   ========================================================= */

.view-btn,
.details-btn,
.call-btn,
.submit-btn,
.filter-btn,
.add-house-btn,
.edit-btn,
.status-btn,
.login-btn{
    border:none;
    border-radius:12px;
    font-weight:600;
    transition:.3s;
    padding:12px 22px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}

.view-btn,
.details-btn,
.submit-btn,
.filter-btn,
.add-house-btn,
.login-btn{
    background:#16a34a;
    color:#fff;
}

.call-btn{
    background:#2563eb;
    color:#fff;
}

.edit-btn{
    background:#dbeafe;
    color:#2563eb;
}

.available-btn{
    background:#dcfce7;
    color:#15803d;
}

.occupied-btn{
    background:#fee2e2;
    color:#dc2626;
}

.status-btn.active{
    box-shadow:0 0 0 3px rgba(22,163,74,0.2);
}

.submit-btn,
.filter-btn,
.login-btn{
    width:100%;
    min-height:58px;
    font-size:18px;
}

.login-btn:hover,
.submit-btn:hover,
.filter-btn:hover,
.details-btn:hover,
.add-house-btn:hover{
    background:#15803d;
}


/* =========================================================
   Forms & Inputs
   ========================================================= */

.post-property,
.edit-section,
.dashboard,
.search-page,
.login-section{
    padding:70px 0;
}

.post-box,
.edit-box,
.dashboard-box,
.filter-box,
.login-box{
    background:#fff;
    border-radius:25px;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
}

.post-box,
.edit-box,
.dashboard-box,
.login-box{
    padding:35px;
}

.filter-box{
    padding:25px;
    position:sticky;
    top:90px;
}

.form-logo,
.login-logo{
    width:120px;
    margin-bottom:20px;
}

.form-title,
.dashboard-title,
.filter-title,
.login-title{
    font-weight:700;
    color:#111827;
}

.form-title,
.dashboard-title,
.login-title{
    font-size:34px;
}

.filter-title{
    font-size:28px;
    margin-bottom:25px;
}

.form-subtitle,
.login-subtitle,
.footer-text{
    color:#6b7280;
}

.form-label,
.filter-label{
    font-weight:600;
    margin-bottom:12px;
    color:#222;
}

.custom-input{
    height:55px;
    border-radius:14px;
    border:1px solid #d1d5db;
    padding-left:15px;
    font-size:16px;
}

.custom-input:focus{
    border-color:#16a34a;
    box-shadow:none;
}

.radio-group,
.checkbox-group,
.house-type-group,
.status-buttons,
.listing-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.custom-radio,
.custom-check,
.house-type-box,
.filter-option{
    background:#f9fafb;
    border:1px solid #e5e7eb;
    padding:12px 18px;
    border-radius:12px;
}

.house-type-box:hover{
    border-color:#16a34a;
    background:#f0fdf4;
}

.custom-radio input,
.custom-check input,
.house-type-box input,
.filter-option input{
    margin-right:8px;
}

.add-image-btn{
    background:#e5f9ec;
    color:#15803d;
    border:none;
    padding:12px 18px;
    border-radius:12px;
    font-weight:600;
}

.old-user-login{
    background:#f9fafb;
    border:1px solid #e5e7eb;
    padding:25px;
    border-radius:18px;
}

.login-subtitle{
    line-height:1.7;
    margin-bottom:20px;
}

.preview-image{
    width:120px;
    height:90px;
    object-fit:cover;
    border-radius:12px;
    margin-right:10px;
    margin-bottom:10px;
}


/* =========================================================
   Dashboard
   ========================================================= */

.dashboard-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:35px;
    flex-wrap:wrap;
    gap:15px;
}

.house-row,
.listing-row{
    display:flex;
    gap:20px;
    align-items:center;
}

.house-image{
    width:150px;
    height:110px;
    border-radius:14px;
    object-fit:cover;
}

.house-details{
    flex:1;
}


/* =========================================================
   Footer
   ========================================================= */

footer{
    background:#111827;
    color:#fff;
    padding:50px 0 20px;
    margin-top:50px;
}

.footer-logo{
    width:140px;
    margin-bottom:15px;
}

.footer-links a{
    display:block;
    color:#d1d5db;
    margin-bottom:10px;
    transition:.3s;
}

.footer-links a:hover{
    color:#22c55e;
}

.copyright{
    text-align:center;
    margin-top:30px;
    color:#9ca3af;
    border-top:1px solid rgba(255,255,255,0.1);
    padding-top:20px;
}


/* =========================================================
   Mobile Responsive
   ========================================================= */

@media(max-width:768px){

    .hero-title{
        font-size:30px;
    }

    .hero-subtitle{
        font-size:15px;
    }

    .search-box{
        padding:18px;
    }

    .section-title,
    .form-title,
    .dashboard-title,
    .filter-title,
    .login-title{
        font-size:28px;
    }

    .property-img,
    .listing-img{
        height:220px;
    }

    .navbar-nav{
        padding-top:15px;
    }

    .navbar-nav .nav-link{
        margin-left:0;
        margin-bottom:10px;
    }

    .post-property,
    .edit-section,
    .dashboard,
    .search-page,
    .login-section{
        padding:40px 0;
    }

    .post-box,
    .edit-box,
    .dashboard-box,
    .login-box{
        padding:22px;
    }

    .radio-group,
    .checkbox-group,
    .house-type-group{
        gap:10px;
    }

    .custom-radio,
    .custom-check,
    .house-type-box{
        width:100%;
    }

    .old-user-login{
        padding:18px;
    }

    .dashboard-top{
        flex-direction:column;
        align-items:stretch;
    }

    .add-house-btn{
        width:100%;
    }

    .house-row,
    .listing-row{
        flex-direction:column;
        align-items:flex-start;
    }

    .house-image,
    .listing-img,
    .preview-image{
        width:100%;
        height:220px;
    }

    .listing-buttons,
    .status-buttons{
        width:100%;
    }

    .details-btn,
    .call-btn,
    .status-btn{
        width:100%;
    }

    .filter-sidebar{
        order:2;
        margin-top:25px;
    }

    .listing-sidebar{
        order:1;
    }

    .filter-box{
        position:relative;
        top:0;
        margin-bottom:0;
    }

}


/* =========================================================
   Dashboard New Design
   ========================================================= */

.profile-sidebar{
    background:#fff;
    border-radius:25px;
    padding:25px;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
    text-align:center;
}

.profile-image{
    width:130px;
    height:130px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid #16a34a;
}

.upload-btn{
    background:#f3f4f6;
    color:#111827;
    border:none;
    border-radius:12px;
    padding:12px;
    font-weight:600;
}

.profile-info{
    margin-top:25px;
}

.profile-name{
    font-size:24px;
    font-weight:700;
    color:#111827;
    margin-bottom:8px;
}

.profile-mobile{
    color:#6b7280;
    margin-bottom:20px;
}

.profile-edit-btn{
    background:#f97316;
    color:#fff;
    border:none;
    border-radius:12px;
    padding:12px;
    font-weight:600;
}

.profile-edit-btn:hover{
    background:#ea580c;
    color:#fff;
}

.dashboard-box{
    padding:30px;
}

.house-item{
    padding:20px;
    margin-bottom:20px;
    border-radius:20px;
    background:#fff;
    border:1px solid #e5e7eb;
}

.house-item:last-child{
    margin-bottom:0;
}

.house-row{
    display:flex;
    align-items:center;
    gap:20px;
}

.house-image{
    width:140px;
    height:110px;
    border-radius:16px;
    object-fit:cover;
    flex-shrink:0;
}

.house-details{
    flex:1;
}

.house-title{
    font-size:28px;
    font-weight:700;
    margin-bottom:10px;
    color:#111827;
}

.house-info{
    color:#4b5563;
    margin-bottom:6px;
}

.status-buttons{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    justify-content:flex-end;
}

.status-btn{
    min-width:120px;
    border-radius:12px;
    padding:12px 16px;
    font-weight:600;
    border:none;
}

.available-btn{
    background:#dcfce7;
    color:#166534;
}

.available-btn.active{
    background:#16a34a;
    color:#fff;
}

.unavailable-btn{
    background:#f3f4f6;
    color:#111827;
}

.unavailable-btn.active{
    background:#111827;
    color:#fff;
}

.edit-btn{
    background:#f97316;
    color:#fff;
    border:none;
    border-radius:12px;
    padding:12px 18px;
    font-weight:600;
}

.edit-btn:hover{
    background:#ea580c;
    color:#fff;
}

.add-house-btn{
    background:#16a34a;
    color:#fff;
}

.add-house-btn:hover{
    background:#15803d;
    color:#fff;
}


/* =========================================================
   Mobile Responsive
   ========================================================= */

@media(max-width:768px){

    .profile-sidebar{
        margin-bottom:25px;
    }

    .dashboard-box{
        padding:20px;
    }

    .house-row{
        flex-direction:column;
        align-items:flex-start;
    }

    .house-image{
        width:100%;
        height:220px;
    }

    .house-title{
        font-size:24px;
    }

    .status-buttons{
        width:100%;
        justify-content:flex-start;
    }

    .status-btn,
    .edit-btn{
        width:100%;
    }

}