/* 
 * استایل‌های اضافی برای بخش‌های جدید سایت کیان پویا نسیم
 * این فایل شامل استایل‌های مخصوص بخش‌های خدمات، سوابق و مقالات است
 */

/* Portfolio Section Styles */
.portfolio-item {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

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

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(9, 185, 187, 0.9), rgba(0, 122, 122, 0.9));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.portfolio-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.portfolio-content p {
    font-size: 14px;
    margin: 0;
}

/* Blog Section Styles */
.blog-wrap {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.blog-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

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

.blog-wrap:hover .blog-image img {
    transform: scale(1.05);
}

.blog-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #dc3545;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
}

.blog-date .day {
    display: block;
    font-size: 18px;
    line-height: 1;
}

.blog-date .month {
    display: block;
    font-size: 12px;
    line-height: 1;
}

.blog-content {
    padding: 20px;
}

.blog-title h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-title h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title h3 a:hover {
    color: #dc3545;
}

.blog-meta {
    margin-bottom: 15px;
    font-size: 13px;
    color: #666;
}

.blog-meta span {
    margin-left: 15px;
}

.blog-meta i {
    margin-left: 5px;
    color: #dc3545;
}

.blog-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Contact Section Styles */
.contact-telegram {
    margin-bottom: 30px;
}

.contact-telegram h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.contact-form-inner {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
}

.contact-form-inner h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.contact-form-inner p {
    color: #666;
    margin-bottom: 25px;
}

.contact-form-inner .form-control {
    border: 2px solid #e9ecef;
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    margin-bottom: 15px;
}

.contact-form-inner .form-control:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(9, 185, 187, 0.25);
}

.contact-form-inner textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Service Box Enhancements */
.service-box-col {
    margin-bottom: 30px;
}

.service-image i {
    font-size: 48px;
    color: #dc3545;
    transition: all 0.3s ease;
}

.service-box-col:hover .service-image i {
    transform: scale(1.1);
    color: #b02a37;
}

.service-title {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 15px;
    color: #333;
}

.service-content {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* Footer Section Styles */
.footer-section {
    background: #333;
    color: #fff;
    padding: 30px 0;
    margin-top: 0;
}

.footer-content p {
    margin: 10px 0;
    font-size: 14px;
    color: #ccc;
}

.footer-content a {
    color: #dc3545;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #b02a37;
}

/* Responsive Design */
@media (max-width: 768px) {
    .portfolio-image img,
    .blog-image img {
        height: 200px;
    }
    
    .contact-form-inner {
        padding: 20px;
    }
    
    .service-image i {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .portfolio-content h4,
    .blog-title h3 {
        font-size: 16px;
    }
    
    .blog-date {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
    }
    
    .blog-date .day {
        font-size: 16px;
    }
    
    .blog-date .month {
        font-size: 11px;
    }
}
