/* Blog CSS - Orient Saveurs Magazine - Traiteur Oriental */
/* Variables spécialisées traiteur oriental */
:root {
    --primary-color: #1e40af;
    --secondary-color: #3b82f6;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --background-light: #f8fafc;
    --border-light: #e5e7eb;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), #fbbf24);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}
.cta-section p {
    color: white !important;
}

/* Layout principal */
.blog-main {
    min-height: calc(100vh - 120px);
    padding-top: 40px;
    background: var(--background-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Article Layout */
.blog-article {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 40px;
}

/* Hero Section */
.article-hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin-bottom:20px;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/><path d="M30,50 Q50,30 70,50 Q50,70 30,50" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat;
    opacity: 0.1;
}

.hero-content {
    z-index: 2;
    position: relative;
}

.category-badge {
    margin-bottom: 20px;
}

.badge {
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--white);
}

.highlight-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.article-lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Article Content */
.article-content {
    padding: 0 60px 60px;
}

.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.content-section h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Introduction Grid */
.intro-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.stats-card {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    text-align: center;
    opacity: 0.9;
}

/* Calculateur */
.calculator-section {
    margin: 50px 0;
}

.calculator-card {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.calculator-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
}

.calculator-card p {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-light);
}

.calculator-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.input-group input,
.input-group select {
    padding: 12px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.result-display {
    grid-column: 1 / -1;
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 2px solid var(--primary-color);
}

.total-cost {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.total-cost .label {
    font-weight: 600;
    color: var(--text-dark);
}

.amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.per-person {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Spécialités Grid */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.specialty-card {
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.specialty-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.specialty-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.specialty-card ul {
    list-style: none;
    padding: 0;
}

.specialty-card li {
    padding: 8px 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-light);
}

.specialty-card li:last-child {
    border-bottom: none;
}

/* Tableaux Responsive */
.table-responsive {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    min-width: 800px;
}

.comparison-table thead {
    background: var(--gradient-primary);
    color: var(--white);
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table tbody tr:hover {
    background: var(--background-light);
    transform: scale(1.01);
    transition: var(--transition);
}

.service-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 5px;
}

.service-badge.basic {
    background: #e5e7eb;
    color: #374151;
}

.service-badge.standard {
    background: var(--secondary-color);
    color: var(--white);
}

.service-badge.premium {
    background: var(--accent-color);
    color: var(--text-dark);
}

.service-badge.luxury {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: var(--white);
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    padding: 4px 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.service-list li:before {
    content: "✓";
    color: var(--accent-color);
    margin-right: 8px;
    font-weight: bold;
}

/* Quote Section */
.quote-section {
    margin: 50px 0;
    text-align: center;
}

.expert-quote {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 50px;
    border-radius: var(--border-radius);
    border: none;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.expert-quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.1);
    font-family: serif;
}

.expert-quote p {
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 25px;
    color: var(--white);
}

.expert-quote cite {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 600;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--background-light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.benefit-icon {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.benefit-content h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.benefit-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Performance Calculator */
.performance-section {
    margin: 50px 0;
}

.performance-calculator {
    background: linear-gradient(135deg, var(--white), var(--background-light));
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.performance-calculator h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 10px;
}

.performance-calculator p {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-light);
}

.evaluation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.eval-category h4 {
    color: var(--text-dark);
    margin-bottom: 15px;
    text-align: center;
}

.rating-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border-light);
    outline: none;
    appearance: none;
}

.slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
}

.rating-display {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.overall-rating {
    text-align: center;
    padding: 30px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--border-radius);
}

.overall-score {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.overall-score .score {
    color: var(--accent-color);
}

.rating-interpretation {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Trends */
.trends-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.trend-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.trend-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.trend-number {
    background: var(--gradient-accent);
    color: var(--text-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.trend-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.trend-content p {
    color: var(--text-light);
    margin: 0;
}

/* CTA Section */
.cta-section {
    margin: 60px 0;
    text-align: center;
}

.cta-content {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 60px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: #fbbf24;
    transform: translateY(-2px);
}

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

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

/* Article Footer */
.article-footer {
    border-top: 2px solid var(--border-light);
    padding: 40px 60px;
    background: var(--background-light);
}

.article-tags {
    margin-bottom: 30px;
}

.tag-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-right: 15px;
}

.tag {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.tag:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-label {
    font-weight: 600;
    color: var(--text-dark);
}

.share-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.share-btn.facebook {
    background: #1877f2;
    color: var(--white);
}

.share-btn.twitter {
    background: #1da1f2;
    color: var(--white);
}

.share-btn.linkedin {
    background: #0a66c2;
    color: var(--white);
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 968px) {
    .article-hero {
        grid-template-columns: 1fr;
        padding: 40px;
    }
    
    .article-content,
    .article-footer {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-form {
        grid-template-columns: 1fr;
    }
    
    .evaluation-grid {
        grid-template-columns: 1fr;
    }
    
    .trends-container {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .article-hero,
    .article-content,
    .article-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .specialties-grid {
        grid-template-columns: 1fr;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .article-share {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .trend-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Print Styles */
@media print {
    .article-hero {
        background: var(--white) !important;
        color: var(--text-dark) !important;
    }
    
    .cta-section,
    .calculator-section,
    .performance-section {
        display: none;
    }
}