/* <MAIN DISPLAY FONTS> */

@font-face {
    font-family: 'Knockout';
    src: url('assets/fonts/Knockout HTF52-Cruiserweight Regular.otf') format('opentype');
}

@font-face {
    font-family: 'BillingLottre';
    src: url('assets/fonts/Billing Lottre-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'Bethany';
    src: url('assets/fonts/Bethany Elingston.otf') format('opentype');
}

/* <Font for: INTERNATIONAL LTD> */

@font-face {
    font-family: 'BDSans';
    src: url('assets/fonts/BDSans-Regular.otf') format('opentype');
}

/* <Geist, many.> */

@font-face { font-family: 'GeistMono'; src: url('assets/fonts/GeistMono-Regular.otf') format('opentype'); }
@font-face { font-family: 'PixelCircle'; src: url('assets/fonts/GeistFamily/GeistPixelOTF/GeistPixel-Circle.otf') format('opentype'); }
@font-face { font-family: 'PixelGrid'; src: url('assets/fonts/GeistFamily/GeistPixelOTF/GeistPixel-Grid.otf') format('opentype'); }
@font-face { font-family: 'PixelLine'; src: url('assets/fonts/GeistFamily/GeistPixelOTF/GeistPiexl-Line.otf') format('opentype'); }
@font-face { font-family: 'PixelSquare'; src: url('assets/fonts/GeistFamily/GeistPixelOTF/GeistPixel-Square.otf') format('opentype'); }
@font-face { font-family: 'PixelTriangle'; src: url('assets/fonts/GeistFamily/GeistPixelOTF/GeistPixel-Triangle.otf') format('opentype'); }

/* <Preliminary Main Styles> */

:root {
    --brand-green: #2ea44f;
    --text-black: #000000;
    --bg-white: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-white);
    color: var(--text-black);
    font-family: Arial, Helvetica, sans-serif; 
    line-height: 1.6;
}

/* <Compmonent Specific Fonts -- MAYBE NOT DEFINED YET? -- REFERRING to I have not decided what to do.> */

.main-surname {
    font-family: 'Knockout', sans-serif;
    text-transform: uppercase;
}

.business-title {
    font-family: 'BDSans', sans-serif;
}

.code-snippet, .github-handle {
    font-family: 'GeistMono', monospace;
}

/* <added for INDEX.html v1 - 09/02/26> */

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

body {
    background-color: #ffffff;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; 
}

.landing-wrapper {
    text-align: center;
}

