/* Portfolio Detail Page Styles */

/* Navbar Fix */
.creative-navbar {
    position: relative;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Fix navbar button size */
.creative-navbar .cta-button {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
    min-width: auto;
    height: auto;
}

.creative-navbar .cta-button span {
    font-size: 14px;
    font-weight: 500;
}

.creative-navbar .cta-icon {
    width: 16px;
    height: 16px;
    margin-left: 6px;
}

.creative-navbar .cta-icon i {
    font-size: 12px;
}

/* Breadcrumb Section */
.breadcrumb-section {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    z-index: 10;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6c757d;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover {
    color: #2c2c2c;
}

.breadcrumb-separator {
    color: #dee2e6;
    font-size: 12px;
}

.breadcrumb-current {
    color: #2c2c2c;
    font-weight: 500;
}

/* Portfolio Detail Header - Site consistent design */
.portfolio-detail-header {
    padding: 80px 0 60px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.project-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2c2c2c;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.project-category i {
    font-size: 16px;
}

.project-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #2c2c2c;
}

.project-description {
    font-size: 1.25rem;
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6c757d;
}

.meta-item i {
    font-size: 16px;
    color: #2c2c2c;
}

/* Main Image Section */
.main-image-section {
    padding: 60px 0;
    background: white;
}

.main-image-container {
    max-width: 1000px;
    margin: 0 auto;
}

.main-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 1;
    transition: transform 0.3s ease;
    max-height: 600px;
    object-fit: cover;
    visibility: visible;
}

.main-image:hover img {
    transform: scale(1.02);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-image:hover .image-overlay {
    opacity: 1;
}

.lightbox-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: white;
    color: #2c2c2c;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.lightbox-trigger:hover {
    background: #2c2c2c;
    color: white;
    transform: scale(1.1);
}

.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: #f8f9fa;
    color: #6c757d;
    font-size: 3rem;
    border-radius: 15px;
}

.image-placeholder p {
    margin-top: 20px;
    font-size: 1rem;
}

/* Project Details Section */
.project-details-section {
    padding: 80px 0;
    background: white;
}

.project-info {
    max-width: 800px;
    margin: 0 auto;
}

.info-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #2c2c2c;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.info-item .label {
    font-weight: 500;
    color: #6c757d;
}

.info-item .value {
    font-weight: 600;
    color: #2c2c2c;
}

.project-tags {
    text-align: center;
}

.project-tags h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c2c2c;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tag {
    display: inline-block;
    padding: 6px 12px;
    background: #f8f9fa;
    color: #6c757d;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Social Share */
.social-share {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.share-btn.facebook {
    background: #f8f9fa;
    color: #1877f2;
    border-color: #e9ecef;
}

.share-btn.facebook:hover {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    background: #f8f9fa;
    color: #1da1f2;
    border-color: #e9ecef;
}

.share-btn.twitter:hover {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background: #f8f9fa;
    color: #0077b5;
    border-color: #e9ecef;
}

.share-btn.linkedin:hover {
    background: #0077b5;
    color: white;
}

.share-btn.whatsapp {
    background: #f8f9fa;
    color: #25d366;
    border-color: #e9ecef;
}

.share-btn.whatsapp:hover {
    background: #25d366;
    color: white;
}

.btn-block {
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* Similar Projects Section */
.similar-projects-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c2c2c;
}

.section-header p {
    font-size: 1.125rem;
    color: #6c757d;
}

.similar-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.similar-project-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.similar-project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.similar-project-item .project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.similar-project-item .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.similar-project-item:hover .project-image img {
    transform: scale(1.05);
}

.similar-project-item .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.similar-project-item:hover .project-overlay {
    opacity: 1;
}

.similar-project-item .view-project {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    color: #2c2c2c;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.similar-project-item .view-project:hover {
    background: #667eea;
    color: white;
    transform: scale(1.05);
}

.similar-project-item .project-info {
    padding: 20px;
}

.similar-project-item .project-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c2c2c;
}

.similar-project-item .project-info p {
    color: #6c757d;
    font-size: 14px;
}

/* Simple CTA Section */
.simple-cta-section {
    padding: 60px 0;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.simple-cta-section .cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.simple-cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2c2c2c;
}

.simple-cta-section p {
    font-size: 1.125rem;
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.simple-cta-section .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #2c2c2c;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.simple-cta-section .btn:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .portfolio-detail-header {
        padding: 60px 0 40px;
    }
    
    .project-title {
        font-size: 2.5rem;
    }
    
    .project-description {
        font-size: 1.125rem;
    }
    
    .project-meta {
        gap: 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .similar-projects-grid {
        grid-template-columns: 1fr;
    }
    
    .breadcrumb {
        font-size: 12px;
        flex-wrap: wrap;
    }
    
    .breadcrumb-item span {
        display: none;
    }
    
    .simple-cta-section {
        padding: 40px 0;
    }
    
    .simple-cta-section h2 {
        font-size: 1.75rem;
    }
    
    .simple-cta-section p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .project-title {
        font-size: 2rem;
    }
    
    .project-description {
        font-size: 1rem;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-image-section {
        padding: 40px 0;
    }
    
    .project-details-section {
        padding: 60px 0;
    }
    
    .similar-projects-section {
        padding: 60px 0;
    }
    
    .simple-cta-section h2 {
        font-size: 1.5rem;
    }
    
    .simple-cta-section p {
        font-size: 0.9rem;
    }
    
    .breadcrumb {
        font-size: 11px;
    }
    
    .breadcrumb-separator {
        margin: 0 4px;
    }
    
    .info-content h2 {
        font-size: 1.5rem;
    }
    
    .project-tags h3 {
        font-size: 1.125rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        text-align: left;
    }
    
    .tags-list {
        gap: 8px;
    }
    
    .tag {
        font-size: 12px;
        padding: 4px 8px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .project-title {
        font-size: 1.75rem;
    }
    
    .simple-cta-section h2 {
        font-size: 1.25rem;
    }
    
    .simple-cta-section p {
        font-size: 0.85rem;
    }
}
