/* ==========================================================================
   BAUHAUS THEME - Geometric modernist aesthetic
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700;800&family=Red+Hat+Display:wght@400;500;600;700;800;900&family=DM+Sans:wght@400;500;600;700;800&display=swap');
@import url('styles-base.css');

/* Theme Variables
   ========================================================================== */
:root {
    --bauhaus-red: #e3000f;
    --bauhaus-yellow: #ffed00;
    --bauhaus-blue: #0066b3;
    --bauhaus-black: #000000;
    --bauhaus-white: #ffffff;
    --bauhaus-gray: #cccccc;
}

/* Theme-Specific Styles
   ========================================================================== */
body {
    font-family: 'Jost', 'Red Hat Display', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bauhaus-white);
    color: var(--bauhaus-black);
    line-height: 1.6;
    position: relative;
}

/* Geometric Background Elements */
body::before {
    content: '';
    position: fixed;
    top: -10%;
    right: -5%;
    width: 40vw;
    height: 40vw;
    max-width: 500px;
    max-height: 500px;
    background: var(--bauhaus-yellow);
    border-radius: 50%;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -15%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    max-width: 600px;
    max-height: 600px;
    background: var(--bauhaus-red);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}

.scanlines {
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(0, 102, 179, 0.02) 20px,
            rgba(0, 102, 179, 0.02) 40px
        );
    z-index: 1;
    opacity: 1;
}

.terminal-window {
    max-width: 1200px;
    margin: 60px auto;
    background: var(--bauhaus-white);
    border: 4px solid var(--bauhaus-black);
    box-shadow:
        12px 12px 0 var(--bauhaus-red),
        24px 24px 0 var(--bauhaus-blue);
    overflow: visible;
    position: relative;
    z-index: 10;
}

/* Geometric decoration on terminal */
.terminal-window::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 40px;
    width: 60px;
    height: 60px;
    background: var(--bauhaus-yellow);
    border: 4px solid var(--bauhaus-black);
    transform: rotate(45deg);
    z-index: -1;
}

.terminal-window::after {
    content: '';
    position: absolute;
    bottom: -25px;
    right: 60px;
    width: 50px;
    height: 50px;
    background: var(--bauhaus-blue);
    border-radius: 50%;
    border: 4px solid var(--bauhaus-black);
    z-index: -1;
}

.terminal-header {
    background: var(--bauhaus-black);
    padding: 20px 32px;
    gap: 12px;
    border-bottom: 4px solid var(--bauhaus-red);
    position: relative;
}

/* Geometric accent on header */
.terminal-header::after {
    content: '';
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 20px 20px;
    border-color: transparent transparent var(--bauhaus-yellow) transparent;
}

.terminal-dot {
    width: 18px;
    height: 18px;
    border: 3px solid var(--bauhaus-black);
}

.dot-close {
    background: var(--bauhaus-red);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.dot-minimize {
    background: var(--bauhaus-yellow);
    border-radius: 50%;
}

.dot-maximize {
    background: var(--bauhaus-blue);
    transform: rotate(45deg);
}

.terminal-title {
    margin-left: 16px;
    color: var(--bauhaus-white);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.terminal-body {
    padding: 60px;
    position: relative;
    background: var(--bauhaus-white);
}

/* Geometric divider elements */
.terminal-body::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 8px;
    height: 200px;
    background: linear-gradient(
        to bottom,
        var(--bauhaus-red) 33%,
        var(--bauhaus-yellow) 33%,
        var(--bauhaus-yellow) 66%,
        var(--bauhaus-blue) 66%
    );
}

.prompt {
    color: var(--bauhaus-blue);
    margin-right: 12px;
    font-weight: 700;
    font-size: 1.1em;
}

.command {
    color: var(--bauhaus-red);
    font-weight: 700;
    letter-spacing: 1px;
}

.section-block {
    margin-bottom: 64px;
    animation: slideInGeometric 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    padding-left: 24px;
}

/* Geometric accent shapes for sections */
.section-block:nth-child(odd)::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--bauhaus-yellow);
    border: 2px solid var(--bauhaus-black);
    transform: rotate(45deg);
}

