

/* Projects Section Enhancements */
.projects-section {
    background-color: var(--white);
    padding: 6rem 0;
}

.projects-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.projects-header {
    text-align: center;
    margin-bottom: 4rem;
}

.projects-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.projects-title-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.projects-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-teal);
    margin: 0;
    margin-top: 30px;
}

.projects-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-grey);
    margin: 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.project-card-link:hover .project-card {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: 100px;
    background-color: #486466;
    padding: 2.5rem 1.5rem 1.5rem;
    opacity: 0.8;
    transition: background 0.3s ease, padding 0.3s ease;
}

.project-overlay-text {
    color: var(--white);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    margin-top: -20px;
    text-align: center;
    align-items: center;
}

.projects-more-btn {
    text-align: center;
}

.btn-projects-more {
    background-color: #C9B384;
    color: var(--white);
    padding: 1rem 3rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'CoconNextArabic', sans-serif;
}

.btn-projects-more:hover {
    background-color: white;
    border: 1px solid #C9B384;
    color: #C9B384;
    transform: translateY(-2px);
}

/* Responsive Design */
/* iPad 1024px */
@media (min-width: 1024px) and (max-width: 1024px) {
    .page-header {
        height: 45vh;
        padding: 3.5rem 0 2.5rem;
    }
    
    .page-header-container {
        max-width: 1000px;
        padding: 0 2.5rem;
    }
    
    .projects-container {
        max-width: 1000px;
        padding: 0 2.5rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .breadcrumb a,
    .breadcrumb-separator {
        font-size: 2rem;
    }
}

/* iPad 1366px */
@media (min-width: 1366px) and (max-width: 1366px) {
    .page-header {
        height: 48vh;
        padding: 4rem 0 3rem;
    }
    
    .page-header-container {
        max-width: 1200px;
        padding: 0 3rem;
    }
    
    .projects-container {
        max-width: 1200px;
        padding: 0 3rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.75rem;
    }
    
    .page-title {
        font-size: 2.75rem;
    }
    
    .breadcrumb a,
    .breadcrumb-separator {
        font-size: 2.5rem;
    }
}

/* Screen 1400px */
@media (min-width: 1400px) and (max-width: 1439px) {
    .page-header {
        height: 50vh;
        padding: 4rem 0 3rem;
    }
    
    .page-header-container {
        max-width: 1350px;
        padding: 0 3.5rem;
    }
    
    .projects-container {
        max-width: 1350px;
        padding: 0 3.5rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .page-title {
        font-size: 2.9rem;
    }
    
    .breadcrumb a,
    .breadcrumb-separator {
        font-size: 2.75rem;
    }
}

/* Screen 1440px */
@media (min-width: 1440px) and (max-width: 1440px) {
    .page-header {
        height: 50vh;
        padding: 4rem 0 3rem;
    }
    
    .page-header-container {
        max-width: 1400px;
        padding: 0 4rem;
    }
    
    .projects-container {
        max-width: 1400px;
        padding: 0 4rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3.5rem;
    }
    
    .page-title {
        font-size: 3rem;
    }
    
    .breadcrumb a,
    .breadcrumb-separator {
        font-size: 3rem;
    }
}

@media (max-width: 1440px) {
    .page-header-container {
        max-width: 1400px;
        padding: 0 3rem;
    }
    
    .projects-container {
        max-width: 1400px;
        padding: 0 3rem;
    }
}

@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .page-header {
        height: 40vh;
    }
    
    .breadcrumb {
        margin-top: 80px;
    }
    
    .breadcrumb a,
    .breadcrumb-separator {
        font-size: 40px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
}

/* Tablets (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .page-header {
        height: 40vh;
        padding: 3rem 0 2.5rem;
    }
    
    .page-header-container {
        padding: 0 2rem;
    }
    
    .breadcrumb {
        margin-top: 70px;
    }
    
    .breadcrumb a,
    .breadcrumb-separator {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.25rem;
    }
    
    .projects-section {
        padding: 4.5rem 0;
    }
    
    .projects-container {
        padding: 0 2rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .project-card {
        max-width: 100%;
    }
    
    .project-card-image {
        height: 220px;
    }
    
    .project-card-title {
        font-size: 1.3rem;
    }
    
    .project-card-description {
        font-size: 0.95rem;
    }
    
    .projects-title {
        font-size: 2.1rem;
    }
    
    .projects-subtitle {
        font-size: 1.15rem;
    }
}

@media (max-width: 968px) {
    .page-header {
        height: 35vh;
        padding: 2.5rem 0 2rem;
    }
    
    .breadcrumb {
        margin-top: 60px;
    }
    
    .breadcrumb a,
    .breadcrumb-separator {
        font-size: 36px;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .projects-section {
        padding: 4rem 0;
    }
    
    .projects-container {
        padding: 0 2rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .projects-title {
        font-size: 2rem;
    }
    
    .projects-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        height: 35vh;
        padding: 2.5rem 0 1.5rem;
    }
    
    .page-header-container {
        padding: 0 1.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .breadcrumb {
        margin-top: 50px;
        flex-wrap: wrap;
    }
    
    .breadcrumb a,
    .breadcrumb-separator {
        font-size: 32px;
    }
    
    .hero-left-image,
    .hero-bottom-image {
        display: none;
    }
    
    .projects-section {
        padding: 4rem 0;
    }
    
    .projects-container {
        padding: 0 1.5rem;
    }
    
    .projects-header {
        margin-bottom: 3rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-overlay-text {
        font-size: 16px;
    }
    
    .projects-title {
        font-size: 1.75rem;
    }
    
    .projects-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        height: 30vh;
        padding: 2rem 0 1rem;
    }
    
    .page-header-container {
        padding: 0 1rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .breadcrumb {
        margin-top: 30px;
        gap: 0.25rem;
    }
    
    .breadcrumb a,
    .breadcrumb-separator {
        font-size: 24px;
    }
    
    .projects-section {
        padding: 3rem 0;
    }
    
    .projects-container {
        padding: 0 1rem;
    }
    
    .projects-header {
        margin-bottom: 2.5rem;
    }
    
    .projects-title {
        font-size: 1.5rem;
    }
    
    .projects-subtitle {
        font-size: 0.95rem;
    }
    
    .project-overlay {
        height: 80px;
        padding: 1.5rem 1rem 1rem;
    }
    
    .project-overlay-text {
        font-size: 14px;
        margin-top: -15px;
    }
    
    .btn-projects-more {
        padding: 0.85rem 2rem;
        font-size: 1rem;
    }
}