.surname {
    font-family: 'Knockout', sans-serif;
    font-size: 8rem; 
    color: #000000;
    line-height: 0.9;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.sub-nav {
    margin-top: 0.5rem; 
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.nav-item {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.5rem;
    color: #000000;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.nav-item:hover {
    opacity: 0.6; 
}

@keyframes blurIn {
    from {
        filter: blur(10px);
        opacity: 0;
        transform: scale(0.95); 
    }
    to {
        filter: blur(0);
        opacity: 1;
        transform: scale(1);
    }
}

.sub-nav {
    animation: blurIn 1.2s ease-out forwards;
    animation-delay: 0.5s; 
    opacity: 0;
}

/* <BUSINESS SPECIFICS> */

/* <Layers> */
.surname-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.surname {
    position: relative;
    z-index: 2; 
    background-color: #ffffff; 
    font-family: 'Knockout', sans-serif;
    font-size: 9.5rem;
    line-height: 0.8;
}

.business-title {
    position: relative;
    z-index: 1; 
    font-family: 'BDSans', sans-serif;
    font-size: 2.8rem;
    text-transform: uppercase;
    letter-spacing: 0.85em;
    margin-right: -0.85em;
    

    animation: dropFromBehind 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.8s; 
    opacity: 0;
}

@keyframes dropFromBehind {
    0% {
        transform: translateY(-50px); 
        filter: blur(5px);
        opacity: 0;
    }
    100% {
        transform: translateY(0); 
        filter: blur(0);
        opacity: 1;
    }
}


.back-nav {
    margin-top: 4rem;
    animation: fadeIn 0.8s ease-in forwards;
    animation-delay: 2.2s; 
    opacity: 0;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.back-link {
    font-family: Arial, sans-serif;
    text-decoration: none;
    color: #888;
    transition: color 0.3s;
}

.back-link:hover { color: #000; }

/* --- BUSINESS PAGE STYLES --- */

.business-body {
    display: block;
    background-color: #ffffff;
    overflow-y: auto;
    height: 100vh;
    scroll-behavior: smooth;
}

.business-wrapper {
    min-height: 100vh;
}

.business-hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.business-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.content-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 4rem;
    color: #000000;
    margin-bottom: 30px;
    text-align: center;
}

.content-subtitle {
    font-family: 'BDSans', sans-serif;
    font-size: 1.8rem;
    color: #000000;
    margin-bottom: 40px;
    text-align: center;
    max-width: 900px;
}

.content-body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #000000;
    text-align: center;
    max-width: 800px;
}

.fixed-nav {
    position: fixed !important;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

/* Departments Section */
.departments-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.departments-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 3.5rem;
    color: #000000;
    margin-bottom: 60px;
    text-align: center;
}

.departments-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
}

/* Maison Artimex Card */
.artimex-card {
    background-color: #fcf9e2;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
}

.artimex-card .department-name {
    font-family: 'Bethany', cursive;
    font-size: 4rem;
    color: #000000;
    margin-bottom: 20px;
}

.artimex-card .department-established {
    font-family: 'BillingLottre', serif;
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 30px;
}

.artimex-card .department-description {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #000000;
}

/* Engineering Card */
.engineering-card {
    background-color: #e8e8e8;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
}

.engineering-name {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ac-text {
    font-family: 'Knockout', sans-serif;
    font-size: 4rem;
    color: #000000;
    text-transform: uppercase;
}

.engineering-text {
    font-family: 'BDSans', sans-serif;
    font-size: 2.2rem;
    color: #000000;
    text-transform: uppercase;
}

.engineering-card .department-subtitle {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 30px;
    font-style: italic;
}

.engineering-card .department-description {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #000000;
}

/* --- FAMILY V1 STYLES --- */

.family-body {
    display: block;
    background-color: #C4C4C4;
    overflow-y: auto;
    height: 100vh;
}

.family-header {
    padding: 20px 30px;
    background-color: white;
}

.github-link {
    font-family: 'GeistMono', monospace;
    color: #2ea44f;
    font-size: 1rem;
    margin-bottom: 5px;
}

.interactive-name {
    font-family: 'GeistMono', monospace;
    font-size: 2.5rem;
    font-weight: 400;
    color: black;
    line-height: 1.3;
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 0.3em;
}

.first-name,
.middle-name {
    font-family: 'GeistMono', monospace;
}

.gh-highlight {
    color: #2ea44f;
}

.surname-group {
    font-family: 'Knockout', sans-serif;
    font-weight: 900;
    font-size: 3.2rem;
    color: black;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* --- SIDEBAR & CONTENT --- */

.main-layout {
    display: flex;
    height: calc(100vh - 130px);
}

.project-sidebar {
    width: 250px;
    background-color: transparent;
    color: black;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sidebar-header {
    background-color: #A8A8A8;
    padding: 12px 15px;
    font-family: 'GeistMono', monospace;
    font-size: 1rem;
    font-weight: 400;
    flex-shrink: 0;
}

.project-nav {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-item {
    padding: 15px 15px;
    text-decoration: none;
    color: black;
    font-family: 'GeistMono', monospace;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: opacity 0.2s;
    flex: 1;
    display: flex;
    align-items: center;
}

.project-item:hover {
    opacity: 0.8;
}

.project-item.active {
    font-weight: 600;
    border-left: 4px solid black;
    padding-left: 11px;
}

/* Special text colors for dark backgrounds */
.project-item.dark-text {
    color: white;
}

.project-content {
    flex-grow: 1;
    padding: 40px 60px;
    font-family: 'GeistMono', monospace;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Dark content styling for projects with dark backgrounds */
.project-content.dark-content h2,
.project-content.dark-content h3,
.project-content.dark-content h4,
.project-content.dark-content p,
.project-content.dark-content li,
.project-content.dark-content .github-footer {
    color: white;
}

.project-content.dark-content .project-subtitle {
    color: #e0e0e0;
}

.project-content h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 400;
    text-align: center;
    width: 100%;
}

.project-subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 400;
    text-align: center;
    width: 100%;
    font-style: italic;
    color: #333;
}

.section-heading {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 10px;
    text-align: left;
    width: 100%;
    max-width: 900px;
}

.section-content {
    font-size: 1rem;
    line-height: 1.7;
    text-align: left;
    width: 100%;
    max-width: 900px;
    margin-bottom: 15px;
}

.section-bullets {
    text-align: left;
    width: 100%;
    max-width: 900px;
    margin-bottom: 15px;
    padding-left: 20px;
}

.section-bullets li {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 10px;
}

.project-content p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 900px;
}

.github-footer {
    margin-top: 40px;
    text-align: center;
    width: 100%;
    font-style: italic;
    color: #666;
}

.bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.bottom-nav .back-link {
    font-family: 'GeistMono', monospace;
    font-size: 0.9rem;
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.bottom-nav .back-link:hover {
    color: #000;
}