/* Process Page Styles */

/* Process Header */
.process-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #667eea 0%, #3b82f6 100%);
    color: white;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: opacity 0.3s ease;
}

.back-link:hover {
    opacity: 0.8;
}

.back-link i {
    font-size: 0.9rem;
}

.process-header-content {
    max-width: 800px;
}

.process-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.process-role {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.process-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #cbd5e1;
}

/* Process Content */
.process-content {
    padding: 60px 0;
    background: #fff;
    min-height: 60vh;
}

/* Process Sections */
.process-section {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
}

.process-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.process-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #667eea;
}

.process-section-content {
    max-width: 100%;
    line-height: 2.2;
}

.process-section-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.process-section-content p {
    margin-bottom: 1.5rem;
    color: #374151;
    font-size: 1.05rem;
    line-height: 2.2;
}

.process-section-content p:last-child {
    margin-bottom: 0;
}

.process-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    color: #374151;
}

.process-list li {
    margin-bottom: 1rem;
    line-height: 2.2;
}

.process-list li:last-child {
    margin-bottom: 0;
}

.process-list strong {
    color: #1e293b;
    font-weight: 600;
}

/* Process Images */
.process-hero-image {
    padding: 60px 0 0;
    background: #fff;
}

.process-image-wrapper {
    width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}

.process-hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.process-image-section {
    margin: 4rem 0;
    padding: 0;
}

.process-image-full {
    margin-top: 2rem;
    max-width: 100%;
}

.process-content-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Process Gallery */
.process-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.process-gallery-item:hover {
    transform: translateY(-5px);
}

.process-gallery-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.process-section-center {
    text-align: center;
    padding: 3rem 0;
}

/* Collage Layout for Final Design Mockups */
.process-collage {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto 0;
    min-height: 800px;
}

.process-collage-item {
    position: absolute;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, z-index 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.process-collage-item:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.process-collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Collage item positioning and sizing */
.process-collage-item:nth-child(1) {
    width: 280px;
    height: 400px;
    top: 0;
    left: 0;
    transform: rotate(-2deg);
}

.process-collage-item:nth-child(2) {
    width: 350px;
    height: 250px;
    top: 50px;
    left: 300px;
    transform: rotate(1deg);
}

.process-collage-item:nth-child(3) {
    width: 300px;
    height: 350px;
    top: 0;
    right: 0;
    transform: rotate(2deg);
}

.process-collage-item:nth-child(4) {
    width: 320px;
    height: 280px;
    top: 320px;
    left: 50px;
    transform: rotate(-1deg);
}

.process-collage-item:nth-child(5) {
    width: 340px;
    height: 300px;
    top: 400px;
    left: 400px;
    transform: rotate(1.5deg);
}

.process-collage-item:nth-child(6) {
    width: 280px;
    height: 320px;
    top: 350px;
    right: 100px;
    transform: rotate(-1.5deg);
}

.process-collage-item:nth-child(7) {
    width: 300px;
    height: 250px;
    top: 700px;
    left: 0;
    transform: rotate(2deg);
}

.process-collage-item:nth-child(8) {
    width: 320px;
    height: 300px;
    top: 720px;
    left: 320px;
    transform: rotate(-1deg);
}

.process-collage-item:nth-child(9) {
    width: 350px;
    height: 280px;
    top: 750px;
    right: 0;
    transform: rotate(1deg);
}

/* Responsive adjustments for collage */
@media (max-width: 1024px) {
    .process-collage {
        min-height: 600px;
    }
    
    .process-collage-item {
        width: calc(33.333% - 20px) !important;
        height: auto !important;
        position: relative !important;
        transform: none !important;
        margin: 10px;
        display: inline-block;
    }
    
    .process-collage-item:hover {
        transform: scale(1.02) !important;
    }
}

@media (max-width: 768px) {
    .process-collage {
        min-height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .process-collage-item {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        transform: none !important;
        margin: 0;
    }
}

.process-section-center .process-section-title {
    text-align: center;
}

.process-embed-container {
    background: #f8fafc;
    border-radius: 12px;
    padding: 3rem;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-placeholder {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
}

/* Process Embed Section */
.process-embed-section {
    padding: 0;
    background: #fff;
    min-height: 100vh;
}

/* Process Iframe */
.process-iframe {
    width: 100%;
    min-height: 100vh;
    border: none;
    display: block;
    background: white;
}

/* External Link Button */
.process-external-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #3b82f6 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-external-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Make portfolio items clickable */
.portfolio-item {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.portfolio-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Info Grid Layout - Efficient 2-column layout for Contribution, Tools, Challenge sections */
.process-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 1rem;
}

.process-info-item {
    display: flex;
    flex-direction: column;
}

.process-info-item .process-section-title {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.process-info-item .process-section-content {
    max-width: 100%;
}

/* Two Column Layout */
.process-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Usability Testing Layout - Image Left, Content Right, Larger Image, No Container */
.process-usability-layout {
    align-items: center;
}

.process-usability-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: none;
    max-width: 100%;
}

.process-column-content {
    display: flex;
    flex-direction: column;
}

.process-column-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-image-small {
    max-width: 100%;
    width: 100%;
}

/* Challenge Container - Stacked vertically */
.process-challenge-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-challenge-item {
    display: flex;
    flex-direction: column;
}

/* Slideshow Reel Styles */
.process-slideshow-reel {
    margin-top: 2rem;
}

.slideshow-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}

.slideshow-slide {
    display: none;
    width: 100%;
}

.slideshow-slide.active {
    display: block;
}

.slideshow-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.slideshow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #667eea;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slideshow-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.slideshow-prev {
    left: 20px;
}

.slideshow-next {
    right: 20px;
}

.slideshow-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: linear-gradient(135deg, #667eea 0%, #3b82f6 100%);
    transform: scale(1.2);
}

.dot:hover {
    background: #94a3b8;
}

/* Responsive Design */
@media (max-width: 968px) {
    .process-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-column-image {
        order: -1;
    }
    
    .process-usability-layout .process-column-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .process-title {
        font-size: 2rem;
    }

    .process-role {
        font-size: 1rem;
    }

    .process-description {
        font-size: 1rem;
    }

    .process-embed-container {
        padding: 2rem 1rem;
        min-height: 400px;
    }

    .process-iframe {
        min-height: 600px;
    }
    
    .slideshow-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slideshow-prev {
        left: 10px;
    }
    
    .slideshow-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .process-header {
        padding: 120px 0 40px;
    }

    .process-title {
        font-size: 1.8rem;
    }

    .process-embed-container {
        padding: 1.5rem 1rem;
        min-height: 300px;
    }

    .process-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

