@import url('../colors.css');
@import url('../fonts.css');

/* ===== ESTILOS GLOBAIS ===== */
.background-main-color {
  background-color: var(--main-color) !important;
  color: #ffffff;
}

.background-main-color:hover {
  background-color: var(--main-color-light) !important;
  color: #ffffff;
}
body {
  font-family: var(--font-primary);
  color: var(--black-color);
  line-height: 1.6;
}

/* Container principal */
.contact-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== HERO SECTION ===== */
.contact-hero {
  background-color: #ffffff;
  padding: 4rem 0 3rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.contact-title {
  color: var(--main-color);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-subtitle {
  color: var(--main-color);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.contact-text {
  color: var(--black-color);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== BOTÕES DE CONTATO ===== */
/* Botões agora usam as classes btn padrão */

/* Borda padrão para cards */
.border-color {
  border: 1px solid var(--gray-stroke-color);
}

/* ===== PAINEL DE CONTATOS ===== */
.contact-panel {
  border-radius: 4px;
  padding: 2.5rem;
}

.panel-title {
  color: var(--main-color);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.panel-title i {
  color: var(--green-color);
}

/* Estilos dos itens de informação */

.info-item {
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: transform 0.1s;
}

.info-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(25, 135, 84, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon i {
  color: var(--green-color);
  font-size: 1.2rem;
}

.info-content {
  flex: 1;
}

.info-content h3 {
  font-size: 1.05rem;
  color: var(--main-color);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.info-content p {
  margin: 0;
  font-size: 1rem;
  color: var(--black-color);
}

.info-content a {
  color: var(--main-color);
  text-decoration: none;
  transition: color 0.2s;
}

.info-content a:hover {
  color: var(--green-color);
}

/* ===== MAPA ===== */
.contact-map {
  height: 400px;
  height: min(400px, 50vh);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1;
  overflow: hidden;
}

/* Personalização dos controles de zoom */
.leaflet-control-zoom {
  border: none !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15) !important;
}

.leaflet-control-zoom a {
  background-color: white !important;
  color: var(--main-color) !important;
  transition: all 0.2s ease;
}

.leaflet-control-zoom a:hover {
  background-color: #f8f8f8 !important;
  color: var(--black-color) !important;
}

/* Estilo do popup */
.leaflet-popup-content-wrapper {
  border-radius: 4px !important;
  font-family: var(--font-primary) !important;
  font-size: 14px !important;
}

/* Mensagem para usar os controles para zoom */
.contact-map::before {
  content: 'Clique para ativar zoom com mouse';
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

/* Estado ativo quando o scroll do mouse está habilitado */
.contact-map.active-scroll::before {
  content: 'Zoom com mouse ativado';
  background-color: rgba(var(--green-color-rgb, 40, 167, 69), 0.8);
  color: white;
  opacity: 0.9;
}

/* ===== ANÚNCIO DE IMÓVEL ===== */
.property-ad {
  background: linear-gradient(135deg, var(--main-color) 0%, #0a4049 100%);
  color: white;
}

.ad-title i {
  color: rgba(255, 255, 255, 0.9);
}

.ad-text {
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Botões padronizados no estilo do About */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-weight: 600;
  padding: 12px 20px;
  font-size: 1rem;
  height: 42px;
  width: 300px;
  color: #ffffff;
}

.btn-success {
  background: var(--green-color);
  border-color: var(--green-color);
}

.btn-success:hover {
  background: var(--green-color-light);
  border-color: var(--green-color-light);
}

/* Botão de anúncio antigo (mantido para compatibilidade) */
.ad-btn {
  background-color: var(--green-color);
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s;
}

.ad-btn:hover {
  background-color: var(--green-color-light);
  color: white;
}

/* Sem media queries - responsividade via Bootstrap */
