/* wp-content/themes/baolecat/assets/css/template-portfolio.css */

.portfolio-main {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #111;
}

.portfolio-header {
    border-bottom: 6px solid #111;
    padding-bottom: 2rem;
    margin-bottom: 4rem;
}

.portfolio-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: -0.02em;
}

/* 2-Column Intro Section */
.portfolio-intro {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 5rem;
    align-items: start;
}

.portfolio-intro-image img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #111;
}

.portfolio-intro-text h2 {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.portfolio-intro-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

.portfolio-nav-links {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #111;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portfolio-nav-links a {
    color: #111;
    text-decoration: none;
    margin-right: 1rem;
    transition: color 0.2s;
}

.portfolio-nav-links a:hover {
    color: #555;
}

/* 2-Column Content Sections */
.portfolio-section {
    margin-bottom: 6rem;
    padding-top: 2rem;
    border-top: 6px solid #111;
}

.portfolio-section-header {
    margin-bottom: 3rem;
}

.portfolio-section-header h3 {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 0.5rem 0;
}

.portfolio-section-header h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #666;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
}

.portfolio-section-header p {
    font-size: 1.1rem;
    max-width: 800px;
    line-height: 1.6;
}

/* Reusable 2-Column Grid for Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
}

.project-item img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.project-item:hover img {
    transform: scale(1.02);
}

.project-item ul {
    padding-left: 1.2rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

.project-item li {
    margin-bottom: 0.5rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #111;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 1rem;
    transition: background 0.2s;
}

.btn-primary:hover {
    background-color: #333;
    color: #fff;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .portfolio-intro, 
    .project-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}