.projects-section {
    padding: 4rem 4rem;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.section-title {
    font-family: 'Silkscreen';
    font-size: 3rem;
    color: #594545;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.project-card {
    background-color: #9E7676;
    color: #594545;
    border-radius: 40px;
    padding: 3rem;
    box-shadow: 0 10px 20px #00000015;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px #00000015;
}

.project-card.featured {
    display: flex;
    flex-direction: column;
}

.project-card.featured .project-gallery {
    order: 0;
    width: 100%;
}

.project-card.featured .project-content {
    order: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-title {
    font-family: 'Silkscreen';
    font-size: 2.2rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    color: #FFF8EA;
    line-height: 1.2;
}

.location-date {
    display: block;
    font-family: 'Silkscreen';
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0;
    color: #FFF8EA;
}

.role-tag {
    display: inline-block;
    background-color: #594545;
    color: #FFF8EA;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: 'Silkscreen';
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
    align-self: flex-start;
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-description {
    display: block;
    text-decoration: none;
    color: #FFF8EA;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    font-size: 1.1rem;
    position: relative;
    padding-left: 0;
}

.project-description::before {
    content: "";
}

.project-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow: hidden;
    border-radius: 20px;
}

.gallery-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: top;
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 25px #00000015;
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.05);
}

.gallery-main {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top;
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 25px #00000015;
    transition: transform 0.3s ease;
}

.gallery-main:hover {
    transform: scale(1.05);
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-thumb {
    height: 100px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #00000000;
}

.gallery-thumb:hover {
    border-color: #FFF8EA;
    transform: scale(1.05);
}

.secondary-projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.project-card.secondary {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card.secondary .project-gallery {
    margin-bottom: 2rem;
}

.project-card.secondary .project-header {
    margin-bottom: 0.5rem;
}

.project-card.secondary .project-title {
    font-size: 1.8rem;
    white-space: normal;
}