.section-block:nth-child(even)::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--bauhaus-blue);
    border-radius: 50%;
    border: 2px solid var(--bauhaus-black);
}

.section-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 4px solid var(--bauhaus-black);
    position: relative;
    background: linear-gradient(
        to right,
        var(--bauhaus-yellow) 0%,
        var(--bauhaus-yellow) 4px,
        transparent 4px,
        transparent 100%
    );
}

/* Triangle accent on headers */
.section-header::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -4px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 24px 24px;
    border-color: transparent transparent var(--bauhaus-red) transparent;
}

.section-header .prompt {
    font-size: 1.1rem;
}

.section-header .command {
    font-size: 1.1rem;
    font-weight: 800;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--bauhaus-black);
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

/* Geometric underline for h1 */
h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60%;
    height: 6px;
    background: var(--bauhaus-red);
    clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%);
}

.output {
    padding-left: 0;
}

.output p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 400;
}

.comment {
    color: #666666;
    font-style: normal;
    font-weight: 500;
}

.highlight {
    color: var(--bauhaus-red);
    font-weight: 700;
    background: linear-gradient(
        to bottom,
        transparent 60%,
        var(--bauhaus-yellow) 60%,
        var(--bauhaus-yellow) 90%,
        transparent 90%
    );
    padding: 0 4px;
}

.link-group {
    gap: 24px;
    margin-top: 24px;
}

.link {
    color: var(--bauhaus-blue);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    padding: 8px 16px;
    border: 3px solid var(--bauhaus-black);
    background: var(--bauhaus-white);
}

.link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bauhaus-yellow);
    z-index: -1;
    transform: translate(0, 0);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.link:hover::before {
    transform: translate(6px, 6px);
}

.link:hover {
    color: var(--bauhaus-black);
    transform: translate(-3px, -3px);
}

.career-list li {
    margin-bottom: 32px;
    padding-left: 32px;
    padding: 24px;
    border-left: 6px solid var(--bauhaus-blue);
    background: linear-gradient(
        to right,
        rgba(0, 102, 179, 0.05) 0%,
        transparent 100%
    );
}

.career-list li::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 28px;
    width: 12px;
    height: 12px;
    background: var(--bauhaus-red);
    transform: rotate(45deg);
    border: 2px solid var(--bauhaus-black);
}

.career-list > li > strong {
    color: var(--bauhaus-black);
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.career-list p strong {
    color: var(--bauhaus-red);
    font-weight: 700;
}

.belief-list {
    display: grid;
    gap: 20px;
}

.belief-list li {
    margin-bottom: 0;
    padding: 20px 24px;
    padding-left: 24px;
    color: var(--bauhaus-black);
    font-size: 1rem;
    font-weight: 500;
    background: var(--bauhaus-white);
    border: 3px solid var(--bauhaus-black);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.belief-list li::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 16px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent var(--bauhaus-yellow);
}

.belief-list li::after {
    content: '';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--bauhaus-blue);
    border-radius: 50%;
}

.belief-list li:hover {
    transform: translate(-4px, -4px);
    box-shadow: 4px 4px 0 var(--bauhaus-red);
}

.cta-box {
    background: var(--bauhaus-black);
    border: 6px solid var(--bauhaus-black);
    padding: 48px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

/* Geometric background elements in CTA */
.cta-box::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    background: var(--bauhaus-red);
    border-radius: 50%;
    opacity: 0.3;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: var(--bauhaus-yellow);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    opacity: 0.3;
}

