/* Portfolio Page Styles */

/* Hero Section */
.portfolio-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    overflow: hidden;
    padding: 120px 0 80px;
}

.portfolio-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.portfolio-hero .gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
}

.portfolio-hero .container {
    position: relative;
    z-index: 2;
}

.portfolio-hero .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.portfolio-hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.portfolio-hero .hero-subtitle {
    font-size: 1.25rem;
    color: #d1d1d1;
    max-width: 600px;
    margin: 0 auto;
}

/* Filter Section */
.portfolio-filter-section {
    background: #000000;
    padding: 3rem 0;
    position: sticky;
    top: 70px;
    z-index: 100;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn:hover {
    background: rgba(240, 58, 112, 0.1);
    border-color: rgba(240, 58, 112, 0.3);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(45deg, #f03a70, #e91e63);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(240, 58, 112, 0.4);
}

/* Portfolio Grid */
.portfolio-grid-section {
    background: #000000;
    padding: 4rem 0 6rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

.portfolio-item.show {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    border-color: rgba(240, 58, 112, 0.3);
    box-shadow: 0 20px 40px rgba(240, 58, 112, 0.2);
}

.portfolio-image {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* 3:2 Aspect Ratio */
    overflow: hidden;
}

.portfolio-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.7) 50%,
        rgba(0, 0, 0, 0.95) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.portfolio-content {
    width: 100%;
}

.portfolio-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.portfolio-tags span {
    padding: 0.2rem 0.6rem;
    background: rgba(240, 58, 112, 0.2);
    border: 1px solid rgba(240, 58, 112, 0.3);
    border-radius: 15px;
    font-size: 0.7rem;
    color: #ffffff;
}

.portfolio-visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(45deg, #f03a70, #e91e63);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.portfolio-visit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(240, 58, 112, 0.4);
    color: white;
}

/* CTA Section */
.portfolio-cta {
    background: #000000;
    padding: 6rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: #d1d1d1;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #f03a70, #e91e63);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(240, 58, 112, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(240, 58, 112, 0.6);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .portfolio-hero {
        min-height: 50vh;
        padding: 100px 0 60px;
    }
    
    .portfolio-hero h1 {
        font-size: 2.5rem;
    }
    
    .portfolio-filter-section {
        top: 70px;
        padding: 2rem 0;
    }
    
    .portfolio-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-overlay {
        opacity: 1;
        background: linear-gradient(to bottom, 
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.5) 40%,
            rgba(0, 0, 0, 0.95) 100%);
    }
    
    .portfolio-content h3 {
        font-size: 1.25rem;
    }
    
    .portfolio-cta {
        padding: 4rem 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    color: white;
}
