/* @import url("https://use.typekit.net/lqu4duz.css"); */

:root {
  --brown-light: 234, 224, 214;
  --brown-primary: 197, 172, 142;
  --brown-secondary: 93, 79, 63;

  --blue-light: 131, 194, 219;
  --blue-primary: 102, 146, 167;
  --blue-secondary: 34, 51, 59;
}

* {
  box-sizing: border-box;
  font-family: 'Aller', 'Helvetica', sans-serif;
  font-style: normal;
}

html,
body {
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: underline !important;
}

#topMenu {
  --opacity: 1;
  --theme-weight: 500;

  /* background-color: #2d2d2d; */
  color: #fff;
  padding: 8px 0;
  font-size: 14px;

  a {
    color: rgb(var(--blue-secondary));
    font-weight: var(--theme-weight);
    padding: 1em;

    &:hover, .hero a:hover {
      background-color: rgb(var(--brown-light));
  text-decoration: none !important;
    }
  }
}

.hero a:hover {
  background-color: rgb(var(--brown-light));
  text-decoration: none !important;
}

.top-contact {
  color: rgb(var(--blue-secondary));
  display: flex;
  align-items: center;
  gap: 0.5rem;

  & .top-contact-info {
    display: flex;
    align-items: start;
    gap: 0.5rem;

    & .top-contact-info-icon>i {
      color: rgb(var(--brown-primary));
    }

    & .top-contact-details {
      display: flex;
      flex-direction: column;
      justify-content: center;

    }

    & a,
    span:last-child {
      padding: 0 !important;
      font-weight: 700 !important;
      font-size: 0.95em !important;
    }

    & a:hover {
      background-color: initial !important;
      text-decoration: underline !important;
    }
  }
}


.text-primary {
  --bs-text-opacity: 1;
  color: rgba(var(--brown-primary), var(--bs-text-opacity)) !important;
}

.text-secondary {
  --bs-text-opacity: 1;
  color: rgba(var(--blue-secondary), var(--bs-text-opacity)) !important;
}

.text-success {
  --bs-text-opacity: 1;
  color: rgba(var(--blue-light), var(--bs-text-opacity)) !important;
}

.btn.active {
  background-color: rgb(var(--brown-primary)) !important;
  color: white;
  border: rgb(var(--brown-primary)) !important;
}

.btn-primary {
  background-color: rgb(var(--brown-primary)) !important;
  color: rgb(var(--blue-secondary));
  border: none;
}

.bg-primary-subtle {
  background-color: rgb(var(--brown-light)) !important;
  color: rgb(var(--blue-secondary));
}

.bg-primary {
  background-color: rgb(var(--brown-primary)) !important;
  color: rgb(var(--blue-secondary));
}

.btn-primary:hover {
  background-color: rgb(var(--brown-secondary)) !important;
  color: rgb(var(--brown-light));
}

.btn-outline {
  background-color: transparent;
  border: 2px solid #e11b22;
  color: #e11b22;
}

.btn-outline:hover {
  background-color: #e11b22;
  color: white;
}

/* Header styles */
.top-bar {
  background-color: #2d2d2d;
  color: #fff;
  padding: 8px 0;
  font-size: 14px;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info span {
  margin-right: 20px;
}

.social-links a {
  margin-left: 12px;
  color: #fff;
  font-size: 16px;
}

.navbar {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

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

.logo {
  height: 50px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  font-weight: 600;
  position: relative;
  padding: 5px 0;
}

.nav-links a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #e11b22;
}

.nav-buttons .btn {
  margin-left: 10px;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 0;
  text-align: center;
}

.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?ixlib=rb-4.0.3&auto=format&fit=crop&w=1770&q=80') !important;
  background-position: 1500px center !important;

}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

.search-form {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  max-width: 900px;
  margin: 0 auto;
}

/* Featured Properties */
.section-title {
  text-align: center;
  margin: 60px 0 30px;
}

.section-title h2 {
  font-size: 2rem;
  color: #2d2d2d;
  margin-bottom: 10px;
}

.section-title p {
  color: #666;
  margin: 0 auto;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.property-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(var(--blue-light));
  border-radius: 50%;
}

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

.property-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.property-details {
  padding: 20px;
}

