/* style/contact.css */

/* Base styles for the page */
.page-contact {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
    line-height: 1.6;
}

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

/* Color Contrast Classes */
.page-contact__dark-bg {
    color: #F2FFF6; /* Text Main */
    background: #11271B; /* Card BG */
}

/* Hero Section */
.page-contact__hero-section {
    padding-top: 0; /* Handled by body padding-top */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    margin-bottom: 40px;
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height for aspect ratio */
    overflow: hidden;
    position: relative;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-contact__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    position: relative;
    z-index: 1;
    background-color: rgba(17, 39, 27, 0.9); /* Card BG with slight transparency */
    border-radius: 12px;
    margin-top: -80px; /* Pull up slightly over the image for visual flow */
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    border: 1px solid #2E7A4E; /* Border */
}

.page-contact__main-title {
    font-size: clamp(2.2em, 4vw, 3.2em);
    font-weight: 700;
    line-height: 1.2;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
}

.page-contact__hero-description {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-contact__btn-primary {
    display: inline-block;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.page-contact__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
}

.page-contact__btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #2AD16F; /* Main color for text */
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease, transform 0.2s ease;
    border: 2px solid #2AD16F; /* Border */
    cursor: pointer;
}
.page-contact__btn-secondary:hover {
    background-color: #2AD16F; /* Main color for background */
    color: #ffffff;
    transform: translateY(-2px);
}

/* Section General Styling */
.page-contact__section-title {
    font-size: clamp(2em, 3.5vw, 2.8em);
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-contact__section-description {
    font-size: 1.05em;
    color: #A7D9B8; /* Text Secondary */
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
}

/* Contact Methods Section */
.page-contact__methods-section {
    padding: 80px 0;
    background-color: #08160F; /* Background */
    margin-bottom: 40px;
}

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

.page-contact__method-card {
    background-color: #11271B; /* Card BG */
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    border: 1px solid #2E7A4E; /* Border */
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #F2FFF6; /* Text Main */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.page-contact__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.page-contact__method-icon {
    width: 100%;
    max-width: 120px; /* Adjusted size for icons */
    height: auto;
    margin-bottom: 25px;
    object-fit: contain;
}

.page-contact__method-title {
    font-size: 1.6em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-contact__method-text {
    font-size: 0.95em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    flex-grow: 1;
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 80px 0;
    margin-bottom: 40px;
    background-color: #08160F; /* Background */
}

.page-contact__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-contact__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #F2FFF6; /* Text Main */
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-weight: 600;
    font-size: 1.15em;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    background-color: #0A4B2C; /* Deep Green */
    user-select: none;
    list-style: none; /* For details/summary */
    transition: background-color 0.3s ease;
}
.page-contact__faq-question:hover {
    background-color: #1E3A2A; /* Slightly lighter Deep Green on hover */
}

.page-contact__faq-question::-webkit-details-marker {
    display: none;
}

.page-contact__faq-question .page-contact__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: #2AD16F; /* Main color */
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
    transform: rotate(45deg); /* Rotate + to X when open */
}

.page-contact__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.7;
}

.page-contact__faq-answer p {
    margin-bottom: 15px;
}

.page-contact__link-text {
    color: #57E38D; /* Glow color for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}
.page-contact__link-text:hover {
    color: #2AD16F; /* Main color on hover */
}

/* Inquiry Form Section */
.page-contact__form-section {
    padding: 80px 0;
    background-color: #08160F; /* Background */
    margin-bottom: 40px;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 40px auto 0;
    background-color: #11271B; /* Card BG */
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    border: 1px solid #2E7A4E; /* Border */
}

.page-contact__form-group {
    margin-bottom: 20px;
}

.page-contact__form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    font-size: 1.05em;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    background-color: #0A4B2C; /* Deep Green */
    color: #F2FFF6; /* Text Main */
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: #A7D9B8;
    opacity: 0.8;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #2AD16F; /* Main color */
    outline: none;
    box-shadow: 0 0 0 4px rgba(42, 209, 111, 0.3);
}

.page-contact__contact-form .page-contact__btn-primary {
    width: auto;
    padding: 14px 35px;
    font-size: 1.1em;
    margin-top: 10px;
}

/* Call to Action Section */
.page-contact__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #0A4B2C; /* Deep Green */
}

.page-contact__cta-title {
    font-size: clamp(2em, 3.5vw, 2.8em);
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: 700;
}

.page-contact__cta-description {
    font-size: 1.05em;
    color: #A7D9B8; /* Text Secondary */
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-contact__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.65;
    }

    .page-contact__container {
        padding: 0 15px;
    }

    .page-contact__hero-section {
        padding-top: 0 !important; /* Ensure no extra padding from header */
        margin-bottom: 30px;
    }

    .page-contact__hero-content {
        padding: 30px 15px;
        margin-top: -60px; /* Adjust for mobile */
        border-radius: 10px;
    }

    .page-contact__main-title {
        font-size: 2em;
        margin-bottom: 10px;
    }

    .page-contact__hero-description {
        font-size: 0.95em;
        margin-bottom: 25px;
    }

    .page-contact__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-contact__section-description {
        font-size: 0.9em;
        margin-bottom: 25px;
    }

    /* LOGO carousel (if present, example from prompt) */
    /* .page-contact__logo-carousel-section { padding: 50px 15px 20px; } */
    /* .page-contact__logo-item {
        width: 80px !important;
        height: 80px !important;
        max-width: 80px !important;
        box-sizing: border-box;
    } */

    /* Generic image rules for content area */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    /* Game display thumbnails (if present, example from prompt) */
    /* .page-contact__game-card-image img,
    .page-contact__featured-game-image img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    } */

    /* Button and button container rules */
    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact a[class*="button"],
    .page-contact a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        font-size: 1em;
    }

    .page-contact__cta-buttons,
    .page-contact__button-group,
    .page-contact__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px;
    }

    .page-contact__methods-section,
    .page-contact__faq-section,
    .page-contact__form-section,
    .page-contact__cta-section {
        padding: 50px 0;
    }

    .page-contact__methods-grid {
        grid-template-columns: 1fr; /* Stack contact cards */
        gap: 20px;
    }

    .page-contact__method-card {
        padding: 25px;
    }

    .page-contact__method-icon {
        max-width: 100px;
        margin-bottom: 20px;
    }

    .page-contact__method-title {
        font-size: 1.4em;
    }

    .page-contact__faq-question {
        font-size: 1em;
        padding: 15px;
    }

    .page-contact__faq-answer {
        padding: 0 15px 15px;
    }

    .page-contact__contact-form {
        padding: 30px 20px;
        border-radius: 10px;
    }

    .page-contact__form-label {
        font-size: 1em;
        margin-bottom: 8px;
    }

    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 12px 15px;
    }

    .page-contact__contact-form .page-contact__btn-primary {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-contact__cta-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-contact__cta-description {
        font-size: 0.95em;
        margin-bottom: 25px;
    }
}