/* style/support.css */

:root {
    --primary-color: #FFD700; /* Vàng kim */
    --secondary-color: #DC143C; /* Đỏ thẫm */
    --dark-bg: #1A1A1A; /* Nền tối */
    --light-text: #FFFFFF; /* Chữ trắng */
    --dark-text: #333333; /* Chữ đen */
    --accent-color: #4CAF50; /* Màu nhấn xanh lá */
    --border-color: #333333;
}

.page-support {
    font-family: 'Arial', sans-serif;
    color: var(--light-text);
    background-color: var(--dark-bg);
    line-height: 1.6;
}

.page-support a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-support a:hover {
    color: var(--secondary-color);
}

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

/* Hero Section */
.page-support .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #1A1A1A, #333333);
    overflow: hidden;
}

.page-support .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-support .hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-support .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-support .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-support .hero-content h1 {
    font-size: 3.2em;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-support .hero-content p {
    font-size: 1.2em;
    color: var(--light-text);
    max-width: 800px;
    margin: 0 auto 30px auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-support .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--light-text);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--secondary-color);
}

.page-support .cta-button:hover {
    background: var(--primary-color);
    color: var(--dark-text);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    border-color: var(--primary-color);
}

/* General Section Styles */
.page-support section {
    padding: 60px 0;
    background-color: var(--dark-bg);
}

.page-support section:nth-of-type(even) {
    background-color: #222222;
}

.page-support h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.page-support h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-support p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #CCCCCC;
}

.page-support ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-support ul li {
    background: #2A2A2A;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 5px solid var(--primary-color);
    border-radius: 5px;
    font-size: 1.1em;
    color: var(--light-text);
}

.page-support ul li strong {
    color: var(--primary-color);
}

/* Section Channels */
.page-support .section-channels .channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-support .channel-item {
    background-color: #2A2A2A;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3A3A3A;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support .channel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-support .channel-item .channel-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    padding: 10px;
    object-fit: contain;
    filter: brightness(1.1);
}

.page-support .channel-item h3 {
    font-size: 1.6em;
    margin-bottom: 10px;
}

.page-support .channel-item h3 a {
    color: var(--primary-color);
}

.page-support .channel-item p {
    font-size: 1em;
    color: #BBBBBB;
}

.page-support .email-link, .page-support .phone-link, .page-support .social-link {
    color: var(--primary-color);
    font-weight: bold;
}

/* FAQ Section */
.page-support .section-faq {
    background-color: var(--dark-bg);
}

.page-support .faq-list {
    margin-top: 40px;
}

.page-support .faq-item {
    margin-bottom: 15px;
    border: 1px solid #3A3A3A;
    border-radius: 8px;
    background-color: #2A2A2A;
    overflow: hidden;
}

.page-support .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #333333;
    cursor: pointer;
    transition: background-color 0.3s ease;
    color: var(--light-text);
}

.page-support .faq-question:hover {
    background: #444444;
}

.page-support .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

.page-support .faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-support .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

.page-support .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #2A2A2A;
    color: #CCCCCC;
}

.page-support .faq-item.active .faq-answer {
    max-height: 500px; /* Đủ cao để chứa nội dung */
    padding: 15px 25px 25px 25px;
}

.page-support .faq-answer p {
    margin-bottom: 10px;
}

/* Section Guides */
.page-support .section-guides .guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-support .guide-item {
    background-color: #2A2A2A;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3A3A3A;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support .guide-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-support .guide-item .guide-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 8px;
    filter: brightness(1.1);
}

.page-support .guide-item h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-support .guide-item h3 a {
    color: var(--primary-color);
}

.page-support .guide-item p {
    font-size: 0.95em;
    color: #BBBBBB;
}

/* Section Contact */
.page-support .section-contact {
    background-color: #222222;
}

.page-support .contact-form-wrapper {
    max-width: 700px;
    margin: 40px auto 0 auto;
    background-color: #2A2A2A;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid #3A3A3A;
}

.page-support .contact-form .form-group {
    margin-bottom: 20px;
}

.page-support .contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1em;
}

.page-support .contact-form input[type="text"],
.page-support .contact-form input[type="email"],
.page-support .contact-form textarea {
    width: calc(100% - 20px);
    padding: 12px;
    border: 1px solid #555555;
    border-radius: 5px;
    background-color: #3A3A3A;
    color: var(--light-text);
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-support .contact-form input::placeholder,
.page-support .contact-form textarea::placeholder {
    color: #888888;
}

.page-support .contact-form input:focus,
.page-support .contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
    outline: none;
}

.page-support .contact-form textarea {
    resize: vertical;
}

.page-support .submit-button {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background: var(--secondary-color);
    color: var(--light-text);
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-support .submit-button:hover {
    background: var(--primary-color);
    color: var(--dark-text);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.page-support .contact-note {
    text-align: center;
    margin-top: 25px;
    font-style: italic;
    color: #AAAAAA;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-support .hero-content h1 {
        font-size: 2.8em;
    }
    .page-support .hero-content p {
        font-size: 1.1em;
    }
    .page-support h2 {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-support .hero-section {
        padding: 40px 15px;
    }
    .page-support .hero-image img {
        border-radius: 8px;
    }
    .page-support .hero-content h1 {
        font-size: 2.2em;
    }
    .page-support .hero-content p {
        font-size: 1em;
    }
    .page-support .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-support section {
        padding: 40px 0;
    }
    .page-support h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-support h3 {
        font-size: 1.5em;
    }
    .page-support p {
        font-size: 0.95em;
    }
    .page-support .channel-grid, .page-support .guides-grid {
        grid-template-columns: 1fr;
    }
    .page-support .faq-question {
        padding: 15px 20px;
    }
    .page-support .faq-question h3 {
        font-size: 1.1em;
    }
    .page-support .faq-toggle {
        font-size: 1.5em;
    }
    .page-support .faq-answer {
        padding: 0 20px;
    }
    .page-support .faq-item.active .faq-answer {
        padding: 15px 20px 20px 20px;
    }
    .page-support .contact-form-wrapper {
        padding: 30px 20px;
    }
    .page-support .contact-form input[type="text"],
    .page-support .contact-form input[type="email"],
    .page-support .contact-form textarea {
        width: calc(100% - 16px);
        padding: 10px;
    }
    .page-support .submit-button {
        padding: 12px 15px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-support .hero-content h1 {
        font-size: 1.8em;
    }
    .page-support .hero-content p {
        font-size: 0.9em;
    }
    .page-support .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-support h2 {
        font-size: 1.6em;
    }
    .page-support h3 {
        font-size: 1.3em;
    }
    .page-support .channel-item, .page-support .guide-item {
        padding: 20px;
    }
    .page-support .channel-item .channel-icon {
        width: 80px;
        height: 80px;
    }
    .page-support .guide-item .guide-icon {
        width: 100px;
        height: 100px;
    }
    .page-support .faq-question {
        padding: 12px 15px;
    }
    .page-support .faq-question h3 {
        font-size: 1em;
    }
    .page-support .faq-toggle {
        font-size: 1.3em;
    }
}