/* Portfolio Stylesheet - Steel City Electric */

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Portfolio Hero */
.portfolio-hero {
    background: linear-gradient(135deg, #072534 0%, #18768A 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.portfolio-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #ffffff;
}

.portfolio-hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* Portfolio Grid */
.portfolio-grid {
    padding: 60px 0;
    background: #f8f9fa;
}

.portfolio-grid .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.project-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    display: none;
}

.project-image img {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-content h3 {
    margin: 0 0 8px 0;
    color: #072534;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.project-type {
    margin: 0 0 16px;
    color: #18768A;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.project-stats {
    margin: 0 0 24px;
    padding: 12px 0;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    flex-grow: 1;
}

.project-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #18768A;
    color: white;
    text-align: center;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.3s ease;
    width: 100%;
    margin-top: auto;
}

.project-card .btn:hover {
    background: #155f72;
}

/* Portfolio CTA */
.portfolio-cta {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.portfolio-cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #072534;
    font-weight: 700;
}

.portfolio-cta > .container > p {
    font-size: 18px;
    margin-bottom: 40px;
    color: #333;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.works-with {
    margin-bottom: 40px;
}

.works-with h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #072534;
    font-weight: 600;
}

.works-with ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.works-with li {
    background: rgba(24,118,138,0.1);
    padding: 10px 20px;
    border-radius: 20px;
    color: #18768A;
    font-weight: 500;
    font-size: 14px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #18768A;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #155f72;
}

/* Single Portfolio Styles */
main.single-portfolio {
    width: 100%;
}

.single-portfolio .project-header {
    text-align: center;
    padding: 40px 0 20px;
    background: white;
}

.single-portfolio .project-header h1 {
    font-size: 42px;
    color: #072534;
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
}

.project-featured-image {
    padding: 20px 0 40px;
    background: white;
}

.single-portfolio .featured-image {
    max-width: 100%;
    margin: 0 auto;
}

.single-portfolio .featured-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

.project-stats {
       padding: 10px 0;
    background: transparent;
    padding-bottom: 0;
    font-family: 'Work Sans';
    font-size: 16px;
    color: #000;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: white;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
    overflow: hidden;
}

.stat {
    text-align: center;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat strong {
    display: block;
    margin: 0;
    color: #072534;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.stat span {
    display: block;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

.stat:not(:last-child) {
    border-right: 1px solid #e8e8e8;
}

.project-overview,
.project-scope,
.project-result {
    padding: 60px 0;
}

.project-overview {
    background: white;
}

.project-scope {
    background: #f8f9fa;
}

.project-result {
    background: white;
}

.project-overview h2,
.project-scope h2,
.project-result h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #072534;
    font-weight: 700;
    text-align: center;
}

.project-overview p,
.project-result p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.project-scope .scope-content {
    max-width: 800px;
    margin: 0 auto;
}

.project-scope .scope-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 12px;
}

.project-scope .scope-content ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.project-scope .scope-content ul li {
    background: white;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid #18768A;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
}

.project-scope .scope-content ul li::before {
    content: "•";
    color: #18768A;
    font-weight: bold;
    font-size: 20px;
    margin-right: 10px;
}

.project-gallery {
    padding: 60px 0;
    background: #f8f9fa;
}

.project-gallery h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    color: #072534;
    font-weight: 700;
}

.gallery-slider-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 50px;
}

.gallery-slider {
    overflow: hidden;
    border-radius: 12px;
}

.gallery-slider .swiper-slide {
    height: auto;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background: white;
    height: 100%;
    position: relative;
}

.gallery-item a {
    display: block;
    position: relative;
    overflow: hidden;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Swiper Navigation Buttons */
.gallery-slider .swiper-button-next,
.gallery-slider .swiper-button-prev {
    background: #18768A;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.gallery-slider .swiper-button-next:after,
.gallery-slider .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.gallery-slider .swiper-button-next:hover,
.gallery-slider .swiper-button-prev:hover {
    background: #072534;
    transform: scale(1.1);
}

/* Swiper Pagination */
.gallery-slider .swiper-pagination {
    bottom: -40px;
}

.gallery-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #18768A;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.gallery-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: #072534;
    transform: scale(1.3);
}

.project-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #072534 0%, #18768A 100%);
    color: white;
    text-align: center;
}

.project-cta h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 700;
}

.project-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.project-cta .btn-primary {
    background: white;
    color: #18768A;
}

.project-cta .btn-primary:hover {
    background: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 768px) {
	.gallery-slider-wrapper {
    padding: 0 !important;
}
    .portfolio-hero h1 {
        font-size: 36px;
    }
    
    .portfolio-hero p {
        font-size: 16px;
    }
    
    .portfolio-grid .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .single-portfolio .project-header h1 {
        font-size: 36px;
    }
    
    .stats-bar {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
        padding-bottom: 15px;
    }
    
    .works-with ul {
        flex-direction: column;
        align-items: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .portfolio-hero {
        padding: 60px 20px;
    }
    
    .portfolio-hero h1 {
        font-size: 28px;
    }
    
    .portfolio-grid .grid {
        grid-template-columns: 1fr;
    }
    
    .project-stats {
        padding: 30px 20px;
    }
    
    .stats-bar {
        padding: 20px;
    }
    
    .project-overview,
    .project-scope,
    .project-result,
    .project-gallery {
        padding: 40px 20px;
    }
    
    .project-overview h2,
    .project-scope h2,
    .project-result h2,
    .project-gallery h2 {
        font-size: 24px;
    }
    
    .project-cta {
        padding: 60px 20px;
    }
}
