/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
}

body {
    direction: rtl;
    text-align: right;
    background-color: #f8f8f8;
    color: #26332D;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #007E46;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 3px;
}

.logo img {
    height: 70px;
    position: absolute;
    width: 70px;
    border-radius: 13px;
    top: 16px;
    box-shadow: 0px 3px 0px 0px rgba(0, 0, 0, 0.1);
}

.logo-text {
    margin-right: 80px;
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    color: #007E46;
    font-size: 1.4rem;
    margin: 0;
    font-weight: bold;
}

.logo-text p {
    color: #666;
    font-size: 0.8rem;
    margin: 0;
}

.header-nav {
    display: flex;
    gap: 20px;
}

.quick-register {
    background-color: #007E46;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.quick-register:hover {
    background-color: #5BA282;
}

.guide {
    color: #26332D;
    padding: 8px 0;
}

.guide:hover {
    color: #007E46;
}

.user-area {
    display: flex;
    gap: 15px;
    align-items: center;
}

.support-btn {
    color: #007E46;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.support-btn i {
    font-size: 1.1rem;
}

.support-btn:hover {
    color: #5BA282;
}

.user-area .login-btn {
    border: 1px solid #007E46;
    color: #007E46;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s;
}

.user-area .login-btn:hover {
    background-color: #007E46;
    color: white;
}

.vertical-space{
    height: 100px;
}

/* Hero section with search */
.hero {
    background-color: transparent;
   
    text-align: center;
    position: relative;
   
}

.hero::before {
    content: none;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 87%;
    z-index: -1;
    overflow: hidden;
    opacity: .3;
}

#earth-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-container {
    position: relative;
    z-index: 2;
}

.search-container h1 {
    margin-bottom: 30px;
    color: #007e46;
    text-shadow: 0 2px 4px rgb(255 255 255 / 97%);
}

.search-box {
    display: flex;
    max-width: 700px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Airbnb-style search box */
.search-box.airbnb-style {
    display: flex;
    background-color: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    height: 64px;
    align-items: center;
    border: 1px solid #ddd;
    max-width: 850px;
    margin: 0 auto;
    padding: 0 8px;
}

.search-box.airbnb-style .search-input-group {
    padding: 0 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    position: relative;
}

.search-box.airbnb-style .main-input {
    flex: 2;
}

.search-box.airbnb-style label {
    font-size: 12px;
    font-weight: bold;
    color: #bfbfbf;
    margin-bottom: 2px;
}

.search-box.airbnb-style .search-divider {
    width: 1px;
    height: 32px;
    background-color: #ddd;
}

.search-box.airbnb-style #category-select {
    border: none;
    min-width: auto;
    width: 100%;
    background-color: transparent;
    color: #26332D;
    font-weight: normal;
    padding: 0;
    cursor: pointer;
    font-size: 14px;
}
.search-input-group.main-input label{
    margin-top: 8px;
}
.search-box.airbnb-style #search-input {
    border: none;
    background-color: transparent;
    padding: 0;
    width: 100%;
    height: auto;
    font-size: 14px;
    margin-bottom: 8px;
}

.search-box.airbnb-style .search-btn {
    background-color:rgb(0, 126, 70);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
    padding: 0;
    border: none;
}

.search-box.airbnb-style .search-btn:hover {
    background-color: #025e36;
}

.search-box.airbnb-style .search-btn i {
    font-size: 18px;
}

#category-select {
    padding: 12px 15px;
    border: none;
    background-color: #fff;
    min-width: 150px;
    border-left: 1px solid #eee;
}

#search-input {
    flex-grow: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
}

.search-btn {
    background-color: #007E46;
    color: white;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #5BA282;
}

/* Categories section */
.categories {
    padding: 60px 0;
}

.categories h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #26332D;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.category-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-icon {
    background-color: #f0f8f4;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.category-icon i {
    color: #007E46;
    font-size: 24px;
}

.category-item span {
    font-weight: bold;
    color: #26332D;
}

/* Latest listings section */
.latest-listings {
    padding: 60px 0;
    background-color: #fff;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    color: #26332D;
}

