/* PR Portfolio Page Specific Styles */

.pr-portfolio-main {
    margin-top: 80px;
    padding: 60px 0 80px;
    background: #ffffff;
    min-height: calc(100vh - 80px);
}

/* Portfolio Header */
.portfolio-header {
    position: relative;
    text-align: center;
    margin-bottom: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-header-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.header-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.portfolio-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.6) 0%, 
        rgba(0, 0, 0, 0.4) 50%, 
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 2;
}

.portfolio-header-content {
    position: relative;
    z-index: 3;
    padding: 60px 20px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.portfolio-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    animation: fadeInUp 0.8s ease;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
}

.portfolio-subtitle {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.portfolio-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.4s both;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* PR Cases Grid */
.pr-cases {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-bottom: 80px;
}

.pr-case {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: var(--transition);
}

.pr-case:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.case-number {
    background: var(--dark-color);
    color: white;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.case-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem;
    align-items: center;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Case Info */
.case-info {
    padding: 1rem 0;
}

.client-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.client-name::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--accent-color);
    border-radius: 2px;
}

.case-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

/* Tags */
.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tag {
    background: #f0f0f0;
    color: var(--text-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.tag:hover {
    background: var(--accent-color);
    color: white;
}

/* Watch Button */
.watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.watch-btn:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

/* CTA Section */
.portfolio-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    border-radius: var(--border-radius);
    margin-bottom: 40px;
}

.cta-content h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .case-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .video-container {
        order: -1;
    }
}

@media (max-width: 768px) {
    .portfolio-header {
        min-height: 400px;
    }
    
    .portfolio-header-content {
        padding: 40px 15px;
    }
    
    .portfolio-title {
        font-size: 2.5rem;
    }
    
    .portfolio-subtitle {
        font-size: 1.4rem;
    }
    
    .portfolio-description {
        font-size: 1rem;
    }
    
    .pr-cases {
        gap: 2rem;
    }
    
    .case-content {
        padding: 1.5rem;
    }
    
    .client-name {
        font-size: 1.4rem;
    }
    
    .case-description {
        font-size: 0.95rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .portfolio-header {
        min-height: 350px;
    }
    
    .portfolio-header-content {
        padding: 30px 10px;
    }

    .portfolio-title {
        font-size: 2rem;
    }
    
    .portfolio-subtitle {
        font-size: 1.2rem;
    }
    
    .portfolio-description {
        font-size: 0.95rem;
    }
    
    .case-content {
        padding: 1rem;
    }
    
    .case-number {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
    
    .case-tags {
        justify-content: center;
    }
    
    .tag {
        font-size: 0.8rem;
    }
}

/* Animation for scroll reveal */
.pr-case {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.pr-case:nth-child(1) {
    animation-delay: 0.1s;
}

.pr-case:nth-child(2) {
    animation-delay: 0.2s;
}

.pr-case:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
    }
    to { 
        opacity: 1; 
    }
}