:root {
    --primary: #27ae60;
    --secondary: #2ecc71;
    --accent: #e67e22;
    --bg: #f8f9fa;
    --text: #2c3e50;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
    line-height: 1.6;
}

.topbar {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.brand {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    margin-right: 10px;
    flex-shrink: 0;
}

.brand-mark svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
}

.brand-title {
    font-size: 1.6rem;
    font-weight: 700;
    white-space: nowrap;
}

.brand-sub {
    font-size: 0.85rem;
    margin-left: 10px;
    opacity: 0.85;
    font-weight: normal;
    white-space: nowrap;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.52)), 
                url('../images/klcondowmart.jpg') center 50% / cover no-repeat;
    color: white;
    text-align: center;
    padding: 75px 20px; 
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.hero h1 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}

.hero p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
    max-width: 550px;
}

.filters {
    padding: 15px 20px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.filter-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    background: #f0f0f0;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: bold;
}

.filter-btn.active {
    background: var(--primary);
    color: white;
}

.condo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.condo-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.condo-card:hover {
    transform: translateY(-6px);
}

.card-body {
    padding: 16px;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-select {
    padding: 6px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
}

.locate-btn {
    background: #e67e22;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 0 15px;
}

.search-container input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    max-width: 1000px;
    margin: 0 auto;
}

.counter {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
}

footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 15px;
    margin-top: 50px;
}

/* ==================== Share Bar Styles ==================== */
.share-bar {
    margin: 20px auto;
    padding: 10px 0;
    max-width: 600px;
    text-align: center;
}

.share-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: white !important;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0.9;
}

.share-btn.whatsapp { background-color: #25D366; }
.share-btn.wechat { background-color: #07C160; }
.share-btn.line { background-color: #06C755; }
.share-btn.copy-link { background-color: #7f8c8d; }
