/* DPX Tours SEO Optimization Styles */

/* ==========================================================================
   Breadcrumbs Styling
   ========================================================================== */

.dpx-breadcrumbs {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin-left: 8px;
    color: #6c757d;
    font-weight: bold;
    font-size: 16px;
}

.breadcrumb-item a {
    color: #007cba;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: #005a87;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #495057;
    font-weight: 600;
}

/* Breadcrumb responsive design */
@media (max-width: 768px) {
    .dpx-breadcrumbs {
        padding: 12px 15px;
        margin-bottom: 15px;
    }
    
    .breadcrumb-list {
        font-size: 13px;
        gap: 6px;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin-left: 6px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .dpx-breadcrumbs {
        padding: 10px 12px;
        margin-bottom: 12px;
    }
    
    .breadcrumb-list {
        font-size: 12px;
        gap: 4px;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin-left: 4px;
        font-size: 12px;
    }
}

/* ==========================================================================
   SEO Meta Information Display
   ========================================================================== */

.seo-meta-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 15px;
    margin: 20px 0;
    font-size: 13px;
    color: #6c757d;
}

.seo-meta-info h4 {
    margin: 0 0 10px 0;
    color: #495057;
    font-size: 14px;
    font-weight: 600;
}

.seo-meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.seo-meta-item:last-child {
    border-bottom: none;
}

.seo-meta-label {
    font-weight: 500;
    color: #495057;
}

.seo-meta-value {
    color: #007cba;
    font-weight: 500;
}

/* ==========================================================================
   Schema.org Rich Snippets Preview
   ========================================================================== */

.schema-preview {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 15px;
    margin: 20px 0;
    font-size: 13px;
}

.schema-preview h4 {
    margin: 0 0 10px 0;
    color: #856404;
    font-size: 14px;
    font-weight: 600;
}

.schema-preview-content {
    color: #856404;
    line-height: 1.4;
}

.schema-preview-item {
    margin-bottom: 8px;
}

.schema-preview-item:last-child {
    margin-bottom: 0;
}

.schema-preview-label {
    font-weight: 600;
    margin-right: 8px;
}

/* ==========================================================================
   Open Graph Preview
   ========================================================================== */

.og-preview {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0;
    margin: 20px 0;
    max-width: 600px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.og-preview-image {
    width: 100%;
    height: 200px;
    background: #f8f9fa;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #e9ecef;
}

.og-preview-content {
    padding: 15px;
}

.og-preview-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.og-preview-description {
    font-size: 14px;
    color: #666666;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.og-preview-url {
    font-size: 12px;
    color: #999999;
    text-transform: lowercase;
}

/* ==========================================================================
   Twitter Card Preview
   ========================================================================== */

.twitter-card-preview {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0;
    margin: 20px 0;
    max-width: 500px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.twitter-card-image {
    width: 100%;
    height: 150px;
    background: #f8f9fa;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #e9ecef;
}

.twitter-card-content {
    padding: 12px;
}

.twitter-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.twitter-card-description {
    font-size: 13px;
    color: #666666;
    line-height: 1.4;
    margin: 0;
}

/* ==========================================================================
   Performance Optimization Indicators
   ========================================================================== */

.performance-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.performance-indicator.excellent {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.performance-indicator.good {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.performance-indicator.needs-improvement {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.performance-indicator.poor {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.performance-indicator .icon {
    font-size: 14px;
}

/* ==========================================================================
   SEO Score Display
   ========================================================================== */

.seo-score {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.seo-score-number {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.seo-score.excellent .seo-score-number {
    color: #28a745;
}

.seo-score.good .seo-score-number {
    color: #17a2b8;
}

.seo-score.needs-improvement .seo-score-number {
    color: #ffc107;
}

.seo-score.poor .seo-score-number {
    color: #dc3545;
}

.seo-score-label {
    font-size: 18px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 15px;
}

.seo-score-description {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.4;
    margin: 0;
}

/* ==========================================================================
   SEO Recommendations
   ========================================================================== */

.seo-recommendations {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 20px;
    margin: 20px 0;
}

.seo-recommendations h4 {
    margin: 0 0 15px 0;
    color: #495057;
    font-size: 16px;
    font-weight: 600;
}

.seo-recommendation-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.seo-recommendation-item:last-child {
    border-bottom: none;
}

.seo-recommendation-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.seo-recommendation-icon.success {
    background: #d4edda;
    color: #155724;
}

.seo-recommendation-icon.warning {
    background: #fff3cd;
    color: #856404;
}

.seo-recommendation-icon.error {
    background: #f8d7da;
    color: #721c24;
}

.seo-recommendation-content {
    flex: 1;
}

.seo-recommendation-title {
    font-weight: 600;
    color: #495057;
    margin: 0 0 4px 0;
    font-size: 14px;
}

.seo-recommendation-description {
    color: #6c757d;
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
}

/* ==========================================================================
   Mobile Optimization
   ========================================================================== */

@media (max-width: 768px) {
    .seo-meta-info,
    .schema-preview,
    .og-preview,
    .twitter-card-preview,
    .seo-score,
    .seo-recommendations {
        margin: 15px 0;
        padding: 12px;
    }
    
    .seo-score-number {
        font-size: 36px;
    }
    
    .seo-score-label {
        font-size: 16px;
    }
    
    .og-preview,
    .twitter-card-preview {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .seo-meta-info,
    .schema-preview,
    .og-preview,
    .twitter-card-preview,
    .seo-score,
    .seo-recommendations {
        margin: 10px 0;
        padding: 10px;
    }
    
    .seo-score-number {
        font-size: 32px;
    }
    
    .seo-score-label {
        font-size: 15px;
    }
    
    .seo-recommendation-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .seo-recommendation-icon {
        align-self: flex-start;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .dpx-breadcrumbs,
    .seo-meta-info,
    .schema-preview,
    .og-preview,
    .twitter-card-preview,
    .seo-score,
    .seo-recommendations {
        display: none;
    }
}
