/* Project Details Page Styles */

/* Project Hero */
.project-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.project-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 61, 153, 0.85) 0%, rgba(0, 102, 255, 0.75) 100%);
    z-index: 1;
}

.project-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    animation: fadeInUp 0.8s ease-out;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--pure-white);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 2rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
    border-color: rgba(255, 255, 255, 0.5);
}

.project-hero-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--pure-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.project-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    color: var(--pure-white);
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-meta-item i {
    font-size: 1.3rem;
}

/* Project Details Section */
.project-details-section {
    padding: 6rem 0;
    background: var(--off-white);
}

.project-details-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
}

/* Main Content */
.project-main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-description-card {
    background: var(--pure-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.6s ease-out;
}

.section-title-small {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title-small::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.project-description-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.project-description-text p {
    margin-bottom: 1rem;
}

/* Technologies */
.project-technologies {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-blue);
}

.tech-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-tag {
    padding: 0.5rem 1.25rem;
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: var(--gradient-1);
    color: var(--pure-white);
    transform: translateY(-2px);
}

/* Project Gallery */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-image {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    cursor: pointer;
    animation: fadeInUp 0.6s ease-out;
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sidebar */
.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.6s ease-out;
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.info-card-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-card-title i {
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.info-card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.info-value a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-value a:hover {
    color: var(--secondary-blue);
}

/* Website Card */
.website-card {
    background: var(--gradient-1);
    padding: 0;
}

.website-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 2rem;
    color: var(--pure-white);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Syne', sans-serif;
}

.website-link-btn:hover {
    transform: scale(1.02);
}

.website-link-btn i {
    font-size: 1.5rem;
}

/* Other Projects Section */
.other-projects-section {
    padding: 6rem 0;
    background: var(--pure-white);
}

.other-projects-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.other-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.other-project-card {
    background: var(--off-white);
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.other-project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.other-project-image {
    width: 100%;
    height: 200px;
    background: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.other-project-card:hover .other-project-image img {
    transform: scale(1.1);
}

.other-project-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    opacity: 0.3;
}

.other-project-content {
    padding: 1.5rem;
}

.other-project-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.other-project-category {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Project Navigation */
.project-navigation {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 100;
    animation: slideInUp 0.6s ease-out;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--pure-white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    font-family: 'DM Sans', sans-serif;
}

.nav-btn:hover:not(:disabled) {
    background: var(--gradient-1);
    color: var(--pure-white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-btn i {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .project-details-grid {
        grid-template-columns: 1fr;
    }
    
    .project-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .project-hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .project-hero-meta {
        gap: 1rem;
    }
    
    .hero-meta-item {
        font-size: 0.95rem;
        padding: 0.6rem 1.2rem;
    }
    
    .project-description-card {
        padding: 2rem;
    }
    
    .other-projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-navigation {
        bottom: 1rem;
        gap: 0.5rem;
    }
    
    .nav-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .nav-btn span {
        display: none;
    }
}

/* Additional animations */
@keyframes slideInUp {
    from {
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}
