/* Portfolio Page Specific Styles */

.portfolio-content {
    min-height: 100vh;
    padding: 2rem;
    padding-top: 100px;
}

.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    color: #2c3e50;
    margin-bottom: 1rem;
    animation: fadeInDown 0.6s ease;
}

.portfolio-subtitle {
    font-size: 1.3rem;
    text-align: center;
    color: #5a6c7d;
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Project Card */
.project-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease;
    border: 1px solid #e2e8f0;
}

.project-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.project-card.featured {
    grid-column: 1 / -1;
    background: #ffffff;
    border: 1px solid #e0e7ef;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Project Header */
.project-header {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.project-status {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: flex-end;
}

.status-badge {
    padding: 0.35rem 0.9rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-badge {
    background: #f0f4f8;
    color: #2c3e50;
    border: 1px solid #cbd5e0;
}

.complete-badge {
    background: #e6fffa;
    color: #047857;
    border: 1px solid #81e6d9;
}

.in-progress-badge {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

/* Project Title */
.project-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.project-tagline {
    font-size: 1.1rem;
    color: #4a5568;
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Project Video */
.project-video {
    margin-bottom: 2.5rem;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #f7fafc;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.baseline-video-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.video-caption {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #718096;
    text-align: center;
    font-style: italic;
}

.project-description {
    margin-bottom: 2.5rem;
}

.project-description p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #4a5568;
    margin-bottom: 1.25rem;
}

.project-description p:last-child {
    margin-bottom: 0;
}

/* Project Details Grid */
.project-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.detail-section h3 {
    font-size: 1.1rem;
    color: #1a202c;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.detail-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-section li {
    font-size: 0.95rem;
    color: #4a5568;
    margin-bottom: 0.65rem;
    line-height: 1.6;
    padding-left: 1.25rem;
    position: relative;
}

.detail-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #718096;
    font-weight: bold;
}

/* Tech Stack */
.project-tech {
    margin-bottom: 2.5rem;
}

.project-tech h3 {
    font-size: 1.1rem;
    color: #1a202c;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-tag {
    background: #f7fafc;
    color: #2d3748;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.tech-tag:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

/* Project Links */
.project-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.github-link {
    background: #f7fafc;
    color: #2d3748;
    border: 1px solid #e2e8f0;
}

.github-link:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    transform: translateY(-1px);
}

.demo-link {
    background: #1a202c;
    color: white;
}

.demo-link:hover {
    background: #2d3748;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 32, 44, 0.25);
}

/* Coming Soon Card */
.project-card.coming-soon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: linear-gradient(135deg, rgba(168, 230, 168, 0.3) 0%, rgba(168, 216, 234, 0.3) 100%);
    border: 2px dashed rgba(52, 152, 219, 0.3);
}

.coming-soon-content {
    text-align: center;
}

.coming-soon-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.coming-soon-content h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.coming-soon-content p {
    font-size: 1.1rem;
    color: #5a6c7d;
}

/* Back to Home Button */
.back-to-home {
    text-align: center;
    margin: 3rem 0;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.back-button:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .portfolio-title {
        font-size: 2.5rem;
    }

    .portfolio-subtitle {
        font-size: 1.1rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        padding: 1.5rem;
    }

    .project-title {
        font-size: 1.8rem;
    }

    .project-tagline {
        font-size: 1rem;
    }

    .project-details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-links {
        flex-direction: column;
    }

    .project-link {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .portfolio-content {
        padding: 1rem;
        padding-top: 80px;
    }

    .portfolio-title {
        font-size: 2rem;
    }

    .project-icon {
        font-size: 2.5rem;
    }

    .status-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }

}