.cta-box h2 {
    color: var(--bauhaus-white);
    font-size: 2rem;
    margin-bottom: 16px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.cta-box p {
    color: var(--bauhaus-gray);
    margin-bottom: 32px;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.btn-group {
    gap: 24px;
    position: relative;
    z-index: 1;
}

.btn {
    padding: 18px 40px;
    font-weight: 800;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-size: 0.9rem;
    border: 4px solid var(--bauhaus-black);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: visible;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.btn-primary {
    background: var(--bauhaus-yellow);
    color: var(--bauhaus-black);
    border-color: var(--bauhaus-black);
}

.btn-primary::before {
    background: var(--bauhaus-red);
    transform: translate(0, 0);
}

.btn-primary:hover::before {
    transform: translate(8px, 8px);
}

.btn-primary:hover {
    color: var(--bauhaus-white);
    transform: translate(-4px, -4px);
}

.btn-secondary {
    background: var(--bauhaus-blue);
    color: var(--bauhaus-white);
    border-color: var(--bauhaus-black);
}

.btn-secondary::before {
    background: var(--bauhaus-white);
    transform: translate(0, 0);
}

.btn-secondary:hover::before {
    transform: translate(8px, 8px);
}

.btn-secondary:hover {
    color: var(--bauhaus-black);
    transform: translate(-4px, -4px);
}

.cursor {
    width: 3px;
    height: 20px;
    background: var(--bauhaus-red);
    animation: blinkGeometric 1.2s infinite;
    margin-left: 6px;
    transform: skewX(-10deg);
}

@keyframes blinkGeometric {
    0%, 50% { opacity: 1; transform: skewX(-10deg) scaleY(1); }
    51%, 100% { opacity: 0; transform: skewX(-10deg) scaleY(0.8); }
}

@keyframes slideInGeometric {
    from {
        opacity: 0;
        transform: translateX(-40px) rotate(-2deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
}

@media (max-width: 768px) {
    .terminal-window {
        margin: 30px 20px;
        box-shadow:
            8px 8px 0 var(--bauhaus-red),
            16px 16px 0 var(--bauhaus-blue);
    }

    .terminal-window::before {
        width: 40px;
        height: 40px;
        top: -20px;
        left: 20px;
    }

    .terminal-window::after {
        width: 35px;
        height: 35px;
        bottom: -18px;
        right: 30px;
    }

    .terminal-body {
        padding: 32px 24px;
    }

    .terminal-body::before {
        width: 4px;
        height: 120px;
    }

    .section-block {
        padding-left: 12px;
    }

    .section-block::before {
        left: -20px;
        width: 8px;
        height: 8px;
    }

    h1::after {
        height: 4px;
    }

    .link {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .career-list li {
        padding: 16px;
        border-left-width: 4px;
    }

    .career-list li::before {
        width: 8px;
        height: 8px;
        left: -6px;
    }

    .belief-list li {
        padding: 16px 20px;
        font-size: 0.95rem;
    }

    .cta-box {
        padding: 32px 24px;
    }

    .cta-box h2 {
        font-size: 1.5rem;
    }

    .cta-box p {
        font-size: 1rem;
    }

    .btn {
        padding: 16px 32px;
    }

    .btn::before {
        display: none;
    }

    .btn:hover {
        transform: none;
    }

    .profile-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .profile-photo {
        width: 110px;
        height: 110px;
    }

    .profile-header::before {
        width: 30px;
        height: 30px;
        top: -15px;
        left: -15px;
    }

    .profile-header::after {
        width: 20px;
        height: 20px;
        bottom: -10px;
        right: 85px;
    }
}

/* Profile Photo Styles
   ========================================================================== */
.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

/* Geometric decoration elements */
.profile-header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 40px;
    height: 40px;
    background: var(--bauhaus-yellow);
    border: 3px solid var(--bauhaus-black);
    transform: rotate(45deg);
    z-index: 0;
}

.profile-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 100px;
    width: 30px;
    height: 30px;
    background: var(--bauhaus-blue);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    border: 3px solid var(--bauhaus-black);
    z-index: 0;
}

.profile-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 5px solid var(--bauhaus-black);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow:
        6px 6px 0 var(--bauhaus-red),
        12px 12px 0 var(--bauhaus-yellow);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.profile-photo:hover {
    transform: translate(-3px, -3px);
    box-shadow:
        9px 9px 0 var(--bauhaus-red),
        15px 15px 0 var(--bauhaus-yellow);
}

.profile-text {
    flex: 1;
    position: relative;
    z-index: 1;
}
