/* Project Detail Page Styles - BEM Naming */

.project-detail-hero {
    position: relative;
    padding: 6rem 2rem 4rem;
    background: linear-gradient(135deg, #1a2340 0%, #2d3856 100%);
    color: white;
    text-align: center;
}

.project-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 3rem;
    align-items: center;
    text-align: left;
}

.project-hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-hero-media {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.project-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

.project-category-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.4);
}

.project-detail-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.project-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.project-hero-content .project-subtitle {
    margin-left: 0;
    margin-right: 0;
    max-width: 600px;
}

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

.project-hero-content .project-meta {
    justify-content: flex-start;
    gap: 1.5rem;
    margin-top: 0;
}

.project-hero-actions {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-hero-actions .btn-primary,
.project-hero-actions .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
}

.project-hero-actions .btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #f5a623 100%);
    color: #1a2340;
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.35);
}

.project-hero-actions .btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.project-hero-actions .btn-secondary:hover {
    background: white;
    color: #1a2340;
}

.project-hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.project-hero-metric {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.project-meta-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-meta-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffd700;
}

.project-main-image {
    display: none;
}

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

.project-content-section:nth-child(even) {
    background: #fafbfc;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a2340;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-title--left {
    text-align: left;
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5a6b7d;
}

.section-content--left {
    margin: 0;
    max-width: none;
}

.project-story__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.project-story__timeline {
    display: grid;
    gap: 1.5rem;
}

.project-story__card {
    background: #ffffff;
    border: 1px solid #eef1f4;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 24px rgba(22, 27, 64, 0.08);
    color: #1a2340;
}

.project-story__card--highlight {
    border-color: #ffd700;
    background: linear-gradient(135deg, rgba(255, 249, 230, 0.9), #ffffff);
}

.project-story__label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #5b8cc9;
    margin-bottom: 0.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(91, 140, 201, 0.15);
}

.feature-card i {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a2340;
    margin-bottom: 0.5rem;
}

.tech-stack-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 900px;
    margin: 2rem auto 0;
}

.tech-badge-large {
    padding: 12px 24px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    color: #5b8cc9;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid #cbd5e1;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
}


.results-box {
    background: linear-gradient(135deg, #fff9e6 0%, #fff4cc 100%);
    border: 2px solid #ffd700;
    border-radius: 1.5rem;
    padding: 3rem;
    max-width: 900px;
    margin: 2rem auto 0;
}

.results-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.results-box li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #1a2340;
    font-weight: 600;
}

.results-box li:last-child {
    margin-bottom: 0;
}

.results-box li i {
    color: #ffd700;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.testimonial-section {
    background: linear-gradient(135deg, #1a2340 0%, #2d3856 100%);
    color: white;
    padding: 4rem 2rem;
}

.related-projects {
    padding: 4rem 2rem;
    background: #f9fbff;
}

.testimonial-card {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote-icon {
    font-size: 4rem;
    color: #ffd700;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.5rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.testimonial-author-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffd700;
}

.testimonial-author-role {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.gallery-item {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.project-cta-section {
    padding: 5rem 2rem;
    background: #fafbfc;
    text-align: center;
}

.project-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #f5a623 100%);
    color: #1a2340;
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5b8cc9 0%, #4a7bb5 100%);
    color: white;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 35px rgba(91, 140, 201, 0.4);
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: #5b8cc9;
    border: 2px solid #5b8cc9;
}

.btn-secondary:hover {
    background: #5b8cc9;
    color: white;
    transform: translateY(-4px) scale(1.05);
    text-decoration: none;
}

.related-projects {
    padding: 4rem 2rem;
    background: white;
}

.related-projects h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1a2340;
    margin-bottom: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .project-detail-hero h1 {
        font-size: 2rem;
    }

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

    .project-meta {
        gap: 1.5rem;
    }

    .project-main-image {
        margin: -2rem auto 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-content {
        font-size: 1rem;
    }

    .testimonial-text {
        font-size: 1.2rem;
    }

    .project-cta-buttons {
        flex-direction: column;
    }

    .project-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .project-hero-content {
        text-align: center;
    }

    .project-hero-content .project-meta {
        justify-content: center;
    }

    .project-story__grid {
        grid-template-columns: 1fr;
    }
}

