/* Global Reset & Typography */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: #000000; color: #ffffff; font-family: 'Inter', sans-serif; height: 100vh; overflow: hidden; display: flex; }

/* Sidebar Styling */
.sidebar { width: 70px; height: 100vh; border-right: 1px solid #2F3336; display: flex; flex-direction: column; align-items: center; padding-top: 40px; gap: 35px; z-index: 100; }
.nav-item { font-size: 24px; color: #555; cursor: pointer; transition: color 0.3s ease; }
.nav-item i { pointer-events: none; }
.nav-item:hover, .nav-item.active-nav { color: #ffffff; }

/* Main Dashboard & SPA Views */
.dashboard { flex: 1; position: relative; padding: 60px 80px; overflow-y: auto; }
.view { display: none; width: 100%; height: 100%; opacity: 0; }
#welcome-view.active { display: grid; grid-template-columns: 1fr 400px; grid-template-rows: auto 1fr; gap: 40px; opacity: 1; }

/* Shared Typography */
.section-title { font-size: 14px; text-transform: uppercase; letter-spacing: 2px; color: #888; margin-bottom: 20px; font-weight: 400; }
.section-header { font-size: 32px; font-weight: 300; margin-bottom: 40px; border-bottom: 1px solid #2F3336; padding-bottom: 15px; }
.body-text { font-size: 16px; line-height: 1.7; color: #b0b0b0; margin-bottom: 30px; max-width: 850px; }
.body-text strong, .body-text em { color: #ffffff; }

/* Welcome Specifics */
.welcome-section { grid-column: 1 / 2; grid-row: 1 / 3; display: flex; align-items: center; padding-right: 40px; }
.welcome-content { display: flex; flex-direction: column; gap: 50px; }
.welcome-text { font-size: 32px; font-weight: 300; line-height: 1.5; max-width: 800px; }
.welcome-text .sub-text { display: block; font-size: 18px; color: #888; margin-top: 20px; }
.quick-summary { display: flex; flex-direction: column; gap: 12px; border-left: 2px solid #2F3336; padding-left: 20px; }
.summary-title { margin-bottom: 10px; }
.summary-item { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #b0b0b0; font-weight: 300; letter-spacing: 0.5px; }
.summary-item i { font-size: 18px; color: #ffffff; }
.shortcuts-section { grid-column: 2 / 3; grid-row: 1 / 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 15px; }
.shortcut-box { border: 1px solid #2F3336; padding: 15px 25px; font-size: 16px; letter-spacing: 1px; cursor: pointer; transition: background-color 0.3s, border-color 0.3s; }
.shortcut-box:hover { background-color: #111; border-color: #fff; }
.highlights-section { grid-column: 2 / 3; grid-row: 2 / 3; display: flex; flex-direction: column; justify-content: center; }
.gallery-grid { display: flex; gap: 15px; }
.img-container { width: 100%; height: 120px; border: 1px solid #2F3336; border-radius: 4px; overflow: hidden; cursor: pointer; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease; }
.img-container img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); transition: filter 0.4s ease; }
.img-container:hover { transform: scale(1.08); box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08); z-index: 10; }
.img-container:hover img { filter: grayscale(0%); }

/* Views Specifics */
#inspiration-view.active, #projects-view.active, #gallery-view.active, #cv-view.active, #ending-view.active { display: flex; flex-direction: column; padding-bottom: 100px; }
.text-column { max-width: 900px; width: 100%; } /* Ensures full width for layout spacing */
.wide-column { max-width: 1200px; }

/* Creator / Horizontal Cards */
.creator-grid { display: flex; gap: 20px; margin-bottom: 30px; }
.creator-card { display: flex; flex-direction: column; width: 200px; border: 1px solid #2F3336; border-radius: 6px; overflow: hidden; background-color: #050505; }
.creator-img { width: 100%; height: 120px; object-fit: cover; border-bottom: 1px solid #2F3336; filter: grayscale(100%); transition: filter 0.4s; }
.creator-card:hover .creator-img { filter: grayscale(0%); }
.creator-info { padding: 15px; display: flex; justify-content: space-between; align-items: center; }
.creator-name { font-size: 14px; font-weight: 600; }
.youtube-icon { font-size: 20px; color: #ff0000; opacity: 0.8; }
.horizontal-link-card { display: flex; align-items: center; border: 1px solid #2F3336; border-radius: 6px; background-color: #050505; text-decoration: none; color: #fff; width: 100%; max-width: 600px; height: 80px; margin-bottom: 30px; overflow: hidden; transition: border-color 0.3s; }
.horizontal-link-card:hover { border-color: #fff; }
.thumb-container { width: 140px; height: 100%; border-right: 1px solid #2F3336; }
.thumb-container img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(50%); }
.card-text-content { display: flex; flex-direction: column; padding: 0 20px; flex: 1; }
.card-title { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.card-sub { font-size: 12px; color: #888; }
.card-icon { font-size: 28px; margin-right: 25px; color: #888; } 

/* Button Component */
.internal-link-btn { display: inline-flex; align-items: center; gap: 15px; padding: 15px 30px; border: 1px solid #ffffff; border-radius: 4px; font-size: 16px; font-weight: 600; cursor: pointer; margin-top: 10px; transition: background-color 0.3s, color 0.3s; width: fit-content;}
.internal-link-btn:hover { background-color: #ffffff; color: #000000; }
.internal-link-btn .arrow { transition: transform 0.3s; }
.internal-link-btn:hover .arrow { transform: translateX(5px); }
.internal-link-btn .arrow-left { transition: transform 0.3s; }
.internal-link-btn:hover .arrow-left { transform: translateX(-5px); }

/* Projects Specifics */
.project-block { display: flex; gap: 60px; align-items: flex-start; margin: 40px 0; }
.project-block.reverse-layout { flex-direction: row-reverse; }
.project-content { flex: 1; }
.project-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.project-icon { font-size: 28px; color: #ffffff; }
.project-title { font-size: 24px; font-weight: 400; }
.project-list { list-style: none; margin-bottom: 30px; padding-left: 20px; border-left: 2px solid #2F3336; }
.project-list li { font-size: 15px; color: #b0b0b0; margin-bottom: 8px; position: relative; }
.project-list li::before { content: "•"; color: #fff; position: absolute; left: -15px; }
.project-media { width: 400px; border: 1px solid #2F3336; border-radius: 6px; overflow: hidden; background-color: #050505; }
.project-media img { width: 100%; height: auto; display: block; filter: grayscale(30%); transition: filter 0.4s ease; }
.project-media:hover img { filter: grayscale(0%); }
.project-divider { border: 0; height: 1px; background-color: #2F3336; margin: 60px 0; width: 100%; }

/* Gallery Masonry Specifics */
.gallery-masonry { column-count: 2; column-gap: 25px; margin-bottom: 40px; }
.gallery-item { break-inside: avoid; margin-bottom: 25px; border: 1px solid #2F3336; border-radius: 6px; overflow: hidden; background-color: #050505; transition: border-color 0.3s; }
.gallery-item:hover { border-color: #fff; }
.gallery-item img { width: 100%; height: auto; display: block; filter: grayscale(20%); transition: filter 0.4s ease, transform 0.4s ease; }
.gallery-item:hover img { filter: grayscale(0%); transform: scale(1.02); }
.gallery-caption { padding: 15px 20px; border-top: 1px solid #2F3336; display: flex; justify-content: space-between; align-items: center; }
.img-title { font-size: 14px; font-weight: 600; color: #ffffff; }
.img-tags { display: flex; gap: 15px; }
.tag { font-size: 12px; color: #888; display: flex; align-items: center; gap: 6px; }
.tag i { font-size: 16px; color: #ffffff; }

/* CV / Resume Specifics */
.cv-layout { display: grid; grid-template-columns: 320px 1fr; gap: 60px; align-items: start; }
.cv-block { margin-bottom: 45px; }
.cv-name { font-size: 28px; font-weight: 400; margin-bottom: 20px; letter-spacing: 1px; }
.cv-sub-header { font-size: 18px; color: #ffffff; border-bottom: 1px solid #2F3336; padding-bottom: 10px; margin-bottom: 20px; font-weight: 400; letter-spacing: 1px; text-transform: uppercase; }
.cv-contact-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.cv-contact-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #b0b0b0; }
.cv-contact-list i { color: #ffffff; font-size: 18px; }
.cv-bullet-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.cv-bullet-list li { font-size: 14px; color: #b0b0b0; position: relative; padding-left: 15px; }
.cv-bullet-list li::before { content: "■"; color: #2F3336; font-size: 8px; position: absolute; left: 0; top: 5px; }
.cv-text { font-size: 15px; line-height: 1.8; color: #b0b0b0; }
.cv-experience { margin-bottom: 30px; }
.exp-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.exp-title { font-size: 16px; font-weight: 600; color: #ffffff; }
.exp-date { font-size: 13px; color: #888; }
.exp-company { display: block; font-size: 14px; color: #888; margin-bottom: 10px; font-style: italic; }

/* --- Ending Specifics --- */
.contact-card {
    border-left: 2px solid #2F3336;
    padding-left: 20px;
    margin: 20px 0 40px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
}

.contact-row i {
    font-size: 24px;
    color: #888;
}

/* Updated for maximum separation */
.ending-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    border-top: 1px solid #2F3336;
    padding-top: 30px;
    width: 100%; /* Forces container to stretch */
}

.sign-off {
    font-size: 14px;
    color: #555;
    letter-spacing: 1px;
    text-align: right;
}