/* FinderListing - Shared CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

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

/* Header Styles */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-links a:hover {
    color: #3498db;
    background: #f8f9fa;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Box */
.search-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 2rem auto;
    max-width: 600px;
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.form-group select,
.form-group input {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: white;
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: #3498db;
}

.search-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #2980b9;
}

/* Categories */
.categories {
    padding: 4rem 0;
    background: white;
}

.categories h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: #2c3e50;
    font-weight: 300;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 500;
}

.category-card p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.category-link {
    display: inline-block;
    background: #3498db;
    color: white;
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s;
    font-size: 0.9rem;
}

.category-link:hover {
    background: #2980b9;
}

/* Featured Listings */
.featured-listings {
    padding: 4rem 0;
    background: #f8f9fa;
}

.featured-listings h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: #2c3e50;
    font-weight: 300;
}

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

.listing-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.listing-card:hover {
    transform: translateY(-3px);
}

.listing-image {
    height: 180px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

.listing-content {
    padding: 1.5rem;
}

.listing-price {
    font-size: 1.4rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.listing-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.listing-location {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.listing-features {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.feature {
    background: #ecf0f1;
    padding: 0.3rem 0.7rem;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #555;
}

.view-listing {
    background: #3498db;
    color: white;
    text-decoration: none;
    padding: 0.7rem 1.2rem;
    border-radius: 5px;
    font-weight: 500;
    display: inline-block;
    transition: background 0.3s;
    font-size: 0.9rem;
}

.view-listing:hover {
    background: #2980b9;
}

/* Apartment Page Styles */
.apartment-header {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

.apartment-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.apartment-location {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.apartment-price {
    font-size: 2rem;
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 2rem;
}

.apartment-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    padding: 3rem 0;
}

.apartment-description {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.apartment-description h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 500;
}

.apartment-description p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.apartment-details {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.apartment-details h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 500;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

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

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

.detail-value {
    color: #2c3e50;
    font-weight: 600;
}

/* Breadcrumb */
.breadcrumb {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

footer p {
    font-size: 0.9rem;
    opacity: 0.8;
}

footer a {
    color: #3498db;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Coming Soon Page */
.coming-soon-body {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow-x: hidden;
}

.coming-soon-container {
    max-width: 800px;
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.coming-soon-logo {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.main-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.countdown-item {
    text-align: center;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.progress-container {
    margin-bottom: 2rem;
}

.progress-bar {
    height: 8px;
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-bar div {
    height: 100%;
    background: white;
    border-radius: 4px;
    transition: width 0.3s;
}

.progress-text {
    font-size: 0.9rem;
    opacity: 0.8;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.subscribe-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto 2rem;
}

.subscribe-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.subscribe-form button {
    background: white;
    color: #3498db;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.subscribe-form button:hover {
    background: #f8f9fa;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: background 0.3s;
}

.social-icon:hover {
    background: rgba(255,255,255,0.3);
}

.contact-info {
    font-size: 0.9rem;
    opacity: 0.8;
}

.contact-info a {
    color: white;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .search-form {
        grid-template-columns: 1fr;
    }
    
    .category-grid,
    .listings-grid {
        grid-template-columns: 1fr;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .apartment-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .apartment-title {
        font-size: 2rem;
    }
    
    .apartment-image {
        height: 300px;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
}
