/* Old Postcard Blog - Main CSS */
:root { --primary-sepia: #927a60; --primary-cream: #eadfca; --primary-burgundy: #5d242c; --primary-gold: #dcaf3c; --primary-sage: #98a582; }
body { font-family: 'Georgia', serif; color: #806e4c; background-color: #fff8ee; }



/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

/* Фиксирование изображений команды */
.team-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-sepia);
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.team-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* Фиксирование breadcrumb иконок */
.breadcrumb-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 4px;
}

/* Стили для breadcrumb навигации */
.breadcrumb-nav {
    background: linear-gradient(135deg, var(--primary-cream) 0%, rgba(234, 223, 202, 0.8) 100%);
    padding: 20px 0;
    border-bottom: 1px solid rgba(146, 122, 96, 0.2);
    margin-top: 76px; /* Учитываем высоту фиксированного header */
}

.breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: var(--primary-sepia);
    font-weight: 500;
}

/* Улучшение стилей слайдера */
.testimonials-swiper {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Стили для карточек отзывов (заменяем слайдер) */
.review-card {
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid rgba(146, 122, 96, 0.15);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    min-height: 250px;
}

.testimonial-card:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.testimonial-card p {
    color: #4a4a4a;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    flex-grow: 1;
}

.testimonial-card h5 {
    color: var(--primary-burgundy);
    font-weight: 600;
    font-size: 18px;
    margin: 0;
    margin-top: auto;
}

/* Улучшение фона секции отзывов */
.reviews-section {
    background: linear-gradient(135deg, rgba(234, 223, 202, 0.3) 0%, rgba(255, 248, 238, 0.8) 100%);
}

/* Стили для пагинации слайдера (теперь не нужны, но оставляем для совместимости) */
.swiper-pagination-bullet {
    background: var(--primary-sepia);
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    background: var(--primary-burgundy);
    opacity: 1;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
    
    .team-photo {
        width: 80px;
        height: 80px;
    }
    
    .breadcrumb-icon {
        width: 24px;
        height: 24px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-card p {
        font-size: 14px;
    }
    
    .review-card {
        margin-bottom: 20px;
    }
    
    .testimonial-card {
        min-height: 200px;
        padding: 20px;
    }
    
    .col-lg-6 {
        width: 100%;
    }
    
    .team-member {
        padding: 15px 10px;
        margin-bottom: 20px;
    }
}

/* Дополнительные стили для команды и layout */
.team-section {
    background: linear-gradient(135deg, #fff8ee 0%, #f5f0e6 100%);
}

.team-member {
    text-align: center;
    padding: 20px 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(146, 122, 96, 0.1);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 0.9);
}

.team-member h5 {
    color: var(--primary-burgundy);
    font-weight: 600;
    margin: 15px 0 5px;
    font-size: 18px;
}

.team-member p {
    color: var(--primary-sepia);
    font-size: 14px;
    margin-bottom: 15px;
}

/* Улучшение grid layout для команды */
.team-section .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

.team-section .col-lg-2 {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

/* Дополнительные стили для общего улучшения */
.section {
    padding: 80px 0;
}

.content-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(146, 122, 96, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.content-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
    
    .team-photo {
        width: 80px;
        height: 80px;
    }
    
    .breadcrumb-icon {
        width: 24px;
        height: 24px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-card p {
        font-size: 14px;
    }
    
    .team-member {
        padding: 15px 10px;
        margin-bottom: 20px;
    }
    
    .content-card {
        padding: 20px;
    }
    
    .breadcrumb-nav {
        margin-top: 70px;
        padding: 15px 0;
    }
}
