/* Landing Page Specific Styles */

#landing-app {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
}

/* Landing Header */
.landing-header {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.landing-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

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

.explore-btn {
    display: inline-block;
    background: white;
    color: #2563eb;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.explore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Landing Content */
.landing-content {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.landing-map-container {
    flex: 1;
    position: relative;
}

#landing-map {
    width: 100%;
    height: 100%;
}

/* Landing Sidebar */
.landing-sidebar {
    width: 420px;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.05);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.district-spotlight {
    flex: 1;
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.district-spotlight h2 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 20px;
}

.loading-message {
    text-align: center;
    color: #6b7280;
    padding: 40px 20px;
    font-style: italic;
}

/* Quick Actions */
.quick-actions {
    padding: 24px;
    background: #f8f9fa;
}

.quick-actions h3 {
    font-size: 1.1rem;
    color: #1f2937;
    margin-bottom: 16px;
}

.action-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
    transition: all 0.2s ease;
}

.action-btn:hover {
    border-color: #2563eb;
    background: #f0f9ff;
    transform: translateX(4px);
}

.action-icon {
    font-size: 24px;
}

/* District Info Display */
.featured-district-header {
    background: #f0f9ff;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.featured-district-header h3 {
    font-size: 1.8rem;
    color: #2563eb;
    margin-bottom: 4px;
}

.featured-district-header p {
    color: #6b7280;
    font-size: 1rem;
}

.representative-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.representative-card h4 {
    font-size: 1.2rem;
    color: #1f2937;
    margin-bottom: 8px;
}

.representative-card .party {
    font-weight: 600;
    margin-bottom: 12px;
}

.representative-card .contact-info {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Featured Facts */
.featured-facts {
    margin-top: 24px;
}

.featured-facts h5 {
    font-size: 1.1rem;
    color: #1f2937;
    margin-bottom: 16px;
    font-weight: 600;
}

.featured-fact-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 12px;
    border-left: 4px solid #2563eb;
}

.featured-fact-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.featured-fact-content {
    flex: 1;
}

.featured-fact-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #1f2937;
    margin-bottom: 6px;
}

.featured-fact-source {
    font-size: 0.85rem;
    color: #6b7280;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .landing-sidebar {
        width: 380px;
    }
}

@media (max-width: 768px) {
    .landing-content {
        flex-direction: column;
    }
    
    .landing-map-container {
        height: 50vh;
    }
    
    .landing-sidebar {
        width: 100%;
        flex: 1;
    }
    
    .landing-title {
        font-size: 2rem;
    }
    
    .landing-subtitle {
        font-size: 1rem;
    }
}