* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.visualization-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 1000px;
    width: 100%;
}

.controls {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.toggle {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    border: 3px solid #fff;
    border-radius: 15px;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toggle:hover {
    box-shadow: 0 12px 20px rgba(255, 107, 107, 0.4);
}

.toggle.active {
    background: linear-gradient(45deg, #51cf66, #40c057);
}

.toggle.active:hover {
    box-shadow: 0 12px 20px rgba(81, 207, 102, 0.4);
}

.house-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    overflow: hidden;
    background: white;
    min-height: 400px;
}

.property-image {
    max-width: 100%;
    border-radius: 10px;
}

.overlay {
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    border-radius: 10px;
}

.overlay.visible {
    opacity: 0.9;
}

.status-indicator {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    border-radius: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.status-indicator.hidden {
    background: #e3f2fd;
    color: #1976d2;
}

.status-indicator.visible {
    background: #e8f5e8;
    color: #2e7d32;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .visualization-container {
        padding: 20px;
    }

    .house-toggle {
        padding: 12px 20px;
        font-size: 1rem;
    }
}