/**
 * Memorial Medical Prices - Public CSS
 * أنماط الواجهة الأمامية
 */

/* ========================================
   Global Styles
   ======================================== */
.mmp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Breadcrumbs
   ======================================== */
.mmp-breadcrumbs {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.mmp-breadcrumbs a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mmp-breadcrumbs a:hover {
    color: #764ba2;
}

.mmp-breadcrumbs .separator {
    margin: 0 8px;
}

/* ========================================
   Entry Header
   ======================================== */
.mmp-entry-header {
    padding: 40px 0;
    background: #f8f9fa;
}

.mmp-entry-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
    color: #2d3748;
}

.mmp-alt-names {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.mmp-alt-names span {
    background: #e2e8f0;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #4a5568;
}

.mmp-location,
.mmp-specialty,
.mmp-experience {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #718096;
    font-size: 16px;
    margin: 8px 0;
}

.mmp-location svg,
.mmp-specialty svg,
.mmp-experience svg {
    color: #667eea;
}

/* ========================================
   Featured Image
   ======================================== */
.mmp-featured-image {
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
}

.mmp-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Content Layout
   ======================================== */
.mmp-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin: 40px 0;
}

.mmp-main-content {
    min-width: 0;
}

/* ========================================
   Quick Info Box
   ======================================== */
.mmp-quick-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
}

.mmp-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mmp-info-item svg {
    flex-shrink: 0;
    color: #667eea;
}

.mmp-info-item strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: #4a5568;
    margin-bottom: 4px;
}

.mmp-info-item span {
    display: block;
    font-size: 16px;
    color: #2d3748;
}

/* ========================================
   Description
   ======================================== */
.mmp-description {
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
}

.mmp-description h2,
.mmp-description h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #2d3748;
}

.mmp-description p {
    margin-bottom: 15px;
}

.mmp-description ul,
.mmp-description ol {
    margin: 15px 0;
    padding-right: 20px;
}

.mmp-description li {
    margin-bottom: 8px;
}

/* ========================================
   Prices Section
   ======================================== */
.mmp-prices-section {
    margin: 50px 0;
}

.mmp-prices-section h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #2d3748;
}

.mmp-prices-table {
    overflow-x: auto;
}

.mmp-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
}

.mmp-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.mmp-table th {
    padding: 15px;
    text-align: right;
    font-weight: 600;
    font-size: 14px;
}

.mmp-table td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.mmp-table tbody tr:last-child td {
    border-bottom: none;
}

.mmp-table tbody tr:hover {
    background: #f7fafc;
}

.mmp-table td.mmp-price {
    font-size: 18px;
    color: #667eea;
}

.mmp-table a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mmp-table a:hover {
    color: #764ba2;
}

/* ========================================
   Buttons
   ======================================== */
.mmp-btn,
.mmp-btn-primary,
.mmp-btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.mmp-btn {
    background: #667eea;
    color: white;
}

.mmp-btn:hover {
    background: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.4);
}

.mmp-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.mmp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102,126,234,0.4);
}

.mmp-btn-contact {
    background: #48bb78;
    color: white;
    padding: 8px 16px;
    font-size: 13px;
}

.mmp-btn-contact:hover {
    background: #38a169;
}

.mmp-btn-full {
    width: 100%;
}

/* ========================================
   Sidebar
   ======================================== */
.mmp-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.mmp-info-box {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    margin-bottom: 25px;
}

.mmp-info-box h3 {
    font-size: 18px;
    margin: 0 0 20px 0;
    color: #2d3748;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.mmp-info-row {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.mmp-info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 20px;
}

.mmp-info-row svg {
    flex-shrink: 0;
    color: #667eea;
}

.mmp-info-row strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: #718096;
    margin-bottom: 4px;
}

.mmp-info-row p {
    margin: 0;
    color: #4a5568;
}

.mmp-info-row a {
    color: #667eea;
    text-decoration: none;
}

.mmp-info-row a:hover {
    text-decoration: underline;
}

/* ========================================
   Facts & Badges
   ======================================== */
.mmp-fact {
    margin-bottom: 15px;
}

.mmp-fact strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: #718096;
    margin-bottom: 6px;
}

.mmp-fact span {
    color: #2d3748;
    font-size: 15px;
}

.mmp-badges,
.mmp-languages {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.mmp-badge,
.mmp-language-tag {
    display: inline-block;
    padding: 6px 12px;
    background: #edf2f7;
    color: #2d3748;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

/* ========================================
   Doctor Header
   ======================================== */
.mmp-doctor-header {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.mmp-doctor-avatar {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

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

.mmp-doctor-info .mmp-title {
    display: block;
    font-size: 18px;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 5px;
}

/* ========================================
   Procedures & Hospitals Grids
   ======================================== */
.mmp-procedures-list,
.mmp-hospitals-list,
.mmp-doctors-list,
.mmp-credentials {
    margin: 40px 0;
}

.mmp-procedures-list h3,
.mmp-hospitals-list h3,
.mmp-doctors-list h3,
.mmp-credentials h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #2d3748;
}

.mmp-procedures-grid,
.mmp-hospitals-grid,
.mmp-doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.mmp-procedure-card,
.mmp-hospital-card,
.mmp-doctor-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mmp-procedure-card:hover,
.mmp-hospital-card:hover,
.mmp-doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.mmp-procedure-card h4,
.mmp-hospital-card h4,
.mmp-doctor-card h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.mmp-procedure-card h4 a,
.mmp-hospital-card h4 a,
.mmp-doctor-card h4 a {
    color: #2d3748;
    text-decoration: none;
}

.mmp-procedure-card h4 a:hover,
.mmp-hospital-card h4 a:hover,
.mmp-doctor-card h4 a:hover {
    color: #667eea;
}

.mmp-procedure-card .mmp-price,
.mmp-hospital-card .mmp-price {
    color: #667eea;
    font-size: 16px;
    margin: 10px 0;
}

.mmp-primary-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #48bb78;
    color: white;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-right: 8px;
}

/* ========================================
   No Prices Message
   ======================================== */
.mmp-no-prices {
    text-align: center;
    padding: 60px 20px;
    background: #f7fafc;
    border-radius: 12px;
}

.mmp-no-prices p {
    color: #718096;
    font-size: 16px;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .mmp-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .mmp-sidebar {
        position: static;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .mmp-entry-title {
        font-size: 28px;
    }
    
    .mmp-doctor-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .mmp-table {
        font-size: 14px;
    }
    
    .mmp-table th,
    .mmp-table td {
        padding: 10px;
    }
    
    .mmp-procedures-grid,
    .mmp-hospitals-grid,
    .mmp-doctors-grid {
        grid-template-columns: 1fr;
    }
    
    .mmp-quick-info {
        grid-template-columns: 1fr;
    }
}
