/* Portfolio Details Page Modern Design */

/* Hero Section */
.portfolio-details-hero {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.portfolio-details-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(175, 244, 43, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(175, 244, 43, 0.05) 0%, transparent 50%);
    animation: heroGradient 6s ease-in-out infinite;
}

@keyframes heroGradient {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.project-badge {
    background: linear-gradient(45deg, var(--primary-color), #7bdb00);
    color: var(--black-color);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.project-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.project-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.5;
}

.project-quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.quick-info-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.4s ease;
}

.quick-info-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(175, 244, 43, 0.2);
}

.quick-info-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.quick-info-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.quick-info-value {
    color: white;
    font-size: 18px;
    font-weight: 600;
}

/* Project Gallery */
.project-gallery {
    background: var(--bg-primary);
    padding: 80px 0;
}

.gallery-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
}

.gallery-main img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(175, 244, 43, 0.9), rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.view-full-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-full-btn:hover {
    background: var(--primary-color);
    color: var(--black-color);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-thumb {
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.gallery-thumb:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(175, 244, 43, 0.3);
}

.gallery-thumb.active {
    border-color: var(--primary-color);
}

.gallery-thumb img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-thumb:hover img {
    transform: scale(1.1);
}

/* Project Details */
.project-details-section {
    background: var(--bg-secondary);
    padding: 80px 0;
}

.details-content {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.details-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(175, 244, 43, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), #7bdb00);
    border-radius: 2px;
}

.project-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.4s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(175, 244, 43, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), #7bdb00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--black-color);
    font-size: 24px;
}

.feature-title {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.6;
}

/* Technologies Used */
.technologies-section {
    margin-top: 50px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.tech-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
}

.tech-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    background: rgba(175, 244, 43, 0.1);
    box-shadow: 0 15px 30px rgba(175, 244, 43, 0.2);
}

.tech-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.tech-item:hover .tech-icon {
    transform: scale(1.1);
    color: #7bdb00;
}

.tech-name {
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Project Navigation */
.project-navigation {
    background: var(--bg-primary);
    padding: 60px 0;
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
}

.nav-project {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s ease;
    text-decoration: none;
}

.nav-project:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(175, 244, 43, 0.2);
    text-decoration: none;
}

.nav-project.prev {
    text-align: left;
}

.nav-project.next {
    text-align: right;
}

.nav-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.nav-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
}

.nav-center {
    text-align: center;
}

.back-to-portfolio {
    background: linear-gradient(45deg, var(--primary-color), #7bdb00);
    color: var(--black-color);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.back-to-portfolio:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(175, 244, 43, 0.4);
    color: var(--black-color);
}

/* CTA Section */
.project-cta {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 80px 0;
    position: relative;
}

.cta-container {
    background: linear-gradient(135deg, rgba(175, 244, 43, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(175, 244, 43, 0.1) 0%, transparent 70%);
    animation: ctaGlow 4s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

.cta-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    background: linear-gradient(45deg, var(--primary-color), #7bdb00);
    color: var(--black-color);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(175, 244, 43, 0.4);
    color: var(--black-color);
}

.cta-btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-btn-outline:hover {
    background: white;
    color: var(--black-color);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .details-content {
        padding: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .project-title {
        font-size: 2.2rem;
    }
    
    .project-subtitle {
        font-size: 1.1rem;
    }
    
    .project-quick-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .details-content {
        padding: 30px 25px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .nav-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .nav-project {
        text-align: center !important;
    }
    
    .cta-container {
        padding: 40px 20px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 576px) {
    .project-quick-info {
        grid-template-columns: 1fr;
    }
    
    .gallery-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-info-item {
        padding: 20px 15px;
    }
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

.scale-in {
    animation: scaleIn 0.6s ease;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease;
}

.slide-in-right {
    animation: slideInRight 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Related Projects */
.related-projects-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 50px;
}

.related-project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
}

.related-project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(175, 244, 43, 0.2);
}

.related-project-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.related-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-project-card:hover .related-project-image img {
    transform: scale(1.05);
}

.related-project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(175, 244, 43, 0.9);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-project-card:hover .related-project-overlay {
    opacity: 1;
}

.view-project-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.view-project-btn:hover {
    background: white;
    color: var(--black-color);
    border-color: white;
    transform: scale(1.1);
}

.related-project-content {
    padding: 20px;
}

.related-project-category {
    background: linear-gradient(45deg, var(--primary-color), #7bdb00);
    color: var(--black-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.related-project-title {
    margin-top: 15px;
    margin-bottom: 0;
}

.related-project-title a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.related-project-title a:hover {
    color: var(--primary-color);
}

/* Navigation Disabled States */
.nav-project.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.nav-project.disabled:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

/* Social Sharing */
.social-sharing .share-btn,
.social-sharing .copy-url-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    cursor: pointer;
}

.social-sharing .share-btn:hover,
.social-sharing .copy-url-btn:hover {
    background: var(--primary-color);
    color: var(--black-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

/* Custom Scrollbar */
.details-content::-webkit-scrollbar {
    width: 6px;
}

.details-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.details-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.details-content::-webkit-scrollbar-thumb:hover {
    background: #7bdb00;
} 