/* Project Page Specific Styles */

/* Project Hero Section */
.project-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(180deg, 
        rgba(0, 254, 252, 0.02) 0%, 
        transparent 50%, 
        rgba(0, 254, 252, 0.02) 100%);
    position: relative;
}

.project-category {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category-badge {
    background: rgba(0, 254, 252, 0.1);
    color: #00FEFC;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(0, 254, 252, 0.3);
}

body.light .category-badge {
    background: rgba(0, 162, 161, 0.1);
    color: #00A2A1;
    border-color: rgba(0, 162, 161, 0.3);
}

.project-date {
    color: #A1A1AA;
    font-size: 0.875rem;
}

body.light .project-date {
    color: #6B7280;
}

.project-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #00FEFC, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 900px;
}

.project-subtitle {
    font-size: 1.25rem;
    color: #A1A1AA;
    margin-bottom: 3rem;
    max-width: 800px;
    line-height: 1.7;
}

body.light .project-subtitle {
    color: #6B7280;
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.project-stats .stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.project-stats .stat:hover {
    background: rgba(0, 254, 252, 0.05);
    border-color: rgba(0, 254, 252, 0.3);
    transform: translateY(-2px);
}

body.light .project-stats .stat {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light .project-stats .stat:hover {
    background: rgba(0, 162, 161, 0.05);
    border-color: rgba(0, 162, 161, 0.3);
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00FEFC;
    margin-bottom: 0.5rem;
}

body.light .stat-value {
    color: #00A2A1;
}

.stat-label {
    font-size: 0.875rem;
    color: #A1A1AA;
}

body.light .stat-label {
    color: #6B7280;
}

.project-hero-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 48px rgba(0, 254, 252, 0.1);
}

.project-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 254, 252, 0.8), rgba(0, 186, 188, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-hero-image:hover .image-overlay {
    opacity: 1;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}

/* Project Overview */
.project-overview {
    padding: 6rem 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.overview-content h2 {
    margin-bottom: 2rem;
}

.overview-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #A1A1AA;
}

body.light .overview-content p {
    color: #6B7280;
}

.overview-content strong {
    color: #00FEFC;
    font-weight: 600;
}

body.light .overview-content strong {
    color: #00A2A1;
}

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

.detail-card {
    background: #111111;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 24px rgba(0, 254, 252, 0.1);
}

body.light .detail-card {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.08);
}

body.light .detail-card:hover {
    box-shadow: 0 0 24px rgba(0, 162, 161, 0.1);
}

.detail-card h4 {
    color: #00FEFC;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

body.light .detail-card h4 {
    color: #00A2A1;
}

.detail-card p {
    color: #A1A1AA;
    margin: 0;
}

body.light .detail-card p {
    color: #6B7280;
}

/* Tech Stack */
.tech-stack {
    padding: 6rem 0;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(0, 254, 252, 0.02) 50%, 
        transparent 100%);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.tech-category {
    text-align: center;
}

.tech-category h3 {
    margin-bottom: 2rem;
    color: #00FEFC;
    font-size: 1.25rem;
}

body.light .tech-category h3 {
    color: #00A2A1;
}

.tech-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(0, 254, 252, 0.1);
    border-color: rgba(0, 254, 252, 0.3);
    transform: translateY(-2px);
}

body.light .tech-item {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light .tech-item:hover {
    background: rgba(0, 162, 161, 0.1);
    border-color: rgba(0, 162, 161, 0.3);
}

.tech-item i {
    color: #00FEFC;
    font-size: 1.25rem;
}

body.light .tech-item i {
    color: #00A2A1;
}

.tech-item span {
    font-size: 0.875rem;
    color: #A1A1AA;
    font-weight: 500;
}

body.light .tech-item span {
    color: #6B7280;
}

/* Project Features */
.project-features {
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #111111;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00FEFC, transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-card:hover::before {
    transform: translateX(0);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 48px rgba(0, 254, 252, 0.15);
}

body.light .feature-card {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.08);
}

