/* style/contact.css */

/* --- Base Styles & Typography --- */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Default text color from custom palette */
    background-color: #0A0A0A; /* Default background color from custom palette */
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-contact__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #FFF6D6;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-contact__section-description {
    font-size: 1.1em;
    color: rgba(255, 246, 214, 0.8); /* Slightly muted text-main for description */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-contact p {
    color: #FFF6D6;
}

/* --- Hero Section --- */
.page-contact__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image above text on smaller screens */
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.page-contact__hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
}

.page-contact__main-title {
    font-size: clamp(2em, 4vw, 3.2em);
    font-weight: 700;
    color: #FFF6D6;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-contact__intro-text {
    font-size: 1.2em;
    color: rgba(255, 246, 214, 0.9);
    margin-bottom: 30px;
}

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

.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-contact__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-contact__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-contact__btn-secondary {
    background: transparent;
    color: #FFF6D6;
    border: 2px solid #3A2A12;
}

.page-contact__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #FFD36B;
    transform: translateY(-2px);
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-width: 1000px;
    margin-top: 40px;
    text-align: center;
}

.page-contact__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

/* --- Contact Methods Section --- */
.page-contact__contact-methods {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 20px;
    text-align: center;
}

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

.page-contact__method-card {
    background: #111111;
    border: 1px solid #3A2A12;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 211, 107, 0.2);
}

.page-contact__method-icon {
    width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px rgba(255, 211, 107, 0.5));
}

.page-contact__method-title {
    font-size: 1.8em;
    color: #FFD36B;
    margin-bottom: 15px;
}

.page-contact__method-text {
    font-size: 1em;
    color: rgba(255, 246, 214, 0.7);
    margin-bottom: 25px;
    flex-grow: 1;
}

/* --- FAQ Section --- */
.page-contact__faq-section {
    max-width: 1000px;
    margin: 60px auto;
    padding: 40px 20px;
}

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

.page-contact__faq-item {
    background: #111111;
    border: 1px solid #3A2A12;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.page-contact__faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

.page-contact__faq-question h3 {
    font-size: 1.2em;
    color: #FFF6D6;
    margin: 0;
}

.page-contact__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #FFD36B;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
    transform: rotate(45deg);
}

.page-contact__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-answer {
    max-height: 1000px !important;
    padding: 15px 25px 25px;
}

.page-contact__faq-answer p {
    font-size: 1em;
    color: rgba(255, 246, 214, 0.7);
    margin: 0;
}

/* --- Support Philosophy Section --- */
.page-contact__support-philosophy {
    max-width: 1200px;
    margin: 60px auto 80px;
    padding: 40px 20px;
    text-align: center;
}

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

.page-contact__commitment-item {
    background: #111111;
    border: 1px solid #3A2A12;
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__commitment-item h3 {
    font-size: 1.4em;
    color: #FFD36B;
    margin-bottom: 10px;
}

.page-contact__commitment-item p {
    font-size: 1em;
    color: rgba(255, 246, 214, 0.7);
}

.page-contact__cta-bottom {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(90deg, #111111, rgba(242, 193, 78, 0.1), #111111);
    border-radius: 15px;
    border: 1px solid #3A2A12;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.page-contact__cta-text {
    font-size: 1.5em;
    color: #FFF6D6;
    font-weight: bold;
    margin: 0;
}

/* --- Responsive Adjustments --- */
@media (min-width: 769px) {
    .page-contact__hero-section {
        flex-direction: row;
        text-align: left;
    }
    .page-contact__hero-content {
        text-align: left;
        padding-right: 40px;
    }
    .page-contact__hero-image-wrapper {
        margin-top: 0;
        min-width: 500px;
    }
    .page-contact__cta-buttons {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .page-contact__section-title {
        font-size: 2em;
    }

    .page-contact__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-contact__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

    .page-contact__intro-text {
        font-size: 1em;
    }

    /* Images */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    /* Containers */
    .page-contact__hero-section,
    .page-contact__contact-methods,
    .page-contact__faq-section,
    .page-contact__support-philosophy,
    .page-contact__cta-bottom,
    .page-contact__method-card,
    .page-contact__faq-item,
    .page-contact__commitment-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Buttons */
    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-contact__btn-primary,
    .page-contact__btn-secondary {
        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;
    }

    .page-contact__methods-grid,
    .page-contact__commitment-points {
        grid-template-columns: 1fr;
    }

    .page-contact__method-icon {
        min-width: 200px;
        min-height: 150px;
    }

    /* FAQ */
    .page-contact__faq-question h3 {
        font-size: 1.1em;
    }
    .page-contact__faq-question {
        padding: 15px 20px;
    }
    .page-contact__faq-answer {
        padding: 0 20px;
    }
    .page-contact__faq-item.active .page-contact__faq-answer {
        padding: 10px 20px 20px;
    }
}