.portfolio-page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    margin-top: 30px;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.page-content {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.order-project-section {
    text-align: center;
    margin: 0.5rem 0;
}

.order-project-btn {
    background: linear-gradient(135deg, #f4a023 0%, #ff6b35 100%);
    color: #fff !important;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(244, 160, 35, 0.3);
    letter-spacing: 0.5px;
}

.order-project-btn:hover {
    background: #1e1e1e;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 30, 30, 0.3);
    text-decoration: none;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #333;
    background: transparent;
    color: #333;
    cursor: pointer;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #333;
    color: white;
}

.gallery-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-icon {
    font-size: 0.9rem;
}

.gallery-count {
    font-weight: 600;
    color: #f4a023;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.portfolio-item-wrapper {
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    max-width: 450px;
}

.portfolio-item {
    background: white;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.portfolio-item .image,
.portfolio-item .video-container {
    height: 250px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-item .image img,
.portfolio-item .video-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.portfolio-item:hover .image img,
.portfolio-item:hover .video-container video {
    transform: scale(1.05);
}

.portfolio-item h3 {
    font-size: 1.5rem;
    margin: 1.5rem 1.5rem 1rem;
    color: #333;
}

.portfolio-item .description {
    padding: 0 1.5rem;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

.portfolio-item .description p {
    margin-bottom: 1rem;
}

.portfolio-item > div:last-child,
.portfolio-meta {
    padding: 1.5rem;
    background: #f8f9fa;
    margin-top: auto;
}

.portfolio-item .category,
.portfolio-item .client,
.portfolio-item .year {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #555;
}

.portfolio-item .category {
    font-weight: 600;
    color: #007cba;
}

.portfolio-item .button {
    display: inline-block;
    background: #333;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

.portfolio-item .button:hover {
    background: #555;
    color: white;
    text-decoration: none;
}

.no-projects {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    padding: 3rem;
}