/* Modern styling for Blender shortcuts/resources */
:root {
    --primary: #8a3800;
    --primary-light: #FF8B45;
    --primary-dark: #D16325;
    --bg-dark: #1A1A1A;
    --bg-darker: #141414;
    --bg-darkest: rgba(0, 0, 0, 0.2);
    --bg-lighter: #2A2A2A;
    --text: #FFFFFF;
    --text-muted: #9CA3AF;
    --gradient: linear-gradient(135deg, var(--primary) 0%, #F6AD55 100%);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    min-height: 100vh;
    line-height: 1.5;
    background-image:
            radial-gradient(circle at 15% 50%, rgba(233, 122, 53, 0.08) 0%, transparent 25%),
            radial-gradient(circle at 85% 30%, rgba(233, 122, 53, 0.08) 0%, transparent 25%);
}

/* Navigation */
.navigation {
    background-color: var(--bg-darker);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-list {
    display: flex;
    align-items: center;
    height: 64px;
    list-style: none;
    gap: 32px;
}

.nav-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
}

.nav-list a:hover {
    color: var(--text);
    background-color: var(--bg-lighter);
}

/* Main Content */
h1 {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin: 48px 0;
    padding: 0 24px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    position:relative;
}
h1:before {
    content: '';
    display: inline-block;
    width: 1em; /* Size relative to font size */
    height: 1em;
    background-image: url('blenderLogo.png');
    background-size: contain; /* Ensure image scales within the box */
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle; /* Align with h1 text */
    margin-right: 8px; /* Spacing between icon and text */
    position: relative;
    top: -0.1em;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.table-section {
    background: var(--bg-darker);
    border-radius: 8px;
    margin-bottom: 32px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

h2 {
    font-size: 24px;
    font-weight: 600;
    padding: 24px;
    margin: 0;
    background: var(--bg-darkest);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text);
    backdrop-filter: blur(8px);
}

.table-grid {
    display: grid;
    grid-template-columns: 1.25fr 1.25fr 2fr;
    font-size: 16px;
}

.table-cell {
    min-height:72px;
    padding: 0 24px 0 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.table-cell.light {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Links Styling */
.table-cell a {
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.table-cell a::before {
    content: '›';
    margin-right: 12px;
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.table-cell a:hover {
    color: var(--primary-light);
}

.table-cell a:hover::before {
    transform: translateX(4px);
}
.full-width {
    grid-column: span 3;
}
/* Accordion Styling */
.accordion {
    display:flex;
    align-items: center;
    font-size:16px;
    height:36px;
    background-color: #1f1f1f;
    color:#c8c8c8;
    cursor:pointer;
    width:100%;
    text-align:left;
    border:none;
    outline: none;
    transition: background-color 0.4s;
    border-top: 1px solid black;
    padding-left:24px;
}

.accordion:hover {
    background-color: var(--bg-dark);
}

.accordion::after {
    content: '\25BC';
    font-size: 16px;
    color: var(--text-muted);
    margin-left:8px;
    transform-origin: 8px 50%;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.accordion.active::after {
   
    transform: rotate(180deg);
}

.moreInformationPanel {
    background-color: var(--bg-darker);
    transition: max-height 0.3s ease, padding 0.3s ease;
    overflow: hidden;
    max-height: 0;
    padding: 0 24px;
}

.moreInformationPanel.open {
    max-height: 1000px; /* Adjust as needed */
    padding: 24px;
    background-color: limegreen;
}

/* Keyboard/Mouse Icons */
.key, .middlemouse, .leftmouse, .rightmouse{
    background-color: var(--bg-lighter);
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: center;
}

.key {
    /*background-image: url('ico_key.svg');*/
}

.middlemouse {
    background-image: url('ico_middlemouse.svg');
}

.leftmouse {
    background-image: url('ico_leftmouse.svg');
}

.rightmouse {
    background-image: url('ico_rightmouse.svg');
}
.verticalDivider {
    border-left: 2px solid white;
    background: #16222c;
    width: 1px;
    height: 24px;
    margin: 0px 12px;
}

.infoTarget{
    background-color: var(--bg-darker);
    /*aspect-ratio: 1 / 1;*/
    width:72px;
    min-width:72px
    height: 100%;
    /*max-height: 72px;*/
    min-height:72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-right: 24px;
    border-right: 1px solid var(--bg-darkest);
}
.infoTarget:hover{
    background: var(--primary-light);
}
.infoTarget.inactive{
    background-color: var(--bg-darker);
}

.infoTarget.inactive .infoIcon{
    opacity: 0.2;
}

.infoIcon{
    width: 24px;
    height: 24px;
    max-width: 100%;
    max-height: 100%;
}

/* Footer */
footer {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-muted);
    font-size: 14px;
    background-color: var(--bg-darker);
    margin-top: 64px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .table-grid {
        grid-template-columns: 1fr 2fr;
    }

    .table-cell:last-child {
        grid-column: span 1;
    }
}

@media (max-width: 640px) {
    .table-grid {
        grid-template-columns: 1fr;
    }

    .table-cell:last-child {
        grid-column: span 1;
    }

    h1 {
        font-size: 36px;
    }
}

.tooltip {
    position: absolute;
    top:10px;
    left:10px;
    background-color: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 8px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s;
    pointer-events: none;
    max-width: 300px;
}

/* Tooltip image styling */
.tooltip img {
    max-width: 100%;
    border-radius: 4px;
}