/**
 * RUNLABS PRESENTATION FONCTIONNALITES
 * Styles de la page Démo
 * Version: 1.0.2
 */

/* ========================================
   DEMO HERO
   ======================================== */
.runlabs-pf-demo-hero {
    padding: 3rem 0;
}

.runlabs-pf-demo-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

/* ========================================
   RESTAURANT CARD
   ======================================== */
.runlabs-pf-demo-restaurant {
    padding: 2rem 0 3rem;
    background: var(--runlabs-white);
}

.runlabs-pf-demo-restaurant-card {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 1.5rem;
    border: 2px solid #fbbf24;
}

.runlabs-pf-demo-restaurant-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.runlabs-pf-demo-restaurant-card h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #92400e;
    margin-bottom: 0.5rem;
}

.runlabs-pf-demo-restaurant-type {
    color: #b45309;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.runlabs-pf-demo-restaurant-card > p:last-child {
    color: #78350f;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* ========================================
   QR CODES GRID
   ======================================== */
.runlabs-pf-demo-qrcodes {
    padding: 3rem 0;
    background: var(--runlabs-gray-50);
}

.runlabs-pf-demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* ========================================
   QR CODE CARD
   ======================================== */
.runlabs-pf-demo-qr-card {
    background: var(--runlabs-white);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: var(--runlabs-shadow-lg);
    transition: all 0.3s ease;
}

.runlabs-pf-demo-qr-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--runlabs-shadow-2xl);
}

.runlabs-pf-demo-qr-header {
    padding: 1.25rem 1.5rem;
    text-align: center;
}

.runlabs-pf-demo-qr-header.menu {
    background: linear-gradient(135deg, var(--runlabs-primary) 0%, var(--runlabs-secondary) 100%);
}

.runlabs-pf-demo-qr-header.reservation {
    background: linear-gradient(135deg, var(--runlabs-success) 0%, #059669 100%);
}

.runlabs-pf-demo-qr-header.display {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

.runlabs-pf-demo-qr-header h3 {
    color: var(--runlabs-white);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.runlabs-pf-demo-qr-body {
    padding: 1.5rem;
    text-align: center;
}

.runlabs-pf-demo-qr-body > p {
    color: var(--runlabs-gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 60px;
}

.runlabs-pf-demo-qr-image {
    margin-bottom: 1.5rem;
}

.runlabs-pf-demo-qr-image a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.runlabs-pf-demo-qr-image a:hover {
    transform: scale(1.05);
}

.runlabs-pf-demo-qr-image img {
    width: 180px;
    height: 180px;
    border-radius: 1rem;
    box-shadow: var(--runlabs-shadow-md);
}

.runlabs-pf-demo-qr-hint {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--runlabs-gray-400);
    font-style: italic;
}

.runlabs-pf-demo-qr-body .runlabs-pf-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
}

/* ========================================
   NOTE SECTION
   ======================================== */
.runlabs-pf-demo-note {
    padding: 2rem 0;
    background: var(--runlabs-gray-50);
}

.runlabs-pf-demo-note-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
    border: 1px solid #fde68a;
    border-radius: 1rem;
    text-align: center;
}

.runlabs-pf-demo-note-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 0.5rem;
}

.runlabs-pf-demo-note-card p {
    color: #78350f;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .runlabs-pf-demo-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .runlabs-pf-demo-restaurant-card {
        padding: 2rem 1.5rem;
    }

    .runlabs-pf-demo-qr-image img {
        width: 150px;
        height: 150px;
    }
}
