/* About page specific styles */

/* Force about page layout to override index.css */
body {
    min-width: 1500px;
}

.container {
    display: block;
}

.about-content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 80px 20px;
    min-height: calc(100vh - 65px);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    z-index: 1;
    visibility: visible !important;
    width: 100%;
    box-sizing: border-box;
}

/* Ensure terminal components are visible with high specificity */
.about-content .terminal-container {
    display: block !important;
    width: 100% !important;
    max-width: 1300px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.about-content .bio-toggle {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.about-content .terminal-content {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.about-content .bio-text {
    display: block !important;
    visibility: visible !important;
}

.about-content .bio-line {
    display: block !important;
    visibility: visible !important;
}

.about-header {
    margin-bottom: 80px;
    border-bottom: 1px solid #1D1D1D;
    padding-bottom: 40px;
}

.about-title-container {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.about-title {
    font-size: 120px;
    font-weight: 450;
    letter-spacing: -8px;
    color: #1D1D1D;
    margin-right: 20px;
    line-height: 1;
    margin-bottom: 0;
}

/* Glitch effect */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text:hover {
    animation: glitch 0.3s ease-in-out;
}

.glitch-text:hover::before,
.glitch-text:hover::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text:hover::before {
    animation: glitch-1 0.3s ease-in-out;
    color: #ff0000;
    z-index: -1;
}

.glitch-text:hover::after {
    animation: glitch-2 0.3s ease-in-out;
    color: #00ff00;
    z-index: -2;
}

@keyframes glitch {

    0%,
    100% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }
}

@keyframes glitch-1 {

    0%,
    100% {
        transform: translate(0);
    }

    20% {
        transform: translate(2px, -2px);
    }

    40% {
        transform: translate(-2px, 2px);
    }

    60% {
        transform: translate(-2px, -2px);
    }

    80% {
        transform: translate(2px, 2px);
    }
}

@keyframes glitch-2 {

    0%,
    100% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, -2px);
    }

    40% {
        transform: translate(2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(-2px, 2px);
    }
}

.cursor-blink {
    font-size: 120px;
    color: #1D1D1D;
    animation: blink 1s infinite;
    font-weight: 300;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.status-bar {
    display: flex;
    gap: 40px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-item {
    position: relative;
}

.status-active {
    color: #00ff00;
    font-weight: bold;
}

.location-text {
    color: #1D1D1D;
    font-style: italic;
}

.obsession-text {
    color: #1D1D1D;
    font-weight: bold;
}

/* Terminal bio section with high specificity */
.about-content .bio-toggle {
    background-color: white !important;
    border: 1px solid #1D1D1D !important;
    border-radius: 0px;
    overflow: hidden;
    font-family: 'Courier New', monospace;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    display: block !important;
    visibility: visible !important;
}

.terminal-header {
    background-color: rgb(239, 239, 239);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #1D1D1D;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
    margin-right: 15px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: bold;
    color: transparent;
}

.terminal-button.red {
    background-color: #ff5f56;
}

.terminal-button.yellow {
    background-color: #ffbd2e;
}

.terminal-button.green {
    background-color: #27ca3f;
}

/* Hover effects with icons */
.terminal-button.red:hover {
    color: #8B0000;
}

.terminal-button.red:hover::after {
    content: "×";
    position: absolute;
    font-size: 10px;
    font-weight: bold;
    color: #8B0000;
}

.terminal-button.yellow:hover {
    color: #B8860B;
}

.terminal-button.yellow:hover::after {
    content: "−";
    position: absolute;
    font-size: 10px;
    font-weight: bold;
    color: #B8860B;
    line-height: 8px;
}

.terminal-button.green:hover {
    color: #006400;
}

.terminal-button.green:hover::after {
    content: "+";
    position: absolute;
    font-size: 8px;
    font-weight: bold;
    color: #006400;
    line-height: 8px;
}

.terminal-title {
    color: #1D1D1D;
    font-size: 12px;
}

.about-content .terminal-content {
    padding: 30px !important;
    background-color: white !important;
    color: #1D1D1D !important;
    line-height: 1.8;
    min-height: 500px !important;
    display: block !important;
    visibility: visible !important;
}

.bio-line {
    margin: 10px 0;
    font-size: 16px;
}

.prompt {
    color: #1D1D1D;
    font-weight: bold;
}

.cursor,
.typing-cursor {
    color: #1D1D1D;
    animation: blink 1s infinite;
    margin-left: 2px;
}

.typing-text {
    opacity: 0;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}



/* Work philosophy section */
.work-philosophy {
    margin-bottom: 80px;
}

.philosophy-header {
    margin-bottom: 50px;
}

.philosophy-header h2 {
    font-size: 60px;
    font-weight: 450;
    color: #1D1D1D;
    letter-spacing: -3px;
    margin-bottom: 10px;
}

.philosophy-subtitle {
    font-size: 16px;
    color: #666;
    font-style: italic;
    margin-left: 4px;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.work-item {
    border: 1px solid #1D1D1D;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.work-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: left 0.5s ease;
}

.work-item:hover::before {
    left: 100%;
}

.work-item:hover {
    background-color: #fafafa;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.work-icon {
    font-size: 32px;
    margin-bottom: 15px;
    display: block;
}

.work-item h3 {
    font-size: 18px;
    font-weight: 500;
    color: #1D1D1D;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.work-item p {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    font-weight: 300;
}

/* Philosophy statement */
.philosophy-statement {
    background-color: #fafafa;
    border: 1px solid #1D1D1D;
    padding: 40px;
    margin: 60px 0;
}

.quote-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 20px;
}

.quote-mark {
    font-size: 80px;
    color: #1D1D1D;
    font-weight: 300;
    line-height: 0.7;
}

.quote-mark.closing {
    align-self: end;
}

.quote-text {
    font-size: 18px;
    line-height: 1.6;
    color: #1D1D1D;
    font-weight: 300;
    font-style: italic;
}

.quote-text p {
    margin-bottom: 20px;
}

.quote-text p:last-child {
    margin-bottom: 0;
}

/* Currently section */
.currently-section {
    background-color: white;
    border: 1px solid #1D1D1D;
    padding: 30px;
}

.currently-section h3 {
    font-size: 24px;
    font-weight: 500;
    color: #1D1D1D;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.currently-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.currently-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    border-bottom: 1px dotted #ddd;
    padding-bottom: 12px;
}

.currently-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.currently-label {
    font-weight: 500;
    color: #1D1D1D;
    min-width: 120px;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
}

.currently-value {
    color: #333;
    font-weight: 300;
    flex: 1;
    font-style: italic;
}

/* Large screen adjustments */
@media (min-width: 1800px) {
    .about-content {
        max-width: 1800px;
        padding: 100px 50px;
    }

    .about-content .terminal-container {
        max-width: 1400px !important;
    }
}

@media (min-width: 2200px) {
    .about-content {
        max-width: 2200px;
        padding: 120px 100px;
    }

    .about-content .terminal-container {
        max-width: 1600px !important;
    }
}

/* Responsive design */
@media (max-width: 1200px) {
    .about-content {
        padding: 40px 60px;
    }

    .work-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .about-content {
        padding: 30px 40px;
    }

    .about-title {
        font-size: 80px;
        letter-spacing: -4px;
    }

    .cursor-blink {
        font-size: 80px;
    }

    .status-bar {
        flex-direction: column;
        gap: 10px;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .quote-container {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    .quote-mark {
        font-size: 60px;
    }

    .philosophy-header h2 {
        font-size: 40px;
        letter-spacing: -2px;
    }
}

/* Language selector styles - matches main site */
.language-selector {
    position: relative;
    display: inline-block;
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #1D1D1D;
    z-index: 1000;
    min-width: 150px;
    margin-top: -2px;
}

.language-dropdown a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #1D1D1D;
    font-size: 12px;
    transition: background-color 0.3s ease;
    border-bottom: 1px dotted #ddd;
}

.language-dropdown a:last-child {
    border-bottom: none;
}

.language-dropdown a:hover {
    background-color: rgb(239, 239, 239);
}

.language-selector:hover .language-dropdown,
.language-dropdown:hover {
    display: block;
}