/*
Theme Name: RealDeets
Description: Custom WordPress theme for real estate agents
Version: 1.0
Text Domain: realdeets
*/

/* Bootstrap Primary Color Overrides */
:root {
  --bs-primary: #2c7a7b;
  --bs-primary-rgb: 44, 122, 123;
}

.bg-primary {
  background-color: var(--accent-color) !important;
}

.text-primary {
  color: var(--accent-color) !important;
}

.border-primary {
  border-color: var(--accent-color) !important;
}

.badge.bg-primary {
  background-color: var(--accent-color) !important;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
  font-size: 1rem;
}

.btn-primary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  opacity: 0.9;
}

.btn-outline-primary {
  color: var(--accent-color);
  border-color: var(--accent-color);
  font-size: 1rem;
}

.btn-outline-primary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
}

.blog-sidebar .post-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.main-content-grid::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.9));
  pointer-events: none;
}
/* Agent Tabs Styling */
.agent-tabs .nav-tabs {
  border-bottom: 2px solid #f8f9fa;
  margin-bottom: 2rem;
}

.agent-tabs .nav-link {
  border: none;
  border-radius: 0;
  color: #6c757d;
  font-weight: 500;
  padding: 1rem 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.agent-tabs .nav-link:hover {
  color: var(--accent-color);
  border-color: transparent;
}

.agent-tabs .nav-link.active {
  color: var(--accent-color);
  background: transparent;
  border-color: transparent;
}

.agent-tabs .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px 2px 0 0;
}

/* Timeline Methodology Styling */
.service-methodology {
  margin: 2rem 0;
}

.methodology-timeline {
  position: relative;
}

.methodology-timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent-color);
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 2rem;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.step-num {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

.timeline-content h5 {
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.timeline-content p {
  color: var(--default-color);
  margin: 0;
  line-height: 1.6;
}
/* Hire Realtor Wizard Styling */
.hire-realtor-wizard {
  min-height: 80vh;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.wizard-progress {
  text-align: center;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e9ecef;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

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

.step-label {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 500;
}

.step.active .step-label {
  color: var(--accent-color);
}

.progress-bar {
  height: 15px;
  background: #e9ecef;
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

.step-header h2 {
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.step-header p {
  color: #6c757d;
  margin-bottom: 0;
}

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

.option-card {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.option-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.option-card.selected {
  border-color: var(--accent-color);
  background: rgba(var(--accent-color-rgb), 0.1);
}

.option-card i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.option-card h4 {
  margin-bottom: 0.5rem;
  color: var(--heading-color);
}

.option-card p {
  color: #6c757d;
  margin: 0;
  font-size: 0.9rem;
}

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

.wizard-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e9ecef;
}

/* Range Slider Styling */
.range-slider-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.price-display {
  margin-bottom: 2rem;
}

.price-value {
  font-size: 2.5rem;
  font-weight: bold;
  color: #0d6efd;
  margin: 0;
}

.range-slider-wrapper {
  position: relative;
}

.range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e9ecef;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-color);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  background: var(--accent-color);
  opacity: 0.9;
  transform: scale(1.1);
}

.range-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-color);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border: none;
  transition: all 0.2s ease;
}

.range-slider::-moz-range-thumb:hover {
  background: var(--accent-color);
  opacity: 0.9;
  transform: scale(1.1);
}

.range-labels {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.bounce-arrow {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Accordion Styling */
.accordion {
  --bs-accordion-active-color: #2c7a7b;
  --bs-accordion-active-bg: rgba(44, 122, 123, 0.15);
  --bs-accordion-border-color: #e9ecef;
  --bs-accordion-btn-focus-border-color: #2c7a7b;
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(44, 122, 123, 0.25);
}

.accordion-button:not(.collapsed) {
  color: #2c7a7b;
  background-color: rgba(44, 122, 123, 0.15);
  box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0
    var(--bs-accordion-border-color);
}

.accordion-button:focus {
  border-color: #2c7a7b;
  box-shadow: 0 0 0 0.25rem rgba(44, 122, 123, 0.25);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

@media (max-width: 768px) {
  .progress-steps {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .step {
    flex: 0 0 calc(50% - 0.5rem);
  }

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

  .form-check-group {
    flex-direction: column;
    gap: 0.5rem;
  }
}
