/**
 * Residence Info Section Styles
 * 
 * Styles for the residence information section including description and sidebar.
 * Follows BEM naming convention.
 */

/* ============================================
   RESIDENCE INFO SECTION
   ============================================ */

.residence-info-section {
    background: var(--color-background-secondary, #f8f9fa);
    padding: 6rem 0;
}

/* ============================================
   RESIDENCE DESCRIPTION
   ============================================ */

.residence-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
}

.residence-description .section-title {
    font-size: 2.75rem;
    font-weight: 300;
    color: #1f2937;
    margin-bottom: 2.5rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.025em;
}

/* ============================================
   RESIDENCE SIDEBAR
   ============================================ */

.residence-sidebar .card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.residence-sidebar .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

/* ============================================
   STATS GRID
   ============================================ */

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    text-align: center;
}

.stats-grid .stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color, #0c2340);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stats-grid .stat-label {
    font-size: 0.875rem;
    color: var(--color-text-secondary, #6b7280);
    font-weight: 500;
}

/* ============================================
   DARK MODE SUPPORT
   ============================================ */

[data-theme="dark"] .residence-info-section {
    background: var(--color-dark-bg-light, #1e293b);
}

[data-theme="dark"] .residence-description {
    color: var(--color-dark-text, #f8fafc);
}

[data-theme="dark"] .residence-description .section-title {
    color: var(--color-dark-text, #f8fafc);
}

[data-theme="dark"] .residence-sidebar .card {
    background: var(--color-dark-bg, #111827);
    box-shadow: var(--shadow-dark, 0 8px 32px rgba(0, 0, 0, 0.3));
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .residence-info-section {
        padding: 4rem 0;
    }
    
    .residence-description .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