.view-all {
    color: #007E46;
    font-weight: bold;
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.listing-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.listing-item:hover {
    transform: translateY(-5px);
}

.listing-image {
    position: relative;
    overflow: hidden;
}

.listing-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Listing details flex layout */
.listing-details {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.listing-left {
    flex: 1;
}

.listing-meta {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.listing-details h3 {
    margin-bottom: 10px;
    font-size: 16px;
}

.location {
    color: #555;
    font-size: 14px;
    margin-bottom: 10px;
}

.price {
    color: #007E46;
    font-weight: bold;
}

.show-more {
    text-align: center;
    margin-top: 40px;
}

.show-more-btn {
    display: inline-block;
    background-color: #f0f0f0;
    color: #26332D;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.show-more-btn:hover {
    background-color: #e0e0e0;
}

/* Features section */
.features {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: #f0f8f4;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    color: #007E46;
    font-size: 30px;
}

.feature-item h3 {
    margin-bottom: 15px;
    color: #26332D;
}

.feature-item p {
    color: #454D4A;
}

/* Footer styles */
footer {
    background-color: #26332D;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ddd;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #39F7A2;
}

.footer-column p {
    margin-bottom: 10px;
    color: #ddd;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-media a {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.social-media a:hover {
    background-color: #007E46;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Make the design responsive */
@media screen and (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .header-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-box.airbnb-style {
        flex-direction: column;
        height: auto;
        border-radius: 24px;
        padding: 8px;
        max-width: 100%;
    }
    
    .search-box.airbnb-style .search-input-group {
        width: 100%;
        border-bottom: 1px solid #eee;
        padding: 12px;
    }
    
    .search-box.airbnb-style .main-input {
        border-bottom: none;
    }
    
    .search-box.airbnb-style .search-divider {
        display: none;
    }
    
    .search-box.airbnb-style .search-btn {
        margin: 12px auto;
        width: 42px;
        height: 42px;
    }
    
    #category-select {
        border-left: none;
        border-bottom: 1px solid #eee;
    }
    
    .category-grid,
    .listings-grid,
    .features-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* Import Vazirmatn font for Persian text */
@font-face {
    font-family: 'Vazirmatn';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Autocomplete styles */
.autocomplete-dropdown {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    width: 100%;
}

.autocomplete-item {
    padding: 12px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 14px;
}

.autocomplete-item:hover,
.autocomplete-item:focus {
    background-color: #f7f7f7;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

/* Enhanced Airbnb-style search */
.search-box.airbnb-style:focus-within {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.search-box.airbnb-style .search-input-group:focus-within {
    background-color: #f7f7f7;
    border-radius: 32px;
}

.search-box.airbnb-style .search-input-group:hover {
    background-color: #f5f5f5;
}

.search-box.airbnb-style input:focus,
.search-box.airbnb-style select:focus {
    outline: none;
}

/* Listing image with favorite button */
.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.favorite-btn.active,
.favorite-btn:hover {
    color: #FF385C;
    background-color: white;
    transform: scale(1.1);
}

/* Rating and comments styles */
.meta-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.rating, .comments-count {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.rating i {
    color: #FFB800;
    font-size: 16px;
}

.rating-score {
    font-weight: bold;
    color: #666;
    font-size: 12px;
}

.comments-count {
    color: #666;
    font-size: 14px;
}

.comments-count i {
    color: rgb(70 210 147 / 50%);
    font-size: 16px;
}

/* Add active state for JavaScript interaction */
.listing-item .favorite-btn.active i {
    color: #FF385C;
    font-weight: 900;
}

/* Listing page styles */
.page-title {
    background-color: #f8f8f8;
    padding: 30px 0;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
}

.page-title h1 {
    color: #26332D;
    margin: 0;
}

.listings-section {
    padding: 40px 0;
}

.new-listing-banner {
    background-color: #f0f8f4;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #d7ede2;
}

.banner-content {
    text-align: center;
}

.banner-content h2 {
    color: #007E46;
    margin-bottom: 10px;
}

.banner-content p {
    color: #555;
    margin-bottom: 20px;
}

.new-listing-btn {
    display: inline-block;
    background-color: #007E46;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.new-listing-btn:hover {
    background-color: #5BA282;
}

.filter-sort-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.filter-container-wrapper {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.filter-container {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.filter-container.sticky {
    position: fixed;
    top: 100px;
    width: 300px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.results-container {
    flex: 3;
    min-width: 600px;
}

.filter-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
}

.filter-header h3 {
    margin: 0;
    color: #26332D;
}

.apply-filter, .cancel-filter {
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    border: none;
    transition: all 0.3s;
}

.apply-filter {
    background-color: #007E46;
    color: white;
    margin-left: 10px;
}

.apply-filter:hover {
    background-color: #5BA282;
}

.cancel-filter {
    background-color: #f0f0f0;
    color: #555;
}

.cancel-filter:hover {
    background-color: #e0e0e0;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #26332D;
    font-size: 16px;
}

.price-range {
    margin-bottom: 15px;
}

.range-inputs {
    margin-bottom: 15px;
}

.range-inputs input[type="range"] {
    width: 100%;
    margin-bottom: 10px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
}

/* Range track styling */
.range-inputs input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    cursor: pointer;
}

.range-inputs input[type="range"]::-moz-range-track {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    cursor: pointer;
}

/* Range thumb styling */
.range-inputs input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #003366;
    cursor: pointer;
    margin-top: -6px; /* offset for proper positioning */
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.range-inputs input[type="range"]::-moz-range-thumb {
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #003366;
    cursor: pointer;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Focus state */
.range-inputs input[type="range"]:focus {
    outline: none;
}

.range-inputs input[type="range"]:focus::-webkit-slider-runnable-track {
    background: #d0d0d0;
}

.range-inputs input[type="range"]:focus::-moz-range-track {
    background: #d0d0d0;
}

/* Active state */
.range-inputs input[type="range"]:active::-webkit-slider-thumb {
    background: #003366;
    transform: scale(1.1);
}

.range-inputs input[type="range"]:active::-moz-range-thumb {
    background: #003366;
    transform: scale(1.1);
}

.price-inputs {
    display: flex;
    justify-content: space-between;
    gap: 10px;   
     flex-direction: column;

}

.price-input {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.price-input label {
    margin-bottom: 5px;
    font-size: 12px;
    color: #666;
}

.price-input input {
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.price-input span {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.date-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-label, .checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-label span, .checkbox-label span {
    margin-right: 8px;
    color: #444;
    font-size: 14px;
}

.category-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 10px;
}

.toggle-subcategory {
    background: none;
    border: none;
    font-size: 12px;
    color: #888;
    cursor: pointer;
    margin-right: 5px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.toggle-subcategory:hover {
    color: #007E46;
}

.subcategories {
    width: 100%;
    margin-top: 10px;
    margin-right: 20px;
    display: none;
}

.subcategories .checkbox-label {
    margin-bottom: 8px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.results-count {
    font-size: 16px;
    color: #26332D;
}

.results-count span {
    font-weight: bold;
    color: #007E46;
}

.sort-options {
    display: flex;
    align-items: center;
}

.sort-options label {
    margin-left: 10px;
    color: #555;
    font-size: 14px;
}

.sort-options select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #26332D;
    cursor: pointer;
    background-color: #f9f9f9;
}

/* Media queries for responsiveness */
@media screen and (max-width: 1024px) {
    .filter-sort-container {
        flex-direction: column;
    }
    
    .filter-container-wrapper {
        max-width: 100%;
    }
    
    .filter-container {
        max-width: 100%;
    }
    
    .filter-container.sticky {
        position: relative;
        top: 100px;
        width: 100%;
        max-height: none;
    }
    
    .results-container {
        min-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .results-count {
        margin-bottom: 15px;
    }
    
    .sort-options {
        width: 100%;
    }
    
    .sort-options select {
        width: 100%;
    }
}

/* Mobile filter styles */
.mobile-filter-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007E46;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    cursor: pointer;
    transition: all 0.3s;
    align-items: center;
}

.mobile-filter-btn i {
    margin-left: 8px;
    font-size: 16px;
}

.mobile-filter-btn:hover {
    background-color: #5BA282;
    transform: translateY(-3px);
}

.filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

.filter-mobile-active {
    overflow: hidden;
}

.filter-mobile-active .filter-overlay {
    display: block;
}

.filter-mobile-active .filter-container {
    transform: translateX(0);
}

/* Media queries for responsiveness */
@media screen and (max-width: 1024px) {
    .filter-sort-container {
        flex-direction: column;
    }
    
    .filter-container-wrapper {
        max-width: 100%;
    }
    
    .filter-container {
        max-width: 100%;
    }
    
    .filter-container.sticky {
        position: relative;
        top: 100px;
        width: 100%;
        max-height: none;
    }
    
    .results-container {
        min-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .mobile-filter-btn {
        display: flex;
    }
    
    .filter-container {
        position: fixed;
        top: 0;
        right: 0;
        width: 85%;
        max-width: 320px;
        height: 100%;
        overflow-y: auto;
        z-index: 100;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        margin: 0;
        border-radius: 0;
        padding-top: 157px;
    }
    
    .filter-header {
        position: fixed;
        top: 0;
        right: 0;
        width: 85%;
        max-width: 320px;
        background-color: #fff;
        z-index: 101;
        padding: 15px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .results-count {
        margin-bottom: 15px;
    }
    
    .sort-options {
        width: 100%;
    }
    
    .sort-options select {
        width: 100%;
    }
}

/* Category breadcrumb styles */
.category-breadcrumb {
    margin: 0 0 20px;
    padding: 12px 0;
    border-bottom: 1px solid #eaeaea;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 14px;
}

.breadcrumb-item {
    color: #007E46;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item:hover {
    color: #5BA282;
}

.breadcrumb-item.active {
    color: #26332D;
    font-weight: bold;
}

.breadcrumb-separator {
    color: #aaa;
    margin: 0 2px;
    font-size: 12px;
}

.category-highlight {
    color: #007E46;
    font-weight: bold;
}
.filter-container h3{
    padding: 12px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #eaeaea;
}

/* Media queries for responsiveness */
@media screen and (max-width: 1024px) {
    .filter-sort-container {
        flex-direction: column;
    }
    
    .filter-container-wrapper {
        max-width: 100%;
    }
    
    .filter-container {
        max-width: 100%;
    }
    
    .filter-container.sticky {
        position: relative;
        top: 100px;
        width: 100%;
        max-height: none;
    }
    
    .results-container {
        min-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .mobile-filter-btn {
        display: flex;
    }
    
    .filter-container {
        position: fixed;
        top: 0;
        right: 0;
        width: 85%;
        max-width: 320px;
        height: 100%;
        overflow-y: auto;
        z-index: 100;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        margin: 0;
        border-radius: 0;
        padding-top: 157px;
    }
    
    .filter-header {
        position: initial;
        top: 0;
        right: 0;
        width: 85%;
        max-width: 320px;
        background-color: #fff;
        z-index: 101;
        padding: 15px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .results-count {
        margin-bottom: 15px;
    }
    
    .sort-options {
        width: 100%;
    }
    
    .sort-options select {
        width: 100%;
    }
}

/* Category breadcrumb styles */
.category-breadcrumb {
    margin: 0 0 20px;
    padding: 12px 0;
    border-bottom: 1px solid #eaeaea;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 14px;
}

.breadcrumb-item {
    color: #007E46;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item:hover {
    color: #5BA282;
}

.breadcrumb-item.active {
    color: #26332D;
    font-weight: bold;
}

.breadcrumb-separator {
    color: #aaa;
    margin: 0 2px;
    font-size: 12px;
}

.category-highlight {
    color: #007E46;
    font-weight: bold;
}

/* Single Listing Page Styles */
.single-listing-main {
    padding: 40px 0;
}

/* Listing Header Section */
.listing-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.listing-title-container {
    flex: 1;
    min-width: 280px;
}

.listing-title {
    color: #26332D;
    margin-bottom: 10px;
    font-size: 28px;
    line-height: 1.3;
}

.listing-location {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 16px;
    margin-top: 5px;
}

.listing-location i {
    margin-left: 6px;
    color: #007E46;
}

.listing-actions {
    display: flex;
    gap: 10px;
}

.listing-actions button {
    background: white;
    border: 1px solid #e0e0e0;
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
    cursor: pointer;
}

.listing-actions button:hover {
    background-color: #f9f9f9;
    border-color: #ccc;
}

.btn-favorite:hover {
    color: #FF385C;
}

.btn-share:hover {
    color: #007E46;
}

/* Media Gallery Styles */
.listing-media {
    margin-bottom: 40px;
}

.media-gallery {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.main-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.main-image img:hover {
    transform: scale(1.03);
}

.thumbnail-gallery {
    display: flex;
    overflow-x: auto;
    padding: 15px;
    background-color: white;
    gap: 10px;
}

.thumbnail {
    flex: 0 0 100px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    position: relative;
}

.thumbnail.active {
    border-color: #007E46;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumbnail i {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    color: white;
    font-size: 24px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.show-all-media {
    flex: 0 0 auto;
    background-color: #f0f0f0;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
    font-size: 13px;
    margin-right: auto;
}

.show-all-media:hover {
    background-color: #e0e0e0;
}

/* Content Layout Styles */
.content-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.main-content {
    flex: 2;
    min-width: 300px;
}

.listing-sidebar {
    flex: 1;
    min-width: 300px;
}

/* Description Styles */
.listing-description {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.listing-description h2 {
    color: #26332D;
    margin-bottom: 20px;
    font-size: 22px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.description-text {
    font-size: 15px;
    line-height: 1.8;
    color: #454D4A;
    margin-bottom: 25px;
}

.description-text p {
    margin-bottom: 15px;
}

.description-text ul {
    padding-right: 20px;
    margin-bottom: 15px;
    list-style-type: disc;
}

.description-text ul li {
    margin-bottom: 8px;
}

.listing-tags {
    margin-top: 30px;
}

.listing-tags h3 {
    font-size: 18px;
    color: #26332D;
    margin-bottom: 15px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background-color: #f0f8f4;
    color: #007E46;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 14px;
    transition: all 0.3s;
}

.tag:hover {
    background-color: #e0f0e8;
}

/* Sidebar Card Styles */
.sidebar-card {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.price-container {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.current-price {
    font-size: 28px;
    font-weight: bold;
    color: #007E46;
}

.price-per-night {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-seller-btn, .chat-btn {
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.contact-seller-btn {
    background-color: #007E46;
    color: white;
}

.contact-seller-btn:hover {
    background-color: #025e36;
}

.chat-btn {
    background-color: #f0f0f0;
    color: #26332D;
}

.chat-btn:hover {
    background-color: #e0e0e0;
}

.listing-attributes {
    margin-bottom: 20px;
}

.attribute-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}

.attribute-item i {
    color: #007E46;
    width: 20px;
    margin-left: 10px;
}

.attribute-label {
    color: #666;
    margin-left: 5px;
}

.attribute-value {
    color: #26332D;
    font-weight: 500;
}

.listing-id {
    font-size: 13px;
    color: #888;
    text-align: center;
    margin-top: 20px;
}

/* Seller Info Styles */
.seller-info {
    margin-bottom: 40px;
}

.seller-info h2 {
    color: #26332D;
    margin-bottom: 20px;
    font-size: 22px;
}

.seller-card {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.seller-profile {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.seller-avatar {
    position: relative;
    margin-left: 20px;
}

.seller-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f8f4;
}

.verification-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.verification-badge i {
    color: #007E46;
    font-size: 14px;
}

.seller-details {
    flex: 1;
}

.seller-name {
    font-size: 18px;
    color: #26332D;
    margin-bottom: 5px;
}

.seller-rating {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.seller-rating .stars {
    display: flex;
    margin-left: 5px;
}

.seller-rating .stars i {
    color: #FFB800;
    font-size: 14px;
}

.rating-value {
    font-weight: bold;
    margin-left: 5px;
}

.rating-count {
    color: #666;
    font-size: 13px;
}

.seller-since {
    font-size: 13px;
    color: #666;
}

.seller-bio {
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 14px;
    color: #454D4A;
}

.seller-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.seller-actions a {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.view-profile {
    background-color: #f0f8f4;
    color: #007E46;
}

.view-profile:hover {
    background-color: #e0f0e8;
}

.view-listings {
    background-color: #f0f0f0;
    color: #26332D;
}

.view-listings:hover {
    background-color: #e0e0e0;
}

/* Reviews Section Styles */
.reviews-section {
    margin-bottom: 40px;
}

.reviews-section h2 {
    color: #26332D;
    margin-bottom: 20px;
    font-size: 22px;
}

.ai-review-summary {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.ai-review-summary h3 {
    color: #26332D;
    margin-bottom: 20px;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.ai-review-summary h3::before {
    content: "\f085";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 8px;
    color: #007E46;
}

.summary-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.pros-cons {
    flex: 3;
    min-width: 280px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.pros, .cons {
    flex: 1;
    min-width: 200px;
}

.pros h4, .cons h4 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.pros h4::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 8px;
    color: #007E46;
}

.cons h4::before {
    content: "\f057";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 8px;
    color: #d9534f;
}

.pros ul, .cons ul {
    padding-right: 20px;
    font-size: 14px;
    list-style-type: none;
}

.pros ul li, .cons ul li {
    position: relative;
    padding-right: 15px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.pros ul li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.pros ul li::before {
    background-color: #007E46;
}

.cons ul li::before {
    background-color: #d9534f;
}

.rating-summary {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.overall-rating {
    text-align: center;
}

.rating-number {
    font-size: 36px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    color: #007E46;
}

.add-review-form {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.add-review-form h3 {
    color: #26332D;
    margin-bottom: 20px;
    font-size: 18px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #454D4A;
    font-weight: 500;
}

.rating-input {
    display: flex;
    gap: 5px;
    font-size: 24px;
    color: #ccc;
}

.rating-input i {
    cursor: pointer;
    transition: all 0.2s;
}

.rating-input i:hover {
    color: #FFB800;
}

.rating-input i.fas {
    color: #FFB800;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    border-color: #007E46;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 126, 70, 0.1);
}

.submit-review-btn {
    background-color: #007E46;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-review-btn:hover {
    background-color: #025e36;
}

.reviews-list {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.review-item {
    padding: 25px;
    border-bottom: 1px solid #eee;
}

.review-item:last-child {
    border-bottom: none;
}

.reviewer-info {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-avatar {
    margin-left: 15px;
}

.reviewer-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-details {
    flex: 1;
}

.reviewer-name {
    font-size: 16px;
    color: #26332D;
    margin-bottom: 5px;
}

.reviewer-location, .review-date {
    font-size: 13px;
    color: #666;
}

.review-rating {
    margin-right: auto;
}

.review-content {
    font-size: 15px;
    line-height: 1.7;
    color: #454D4A;
    position: relative;
}

.review-content.expanded {
    max-height: none;
}

.show-more {
    background: none;
    border: none;
    color: #007E46;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 0;
    margin-top: 10px;
    transition: all 0.3s;
}

.show-more:hover {
    color: #025e36;
}

/* Map Section */
.location-map {
    margin-bottom: 40px;
}

.location-map h2 {
    color: #26332D;
    margin-bottom: 20px;
    font-size: 22px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    height: 450px;
}

/* Similar Listings */
.similar-listings {
    margin-bottom: 60px;
}

.similar-listings h2 {
    color: #26332D;
    margin-bottom: 20px;
    font-size: 22px;
}

.similar-listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .listing-header {
        flex-direction: column;
    }
    
    .listing-actions {
        margin-top: 20px;
        width: 100%;
        justify-content: space-between;
    }
    
    .main-image {
        height: 300px;
    }
    
    .summary-container {
        flex-direction: column;
    }
    
    .pros-cons {
        flex-direction: column;
    }
    
    .reviewer-info {
        flex-direction: column;
    }
    
    .reviewer-avatar {
        margin-bottom: 15px;
    }
    
    .review-rating {
        margin-top: 10px;
        margin-right: 0;
    }
} 