/* Responsive Styles for RentEase */

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .property-img-container {
    height: 180px;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  .newsletter-container {
    padding: 20px;
  }
  
  .newsletter-container h2 {
    font-size: 1.5rem;
  }
  
  .footer-heading {
    margin-bottom: 15px;
  }
  
  .location-card {
    height: 200px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .property-img-container {
    height: 220px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .property-img-container {
    height: 160px;
  }
  
  .property-title {
    font-size: 0.9rem;
  }
  
  .property-location,
  .property-dates {
    font-size: 0.8rem;
  }
  
  .property-price {
    font-size: 1rem;
  }
  
  .location-card {
    height: 220px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .property-img-container {
    height: 180px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .property-img-container {
    height: 220px;
  }
}

/* Mobile Navigation Adjustments */
@media (max-width: 991.98px) {
  .mobile-search {
    margin-top: 70px;
  }
  
  .category-nav {
    margin-top: 20px;
  }
}

/* Animations for larger screens */
@media (min-width: 992px) {
  .property-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .property-card:hover {
    transform: translateY(-10px);
  }
  
  .favorite-btn {
    opacity: 0.7;
    transition: opacity 0.3s ease, background-color 0.3s ease;
  }
  
  .property-card:hover .favorite-btn {
    opacity: 1;
  }
  
  .location-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .location-card:hover {
    transform: translateY(-10px);
  }
}