/* Portfolio Manager Styles */

/* Slider Styles */
.portfolio-slider {
    position: relative;
    max-width: 1200px;
    margin: 40px auto;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 30px;
}

.slide-caption h3 {
    margin: 0 0 10px;
    font-size: 28px;
}

.slider-dots {
    text-align: center;
    padding: 20px;
}

.slider-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 5px;
    cursor: pointer;
}

.slider-dot.active {
    background: #333;
}

/* Portfolio Filter Section */
.portfolio-filter-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
    background: #f5f5f5;
}

.portfolio-main-title {
    text-align: center;
    font-size: 72px;
    font-weight: 700;
    margin: 0 0 80px;
    color: #1a1a1a;
    letter-spacing: -2px;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.filter-btn:hover {
    opacity: 0.6;
}

.filter-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
}

.filter-icon svg {
    width: 100%;
    height: 100%;
    color: #1a1a1a;
    stroke-width: 1.5;
}

.filter-label {
    font-size: 18px;
    font-weight: 400;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 8px;
}

.filter-btn.active .filter-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #1a1a1a;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.portfolio-card {
    background: white;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.portfolio-card.hidden {
    display: none;
}

.portfolio-thumbnail {
    position: relative;
    overflow: hidden;
    background: #e0e0e0;
}

.portfolio-thumbnail img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-thumbnail img {
    transform: scale(1.08);
}

.portfolio-thumbnail a {
    display: block;
}

.portfolio-content {
    padding: 30px;
    background: white;
}

.portfolio-content h3 {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 600;
    color: #1a1a1a;
}

.portfolio-content h3 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
}

.portfolio-content h3 a:hover {
    color: #666;
}

.portfolio-location {
    color: #a0826d;
    font-size: 15px;
    margin: 8px 0;
    font-weight: 500;
}

.portfolio-year {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
}

.portfolio-description {
    color: #555;
    line-height: 1.7;
    margin: 15px 0 0;
    font-size: 15px;
}

/* Single Portfolio Page */
.single-portfolio-wrapper {
    max-width: 100%;
    margin: 0;
    background: #f8f8f8;
}

.portfolio-header {
    background: white;
    padding: 80px 40px 60px;
    text-align: center;
}

.portfolio-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.portfolio-title {
    font-size: 56px;
    font-weight: 700;
    margin: 0 0 15px;
    color: #1a1a1a;
    letter-spacing: -1px;
}

.portfolio-subtitle {
    font-size: 20px;
    color: #a0826d;
    font-weight: 500;
    margin: 0;
}

.portfolio-main-image {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    margin-bottom: 60px;
}

.portfolio-main-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.portfolio-details-section {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 80px;
}

.portfolio-sidebar h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 30px;
    color: #1a1a1a;
    letter-spacing: 1px;
}

.portfolio-meta {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meta-item strong {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-item span {
    font-size: 16px;
    color: #1a1a1a;
}

.portfolio-content-area {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.portfolio-content-area p {
    margin-bottom: 20px;
}

.portfolio-gallery-section {
    max-width: 1400px;
    margin: 0 auto 80px;
    padding: 0 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.portfolio-navigation {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portfolio-navigation a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.portfolio-navigation a:hover {
    color: #a0826d;
}

.portfolio-navigation a span {
    font-size: 20px;
}

.nav-prev {
    text-align: left;
}

.nav-next {
    text-align: right;
}

@media (max-width: 1024px) {
    .portfolio-details-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .portfolio-main-title {
        font-size: 42px;
        margin-bottom: 40px;
    }
    
    .filter-buttons {
        gap: 35px;
        margin-bottom: 50px;
    }
    
    .filter-icon {
        width: 55px;
        height: 55px;
    }
    
    .filter-label {
        font-size: 15px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .portfolio-thumbnail img {
        height: 350px;
    }
    
    .portfolio-title {
        font-size: 36px;
    }
    
    .portfolio-subtitle {
        font-size: 16px;
    }
    
    .portfolio-filter-wrapper {
        padding: 50px 20px;
    }
    
    .portfolio-details-section,
    .portfolio-gallery-section,
    .portfolio-navigation {
        padding: 0 20px;
    }
    
    .slide img {
        height: 300px;
    }
}