/* Teleportation Redesign CSS */

body.teleport-redesign {
    background-color: #050a10; /* Dark blue/black */
    color: #e0e0e0;
    font-family: 'Source Sans Pro', sans-serif;
    overflow-x: hidden;
    /* Tech/Grid background */
    background-image: 
        linear-gradient(rgba(0, 188, 212, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 188, 212, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Header & Nav */
#nav {
    background: rgba(5, 10, 16, 0.95);
    border-bottom: 1px solid rgba(0, 188, 212, 0.2);
    padding: 1.5em 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

#nav ul {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

#nav ul li a {
    color: #ccc;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: color 0.3s;
    font-size: 1em;
    border: none;
}

#nav ul li a:hover {
    color: #00bcd4; /* Cyan accent */
}

/* Dropdown Menu Style */
#nav > ul > li > ul {
    background: #0a141d;
    border: 1px solid rgba(0, 188, 212, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    border-radius: 8px;
    padding: 1em 0;
}

#nav > ul > li > ul > li > a {
    color: #bbb;
    padding: 0.5em 1.5em;
    display: block;
    font-size: 0.9em;
    text-transform: none;
}

#nav > ul > li > ul > li > a:hover {
    color: #fff;
    background: rgba(0, 188, 212, 0.1);
}

.projects-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

/* TOC Section */
.toc-section {
    position: fixed;
    left: 2em;
    top: 50%;
    transform: translateY(-50%);
    width: 180px;
    text-align: left;
    padding: 1.5em;
    background: rgba(10, 20, 30, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 8px;
    z-index: 100;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.toc-title {
    color: #00bcd4;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5em;
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 188, 212, 0.2);
    padding-bottom: 0.5em;
}

.toc-links {
    display: flex;
    flex-direction: column;
    gap: 1.2em;
    list-style: none;
    padding: 0;
}

.toc-links li a {
    color: #888;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s ease;
    display: block;
    border: none;
}

.toc-links li a:hover, .toc-links li a.active {
    color: #00bcd4;
    text-shadow: 0 0 8px #00bcd4;
    transform: translateX(5px);
}

.toc-links li a.active {
    border-left: 2px solid #00bcd4;
    padding-left: 10px;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 3em 1em; /* Reduced from 6em */
    background: radial-gradient(circle at center, rgba(0, 188, 212, 0.1) 0%, rgba(5, 10, 16, 0) 70%);
}

.hero-title {
    font-size: 3em; /* Reduced from 4em */
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0, 188, 212, 0.5);
    margin-bottom: 0.2em;
    letter-spacing: 10px;
}

.hero-subtitle {
    font-size: 1.1em;
    color: #888;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Content Sections */
.content-section {
    max-width: 1100px; /* Increased from 900px */
    margin: 0 auto 4em auto;
    padding: 3em;
    background: rgba(15, 25, 35, 0.8);
    border: 1px solid rgba(0, 188, 212, 0.2);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.content-section h2 {
    color: #00bcd4;
    font-size: 1.8em;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5em;
    border-left: 4px solid #00bcd4;
    padding-left: 15px;
}

.content-section p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #ccc;
    text-align: left;
}

/* Code Blocks */
pre[class*="language-"] {
    border: 1px solid rgba(0, 188, 212, 0.3) !important;
    background: #0a141d !important;
    border-radius: 8px !important;
    margin: 2em 0 !important;
}

code[class*="language-"] {
    text-shadow: none !important;
    font-size: 0.9em !important;
}

/* Footer */
#footer {
    background: #03060a;
    padding: 4em 0;
    text-align: center;
    border-top: 1px solid rgba(0, 188, 212, 0.2);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin-bottom: 2em;
}

.social-icons li a {
    color: #fff;
    font-size: 1.8em;
    transition: color 0.3s, transform 0.3s;
}

.social-icons li a:hover {
    color: #00bcd4;
    transform: translateY(-5px);
}

.copyright {
    color: #444;
    font-size: 0.9em;
}

/* Responsive */
@media screen and (max-width: 1400px) {
    .toc-section {
        left: 1em;
        width: 150px;
    }
}

@media screen and (max-width: 1280px) {
    .toc-section {
        position: static;
        width: auto;
        max-width: 800px;
        margin: 0 auto 3em;
        transform: none;
        text-align: center;
    }
    
    .toc-links {
        flex-direction: row;
        justify-content: center;
        gap: 2em;
    }
}
