/**
 * Projects Section Styles
 * OBF 2026 Theme - Our Projects Section
 */

/* Projects Section */
.projects-section {
    padding: 40px 0;
    background: #fffdf6;
    position: relative;
    z-index: 5;
}

/* Projects Title and Subtitle */
/* Projects specific container styles */
.projects-section .container {
    text-align: center;
    margin: 0 auto;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Project Card */
.project-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    text-decoration: none;
    color: inherit;
}

/* Project Image */
.project-card__image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card__image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease, filter 0.3s ease !important;
    position: relative;
    z-index: 2;
}

/* Подложка с блюром для карточек проектов */
.project-card__image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(10px);
    transform: scale(1.1);
    z-index: 1;
    opacity: 0.8;
}

/* Project Card Overlay */
.project-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.project-card:hover .project-card__overlay {
    opacity: 1;
}

.project-card__read-more {
    color: #ffffff;
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 20px;
    border: 2px solid #ffffff;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.project-card:hover .project-card__read-more {
    background: #228B22;
    color: #ffffff;
    border-color: #228B22;
}

.project-card:hover .project-card__image {
    filter: blur(2px);
    transform: scale(1.05);
}

/* Project Content */
.project-card__content {
    padding: 25px;
    flex-grow: 0;
    display: block;
    flex-direction: column;
}

.project-card__title {
    font-family: 'Jost', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #000000;
    line-height: 1.3;
    margin: 0 0 15px 0;
    text-decoration: none;
}

.project-card__description {
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #666666;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
    text-align: justify;
}

/* Projects Footer */
.projects__footer {
    text-align: center;
    margin-top: 30px;
}

.projects__all-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #228B22;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.projects__all-btn:hover {
    background: #1e7a1e;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(34, 139, 34, 0.3);
}

/* Projects specific responsive adjustments */
@media (max-width: 992px) {
    .projects-grid {
        gap: 20px;
    }
    
    .project-card__content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .project-card__image-container {
        height: 200px;
    }
    
    .project-card__title {
        font-size: 1.2rem;
    }
    
    .project-card__description {
        font-size: 0.9rem;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .project-card__image-container {
        height: 180px;
    }
    
    .project-card__content {
        padding: 15px;
    }
    
    .project-card__title {
        font-size: 1.1rem;
    }
    
    .project-card__description {
        font-size: 0.85rem;
    }
    
    .projects__all-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}
/* Responsive Design */
@media (max-width: 992px) {
}

@media (max-width: 768px) {
}

@media (max-width: 480px) {
}