/* Projects Page Styles */

.projects-banner {
    position: relative;
    height: 50vh;
    min-height: 400px;
    background-image: url('images/hero-bg.png'); 
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    margin-top: 80px;
    display: flex;
    align-items: center;
}

.projects-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(123, 17, 19, 0.9) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.banner-content-modern {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
}

.banner-title-modern {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

/* Projects Grid */
.projects-section {
    padding: 80px 0;
    background-color: var(--white);
}

.projects-section-title {
    text-align: center;
    font-size: 2.2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 60px;
}

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

.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden; 
    margin-bottom: 40px;
    height: 350px; 
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.project-img-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
    z-index: 1;
}

.project-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-card:hover .project-img-container img {
    transform: scale(1.1);
}

.project-info-box {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 60px 25px 25px; 
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0) 100%);
    text-align: left;
    z-index: 2;
    transition: transform 0.4s ease;
    transform: translateY(10px);
}

.project-card:hover .project-info-box {
    transform: translateY(0);
}

.project-info-box h3 {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.project-info-box p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    margin-bottom: 5px;
}

.project-info-box .project-scope {
    font-size: 0.8rem;
    color: var(--accent); 
    font-weight: 600;
    margin-bottom: 0;
}

.project-info-box ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.project-info-box ul li {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 5px;
    position: relative;
    padding-left: 12px;
}

.project-info-box ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Inline CTA Form */
.cta-form-container {
    width: 100%;
    max-width: 500px;
}

.cta-inline-form {
    display: flex;
    gap: 10px;
}

.cta-inline-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.cta-inline-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.5);
}

/* Responsive */
@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .cta-inline-form {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .banner-title-modern {
        font-size: 2.8rem;
    }
    .projects-section-title {
        font-size: 1.8rem;
    }
}
