/* ============================================
   Property Type-Specific Guides Styles
   ============================================ */

.property-types-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 50px;
}

.property-type-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 768px) {
  .property-type-card {
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
  }
  
  /* Alternate layout - even cards (2nd card = index 1) */
  .property-type-card:nth-child(even) {
    direction: rtl;
  }
  
  .property-type-card:nth-child(even) > * {
    direction: ltr;
  }
}

.property-type-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.property-type-image {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

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

.property-type-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 100%);
  color: var(--white);
  padding: 30px;
}

.property-type-overlay h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--white);
  line-height: 1.3;
}

.property-location {
  font-size: 0.95rem;
  opacity: 0.95;
  margin: 0;
  color: var(--white);
}

.property-type-content {
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.property-type-content h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 20px;
  margin-top: 0;
}

.property-type-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-top: 25px;
  margin-bottom: 12px;
}

.property-type-content h4:first-of-type {
  margin-top: 0;
}

.property-type-content p {
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 15px;
}

.property-type-content ul {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.property-type-content ul li {
  padding: 10px 0;
  padding-left: 25px;
  position: relative;
  color: var(--text-color);
  line-height: 1.6;
  border-bottom: 1px solid var(--gray-100);
}

.property-type-content ul li:last-child {
  border-bottom: none;
}

.property-type-content ul li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.property-type-content ul li strong {
  color: var(--secondary-color);
  font-weight: 600;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .property-types-grid {
    gap: 30px;
  }
  
  .property-type-header {
    padding: 35px 25px;
  }
  
  .property-type-header h3 {
    font-size: 1.5rem;
  }
  
  .property-type-content {
    padding: 35px 25px;
  }
  
  .property-type-content h4 {
    font-size: 1.1rem;
  }
}
