/* Responsive Styles */
@import url('colors.css');

/* Large Devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .property-main-image {
        height: 400px;
    }
}

/* Medium Devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .hero {
        height: auto;
        padding: 6rem 0;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    .search-box {
        margin-bottom: 1rem;
    }
    
    .search-btn {
        width: 100%;
        justify-content: center;
    }
    
    .property-details-container {
        grid-template-columns: 1fr;
    }
    
    .property-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .property-price-block {
        text-align: left;
        margin-top: 1rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .listing-container {
        grid-template-columns: 1fr;
    }
    
    .filter-sidebar {
        margin-bottom: 2rem;
    }
    
    .list-img {
        width: 250px;
    }
    .chat-launcher {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.chat-button {
  background-color: #2c3e50;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: background 0.3s;
}

.chat-button:hover {
  background-color: #1a252f;
}

.chat-options {
  display: none;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}

.chat-icon {
  background-color: #2c3e50;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  text-decoration: none;
  transition: background 0.3s;
}

.chat-icon:hover {
  background-color: #3b4a59;
}

/* Show menu when toggle is checked */
#chat-toggle:checked ~ .chat-options {
  display: flex;
}

}

/* Small Devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--cetacean-blue);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
        padding: 0.75rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .property-list-item {
        flex-direction: column;
    }
    
    .list-img {
        width: 100%;
        height: 200px;
    }
    
    .listing-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .property-main-image {
        height: 300px;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
}

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .property-tag {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    .property-price {
        font-size: 1.3rem;
    }
    
    .property-title {
        font-size: 1.1rem;
    }
    
    .pagination-item {
        width: 35px;
        height: 35px;
    }
    
    .property-main-image {
        height: 250px;
    }
}