* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "Poppins";
    /* Nome da fonte */
    src: url("../font/poppins.ttf");
    /* Caminho para o arquivo da fonte */
}

@font-face {
    font-family: "Ballo";
    /* Nome da fonte */
    src: url("../font/baloo.ttf");
    /* Caminho para o arquivo da fonte */
}

body {
    font-family: Poppins;
    line-height: 1.6;
    color: #333;
}

a {
    font-style: none;
    text-decoration: none;
    color: #5a63e6;
}

a:hover {
    color: white;
}

/* Dropdown Menu Styles */
.nav-item.dropdown {
    position: relative;
}

.dropdown-toggle {
    position: relative;
    padding-right: 15px;
}

.dropdown-toggle:after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    min-width: 220px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    z-index: 1000;
    padding: 10px 0;
}

.dropdown-content {
    padding: 10px 15px;
}

.dropdown-content h3 {
    color: #5a63e6;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.dropdown-link {
    display: block;
    padding: 8px 0;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.dropdown-link:hover {
    color: #5a63e6;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}



.container {
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: white;
    padding: 1rem 0;

    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #6B73FF;
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: #6B73FF;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #6B73FF;
}

.login-link {
    color: #6B73FF !important;
}

/* Hero Section */
.hero {
    width: 100%;

}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    line-height: 1.2;
}

.hero-brand {
    color: #6B73FF;
    font-size: 4.5rem;
    font-family: "Ballo";
    letter-spacing: 3px;
}

.hero-highlight {
    color: #6B73FF;
}

.hero-image {
    text-align: center;

}

.hero-image img {
    width: 100%;
    height: auto;
    margin-top: 50px;
}

/* Search Section */
.search-section {
    position: relative;
    top: -7px;
    background: #5A84FF;
    color: white;
}

.search-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
}

.search-text {
    padding: 20px;
    width: 100%;
}

.search-text h2 {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: black;
    font-weight: bold;
}

.search-form {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex: 1;
    width: 100%;
}

.search-group {
    width: 100%;
}

.search-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: black;

}

.search-select {
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    width: 100%;
    color: #999;
    background: white;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%236B73FF' viewBox='0 0 24 24'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px;
    padding-right: 3rem;
}

.search-select option[disabled] {
    display: none;
}

/*  */
.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 10px;
    width: 100%;
    flex: 1;

}

.search-icon {
    position: absolute;
    left: 1rem;
    color: #999;
    z-index: 1;
}

.search-input {
    flex: 1;
    padding: 1rem 1rem 1rem 3rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    background: transparent;

}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    padding: 0.7rem 1.0rem;
    background: #5A84FF;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
    margin-right: 7px;
    font-size: 0.9rem;
}

.search-image {
    display: flex;
    flex: 1;
    width: 100%;
    height: 100%;
}

.search-image img {
    object-fit: cover;
    width: 100%;

}

/* Novidades Section */
.novidades {
    padding: 4rem 0;
    background: #f8f9ff;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.property-card {
    background: white;

    border-radius: 50px 50px 50px 0px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    border-bottom: 3px solid rgb(170, 170, 170);
}

.property-card:hover {
    transform: translateY(-5px);
}

.property-image {
    position: relative;
    height: 450px;
    overflow: hidden;
}

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



.property-info {
    padding: 1.5rem;
}

.property-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.property-type {
    color: #666;
    font-size: 0.9rem;
}

.favorite-btn {
    background: none;
    border: 2px solid #6B73FF;
    color: #6B73FF;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorite-btn:hover {
    background: #6B73FF;
    color: white;
}

.favorite-btn.active {
    background: #6B73FF;
    color: white;
}

.property-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000000;
    margin-bottom: 0.5rem;
}

.property-location {
    color: #666;
    margin-bottom: 1rem;
}

.property-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.property-features img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.contact-btn {
    padding: 0.75rem 2rem;
    background: #6B73FF;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 0.95rem;
}

.contact-btn:hover {
    background: #5a63e6;
}

.ver-mais-btn {
    display: block;
    margin: 0 auto;
    padding: 1rem 3rem;
    background: transparent;
    color: #6B73FF;
    border: 2px solid #6B73FF;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 22px;
}

.ver-mais-btn:hover {
    background: #6B73FF;
    color: white;
}

