/* ===== Project Page Styles ===== */

/* Navigation */
.project-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    margin: 1rem;
    border-radius: 15px;
}

.project-nav .night-mode-btn {
    position: relative;
    top: 0;
    right: 0;
    margin-left: 1rem;
}

.nav-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--aws-darker);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

body.night-mode .nav-back {
    color: white;
}

.nav-back:hover {
    color: var(--aws-orange);
    transform: translateX(-5px);
}

.nav-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

/* Hero Section */
.project-hero {
    padding-top: 120px;
    min-height: 50vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item a {
    color: var(--aws-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

.meta-item a:hover {
    color: var(--aws-blue);
}

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

.overview-card {
    height: 100%;
}

.goal-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.goal-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.goal-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--aws-orange);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

/* Architecture Section */
.architecture-detailed {
    padding: 2rem;
    margin-top: 2rem;
    background: rgba(35, 47, 62, 0.8);
    color: white;
}

.architecture-description {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.architecture-features {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 153, 0, 0.1);
}

.architecture-features h3 {
    color: var(--aws-orange);
    margin-bottom: 1.5rem;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    color: white;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.4;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--aws-orange);
    font-weight: bold;
}

/* Service nodes in architecture diagram */
.architecture-detailed .service-node {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 153, 0, 0.3);
}

.architecture-detailed .service-name {
    color: white;
}

/* Ensure text remains white in both modes */
body.night-mode .architecture-detailed,
body.night-mode .architecture-detailed .feature-list,
body.night-mode .architecture-detailed .architecture-description {
    color: white;
}

/* Skills Progress Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-progress {
    position: relative;
    overflow: hidden;
}

.skill-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--aws-orange);
    transition: width 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 0;
}

.skill-progress.animate-progress .skill-bar {
    width: var(--progress, 0%);
}

.skill-description {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Tech Stack Enhancement */
.tech-stack .skill-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(255, 153, 0, 0.1);
    font-size: 0.9rem;
}

.chip-category {
    font-size: 0.8rem;
    opacity: 0.7;
    border-left: 1px solid rgba(255, 153, 0, 0.3);
    padding-left: 0.5rem;
    margin-left: 0.25rem;
}

/* Development Journey Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--aws-orange);
    opacity: 0.3;
}

.timeline-entry {
    position: relative;
    margin-bottom: 4rem;
    width: calc(50% - 2rem);
}

.timeline-entry:nth-child(odd) {
    margin-left: auto;
    padding-left: 2rem;
}

.timeline-entry:nth-child(even) {
    padding-right: 2rem;
}

.timeline-entry::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--aws-orange);
    border-radius: 50%;
    top: 0;
}

.timeline-entry:nth-child(odd)::before {
    left: -10px;
}

.timeline-entry:nth-child(even)::before {
    right: -10px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 153, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--aws-orange);
    box-shadow: 0 10px 30px rgba(255, 153, 0, 0.1);
}

.timeline-date {
    font-family: var(--font-mono);
    color: var(--aws-orange);
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-nav {
        margin: 0;
        border-radius: 0;
    }

    .project-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-entry {
        width: 100%;
        padding-left: 2rem;
    }

    .timeline-entry:nth-child(even) {
        margin-left: 0;
        padding-right: 0;
    }

    .timeline-entry::before {
        left: -10px;
    }

    .timeline-entry:nth-child(even)::before {
        right: auto;
        left: -10px;
    }
} 