/* Portfolio page styles */

.page-header {
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: var(--deep-charcoal);
    background-image: linear-gradient(to bottom, #232323, #1d1d1d);
}

/* Large Pink Blob - Top Left */
.page-header::after {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 350px;
    height: 350px;
    background-color: var(--bubblegum-pink);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.9;
    filter: blur(40px);
    z-index: 0;
    animation: float-blob 20s ease-in-out infinite alternate;
}

/* Large Blue Blob - Bottom Right */
.page-header::before {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 350px;
    height: 350px;
    background-color: var(--azure-blue);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    opacity: 0.9;
    filter: blur(40px);
    z-index: 0;
    animation: float-blob 25s ease-in-out infinite alternate-reverse;
}

/* Yellow Blob - Center */
.page-header .container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 230px;
    height: 230px;
    background-color: var(--golden-yellow);
    border-radius: 40% 60% 60% 40% / 40% 50% 50% 60%;
    opacity: 0.85;
    filter: blur(35px);
    animation: pulse 8s ease-in-out infinite;
    z-index: 0;
}

/* Additional blob removed */

@keyframes float-blob {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(30px, 30px) rotate(15deg);
    }
}

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

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(20px, 20px) rotate(10deg);
    }
}

.page-title {
    color: var(--white);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

/* Removed title underline */

.page-description {
    color: var(--light-gray);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Portfolio filters removed */

/* Portfolio grid */
.portfolio-grid-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-item {
    border-radius: 15px;
    overflow: visible;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-item.portfolio-card {
    overflow: visible;
    aspect-ratio: auto;
    height: auto;
}

.portfolio-item .mockup-container {
    transition: transform 0.5s ease;
}

.portfolio-item:hover .mockup-container {
    transform: scale(0.95);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(to bottom, rgba(29, 29, 29, 0.95), rgba(10, 10, 10, 0.98));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-category {
    color: var(--bubblegum-pink);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    text-shadow: 0 0 8px rgba(255, 79, 154, 0.3);
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.portfolio-excerpt {
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 15px;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease 0.15s, opacity 0.3s ease 0.15s;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.portfolio-overlay div .portfolio-btn {
    font-size: 0.8rem;
    padding: 6px 14px;
    margin: 0;
}

.portfolio-btn {
    padding: 8px 20px;
    background-color: var(--bubblegum-pink);
    color: var(--white);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transform: translateY(0);
    opacity: 1;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 79, 154, 0.5);
    display: inline-block;
    margin-top: 10px;
}

.portfolio-btn:hover {
    background-color: var(--azure-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 185, 255, 0.5);
}

.portfolio-item:hover .portfolio-category,
.portfolio-item:hover .portfolio-title,
.portfolio-item:hover .portfolio-excerpt,
.portfolio-item:hover .portfolio-btn {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive styles */
@media (max-width: 991px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

@media (max-width: 767px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}