:root {
    /* Light theme variables */
    --primary-color: #000000;
    --secondary-color: #86868b;
    --accent-color: #2997ff;
    --text-color: #1d1d1f;
    --light-gray: #f5f5f7;
    --white: #ffffff;
    --border-color: #d2d2d7;
    --background-color: #ffffff;
    --header-gradient-1: #000000;
    --header-gradient-2: #1a1a1a;
    --header-overlay-1: rgba(41, 151, 255, 0.1);
    --header-overlay-2: rgba(255, 255, 255, 0.05);
    --future-work-purple: #6b46c1;
    --future-work-purple-light: rgba(107, 70, 193, 0.1);
    --future-work-purple-border: rgba(107, 70, 193, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:  -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 4rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

/* Add subtle animated gradient overlay */
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(41, 151, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%);
    opacity: 0.7;
    z-index: 1;
}

.header-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

h1 {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #ffffff, #e6e6e6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-decoration: none; /* Remove underline */
}

.author {
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 500;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
    text-decoration: none; /* Remove underline */
}

/* Style for links inside .author that preserves their original styling */
.author a {
    font-size: inherit; /* Use the browser's default font size for links */
    color: inherit; /* Use the browser's default color for links (usually blue) */
    font-weight: inherit; /* Use the browser's default font weight for links */
    opacity: 1; /* Make sure links are fully visible */
    animation: none; /* Remove any animation from links */
    text-decoration: underline; /* Keep the underline for links */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section {
    background-color: var(--background-color);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.content-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.abstract {
    font-style: bold;
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    color: var(--text-color);
}

.download-section {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.download-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.download-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Robot Navigation Styles */
.navigation {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

/* Update the robot icon to use a custom image */
.navigation::before {
    content: '';
    width: 30px;
    height: 30px;
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    /* Update the path to use the assets directory */
    background-image: url('../assets/images/robot-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.navigation:hover::before {
    left: -3rem;
    opacity: 1;
}

/* Robot eyes animation */
.nav-title {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-title::before,
.nav-title::after {
    content: '•';
    color: var(--accent-color);
    margin: 0 0.3rem;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Interactive list items */
.navigation ul {
    list-style: none;
    position: relative;
}

.navigation li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
}

.navigation li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.navigation li:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.navigation a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.navigation a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* Processing animation for active link */
.navigation a.active {
    color: var(--accent-color);
    position: relative;
}

.navigation a.active::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    width: 4px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 50%;
    animation: processing 1s infinite;
}

@keyframes processing {
    0% { box-shadow: 0 0 0 0 rgba(41, 151, 255, 0.4); }
    100% { box-shadow: 0 0 0 8px rgba(41, 151, 255, 0); }
}

/* Gallery Styles */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-content {
    padding: 1.5rem;
    background: var(--white);
}

.gallery-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.gallery-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-top: 0.5rem;
}

/* Video Section */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    margin-top: 2rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Future Work Section */
.future-work-overview {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    border: 2px solid var(--future-work-purple-border);
    box-shadow: 0 4px 20px var(--future-work-purple-light);
}

.future-work-overview h3 {
    color: var(--future-work-purple);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.future-work-overview p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.future-work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.future-work-item {
    margin-bottom: 0;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.future-work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.future-work-item h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.future-work-item p {
    color: var(--secondary-color);
    font-size: 1rem;
    line-height: 1.6;
}

/* Dyslexia mode toggle button */
.accessibility-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.accessibility-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.toggle-icon {
    font-size: 1.2rem;
}

@import url('https://fonts.cdnfonts.com/css/opendyslexic');

/* Dyslexia-friendly styles */
body.dyslexia-friendly {
    font-family: 'OpenDyslexic', 'OpenDyslexic3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    font-weight: normal !important;
    font-style: normal !important;
    line-height: 1.8;
    letter-spacing: 0.05em;
    word-spacing: 0.1em;
}

.dyslexia-friendly p,
.dyslexia-friendly .abstract,
.dyslexia-friendly .content-section {
    max-width: 66ch;
    margin-left: auto;
    margin-right: auto;
}

.dyslexia-friendly h1,
.dyslexia-friendly h2,
.dyslexia-friendly h3 {
    font-family: 'OpenDyslexic', 'OpenDyslexic3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
    font-weight: bold !important;
    margin-bottom: 1.5em;
}

.dyslexia-friendly .navigation a {
    padding: 0.5em 0;
}

/* Animation for the toggle */
@keyframes togglePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.accessibility-toggle.active {
    background-color: var(--accent-color);
    color: var(--white);
    animation: togglePulse 2s infinite;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .navigation {
        position: static;
        margin-bottom: 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .content-section {
        padding: 2rem;
    }
} 