/* style/support.css */

/* Variables for colors */
:root {
    --primary-color: #007bff; /* Deep blue */
    --secondary-color: #ffc107; /* Bright gold */
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f8f9fa;
    --background-alt: #f0f4f8;
    --background-dark: #212529;
    --border-color: #e0e0e0;
}

/* Base styles for the page-support container */
.page-support {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

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

.page-support .section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-support .section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #555555;
}

/* Hero Section */
.page-support .hero-support-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, var(--primary-color) 0%, #0056b3 100%);
    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;
}

.page-support .hero-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
}

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

.page-support .hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--text-light);
    font-weight: bold;
    line-height: 1.2;
}

.page-support .hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

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

.page-support .cta-button:hover {
    background: #e6b000;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Contact Methods Section */
.page-support .contact-methods-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.page-support .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-support .contact-card {
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support .contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-support .contact-icon {
    width: 250px; /* Minimum 200px */
    height: 150px; /* Minimum 200px */
    max-width: 100%; /* Ensure responsiveness */
    object-fit: contain;
    margin: 0 auto 20px auto; /* Center image in card */
    display: block;
}

.page-support .card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-support .card-text {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
}

.page-support .contact-button {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.95em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.page-support .contact-button:hover {
    background: #0056b3;
}

/* FAQ Section */
.page-support .faq-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.page-support .faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-support .faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

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

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

.page-support .faq-question h3 {
    font-size: 1.2em;
    color: var(--primary-color);
    margin: 0;
    flex-grow: 1;
    text-align: left;
    line-height: 1.4;
}

.page-support .faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
    user-select: none; /* Prevent text selection */
}

.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: #fcfcfc;
}

.page-support .faq-item.active .faq-answer {
    max-height: 600px; /* Sufficient height to contain expanded content */
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
}

.page-support .faq-answer p {
    margin-bottom: 15px;
    color: #444444;
}

.page-support .faq-button {
    display: inline-block;
    padding: 8px 20px;
    background: var(--secondary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    cursor: pointer;
}

.page-support .faq-button:hover {
    background: #e6b000;
}


/* Guides Section */
.page-support .guides-section {
    padding: 80px 0;
    background-color: var(--background-alt);
}

.page-support .guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-support .guide-card {
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support .guide-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-support .guide-icon {
    width: 250px; /* Minimum 200px */
    height: 150px; /* Minimum 200px */
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto 20px auto;
    display: block;
}

.page-support .guide-card .card-title {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

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

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

/* Responsible Gaming Section */
.page-support .responsible-gaming-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.page-support .responsible-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-support .responsible-item {
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
}

.page-support .feature-icon {
    width: 250px; /* Minimum 200px */
    height: 150px; /* Minimum 200px */
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto 20px auto;
    display: block;
}

.page-support .feature-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-support .feature-text {
    color: #666666;
}

/* Call to Action Section */
.page-support .call-to-action-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0056b3 0%, var(--primary-color) 100%);
    text-align: center;
    color: var(--text-light);
}

.page-support .call-to-action-section .section-title {
    color: var(--text-light);
}

.page-support .call-to-action-section .section-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

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

.page-support .cta-button.primary {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.page-support .cta-button.secondary {
    background: none;
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.page-support .cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-support .hero-title {
        font-size: 2.5em;
    }
    .page-support .hero-description {
        font-size: 1.1em;
    }
    .page-support .section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-support .hero-support-section {
        padding: 40px 15px;
    }
    .page-support .hero-image {
        max-height: 350px;
        margin-bottom: 20px;
    }
    .page-support .hero-title {
        font-size: 2em;
    }
    .page-support .hero-description {
        font-size: 1em;
    }
    .page-support .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-support .contact-methods-section,
    .page-support .faq-section,
    .page-support .guides-section,
    .page-support .responsible-gaming-section,
    .page-support .call-to-action-section {
        padding: 60px 0;
    }
    .page-support .section-description {
        margin-bottom: 30px;
    }
    .page-support .faq-question {
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    .page-support .faq-question h3 {
        font-size: 1.1em;
        margin-bottom: 8px;
    }
    .page-support .faq-toggle {
        align-self: flex-end;
        margin-top: -30px;
        margin-right: 0;
    }
    .page-support .faq-answer {
        padding: 0 20px;
    }
    .page-support .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
    .page-support .contact-grid,
    .page-support .guide-grid,
    .page-support .responsible-content {
        grid-template-columns: 1fr;
    }
    .page-support .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-support .contact-icon,
    .page-support .guide-icon,
    .page-support .feature-icon {
        width: 100%; /* Full width for mobile cards */
        height: auto; /* Auto height to maintain aspect ratio */
        max-height: 200px; /* Cap max height for smaller screens */
    }
}

@media (max-width: 480px) {
    .page-support .hero-title {
        font-size: 1.8em;
    }
    .page-support .hero-image {
        max-height: 250px;
    }
    .page-support .section-title {
        font-size: 1.8em;
    }
    .page-support .faq-question h3 {
        font-size: 1em;
    }
    .page-support .faq-toggle {
        font-size: 1.5em;
    }
}