/* Footer */
.footer {
    background: #6B73FF;
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

/* Login Page */
.login-body {
    height: 100vh;
    overflow: hidden;
    padding: 30px;
    background-color: #000000;
}

.login-container {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
    border-radius: 50px;
    overflow: hidden;
}

.login-side {
    flex: 1;
    background: #2c2c2c;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
}

.back-btn {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.login-content {
    width: 100%;
    max-width: 400px;
}

.login-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.form-input {
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.login-btn {
    padding: 1rem;
    background: linear-gradient(135deg, #6F55FF 0%, #F6CDFF 100%);
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.login-btn:hover {
    transform: translateY(-2px);
}

.login-logo {
    text-align: center;
}

.register-side {
    background: linear-gradient(135deg, #f8f9ff 0%, #6B73FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    flex: 1;
}

.register-content {
    text-align: center;
    max-width: 400px;
}

.register-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #000000;
    line-height: 1.2;
}

.register-description {
    margin-bottom: 2rem;
    color: #000000;
    line-height: 1.6;
}

.register-btn {
    padding: 1rem 3rem;
    background: transparent;
    color: #000000;
    border: 2px solid #000000;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.register-btn:hover {
    background: #000000;
    color: white;
}

/* Catalog Page */
.search-bar {
    background: #f8f9ff;
    padding: 1rem 0;
}

.search-bar .container {
    display: flex;
    gap: 1rem;
}

.clear-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
}

.search-properties-btn {
    padding: 0.5rem 1rem;
    background: #6B73FF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-properties-btn:hover {
    background: #5a63e6;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(107, 115, 255, 0.3);
}

.filter-tabs {
    background: white;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.filter-tabs .container {
    display: flex;
    gap: 2rem;
}

.tab-btn {
    padding: 0.5rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: #6B73FF;
    border-bottom-color: #6B73FF;
}

.catalog-content {
    padding: 2rem 0;
}

.catalog-content .container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

.filters-sidebar {
    position: sticky;
    top: 100px;
    overflow: scroll;
    overflow-x: hidden;
    height: calc(100vh - 100px);
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.show-all-link {
    color: #6B73FF;
    text-decoration: none;
    font-size: 0.9rem;
}

.number-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.number-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    min-width: 40px;
    transition: all 0.3s ease;
}

.number-btn:hover {
    background: #f0f0f0;
}

.number-btn.active {
    background: #6B73FF;
    color: white;
    border-color: #6B73FF;
}

.price-inputs,
.area-inputs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.price-input-group,
.area-input-group {
    flex: 1;
}

.price-input-group label,
.area-input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.price-input,
.area-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.properties-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.property-card-large {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 400px 1fr;
    margin-bottom: 1.5rem;
}

.property-carousel {
    position: relative;
    height: 250px;
}

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

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
}

.carousel-btn.prev {
    left: 1rem;
}

.carousel-btn.next {
    right: 1rem;
}

.favorite-btn-large {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
}

.property-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.5rem;
}

.property-type-small {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.property-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin: 0.25rem 0 1rem 0;
}

.property-features-inline {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0 1.5rem 0;
    color: #666;
}

.property-features-inline span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.property-features-inline svg {
    flex-shrink: 0;
}

.property-price-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.property-price-large {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
}

.property-price-large small {
    font-size: 1rem;
    color: #666;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    min-width: 40px;
}

.page-btn.active {
    background: #6B73FF;
    color: white;
    border-color: #6B73FF;
}

/* Property Details Page */
.property-gallery {
    padding: 2rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.main-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

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

.gallery-info {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    gap: 1rem;
}

.photo-count,
.video-count {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.gallery-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-thumbnails img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 15px;
}

.property-header {
    margin-top: 1rem;
}

.property-breadcrumb {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.favorite-btn-header {
    background: none;
    border: 1px solid #6B73FF;
    color: #6B73FF;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
}

.property-details-section {
    padding: 2rem 0;
}

.details-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.property-type-badge {
    background: #e8f4fd;
    color: #0066cc;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.property-price-main {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.property-iptu {
    color: #666;
    margin-bottom: 2rem;
}

.property-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8f9ff;
    border-radius: 10px;
}

.feature-icon {
    opacity: 0.6;
}

.feature-icon img,
.feature-icon svg {
    opacity: 0.7;
}

.property-address h3 {
    margin-bottom: 1rem;
}

.location-link {
    color: #6B73FF;
    text-decoration: none;
    margin-top: 0.5rem;
    display: inline-block;
}

.contact-sidebar {
    display: flex;
    align-items: flex-end;
}

.contact-btn-large {
    width: 100%;
    padding: 1.5rem;
    background: #6B73FF;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
}

.recommendations {
    padding: 3rem 0;
    background: #f8f9ff;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.recommendation-card {
    border-radius: 15px;
    overflow: hidden;
    display: flex;
}

.recommendation-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Profile Page */
.profile-container {
    min-height: calc(100vh - 80px);
    background: #f8f9ff;
    padding: 2rem 0;
}

.profile-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

.profile-sidebar {
    background: white;
    border-radius: 15px;
    padding: 0;
    height: fit-content;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
    font-size: 1.1rem;
}

.sidebar-item:first-child {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.sidebar-item:last-child {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border-bottom: none;
}

.sidebar-item.active {
    background: #6B73FF;
    color: white;
}



.sidebar-item.logout {
    color: #6B73FF;
    margin-top: 1rem;
}

.sidebar-item:hover {
    color: black;
}



.sidebar-icon {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-main {
    background: white;
    border-radius: 15px;
    padding: 2rem;
}

.profile-header {
    margin-bottom: 2rem;
}

.profile-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.profile-subtitle {
    color: #666;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-input-profile {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input-profile:focus {
    outline: none;
    border-color: #6B73FF;
}

.form-input-profile.disabled {
    background: #f5f5f5;
    color: #999;
}

.change-password-link {
    color: #6B73FF;
    text-decoration: none;
    align-self: flex-start;
}

.save-btn {
    padding: 1rem 2rem;
    background: #6B73FF;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    align-self: flex-start;
    transition: background 0.3s;
}

.save-btn:hover {
    background: #5a63e6;
}

/* FAQ Styles */
.profile-section {
    width: 100%;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #f8f9ff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: white;
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9ff;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #6B73FF;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Favorites Styles */
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.favorite-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #6B73FF;
}

.favorite-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.favorite-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #6B73FF 0%, #9B8CFF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorite-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.favorite-info {
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.favorite-details {
    flex: 1;
}

.favorite-type {
    color: #999;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    display: block;
}

.favorite-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0.25rem 0 0.75rem 0;
}

.favorite-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    color: #666;
    font-size: 0.85rem;
}

.favorite-features span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.favorite-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

.favorite-price small {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

.favorite-heart {
    background: none;
    border: none;
    color: #6B73FF;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorite-heart:hover {
    background: rgba(107, 115, 255, 0.1);
    transform: scale(1.1);
}

.favorite-heart.active {
    color: #ff4757;
}

/* Empty state for favorites */
.favorites-empty {
    text-align: center;
    padding: 3rem 2rem;
    color: #666;
}

.favorites-empty svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.favorites-empty h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.favorites-empty p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.browse-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #6B73FF;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.browse-btn:hover {
    background: #5a63e6;
}

/* Contact Page Styles */
.contact-container {
    min-height: 100vh;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
}

.contact-content {
    position: relative;
    width: 100%;
    max-width: 1000px;
}

.back-btn-contact {
    position: absolute;
    top: -70px;
    left: 0;
    background: #333;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.back-btn-contact:hover {
    background: #555;
    transform: translateX(-5px);
}

.contact-form-container {

    border-radius: 50px;
    padding: 4rem 3.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #414141;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
}

.contact-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.5;
    font-size: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group-contact {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.form-group-contact.full-width {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-group-contact label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
    font-size: 1rem;
}

.form-input-contact {
    padding: 1.25rem 1.5rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    width: 100%;
    box-sizing: border-box;
}

.form-input-contact:focus {
    outline: none;
    border-color: #6B73FF;
}

.form-input-contact::placeholder {
    color: #999;
}

.contact-method {
    margin: 1.5rem 0 0 0;
}

.contact-method-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.contact-method-label {
    font-weight: 500;
    color: #333;
    font-size: 1rem;
    white-space: nowrap;
}

.radio-group {
    display: flex;
    gap: 2rem;
    flex: 1;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    color: #333;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked+.radio-custom {
    border-color: #6B73FF;
}

.radio-label input[type="radio"]:checked+.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #6B73FF;
    border-radius: 50%;
}

.contact-submit-btn {
    flex: 1;
    padding: 1rem 3rem;
    background: #6B73FF;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.contact-submit-btn:hover {
    background: #5a63e6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 115, 255, 0.3);
}

.contact-submit-btn:active {
    transform: translateY(0);
    background: #4a53d6;
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .form-input-contact {
        padding: 1.5rem;
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    .contact-submit-btn {
        padding: 1.25rem 3rem;
        min-height: 48px;
        /* Minimum touch target size */
    }

    .radio-label {
        padding: 0.5rem;
        min-height: 44px;
        align-items: center;
    }

    .radio-custom {
        width: 22px;
        height: 22px;
    }
}

/* Responsive design for contact page */
@media (max-width: 768px) {
    .contact-container {
        padding: 1rem;
        align-items: flex-start;
        padding-top: 2rem;
    }

    .back-btn-contact {
        top: -50px;
        width: 45px;
        height: 45px;
    }

    .contact-form-container {
        padding: 2.5rem 2rem;
        border-radius: 30px;
    }

    .contact-title {
        font-size: 2rem;
    }

    .contact-subtitle {
        margin-bottom: 2rem;
        font-size: 0.95rem;
    }

    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-method-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .radio-group {
        gap: 2rem;
        width: 100%;
    }

    .contact-submit-btn {
        width: 100%;
        padding: 1.25rem;
        font-size: 1rem;
    }

    .form-input-contact {
        padding: 1.25rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 0.75rem;
        padding-top: 1.5rem;
        min-height: 100vh;
    }

    .contact-content {
        max-width: 100%;
    }

    .back-btn-contact {
        top: -40px;
        width: 40px;
        height: 40px;
        left: 5px;
    }

    .contact-form-container {
        padding: 2rem 1.5rem;
        border-radius: 25px;
        margin: 0;
    }

    .contact-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .contact-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
        line-height: 1.4;
    }

    .contact-form {
        gap: 1.25rem;
    }

    .form-row {
        gap: 1.25rem;
    }

    .form-input-contact {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
        border-radius: 20px;
    }

    .contact-method {
        margin: 1rem 0 0 0;
    }

    .contact-method-row {
        gap: 1.25rem;
    }

    .contact-method-label {
        font-size: 0.95rem;
    }

    .radio-group {
        gap: 1.5rem;
        justify-content: flex-start;
    }

    .radio-label {
        font-size: 0.95rem;
    }

    .contact-submit-btn {
        padding: 1.125rem;
        font-size: 1rem;
        border-radius: 20px;
        margin-top: 0.5rem;
    }
}

@media (max-width: 360px) {
    .contact-container {
        padding: 0.5rem;
        padding-top: 1rem;
    }

    .back-btn-contact {
        top: -35px;
        width: 35px;
        height: 35px;
    }

    .contact-form-container {
        padding: 1.5rem 1rem;
        border-radius: 20px;
    }

    .contact-title {
        font-size: 1.5rem;
    }

    .contact-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .form-input-contact {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
        border-radius: 15px;
    }

    .radio-group {
        gap: 1rem;
    }

    .radio-label {
        font-size: 0.9rem;
    }

    .contact-method-label {
        font-size: 0.9rem;
    }

    .contact-submit-btn {
        padding: 1rem;
        font-size: 0.95rem;
        border-radius: 15px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .search-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .search-form {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        flex: 1;
        width: 100%;
    }

    .search-text h2 {
        font-size: 2rem;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }

    .login-body {
        padding: 15px;
        height: 120vh;
        overflow: scroll;
    }

    .login-container {
        flex-direction: column;
        border-radius: 30px;
    }

    .login-side {
        padding: 1.5rem;
        min-height: 60vh;
    }

    .back-btn {
        top: 1rem;
        left: 1rem;
        font-size: 1.5rem;
    }

    .login-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .login-form {
        margin-bottom: 2rem;
    }

    .register-side {
        padding: 1.5rem;
        min-height: 40vh;
    }

    .register-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .register-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .catalog-content .container {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        order: 2;
        position: static;
        top: 0px;
        overflow: hidden;
        overflow-x: hidden;
        height: fit-content;
    }

    .property-card-large {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-thumbnails {
        flex-direction: row;
    }

    .details-content {
        grid-template-columns: 1fr;
    }

    .recommendations-grid {
        grid-template-columns: 1fr;
    }

    .profile-content {
        grid-template-columns: 1fr;
    }

    .property-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .search-text h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .property-price-main {
        font-size: 2rem;
    }

    .property-features-grid {
        grid-template-columns: 1fr;
    }

    .login-body {
        padding: 10px;
    }

    .login-container {
        border-radius: 20px;
    }

    .login-side {
        padding: 1rem;
        min-height: 50vh;
    }

    .login-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .login-content {
        max-width: 100%;
    }

    .form-input {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .login-btn {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .register-side {
        padding: 1rem;
        min-height: 35vh;
    }

    .register-title {
        font-size: 1.5rem;
        line-height: 1.1;
    }

    .register-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .register-btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}

/* N
avbar Styles */
.desktop-menu-toggle,
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.desktop-menu-toggle span,
.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.logo-image {
    height: 50px;
    width: auto;
}

/* Desktop Side Menu */
.desktop-side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 1000;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
}

.desktop-side-menu.active {
    left: 0;
}

.side-menu-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem 2rem 2rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 2rem;
}

.side-menu-logo {
    height: 60px;
    width: auto;
    margin-bottom: 0.5rem;
}

.side-menu-subtitle {
    font-size: 0.8rem;
    color: #6B73FF;
    letter-spacing: 1px;
    font-weight: 600;
}

.side-menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: background 0.3s ease;
    border-bottom: 1px solid #f5f5f5;
}

.side-menu-item:hover {
    background: #f8f9ff;
}

.menu-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.menu-text {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

/* Mobile Menu */
.mobile-nav-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 1rem 0;
}

.mobile-nav-menu.active {
    display: block;
}

.mobile-nav-menu .nav-link {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-menu .nav-link:last-child {
    border-bottom: none;
}

/* Remove overlay styles */

/* Responsive behavior */
@media (min-width: 769px) {
    .desktop-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle {
        display: none;
    }
}

@media (max-width: 768px) {
    .desktop-menu-toggle {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .desktop-side-menu {
        display: none;
    }
}

/* 
Updated Navbar Styles */
.side-menu-toggle {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    margin-right: 1rem;
}

.side-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.logo-image {
    height: 50px;
    width: auto;
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 1000;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
}

.side-menu.active {
    left: 0;
}

.side-menu-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem 2rem 2rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 2rem;
}

.side-menu-logo {
    height: 60px;
    width: auto;
    margin-bottom: 0.5rem;
}

.side-menu-subtitle {
    font-size: 0.8rem;
    color: #6B73FF;
    letter-spacing: 1px;
    font-weight: 600;
}

.side-menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: background 0.3s ease;
    border-bottom: 1px solid #f5f5f5;
}

.side-menu-item:hover {
    background: #f8f9ff;
}

.menu-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.menu-text {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

/* Responsive behavior for side menu */
@media (max-width: 768px) {
    .side-menu-toggle {
        display: none;
    }

    .side-menu {
        display: none;
    }
}

* Side menu specific icon styles */ .side-menu .menu-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-menu .menu-icon svg {
    width: 20px;
    height: 20px;
    color: #333;
}

.side-menu-item:hover .menu-icon svg {
    color: #6B73FF;
}

/* Mob
ile menu with sidebar items */
.mobile-sidebar-link {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-icon svg {
    width: 18px;
    height: 18px;
    color: #6B73FF;
}

.mobile-menu-separator {
    border-top: 1px solid #f0f0f0;
    margin: 1rem 0;
}

@media (max-width: 768px) {
    .nav-menu.active {
        display: block;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        padding: 0;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-menu .nav-link {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu .nav-link:last-child {
        border-bottom: 1px solid #f0f0f0;
    }
}

/* Side menu close button */
.side-menu-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    padding: 1.5rem 2rem 2rem 2rem !important;
}

.side-menu-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.side-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-menu-close:hover {
    background: #f0f0f0;
    color: #333;
}

/* Profile section styles */
.profile-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.profile-header {
    margin-bottom: 2rem;
}

.profile-header h1 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.profile-subtitle {
    color: #666;
    font-size: 1rem;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Favorite card styles */
.favorite-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.favorite-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.favorite-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.favorite-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.favorite-card:hover .favorite-image img {
    transform: scale(1.05);
}

.favorite-info {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.favorite-details {
    flex: 1;
}

.favorite-type {
    color: #666;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.favorite-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.favorite-heart {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #e74c3c;
}

.favorite-heart:hover {
    background: #ffebee;
    transform: scale(1.1);
}

.favorite-heart.active {
    color: #e74c3c;
}

/* No favorites state */
.no-favorites {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.no-favorites-content {
    text-align: center;
    padding: 3rem;
}

.no-favorites-content svg {
    margin-bottom: 1rem;
}

.no-favorites-content h3 {
    font-size: 1.3rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.no-favorites-content p {
    color: #adb5bd;
    font-size: 1rem;
    max-width: 400px;
    line-height: 1.6;
}

/* Modal */
#changePasswordModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

#changePasswordModal .modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
}

.form-input-profile {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 1rem;
    color: #333;
    outline: none;
}
