/* ==========================================
   Featured Posts and Work SECTION - HOMEPAGE ONLY
   ========================================== */

.projects-section {
    padding: 4rem 2rem;
    background-color: #242420;
    border-bottom: 1px solid #4a4a48;
}

.projects-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: Georgia, serif;
    font-size: 2rem;
    font-weight: bold;
    color: #E8D5C4;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #8B9D5D;
    display: inline-block;
}

/* Featured Projects Grid - 2 cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background-color: #1a1a18;
    border: 0.5px solid #4a4a48;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(184, 134, 11, 0.15);
}

/* COMPACT IMAGE - 100px height */
.project-image {
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, #2d2d2a 0%, #3a3a36 100%);
    overflow: hidden;
}

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

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

/* COMPACT CONTENT */
.project-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-family: Georgia, serif;
    font-size: 1rem;
    font-weight: bold;
    color: #E8D5C4;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

/* SINGLE LINE DESCRIPTION */
.project-description {
    color: #A39A8F;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-link {
    color: #B8860B;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid #B8860B;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    display: inline-block;
    align-self: flex-start;
}

.project-link:hover {
    padding-left: 4px;
    color: #d4af37;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
    .projects-section {
        padding: 3rem 1.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        gap: 1rem;
    }

    .project-image {
        height: 80px;
    }

    .project-content {
        padding: 0.75rem;
    }

    .project-title {
        font-size: 0.95rem;
    }
}