/* custom.css */
:root {
    --primary: #2c3e50;
    --secondary: #c19a6b;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --accent: #3498db;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.navbar {
    background-color: var(--primary);
    padding: 15px 0;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: white !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    margin: 0 10px;
}

.nav-link:hover {
    color: var(--secondary) !important;
}

.breadcrumb {
    background-color: transparent;
    padding: 15px 0;
}

.breadcrumb-item.active, .breadcrumb-item+.breadcrumb-item::before {
    color: #fff;
}

.breadcrumb-item a {
    color: #fff;
    text-decoration: none;
}

.hero-section {
    height: 90vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2076&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
}

.hero-content {
    max-width: 700px;
}

.btn-primary {
    background-color: var(--secondary);
    border: none;
    padding: 12px 30px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #a87d56;
}

.search-bar {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: -50px;
    position: relative;
    z-index: 100;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
}

.section-title.center {
    text-align: center;
}

.section-title.center:after {
    left: 50%;
    transform: translateX(-50%);
}

.property-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-5px);
}

.property-image-container {
    height: 250px;
    overflow: hidden;
}

.property-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-body, .card-footer {
    padding: 1rem;
}

.property-card:hover .property-image {
    transform: scale(1.05);
}

.property-price {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.5rem;
}

.property-feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.property-feature i {
    color: var(--secondary);
    margin-right: 10px;
    font-size: 1.2rem;
}

.why-us-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.testimonial-card {
    padding: 30px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin: 15px;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    margin-top: 20px;
}

.contact-form {
    background-color: var(--light);
    padding: 60px 0;
}

.form-control {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--secondary);
}

.copyright {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Properties Page */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2073&q=80');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: white;
    margin-bottom: 40px;
}

.filter-section {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.filter-title {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light);
}

.btn-filter {
    background-color: var(--primary);
    color: white;
}

.btn-filter:hover {
    background-color: var(--secondary);
}

.property-location {
    color: #666;
    margin-bottom: 15px;
}

.property-location i {
    color: var(--secondary);
    margin-right: 8px;
}

.property-features {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
}

.badge-featured {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 500;
}

.pagination {
    margin-top: 40px;
}

.page-link {
    color: var(--primary);
}

.page-link:hover {
    color: var(--secondary);
}

.page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
}

.results-sort {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.form-select {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 8px 15px;
}

/* Single Property */
.property-header {
    margin-bottom: 30px;
}

/* About Page Styles */
.about-content {
    background-color: white;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 60px;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 50px 0;
    text-align: center;
}

.stat-item {
    padding: 20px;
    flex: 1;
    min-width: 200px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
}

.team-member {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    height: 300px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 25px;
}

.member-name {
    margin-bottom: 5px;
}

.member-role {
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 15px;
}

.member-bio {
    color: #666;
    margin-bottom: 20px;
}

.member-contact {
    display: flex;
    gap: 10px;
}

.btn-contact {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
    flex: 1;
    text-align: center;
    text-decoration: none;
}

.btn-contact:hover {
    background-color: var(--secondary);
    color: white;
}

.values-section {
    background-color: var(--light);
    padding: 80px 0;
    margin: 60px 0;
}

.value-item {
    text-align: center;
    padding: 30px;
}

.value-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.testimonials-section {
    padding: 80px 0;
    background-color: var(--light);
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    color: rgba(193, 154, 107, 0.2);
}

.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2073&q=80');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    text-align: center;
    /*margin-top: 60px;*/
}

.testimonial-role {
    color: #666;
    font-size: 0.9rem;
}

/* News Page Styles */
.blog-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
    /*height: 100%;*/
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.blog-title {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.blog-excerpt {
    color: #666;
    margin-bottom: 20px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
}

.blog-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.blog-category {
    background-color: var(--light);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.btn-read-more {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-read-more:hover {
    background-color: var(--secondary);
    color: white;
}

.sidebar {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.sidebar-title {
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 15px;
}

.sidebar-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary);
}

.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.categories-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.categories-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    justify-content: space-between;
}

.categories-list a:hover {
    color: var(--secondary);
}

.categories-list span {
    background-color: var(--light);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.popular-post {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.popular-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-post-image {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    margin-right: 15px;
}

.popular-post-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.popular-post-date {
    color: #666;
    font-size: 0.8rem;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background-color: var(--light);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s;
}

.tag:hover {
    background-color: var(--secondary);
    color: white;
}

.newsletter-form {
    margin-top: 20px;
}

.form-control {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
}

.btn-subscribe {
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 500;
    width: 100%;
    transition: background-color 0.3s;
}

.btn-subscribe:hover {
    background-color: #a87d56;
}

/* Contact Page Styles */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1513694203232-719a280e022f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2069&q=80');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    margin-bottom: 60px;
    text-align: center;
}

.contact-section {
    margin-bottom: 60px;
}

.contact-info-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    /*height: 100%;*/
    transition: transform 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 20px;
}

.contact-details a {
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: var(--secondary);
}

.contact-form {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 0.2rem rgba(193, 154, 107, 0.25);
}

.office-hours {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.hours-list li:last-child {
    border-bottom: none;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 400px;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.map-placeholder {
    text-align: center;
    color: #6c757d;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: var(--light);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 200px;
}

.faq-item.active .faq-toggle i {
    transform: rotate(180deg);
}

.faq-toggle {
    transition: transform 0.3s ease;
}

.social-contact {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background-color 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--secondary);
    color: white;
}

/* Single Property Page Styles */
.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-value {
    font-weight: 600;
    font-size: 1.2rem;
}

.feature-label {
    color: #666;
    font-size: 0.9rem;
}

/* Gallery Styles */
.gallery-container {
    position: relative;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.main-image {
    height: 500px;
    width: 100%;
    object-fit: cover;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.thumbnail {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.gallery-btn {
    background-color: rgba(255, 255, 255, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-btn:hover {
    background-color: var(--secondary);
    color: white;
}

/* Property Details */
.property-details {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

/* Contact Form */
.contact-form {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.form-control {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

/* Agent Info */
.agent-card {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    margin-bottom: 30px;
}

.agent-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--light);
}

.agent-contact {
    margin-top: 20px;
}

.agent-contact a {
    color: var(--dark);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.agent-contact a:hover {
    color: var(--secondary);
}

/* Amenities */
.amenities-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.amenity-item {
    display: flex;
    align-items: center;
}

.amenity-item i {
    color: var(--secondary);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Map */
.property-map {
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

/* Property Features Grid */
.property-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.property-feature {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.property-feature i {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-right: 15px;
}

/* Single News Page Styles */
.blog-single {
    padding: 80px 0;
}

.blog-content {
    background-color: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    /*margin-bottom: 30px;*/
}

.blog-image img {
    width: 100%;
    border-radius: 8px;
}

.blog-meta {
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.author-image {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.blog-body {
    padding: 30px 0;
}

.blog-body h3 {
    margin: 30px 0 15px;
    color: var(--dark);
}

.blog-body p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.blog-body ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.blog-body ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.blog-tags, .blog-share {
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.author-bio {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.author-bio img {
    width: 80px;
    height: 80px;
}

.related-posts {
    margin-top: 50px;
}

.related-posts .blog-card {
    height: auto;
}

.blockquote {
    border-left: 4px solid var(--secondary);
    background-color: var(--light);
    padding: 25px;
    border-radius: 8px;
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-content {
        padding: 25px;
    }
    
    .blog-body {
        padding: 20px 0;
    }
    
    .author-bio .row > div {
        text-align: center;
        margin-bottom: 20px;
    }
}