/* ===================================
   PORTFOLIO PAGE SPECIFIC STYLES
   =================================== */

/* Portfolio Hero Banner */
.portfolio-hero {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.8), rgba(124, 58, 237, 0.7)),
        url('../assets/images/hero-bg.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    position: relative;
}

.portfolio-hero-content {
    text-align: center;
    z-index: 1;
}

.portfolio-hero-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.breadcrumb {
    font-size: 12px;
    color: var(--text-primary);
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--text-primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.7;
}

.breadcrumb span {
    opacity: 0.8;
}

/* Hero Thumbnail */
.portfolio-hero-thumbnail {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 60px;
    border: 2px solid var(--border-purple);
    background: var(--bg-secondary);
}

.portfolio-hero-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* Portfolio Content */
.portfolio-content {
    padding: 80px 0;
}

.portfolio-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.portfolio-description h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.portfolio-description p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.preview-button {
    background: transparent;
    color: var(--accent-purple);
    border: 1px solid var(--accent-purple);
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.preview-button:hover {
    background: var(--accent-purple);
    color: var(--text-primary);
}

/* Portfolio Meta - 2 column grid */
.portfolio-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.meta-card {
    background: var(--bg-card);
    border: 1px solid var(--border-purple);
    border-radius: 6px;
    padding: 16px;
}

.meta-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.meta-value {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 600;
}

/* Portfolio Gallery - Carousel */
.portfolio-gallery {
    margin-bottom: 60px;
    position: relative;
}

.gallery-slider {
    display: flex;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}

.gallery-image {
    min-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-secondary);
    transition: transform 0.5s ease;
}

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

/* Gallery Navigation Arrows */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.8);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.gallery-nav:hover {
    background: var(--accent-purple);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
}

.gallery-prev {
    left: 16px;
}

.gallery-next {
    right: 16px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.gallery-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dots .dot.active {
    background: var(--accent-purple);
    width: 28px;
    border-radius: 5px;
}

/* Project Details */
.project-details h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 40px;
}

.detail-section {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.detail-label {
    font-size: 14px;
    color: var(--accent-purple);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-content {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.approach-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.approach-list li {
    padding-left: 0;
}

.approach-list strong {
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

/* ===================================
   CTA SECTION - "Let's Have A Chat"
   =================================== */
.portfolio-cta {
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.portfolio-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-purple);
    margin-bottom: 24px;
}

.cta-heading {
    font-size: clamp(42px, 7vw, 80px);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -1px;
    font-family: 'Inter', serif;
}

.cta-subtext {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

/* CTA Button */
.cta-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--accent-purple);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.cta-contact-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
    background: #6d28d9;
}

.cta-contact-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.cta-contact-btn:hover svg {
    transform: translate(3px, -3px);
}

/* Next Project Bar */
.next-project-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 40px 60px;
    background: var(--accent-purple);
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.next-project-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.next-project-bar:hover {
    background: #6d28d9;
}

.next-project-bar:hover .next-project-arrow {
    transform: translate(4px, -4px);
}

.next-project-content {
    text-align: right;
    display: flex;
    align-items: center;
    gap: 20px;
}

.next-project-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}

.next-project-name {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.next-project-arrow {
    font-size: 28px;
    color: white;
    transition: transform 0.3s ease;
    line-height: 1;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
    .portfolio-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .detail-section {
        grid-template-columns: 1fr;
        gap: 16px;
    }

}

@media (max-width: 768px) {
    .portfolio-hero {
        height: 180px;
        margin-top: 100px;
    }

    .portfolio-hero-title {
        font-size: 28px;
    }

    .breadcrumb {
        font-size: 11px;
    }

    .portfolio-content {
        padding: 60px 0;
    }

    .portfolio-hero-thumbnail {
        margin-bottom: 40px;
    }

    .portfolio-meta {
        grid-template-columns: 1fr;
    }

    .gallery-nav {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .gallery-prev {
        left: 8px;
    }

    .gallery-next {
        right: 8px;
    }

    .portfolio-cta {
        padding: 70px 0 60px;
    }

    .next-project-bar {
        padding: 30px 24px;
    }

    .next-project-name {
        font-size: 22px;
    }
}