/* 1. Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Keeps sidebar exactly 20% regardless of padding */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* 2. Header: 1920x100 with Cropping */
.header-container {
    width: 100%;
    height: 100px;
    background-color: #000;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.header-img {
    width: 100%;
    max-width: 1920px;
    height: 100px;
    object-fit: cover;    /* Crops image to fill the window */
    object-position: center; 
    display: block;
}

/* 3. Tab Bar: Off-White with Sliding Velocity */
.tab-bar {
    display: flex;
    width: 100%;
    background-color: #faf9f6; /* Off-white */
    border-bottom: 1px solid #ddd;
}

.tab {
    flex: 1; /* Perfectly divides bar into 7 equal parts */
    text-align: center;
    padding: 18px 0;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    
    /* Velocity Animation Logic */
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

/* Current Selected Tab (Black Square) */
.tab.active {
    background-color: #000;
    color: #ffffff;
}

/* Hover Effect with Velocity */
.tab:hover:not(.active) {
    background-color: #eeeeee;
    color: #000;
    cursor: pointer;
}

/* 4. Main Layout (16:9 Inspired Flexbox) */
.main-wrapper {
    display: flex;
    width: 100%;
    min-height: calc(100vh - 150px); /* Adjusts for Header + Nav height */
}

/* Sidebar: 20% Beige */
.sidebar {
    width: 20%;
    background-color: #f5f5dc; /* Beige */
    padding: 30px 20px;
    border-right: 1px solid #e0e0d0;
}

.sidebar h2 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #444;
}

.sidebar-links {
    list-style: none;
}

.sidebar-links li {
    margin-bottom: 15px;
}

.sidebar-links a {
    text-decoration: none;
    color: #666;
    font-size: 15px;
    transition: color 0.2s;
}

.sidebar-links a:hover {
    color: #000;
}

/* Content Area: 80% */
.content {
    width: 80%;
    padding: 40px;
    background-color: #ffffff;
}

.content h1 {
    font-size: 2rem;
    color: #222;
}

/* Scrollbar styling for a cleaner look */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #888;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}