.property-details h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.price {
  color: #e11b22;
  font-weight: bold;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.location {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: #666;
}

.property-features {
  display: flex;
  justify-content: space-between;
  list-style: none;
  border-top: 1px solid #eee;
  padding-top: 15px;
  color: #666;
}

.property-features li {
  display: flex;
  align-items: center;
}

.property-features i {
  margin-right: 5px;
}

/* Stats Section */
.stats {
  background-color: rgb(var(--blue-secondary));
  color: white;
  padding: 60px 0;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: rgb(var(--brown-primary));
  margin-bottom: 10px;
}

/* Footer */
.footer-top {
  background-color: #1a1a1a;
  color: #ccc;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-column h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-column ul {
  list-style: none;
}

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

.footer-column ul li i {
  margin-right: 10px;
  color: #e11b22;
}

.footer-bottom {
  background-color: #0d0d0d;
  color: #999;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
}


.small {
  font-size: .85em;
}

.partners {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Responsividade */
@media (max-width: 992px) {
  .search-form {
    grid-template-columns: 1fr 1fr;
  }

  .search-form button {
    grid-column: span 2;
  }

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

  #whatsapp .stats {
    background-position: end end !important;
    background-color: rgb(var(--blue-secondary)) !important;
  }
}

@media (max-width: 768px) {
  footer .img-fluid {
    margin-top: 1em;
    width: 300px !important;
  }

  #whatsapp .stats {
    background-position: end end !important;
    background-color: rgb(var(--blue-secondary)) !important;
  }

  .nav-links {
    display: none;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .search-form button {
    grid-column: span 1;
  }

  .footer-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card:hover {
  /* transform: translateY(-5px); */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.form-section {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(225, 27, 34, 0.25);
}

.tab-content {
  padding: 30px 0;
}

.nav-pills .nav-link.active {
  background-color: var(--primary);
}

.property-feature {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.property-feature i {
  width: 24px;
  color: var(--primary);
  margin-right: 10px;
}

.search-filter {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.price-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
}

#whatsapp .stats {
  background: url(/img/molya-whatsapp-banner.png) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.auth-container {
      background: white;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      width: 100%;
      max-width: 500px;
    }

    .auth-header {
      background-color: rgb(var(--blue-secondary));
      color: white;
      padding: 30px 20px;
      text-align: center;
    }

    .auth-logo {
      font-size: 2.5rem;
      margin-bottom: 15px;
    }

    .auth-body {
      padding: 30px;
    }

    .form-control:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 0.25rem rgba(225, 27, 34, 0.25);
    }


    .password-toggle {
         position: absolute;
    right: 10px;
    top: 54%;
    bottom: 50%;
    margin: auto;
    cursor: pointer;
    color: #6c757d;
    }

    .divider {
      position: relative;
      text-align: center;
      margin: 20px 0;
    }

    .divider::before {
      content: "";
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      height: 1px;
      background-color: #eee;
      z-index: 1;
    }

    .divider-text {
      display: inline-block;
      background-color: white;
      position: relative;
      padding: 0 15px;
      z-index: 2;
      color: #6c757d;
      font-size: 0.9rem;
    }

    .social-login .btn {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 10px;
      font-weight: 500;
    }

    .social-login .btn i {
      margin-right: 10px;
      font-size: 1.2rem;
    }

    .auth-footer {
      text-align: center;
      padding: 20px;
      background-color: #f8f9fa;
      border-top: 1px solid #eee;
      font-size: 0.9rem;
    }

    /* Profile specific styles */
    .profile-header {
      background-color: white;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      padding: 30px;
      margin-bottom: 30px;
    }

    .profile-avatar {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid var(--primary);
    }

    .nav-pills .nav-link.active {
      background-color: var(--primary);
    }

    .card {
      border: none;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      margin-bottom: 25px;
    }

    .card-header {
      background-color: white;
      border-bottom: 1px solid #eee;
      font-weight: 600;
      padding: 15px 20px;
    }

    .property-card {
      transition: all 0.3s ease;
      border-radius: 10px;
      overflow: hidden;
      height: 100%;
    }

    .property-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .property-img {
      height: 150px;
      object-fit: cover;
    }

    .notification-item {
      display: flex;
      padding: 15px;
      border-bottom: 1px solid #eee;
      transition: background-color 0.2s;
    }

    .notification-item:hover {
      background-color: #f8f9fa;
    }

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

    .notification-icon {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 15px;
      flex-shrink: 0;
    }

    .notification-icon.primary {
      background-color: rgba(225, 27, 34, 0.1);
      color: var(--primary);
    }

    .notification-icon.success {
      background-color: rgba(25, 135, 84, 0.1);
      color: #198754;
    }

    .notification-icon.warning {
      background-color: rgba(255, 193, 7, 0.1);
      color: #ffc107;
    }

.property-header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px 0;
  position: sticky;
  top: 80px;
  z-index: 1020;
}

.gallery-container {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.main-image {
  height: 500px;
  object-fit: cover;
  width: 100%;
  cursor: pointer;
}

.thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.thumbnail {
  height: 120px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.property-highlight {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
}

.property-details-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
}

.property-price {
  color: var(--primary);
  font-size: 2rem;
  font-weight: 700;
}

.property-feature {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.property-feature i {
  width: 30px;
  height: 30px;
  background-color: rgba(225, 27, 34, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  color: var(--primary);
}

.detail-section {
  margin-bottom: 40px;
}

.detail-section h3 {
  border-bottom: 2px solid var(--primary);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.agent-card {
  text-align: center;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  background: white;
}

.agent-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid var(--primary);
}

.similar-property-card {
  transition: all 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.similar-property-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.similar-property-img {
  height: 200px;
  object-fit: cover;
}

.contact-form {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
}

.map-container {
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.modal-content {
  border-radius: 15px;
  overflow: hidden;
  border: none;
}

.modal-header {
  background-color: var(--primary);
  color: white;
  border: none;
}

.modal-footer {
  border: none;
}

.step-indicator {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 0 30px;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 10px;
  z-index: 2;
}

.step.active .step-number {
  background: var(--primary);
  color: white;
}

.step-title {
  font-weight: 500;
}

.step:not(:last-child):after {
  content: '';
  position: absolute;
  top: 20px;
  right: -20px;
  width: 40px;
  height: 2px;
  background: #dee2e6;
  z-index: 1;
}

.sticky-sidebar {
  position: sticky;
  top: 140px;
}

.property-actions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  z-index: 1000;
  display: none;
}

@media (max-width: 992px) {
  .property-actions {
    display: block;
  }
}