/* Tap-Agent Landing Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-circle {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2E8B57;
    letter-spacing: -0.5px;
}

.brand-type {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    letter-spacing: 2px;
}

/* Featured Property Section */
.featured-property {
    padding: 40px 0;
}

.property-address {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 28px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.property-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
    .property-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* Property Images */
.property-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.main-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image img:hover {
    transform: scale(1.05);
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.thumbnail-images img {
    width: 100px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail-images img:hover {
    border-color: #2E8B57;
    transform: scale(1.1);
}

/* Property Details */
.property-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.property-specs {
    background: rgba(46, 139, 87, 0.1);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(46, 139, 87, 0.2);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(46, 139, 87, 0.1);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 500;
    color: #666;
}

.spec-value {
    font-weight: 700;
    color: #2E8B57;
    font-size: 1.1rem;
}

.property-description {
    font-size: 1rem;
    line-height: 1.65;
    color: #555;
    background: rgba(0, 0, 0, 0.02);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #2E8B57;
    word-break: normal;
    hyphens: none;
    overflow-wrap: break-word;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (min-width: 480px) {
    .action-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 150px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #2E8B57, #3CB371);
    color: white;
    box-shadow: 0 5px 15px rgba(46, 139, 87, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 139, 87, 0.6);
}

.btn-secondary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.btn-tertiary {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: 2px solid #ddd;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-tertiary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Other Listings Section */
.other-listings {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.listing-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 200px;
}

.listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.listing-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.listing-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    color: white;
}

.listing-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.listing-info p {
    font-size: 1rem;
    font-weight: 700;
    color: #2E8B57;
}

/* Error Message */
.error-message {
    text-align: center;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.error-message h2 {
    font-size: 2rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

.error-message p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

/* Mobile Optimizations */
@media (max-width: 767px) {
    .container { padding: 0 12px; }
    .property-address { font-size: 1.6rem; margin-bottom: 18px; }
    .property-content { padding: 18px; gap: 18px; }
    .main-image img { aspect-ratio: 16/9; }
    .thumbnail-images { gap: 8px; }
    .thumbnail-images img { width: 92px; height: 68px; }
    .action-buttons { gap: 10px; }
    .btn { padding: 12px 16px; font-size: 0.95rem; min-width: 0; width: 100%; }
    .listings-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .listing-card { height: 140px; }
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
    .btn:active {
        transform: scale(0.98);
    }
    
    .listing-card:active {
        transform: scale(0.98);
    }
    
    .thumbnail-images img:active {
        transform: scale(1.05);
    }
}
