/* ==================== */
/* ГЛОБАЛЬНЫЕ СТИЛИ МЕДИЦИНСКОГО ТУРИЗМА */
/* ==================== */

/* Цветовая палитра */
:root {
    --primary-blue: #1E3A8A;
    --secondary-blue: #3B82F6;
    --accent-green: #10B981;
    --light-bg: #F8FAFC;
    --dark-text: #1E293B;
    --gray-text: #64748B;
    --white: #FFFFFF;
    --border-color: #E2E8F0;
}

/* Основные стили */
body.worldmedtourism-theme {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--light-bg);
}

/* Заголовки */
.worldmedtourism-theme h1,
.worldmedtourism-theme h2,
.worldmedtourism-theme h3,
.worldmedtourism-theme h4,
.worldmedtourism-theme h5,
.worldmedtourism-theme h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--primary-blue);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.worldmedtourism-theme h1 { font-size: 48px; }
.worldmedtourism-theme h2 { font-size: 36px; }
.worldmedtourism-theme h3 { font-size: 28px; }
.worldmedtourism-theme h4 { font-size: 24px; }

/* ==================== */
/* КНОПКИ */
/* ==================== */

.medtour-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
    color: var(--white) !important;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
    text-align: center;
}

.medtour-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
    color: var(--white) !important;
}

.medtour-btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white) !important;
}

.medtour-btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue) !important;
}

.medtour-btn-outline {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue) !important;
}

.medtour-btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white) !important;
}

/* ==================== */
/* СЕКЦИИ */
/* ==================== */

.medtour-section {
    padding: 80px 0;
}

.medtour-section.light {
    background-color: var(--light-bg);
}

.medtour-section.dark {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
}

.medtour-section.dark h1,
.medtour-section.dark h2,
.medtour-section.dark h3,
.medtour-section.dark h4,
.medtour-section.dark h5,
.medtour-section.dark h6 {
    color: var(--white);
}

/* ==================== */
/* КАРТОЧКИ УСЛУГ */
/* ==================== */

.service-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 32px;
}

.service-card h3 {
    margin: 0 0 15px 0;
    font-size: 22px;
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 20px;
    color: var(--gray-text);
}

/* ==================== */
/* КАРТОЧКИ КЛИНИК */
/* ==================== */

.clinic-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.clinic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.clinic-image {
    height: 200px;
    overflow: hidden;
}

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

.clinic-card:hover .clinic-image img {
    transform: scale(1.05);
}

.clinic-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.clinic-content h3 {
    margin: 0 0 10px 0;
    font-size: 22px;
}

.clinic-location {
    color: var(--secondary-blue);
    font-weight: 500;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==================== */
/* ОТЗЫВЫ */
/* ==================== */

.testimonial-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin: 15px;
    position: relative;
}

.testimonial-card:before {
    content: """;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    color: rgba(30, 58, 138, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==================== */
/* ФОРМЫ */
/* ==================== */

.medtour-form .form-group {
    margin-bottom: 20px;
}

.medtour-form input,
.medtour-form select,
.medtour-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.medtour-form input:focus,
.medtour-form select:focus,
.medtour-form textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
}

.medtour-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* ==================== */
/* АДАПТИВНОСТЬ */
/* ==================== */

@media (max-width: 768px) {
    .medtour-section {
        padding: 60px 0;
    }
    
    .worldmedtourism-theme h1 { font-size: 36px; }
    .worldmedtourism-theme h2 { font-size: 28px; }
    .worldmedtourism-theme h3 { font-size: 24px; }
    
    .medtour-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-card-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .medtour-section {
        padding: 40px 0;
    }
    
    .worldmedtourism-theme h1 { font-size: 32px; }
    .worldmedtourism-theme h2 { font-size: 24px; }
    
    .service-card,
    .clinic-card,
    .testimonial-card {
        margin-bottom: 20px;
    }
}