/* project.css - Styles for Project Detail Pages */

:root {
    --primary: #000;
    --secondary: #5ad641;
    --accent: #00b4d8;
    --light: #f8f9fa;
    --gray: #e9ecef;
    --dark-gray: #495057;
    --bg-color: #f8f9fa;
    --text-color: #212529;
    --card-bg: #ffffff;
    --header-bg: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: var(--header-bg);
    border-bottom: 3px solid var(--primary);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-links a.active {
    color: var(--secondary);
    border-bottom: 2px solid var(--secondary);
}

.cta-button {
    background-color: var(--primary);
    color: var(--light);
    border: none;
    padding: 12px 24px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    border: 3px solid var(--primary);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cta-button:hover {
    background-color: var(--secondary);
    color: var(--primary);
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--primary);
}

/* Breadcrumb */
.breadcrumb {
    padding: 20px 0;
    background-color: var(--light);
    border-bottom: 1px solid var(--gray);
}

.breadcrumb-links {
    display: flex;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb-links a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-links a:hover {
    color: var(--secondary);
}

.breadcrumb-links span {
    color: var(--dark-gray);
}

/* Project Hero Section */
.project-hero {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #3e9e1e 100%);
    color: white;
}

.project-hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.project-hero-text {
    flex: 1;
}

.project-hero-image {
    flex: 1;
    border: 6px solid white;
    box-shadow: 12px 12px 0 rgba(0,0,0,0.2);
    overflow: hidden;
    border-radius: 16px;
}

.project-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-category {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--primary);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.project-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
}

.project-description {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.project-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.meta-value {
    font-size: 18px;
    font-weight: 600;
}

/* Project Details Section */
.project-details {
    padding: 80px 0;
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.project-content {
    padding-right: 30px;
}

.section-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 30px;
    color: var(--primary);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.content-block {
    margin-bottom: 40px;
}

.content-block h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
}

.content-block p {
    margin-bottom: 15px;
}

.content-block ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.content-block li {
    margin-bottom: 8px;
}

/* Project Gallery */
.project-gallery {
    margin: 40px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    border: 3px solid var(--primary);
    overflow: hidden;
    transition: transform 0.3s;
    border-radius: 8px;
}

.gallery-item:hover {
    transform: translate(-3px, -3px);
    box-shadow: 5px 5px 0 var(--primary);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Project Sidebar */
.project-sidebar {
    background-color: var(--card-bg);
    border: 6px solid var(--primary);
    box-shadow: 12px 12px 0 var(--primary);
    padding: 30px;
    position: sticky;
    top: 100px;
}

.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-section h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
    text-transform: uppercase;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-tag {
    background-color: var(--gray);
    color: var(--dark-gray);
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 3px;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.member-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid var(--primary);
    overflow: hidden;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info h4 {
    font-weight: 600;
    margin-bottom: 5px;
}

.member-info p {
    font-size: 14px;
    color: var(--dark-gray);
}

.project-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.project-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background-color: var(--primary);
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 3px solid var(--primary);
}

.project-link:hover {
    background-color: var(--secondary);
    color: var(--primary);
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--primary);
}

/* Project Info Styles */
.project-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: var(--primary);
}

.project-tags-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--gray);
}

.project-tags-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
}

/* Testimonial Section */
.testimonial-section {
    padding: 60px 0;
    background-color: var(--card-bg);
    border-top: 3px solid var(--primary);
    border-bottom: 3px solid var(--primary);
}

.testimonial {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-content {
    font-size: 20px;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 80px;
    color: var(--secondary);
    position: absolute;
    top: -30px;
    left: -20px;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 3px solid var(--primary);
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-weight: 700;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--dark-gray);
}

/* Related Projects */
.related-projects {
    padding: 80px 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.related-card {
    background: var(--card-bg);
    border: 6px solid var(--primary);
    box-shadow: 12px 12px 0 var(--primary);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.related-card:hover {
    transform: translate(-5px, -5px);
    box-shadow: 17px 17px 0 var(--primary);
    border-color: var(--secondary);
    color: inherit;
}

.related-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.related-card:hover .related-image img {
    transform: scale(1.1);
}

.related-content {
    padding: 20px;
}

.related-category {
    display: inline-block;
    background-color: var(--primary);
    color: var(--light);
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.related-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.related-description {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #3e9e1e 100%);
    color: var(--light);
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--light);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--secondary);
    transition: background-color 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--primary);
    background-color: var(--secondary);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: var(--gray);
}

/* Responsive Design */
@media (max-width: 968px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .project-content {
        padding-right: 0;
    }
    
    .project-sidebar {
        position: static;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .project-hero-content {
        flex-direction: column;
    }
    
    .project-title {
        font-size: 36px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .project-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .cta-section h2 {
        font-size: 28px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}