/**
 * Styles for the Team (Наша команда) page
 * Layout: Grid 3 columns for desktop
 */

.team-page {
    background-color: #fff;
    color: #242424;
    font-family: 'Roboto', sans-serif;
    padding-bottom: 60px;
}

.team-page-container {
    max-width: 1300px !important;
    margin: 0 auto;
    padding: 0 15px;
}

.team-page h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.team-page .subtitle {
    display: block;
    text-align: center;
    color: #777;
    font-size: 16px;
    margin-bottom: 60px;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.team-member {
    display: flex;
    flex-direction: column;
}

.team-member-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 20px;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.2);
    transition: filter 0.3s ease;
}

.team-member:hover .team-member-image img {
    filter: grayscale(0);
}

.team-member h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #242424;
}

.team-member .position {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
    font-weight: 500;
}

.team-member .description {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* Form Styling (Copied from garantiya.css) */
.warranty-form-wrap {
    padding: 60px 0;
    text-align: center;
    background-color: #f9f9f9; /* Subtle difference for the form section */
    margin: 0 -15px; /* Full width background */
    border-top: 1px solid #eee;
}

.warranty-form-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.warranty-form-container h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
}

.warranty-form-container .subtitle {
    color: #777;
    margin-bottom: 30px;
    display: block;
}

/* CF7 Custom Layout */
.cf_kredit {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    text-align: left;
}

.cf_kredit_item {
    flex: 1;
    min-width: 200px;
}

.input_credit {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    font-family: 'Roboto', sans-serif;
}

.submit_credit {
    background-color: #333 !important;
    color: #fff !important;
    text-transform: uppercase;
    font-weight: 700;
    padding: 15px 30px !important;
    border: none !important;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease;
}

.submit_credit:hover {
    background-color: #000 !important;
}

.social-icons-mini {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.social-icons-mini a {
    width: 40px;
    height: 40px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 991px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-page h1 {
        font-size: 28px;
    }
    
    .warranty-form-container {
        padding: 30px 20px;
    }

    .cf_kredit_item {
        flex: 1 1 100%;
    }

    .cf_kredit {
        gap: 15px;
    }
}
