/* Project Detail Page Styles */
.project-nav-wrapper {
    max-width: 1000px;
    margin: 20px auto 0;
    padding: 0 20px;
}

.project-top-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(14, 34, 61, 0.8);
    border: 1px solid rgba(0, 238, 255, 0.3);
    color: #0ef;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
}

.project-top-nav:hover {
    background: #0ef;
    color: #051129;
    box-shadow: 0 0 15px rgba(0, 238, 255, 0.4);
    transform: translateX(-4px);
}

.project-page {
    max-width: 1000px;
    margin: 20px auto 60px;
    padding: 30px clamp(20px, 4vw, 40px);
    background: rgba(14, 34, 61, 0.6);
    border: 1px solid rgba(0, 238, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.project-header {
    text-align: center;
    margin-bottom: 30px;
}

.project-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 238, 255, 0.1);
    border: 1px solid rgba(0, 238, 255, 0.4);
    color: #0ef;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.project-badge.gcp-badge {
    background: rgba(66, 133, 244, 0.15);
    border-color: #4285f4;
    color: #4285f4;
}

.project-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 12px;
}

.project-subtitle {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    color: #94a3b8;
    max-width: 750px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.project-tags-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 15px;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 238, 255, 0.25);
    color: #0ef;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
}

/* Banner image */
.project-media-banner {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 35px;
    border: 1px solid rgba(0, 238, 255, 0.2);
    background: #051129;
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-project-banner {
    max-height: 380px;
    width: 100%;
    object-fit: cover;
}

.featured-project-banner.gcp-svg-banner {
    max-height: 440px;
    object-fit: contain;
    padding: 10px;
}

/* Section styling */
.project-section {
    margin-bottom: 35px;
}

.project-section h2 {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 700;
    color: #0ef;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(0, 238, 255, 0.15);
    padding-bottom: 8px;
}

.project-section p {
    font-size: clamp(0.98rem, 1.1vw, 1.08rem);
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 12px;
}

.project-section ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.project-section ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: #cbd5e1;
    line-height: 1.6;
}

.project-section ul li::before {
    content: "▹";
    position: absolute;
    left: 4px;
    color: #0ef;
    font-size: 1.1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 16px;
}

.feature-card {
    background: rgba(5, 17, 41, 0.6);
    border: 1px solid rgba(0, 238, 255, 0.15);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.25s ease;
}

.feature-card:hover {
    border-color: #0ef;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 238, 255, 0.1);
}

.feature-icon {
    font-size: 1.6rem;
    color: #0ef;
    margin-bottom: 10px;
}

.feature-card h3 {
    font-size: 1.15rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 0;
    line-height: 1.5;
}

/* GCP Services Breakdown */
.gcp-services-breakdown {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 16px;
}

.gcp-system-card {
    background: rgba(5, 17, 41, 0.7);
    border: 1px solid rgba(0, 238, 255, 0.2);
    border-radius: 14px;
    padding: 22px;
}

.gcp-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.gcp-card-header i {
    font-size: 1.8rem;
    color: #0ef;
    width: 45px;
    height: 45px;
    background: rgba(0, 238, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gcp-card-header h3 {
    font-size: 1.25rem;
    color: #fff;
    margin: 0;
    font-weight: 700;
}

.gcp-badge-small {
    font-size: 0.75rem;
    color: #38bdf8;
    font-weight: 500;
}

.gcp-system-card code {
    background: rgba(0, 238, 255, 0.12);
    color: #0ef;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.88em;
}

/* Principles Grid */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 14px;
}

.principle-box {
    background: rgba(5, 17, 41, 0.6);
    border: 1px solid rgba(0, 238, 255, 0.15);
    border-radius: 12px;
    padding: 18px;
}

.principle-box h4 {
    font-size: 1rem;
    color: #0ef;
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.principle-box p {
    font-size: 0.88rem;
    color: #94a3b8;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Video demo */
.project-video {
    margin-top: 16px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 238, 255, 0.25);
    background: #000;
}

.project-video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    display: block;
}

/* CTA Banner at bottom */
.project-cta-banner {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 238, 255, 0.1) 0%, rgba(5, 17, 41, 0.9) 100%);
    border: 1px solid rgba(0, 238, 255, 0.35);
    border-radius: 16px;
    text-align: center;
}

.project-cta-banner h3 {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 8px;
}

.project-cta-banner p {
    color: #94a3b8;
    margin-bottom: 20px;
}

.cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #0ef;
    color: #051129;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-live:hover {
    background: #38bdf8;
    color: #051129;
    box-shadow: 0 0 20px rgba(0, 238, 255, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 238, 255, 0.4);
    color: #e2e8f0;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    background: rgba(0, 238, 255, 0.2);
    color: #0ef;
    border-color: #0ef;
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #cbd5e1;
    border-radius: 50px;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: #fff;
}
