/**
 * DarMatch Centre d'aide Styles
 */

/* Hero */
.dma-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dma-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(232, 147, 26, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(74, 144, 217, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.dma-hero-inner {
    position: relative;
    z-index: 1;
}

.dma-eyebrow {
    display: inline-block;
    background: rgba(232, 147, 26, 0.15);
    color: #e8931a;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.dma-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px;
    line-height: 1.2;
}

.dma-hero p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* Search */
.dma-search-box {
    max-width: 520px;
    margin: 0 auto;
    position: relative;
}

.dma-search-box svg {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    stroke: #9ca3af;
    pointer-events: none;
}

.dma-search-box input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: #1a1a2e;
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 14px;
    outline: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    box-sizing: border-box;
}

.dma-search-box input:focus {
    border-color: #e8931a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(232, 147, 26, 0.15);
}

.dma-search-box input::placeholder {
    color: #9ca3af;
}

/* Categories Grid */
.dma-categories {
    padding: 60px 0;
    background: #f8f9fa;
}

.dma-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dma-cat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    border: 1px solid #eef0f3;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.dma-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: #e8931a;
    text-decoration: none;
}

.dma-cat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.dma-cat-icon svg {
    width: 24px;
    height: 24px;
}

.dma-icon-start { background: rgba(60, 155, 106, 0.1); }
.dma-icon-start svg { stroke: #3c9b6a; }
.dma-icon-booking { background: rgba(74, 144, 217, 0.1); }
.dma-icon-booking svg { stroke: #4a90d9; }
.dma-icon-payment { background: rgba(232, 147, 26, 0.1); }
.dma-icon-payment svg { stroke: #e8931a; }
.dma-icon-host { background: rgba(232, 87, 82, 0.1); }
.dma-icon-host svg { stroke: #e85752; }
.dma-icon-traveler { background: rgba(139, 92, 246, 0.1); }
.dma-icon-traveler svg { stroke: #8b5cf6; }
.dma-icon-security { background: rgba(20, 184, 166, 0.1); }
.dma-icon-security svg { stroke: #14b8a6; }

.dma-cat-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 6px;
}

.dma-cat-card p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* Articles Section */
.dma-articles {
    padding: 60px 0 40px;
    background: #ffffff;
}

.dma-section {
    max-width: 800px;
    margin: 0 auto 48px;
}

.dma-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eef0f3;
}

.dma-articles-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dma-article {
    border: 1px solid #eef0f3;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.dma-article:hover {
    border-color: #d1d5db;
}

.dma-article.active {
    border-color: #e8931a;
    box-shadow: 0 2px 12px rgba(232, 147, 26, 0.08);
}

.dma-article-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 12px;
}

.dma-article-btn h3 {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
    flex: 1;
}

.dma-article-btn svg {
    flex-shrink: 0;
    stroke: #9ca3af;
    transition: transform 0.3s;
}

.dma-article.active .dma-article-btn svg {
    transform: rotate(180deg);
    stroke: #e8931a;
}

.dma-article-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.dma-article.active .dma-article-body {
    max-height: 600px;
}

.dma-article-inner {
    padding: 0 20px 20px;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.7;
}

.dma-article-inner a {
    color: #e8931a;
    text-decoration: none;
    font-weight: 500;
}

.dma-article-inner a:hover {
    text-decoration: underline;
}

/* Contact CTA */
.dma-contact-cta {
    padding: 60px 0 80px;
    background: #f8f9fa;
}

.dma-cta-card {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    background: #ffffff;
    border-radius: 20px;
    padding: 48px 40px;
    border: 1px solid #eef0f3;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.dma-cta-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(232, 147, 26, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.dma-cta-icon svg {
    width: 26px;
    height: 26px;
    stroke: #e8931a;
}

.dma-cta-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
}

.dma-cta-card p {
    font-size: 15px;
    color: #6b7280;
    margin: 0 0 28px;
    line-height: 1.6;
}

.dma-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.dma-cta-buttons .dmh-btn-outline {
    background: transparent;
    color: #1a1a2e;
    border: 2px solid #d1d5db;
}

.dma-cta-buttons .dmh-btn-outline:hover {
    border-color: #e8931a;
    color: #e8931a;
}

/* Responsive */
@media (max-width: 991px) {
    .dma-hero h1 {
        font-size: 32px;
    }

    .dma-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .dma-hero {
        padding: 60px 0 40px;
    }

    .dma-hero h1 {
        font-size: 26px;
    }

    .dma-hero p {
        font-size: 15px;
    }

    .dma-categories {
        padding: 40px 0;
    }

    .dma-categories-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }

    .dma-section h2 {
        font-size: 20px;
    }

    .dma-article-btn {
        padding: 14px 16px;
    }

    .dma-article-btn h3 {
        font-size: 14px;
    }

    .dma-article-inner {
        padding: 0 16px 16px;
        font-size: 13px;
    }

    .dma-cta-card {
        padding: 32px 20px;
    }

    .dma-cta-card h2 {
        font-size: 20px;
    }

    .dma-cta-buttons {
        flex-direction: column;
    }

    .dma-contact-cta {
        padding: 40px 0 60px;
    }
}
