/**
 * Hub and Spoke CSS
 * Styles for SVG-based hub-and-spoke navigation interfaces
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    /* background-image:linear-gradient(from bottom, #123456, #234567); */
    background: #123456; 
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.hub-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 2rem;
    background: #123456;
    border-radius: 12px;
    margin: 1rem;
}

.hub-title {
    text-align: center;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hub-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hub-title p {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

.hub-spokes-container {
    position: relative;
    width: 600px;
    height: 600px;
    max-width: 90vw;
    max-height: 90vw;
}

.hub-spokes-svg {
    width: 100%;
    height: 100%;
}

.central-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
    margin: 0;
    padding: 0;
    background: #456789;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hub-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0;
    padding: 0;
}

/* Module Links - positioned over SVG circles */
.module-links {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.module-link {
    position: absolute;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    pointer-events: auto;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.module-link:hover {
    transform: scale(1.1);
    background: rgba(255,255,255,0.2);
}

.module-icon {
    font-size: 32px;
    margin-bottom: 5px;
}

.module-name {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
    .hub-title h1 {
        font-size: 1.8rem;
    }
    
    .hub-title p {
        font-size: 1rem;
    }
    
    .hub-spokes-container {
        width: 400px;
        height: 400px;
    }
    
    .hub-logo {
        width: 80px;
        height: 80px;
        padding: 15px;
    }
    
    .module-link {
        width: 75px;
        height: 75px;
    }
    
    .module-icon {
        font-size: 24px;
    }
    
    .module-name {
        font-size: 10px;
    }
}
