/* Mobile Responsive Styles for Property Details Page */

@media (max-width: 768px) {
    /* Property Details Container */
    .property-detail-container {
        padding: 1rem;
        max-width: 100%;
    }
    
    /* Property Header */
    .property-detail-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .property-detail-header h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .property-detail-header .property-price {
        font-size: 1.75rem;
        margin-top: 0.5rem;
    }
    
    /* Property Badge */
    .property-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Property Location */
    .property-location {
        font-size: 0.95rem;
        margin-top: 0.5rem;
    }
    
    /* Property Image Gallery */
    .property-image-gallery {
        height: 250px;
        border-radius: 8px;
        margin-bottom: 1rem;
    }
    
    .property-main-image {
        height: 250px;
        object-fit: cover;
    }
    
    .property-thumbnail-container {
        display: flex;
        gap: 0.5rem;
        overflow-x: auto;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
    }
    
    .property-thumbnail {
        min-width: 80px;
        height: 60px;
        border-radius: 6px;
        cursor: pointer;
        border: 2px solid transparent;
        transition: all 0.3s ease;
    }
    
    .property-thumbnail.active {
        border-color: var(--primary-color);
    }
    
    /* Property Details Grid */
    .property-details-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .property-detail-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem;
        background: var(--beige-bg);
        border-radius: 8px;
    }
    
    .property-detail-item i {
        font-size: 1.25rem;
        color: var(--primary-color);
        min-width: 24px;
    }
    
    .property-detail-item strong {
        font-size: 0.95rem;
        color: var(--text-primary);
    }
    
    /* Property Description */
    .property-description {
        padding: 1rem;
        background: white;
        border-radius: 8px;
        margin: 1rem 0;
    }
    
    .property-description h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
        color: var(--text-primary);
    }
    
    .property-description p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: var(--text-secondary);
    }
    
    /* Property Amenities */
    .property-amenities {
        padding: 1rem;
        background: white;
        border-radius: 8px;
        margin: 1rem 0;
    }
    
    .property-amenities h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        color: var(--text-primary);
    }
    
    .amenities-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .amenity-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem;
        background: var(--beige-bg);
        border-radius: 8px;
    }
    
    .amenity-item i {
        color: var(--primary-color);
        font-size: 1.1rem;
    }
    
    .amenity-item span {
        font-size: 0.95rem;
        color: var(--text-primary);
    }
    
    /* Property Actions */
    .property-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 1rem;
        background: white;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 100;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .property-actions .btn-primary,
    .property-actions .btn-outline {
        width: 100%;
        min-height: 48px;
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
        border-radius: 8px;
    }
    
    /* Back to Properties Button */
    .back-to-properties {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
        background: var(--beige-bg);
        color: var(--text-primary);
        border-radius: 8px;
        text-decoration: none;
        font-weight: 500;
        margin-bottom: 1rem;
        transition: all 0.3s ease;
    }
    
    .back-to-properties:hover {
        background: var(--primary-color);
        color: white;
    }
    
    .back-to-properties i {
        font-size: 1rem;
    }
    
    /* Property Content Wrapper */
    .property-content-wrapper {
        padding-bottom: 140px; /* Space for fixed action buttons */
    }
    
    /* Reviews Section */
    .property-reviews {
        padding: 1rem;
        background: white;
        border-radius: 8px;
        margin: 1rem 0;
    }
    
    .property-reviews h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        color: var(--text-primary);
    }
    
    .review-item {
        padding: 1rem;
        background: var(--beige-bg);
        border-radius: 8px;
        margin-bottom: 1rem;
    }
    
    .review-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.5rem;
    }
    
    .review-author {
        font-weight: 600;
        color: var(--text-primary);
        font-size: 0.95rem;
    }
    
    .review-rating {
        color: #ffa500;
        font-size: 0.9rem;
    }
    
    .review-text {
        font-size: 0.9rem;
        line-height: 1.5;
        color: var(--text-secondary);
    }
    
    .review-date {
        font-size: 0.8rem;
        color: var(--text-secondary);
        margin-top: 0.5rem;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .property-detail-header h1 {
        font-size: 1.25rem;
    }
    
    .property-detail-header .property-price {
        font-size: 1.5rem;
    }
    
    .property-image-gallery {
        height: 200px;
    }
    
    .property-main-image {
        height: 200px;
    }
    
    .property-thumbnail {
        min-width: 70px;
        height: 50px;
    }
    
    .property-detail-item,
    .amenity-item {
        padding: 0.6rem;
    }
    
    .property-actions {
        padding: 0.75rem;
    }
}

/* Tablet Devices */
@media (min-width: 769px) and (max-width: 1024px) {
    .property-details-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .amenities-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .property-image-gallery {
        height: 350px;
    }
    
    .property-main-image {
        height: 350px;
    }
}
