/* Project Details CSS */

/* General Styles */
.project-details {
    color: #4A4A4A;
}

.project-details h1, 
.project-details h2, 
.project-details h3 {
    color: #1B365D;
}

.project-details section {
    padding: 70px 0;
}

.project-details section:nth-child(even) {
    background-color: #f8f9fa;
}

/* Project Hero Section */
.project-hero {
    background: linear-gradient(rgba(27, 54, 93, 0.9), rgba(27, 54, 93, 0.9)), url('../images/pattern-bg.png');
    color: white;
    padding: 100px 0 80px;
    text-align: center;
}

.project-hero .project-title {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.project-hero .project-subtitle {
    font-size: 1.4rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.project-breadcrumb {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.project-breadcrumb a {
    color: #C9A55C;
    text-decoration: none;
}

.project-breadcrumb a:hover {
    text-decoration: underline;
}

.project-breadcrumb .separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.7);
}

.project-breadcrumb .current {
    color: white;
}

/* Project Overview Section */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.overview-content h2 {
    font-size: 2rem;
    margin-bottom: 25px;
}

.overview-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.overview-image {
    text-align: center;
}

.rounded-image {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

.project-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 0 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #C9A55C;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    color: #1B365D;
    font-weight: 500;
}

/* Key Features Section */
.key-features h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(201, 165, 92, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 30px;
    color: #C9A55C;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Technology Stack Section */
.technology-stack h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stack-category h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #1B365D;
    text-align: center;
}

.stack-list {
    list-style-type: none;
    padding: 0;
}

.stack-list li {
    margin-bottom: 10px;
    text-align: center;
}

.stack-item {
    background-color: rgba(27, 54, 93, 0.05);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
    color: #1B365D;
    display: inline-block;
}

/* Project Challenges Section */
.project-challenges h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.challenge-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.challenge-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: #1B365D;
}

.challenge-card p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.challenge-card p:last-child {
    margin-bottom: 0;
}

/* Project Results Section */
.project-results .container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: flex-start;
}

.results-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.results-content > p {
    margin-bottom: 30px;
}

.results-list {
    margin-bottom: 40px;
}

.result-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.result-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(27, 54, 93, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.result-icon i {
    font-size: 20px;
    color: #1B365D;
}

.result-text {
    font-size: 1.1rem;
}

.testimonial {
    background-color: #f8f9fa;
    padding: 30px;
    border-left: 4px solid #C9A55C;
    border-radius: 0 10px 10px 0;
    position: relative;
}

.quote-mark {
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 24px;
    color: rgba(201, 165, 92, 0.3);
}

.testimonial blockquote {
    margin: 0 0 20px 0;
    padding-left: 40px;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    padding-left: 40px;
}

.author-name {
    font-weight: 600;
    color: #1B365D;
}

.author-title {
    font-size: 0.9rem;
    color: #777;
}

.results-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Project CTA Section */
.project-cta {
    background-color: #1B365D;
    color: white;
    text-align: center;
    padding: 80px 0;
}

.project-cta h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.project-cta p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary {
    background-color: #C9A55C;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #b8944a;
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: white;
    padding: 12px 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline:hover {
    border-color: white;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .overview-grid,
    .project-results .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-hero .project-title {
        font-size: 2.5rem;
    }
    
    .project-hero .project-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .features-grid,
    .challenges-grid {
        grid-template-columns: 1fr;
    }
    
    .project-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .stat-item {
        padding: 15px 0;
    }
    
    .project-hero .project-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .project-details section {
        padding: 50px 0;
    }
}

/* RTL Support */
[dir="rtl"] .project-breadcrumb a {
    margin-right: 0;
    margin-left: 10px;
}

[dir="rtl"] .result-icon {
    margin-right: 0;
    margin-left: 20px;
}

[dir="rtl"] .testimonial {
    border-left: none;
    border-right: 4px solid #C9A55C;
    border-radius: 10px 0 0 10px;
}

[dir="rtl"] .quote-mark {
    left: auto;
    right: 30px;
}

[dir="rtl"] .testimonial blockquote,
[dir="rtl"] .testimonial-author {
    padding-left: 0;
    padding-right: 40px;
} 