/* style/contact.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-color-dark-bg: #ffffff;
    --text-color-light-bg: #333333;
    --background-dark: #000000;
    --background-light: #f1f3f5;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
}

.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark-bg); /* Default text color for dark body background */
    background-color: var(--background-dark); /* Ensure consistency with body background */
}

.page-contact__hero-contact-section {
    padding-top: 180px; /* For fixed header on desktop */
    padding-bottom: 60px;
    text-align: center;
    color: var(--text-color-dark-bg);
    background: var(--background-dark);
    position: relative;
    overflow: hidden;
}

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

.page-contact__title {
    font-size: 3.5em;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__image-wrapper {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-contact__form-section {
    padding: 60px 20px;
    background-color: var(--background-dark);
}

.page-contact__card {
    background: var(--card-background);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
    color: var(--text-color-light-bg);
}

.page-contact__sub-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
}

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

.page-contact__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-color-light-bg);
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1em;
    background-color: #f9f9f9;
    color: var(--text-color-light-bg);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
    outline: none;
}

.page-contact__btn-primary {
    display: block;
    width: 100%;
    padding: 15px 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-color-dark-bg);
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-contact__btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-contact__alternative-contact-section {
    padding: 60px 20px;
    background-color: var(--background-dark);
    color: var(--text-color-dark-bg);
}

.page-contact__text-white {
    color: var(--text-color-dark-bg);
}

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

.page-contact__method-card {
    text-align: center;
    padding: 30px;
    color: var(--text-color-light-bg);
}

.page-contact__method-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-contact__method-description {
    font-size: 1em;
    margin-bottom: 20px;
}

.page-contact__contact-detail {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-contact__link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-contact__link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-contact__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--secondary-color);
    color: var(--text-color-dark-bg);
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.page-contact__btn-secondary:hover {
    background: transparent;
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-contact__social-icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-contact__social-link {
    display: inline-block;
    width: 60px; /* Min 200px requirement applies to content images, not small UI icons */
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-contact__social-link:hover {
    transform: translateY(-3px) scale(1.05);
    background-color: var(--secondary-color);
}

.page-contact__social-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: none; /* Ensure no color filters */
}

.page-contact__why-contact-section {
    padding: 60px 20px;
    background-color: var(--background-dark);
    color: var(--text-color-dark-bg);
}

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

.page-contact__content-item {
    text-align: center;
    background: var(--card-background);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    color: var(--text-color-light-bg);
}

.page-contact__content-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    filter: none; /* Ensure no color filters */
    min-width: 200px;
    min-height: 200px;
}

.page-contact__content-heading {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

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

.page-contact__faq-section {
    padding: 60px 20px;
    background-color: var(--background-dark);
    color: var(--text-color-dark-bg);
}

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

.page-contact__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.page-contact__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    background: #f9f9f9;
    color: var(--text-color-light-bg);
}

.page-contact__faq-item.active .page-contact__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
    border-radius: 0 0 8px 8px;
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--text-color-light-bg);
}

.page-contact__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-contact__faq-question:active {
    background: #eeeeee;
}

.page-contact__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-color-light-bg);
}

.page-contact__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--secondary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg); /* Change to X shape for active */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__title {
        font-size: 3em;
    }
    .page-contact__sub-title {
        font-size: 2em;
    }
    .page-contact__method-title {
        font-size: 1.5em;
    }
    .page-contact__content-heading {
        font-size: 1.3em;
    }
    .page-contact__contact-methods, .page-contact__content-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-contact__hero-contact-section {
        padding-top: 140px; /* For fixed header on mobile */
        padding-bottom: 40px;
    }
    .page-contact__title {
        font-size: 2.2em;
    }
    .page-contact__description {
        font-size: 1em;
    }
    .page-contact__form-section, .page-contact__alternative-contact-section, .page-contact__why-contact-section, .page-contact__faq-section {
        padding: 40px 15px;
    }
    .page-contact__card {
        padding: 25px;
    }
    .page-contact__sub-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-contact__btn-primary {
        font-size: 1em;
        padding: 12px 20px;
    }
    .page-contact__contact-methods, .page-contact__content-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__method-card, .page-contact__content-item {
        padding: 25px;
    }
    .page-contact__social-link {
        width: 50px;
        height: 50px;
    }
    .page-contact__social-icon {
        width: 30px;
        height: 30px;
    }
    .page-contact__faq-question {
        padding: 15px;
    }
    .page-contact__faq-question h3 {
        font-size: 1em;
    }
    .page-contact__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    .page-contact__faq-item.active .page-contact__faq-answer {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-contact__title {
        font-size: 1.8em;
    }
    .page-contact__sub-title {
        font-size: 1.5em;
    }
    .page-contact__btn-primary {
        padding: 10px 15px;
    }
}