/*
 * CC Framework - 12 Semantic Rooms Color System
 * Anja Zoerner's Revolutionary Room Architecture
 * Version: 4.2.0
 */

/* ========================================
   12 SEMANTIC ROOMS - COLOR DEFINITIONS
   A-L System with Material Design Palette
======================================== */

/* Room A - Building Plan */
.room-building-plan,
.room-letter-a,
[data-room="building-plan"] { 
    --room-color: #2196F3; 
    --room-color-light: #E3F2FD;
    --room-color-dark: #1976D2;
    --room-color-rgb: 33, 150, 243;
}

/* Room B - Reception Hall */
.room-reception-hall,
.room-letter-b,
[data-room="reception-hall"] { 
    --room-color: #4CAF50; 
    --room-color-light: #E8F5E9;
    --room-color-dark: #388E3C;
    --room-color-rgb: 76, 175, 80;
}

/* Room C - Brand Core */
.room-brand-core,
.room-letter-c,
[data-room="brand-core"] { 
    --room-color: #FF9800; 
    --room-color-light: #FFF3E0;
    --room-color-dark: #F57C00;
    --room-color-rgb: 255, 152, 0;
}

/* Room D - Offer Zone */
.room-offer-zone,
.room-letter-d,
[data-room="offer-zone"] { 
    --room-color: #E91E63;
    --room-color-light: #FCE4EC;
    --room-color-dark: #C2185B;
    --room-color-rgb: 233, 30, 99;
}

/* Room E - Knowledge Wing */
.room-knowledge-wing,
.room-letter-e,
[data-room="knowledge-wing"] { 
    --room-color: #9C27B0;
    --room-color-light: #F3E5F5;
    --room-color-dark: #7B1FA2;
    --room-color-rgb: 156, 39, 176;
}

/* Room F - Entertainment Stage */
.room-entertainment-stage,
.room-letter-f,
[data-room="entertainment-stage"] { 
    --room-color: #F44336;
    --room-color-light: #FFEBEE;
    --room-color-dark: #D32F2F;
    --room-color-rgb: 244, 67, 54;
}

/* Room G - Trust Chamber */
.room-trust-chamber,
.room-letter-g,
[data-room="trust-chamber"] { 
    --room-color: #607D8B;
    --room-color-light: #ECEFF1;
    --room-color-dark: #455A64;
    --room-color-rgb: 96, 125, 139;
}

/* Room H - Security Wing */
.room-security-wing,
.room-letter-h,
[data-room="security-wing"] { 
    --room-color: #795548;
    --room-color-light: #EFEBE9;
    --room-color-dark: #5D4037;
    --room-color-rgb: 121, 85, 72;
}

/* Room I - Community Garden */
.room-community-garden,
.room-letter-i,
[data-room="community-garden"] { 
    --room-color: #8BC34A;
    --room-color-light: #F1F8E9;
    --room-color-dark: #689F38;
    --room-color-rgb: 139, 195, 74;
}

/* Room J - Innovation Lab */
.room-innovation-lab,
.room-letter-j,
[data-room="innovation-lab"] { 
    --room-color: #00BCD4;
    --room-color-light: #E0F7FA;
    --room-color-dark: #0097A7;
    --room-color-rgb: 0, 188, 212;
}

/* Room K - Memory Room */
.room-memory-room,
.room-letter-k,
[data-room="memory-room"] { 
    --room-color: #9E9E9E;
    --room-color-light: #FAFAFA;
    --room-color-dark: #616161;
    --room-color-rgb: 158, 158, 158;
}

/* Room L - Future Port */
.room-future-port,
.room-letter-l,
[data-room="future-port"] { 
    --room-color: #3F51B5;
    --room-color-light: #E8EAF6;
    --room-color-dark: #303F9F;
    --room-color-rgb: 63, 81, 181;
}


/* ========================================
   ENHANCED SEMANTIC ROOM MENU
   Advanced hover effects & animations
======================================== */

.semantic-room-menu {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.semantic-room-menu li {
    background: var(--room-color-light, #f5f5f5);
    border-left: 4px solid var(--room-color, #333);
    padding: 12px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.semantic-room-menu li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.semantic-room-menu li:hover::before {
    left: 100%;
}

.semantic-room-menu li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background: var(--room-color, #333);
}

.semantic-room-menu li:hover a {
    color: white;
}

.semantic-room-menu a {
    text-decoration: none;
    color: var(--room-color-dark, #333);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.semantic-room-menu .room-icon {
    font-size: 20px;
}

.semantic-room-menu .room-count {
    margin-left: auto;
    background: rgba(0,0,0,0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .semantic-room-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .semantic-room-menu li {
        width: 100%;
    }
}