body.light .feature-card:hover {
    box-shadow: 0 0 48px rgba(0, 162, 161, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 254, 252, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    color: #00FEFC;
    font-size: 1.5rem;
}

body.light .feature-icon i {
    color: #00A2A1;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: #A1A1AA;
    line-height: 1.6;
}

body.light .feature-card p {
    color: #6B7280;
}

/* Project Gallery */
.project-gallery {
    padding: 6rem 0;
    background: linear-gradient(180deg, 
        rgba(0, 254, 252, 0.02) 0%, 
        transparent 50%, 
        rgba(0, 254, 252, 0.02) 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 254, 252, 0.9), rgba(0, 186, 188, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #000000;
    padding: 2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.gallery-overlay p {
    font-size: 0.875rem;
}

/* Development Process */
.development-process {
    padding: 6rem 0;
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        #00FEFC 20%, 
        #00FEFC 80%, 
        transparent 100%);
}

.timeline-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00FEFC, #00BABC);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.timeline-content h3 {
    margin-bottom: 1rem;
}

.timeline-content p {
    color: #A1A1AA;
    margin-bottom: 1rem;
    line-height: 1.6;
}

body.light .timeline-content p {
    color: #6B7280;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.timeline-content li {
    padding: 0.5rem 0;
    color: #A1A1AA;
    position: relative;
    padding-left: 1.5rem;
}

.timeline-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #00FEFC;
    font-weight: bold;
}

body.light .timeline-content li {
    color: #6B7280;
}

body.light .timeline-content li::before {
    color: #00A2A1;
}

/* Project Results */
.project-results {
    padding: 6rem 0;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(0, 254, 252, 0.02) 50%, 
        transparent 100%);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.result-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.result-card:hover {
    background: rgba(0, 254, 252, 0.05);
    border-color: rgba(0, 254, 252, 0.3);
    transform: translateY(-4px);
}

body.light .result-card {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light .result-card:hover {
    background: rgba(0, 162, 161, 0.05);
    border-color: rgba(0, 162, 161, 0.3);
}

.result-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 254, 252, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.result-icon i {
    color: #00FEFC;
    font-size: 2rem;
}

body.light .result-icon i {
    color: #00A2A1;
}

.result-card h3 {
    margin-bottom: 0.5rem;
    color: #00FEFC;
    font-size: 1.5rem;
}

body.light .result-card h3 {
    color: #00A2A1;
}

.result-card p {
    color: #A1A1AA;
    font-size: 0.875rem;
}

body.light .result-card p {
    color: #6B7280;
}

.testimonial-section {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-content {
    background: #111111;
    border-radius: 12px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
}

body.light .testimonial-content {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.08);
}

.testimonial-quote {
    color: #00FEFC;
    font-size: 3rem;
    margin-bottom: 1rem;
}

body.light .testimonial-quote {
    color: #00A2A1;
}

.testimonial-text {
    font-size: 1.125rem;
    color: #A1A1AA;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-style: italic;
}

body.light .testimonial-text {
    color: #6B7280;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h5 {
    margin-bottom: 0.25rem;
}

.author-info span {
    color: #A1A1AA;
    font-size: 0.875rem;
}

body.light .author-info span {
    color: #6B7280;
}

/* Project CTA */
.project-cta {
    padding: 6rem 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: #A1A1AA;
    margin-bottom: 2rem;
    line-height: 1.7;
}

body.light .cta-content p {
    color: #6B7280;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design for Project Page */
@media (max-width: 1024px) {
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .project-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-items {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .project-hero {
        padding: 6rem 0 3rem;
    }
    
    .project-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-stats .stat {
        padding: 1rem;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        grid-template-columns: auto 1fr;
        gap: 1rem;
    }
    
    .timeline-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial-content {
        padding: 2rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .project-category {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .project-stats .stat {
        padding: 0.75rem;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
    
    .tech-items,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card,
    .tech-category {
        padding: 1.5rem;
    }
    
    .timeline-content ul {
        margin-left: 1rem;
    }
    
    .timeline-content li {
        font-size: 0.875rem;
    }
}

/* Smooth scroll offset for project page sections */
.project-hero,
.project-overview,
.tech-stack,
.project-features,
.project-gallery,
.development-process,
.project-results,
.project-cta {
    scroll-margin-top: 80px;
}

/* Print styles for project page */
@media print {
    .project-hero-image,
    .gallery-item,
    .project-cta,
    .nav,
    .footer {
        display: none !important;
    }
    
    .project-hero,
    .project-overview,
    .tech-stack,
    .project-features,
    .development-process,
    .project-results {
        padding: 2rem 0;
        break-inside: avoid;
    }
    
    .project-title {
        color: black !important;
        -webkit-text-fill-color: black !important;
    }
    
    .timeline-number {
        background: #333 !important;
        color: white !important;
    }
}