/* style/contact.css */
.page-contact {
    color: #ffffff; /* Light text for dark body background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
    background-color: #0d1117; /* Consistent with body background */
}

.page-contact__hero-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
    background-color: #1A202C; /* Main brand color for hero background */
    border-bottom: 2px solid #FFD700; /* Accent line */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background effect */
    z-index: 0;
}

.page-contact__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-contact__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Gold accent color for title */
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #1A202C; /* Dark text on gold */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__cta-button:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-2px);
}

.page-contact__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-contact__section-title {
    font-size: 2.5em;
    color: #FFD700;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-contact__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

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

.page-contact__method-card {
    background-color: rgba(26, 32, 44, 0.8); /* Semi-transparent dark background */
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.page-contact__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.page-contact__card-icon {
    margin-bottom: 20px;
}

.page-contact__card-icon img {
    width: 250px; /* Ensure images are large enough */
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

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

.page-contact__card-description {
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-contact__card-link {
    display: inline-block;
    background-color: #FFD700;
    color: #1A202C;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-contact__card-link:hover {
    background-color: #e6c200;
}

.page-contact__form-container {
    background-color: rgba(26, 32, 44, 0.8);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 40px;
    max-width: 700px;
    margin: 40px auto;
    text-align: left;
}

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

.page-contact__form-group label {
    display: block;
    color: #FFD700;
    margin-bottom: 8px;
    font-weight: bold;
}

.page-contact__form-group input[type="text"],
.page-contact__form-group input[type="email"],
.page-contact__form-group textarea {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    font-size: 1em;
}

.page-contact__form-group input::placeholder,
.page-contact__form-group textarea::placeholder {
    color: #aaa;
}

.page-contact__form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.page-contact__form-submit {
    display: block;
    width: 100%;
    background-color: #FFD700;
    color: #1A202C;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-contact__form-submit:hover {
    background-color: #e6c200;
}

.page-contact__social-media-links {
    margin-top: 40px;
}

.page-contact__social-link {
    display: inline-block;
    margin: 0 15px;
    color: #FFD700;
    font-size: 2.5em;
    transition: color 0.3s ease, transform 0.3s ease;
}

.page-contact__social-link:hover {
    color: #e6c200;
    transform: translateY(-3px);
}

.page-contact__faq-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
}

.page-contact__faq-item {
    background-color: rgba(26, 32, 44, 0.8);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-contact__faq-question {
    padding: 20px;
    background-color: #1A202C;
    color: #FFD700;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.page-contact__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-contact__faq-question.active::after {
    content: '-';
    transform: rotate(0deg); /* Change to '-' for active */
}

.page-contact__faq-answer {
    padding: 0 20px;
    color: #f0f0f0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-contact__faq-answer.active {
    padding-bottom: 20px;
}

.page-contact__faq-answer p {
    margin: 0;
}

.page-contact__faq-answer a {
    color: #FFD700;
    text-decoration: none;
}

.page-contact__faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-contact__hero-section {
        padding: 60px 15px;
        min-height: 350px;
    }

    .page-contact__hero-title {
        font-size: 2.5em;
    }

    .page-contact__hero-description {
        font-size: 1em;
    }

    .page-contact__section {
        padding: 40px 15px;
    }

    .page-contact__section-title {
        font-size: 2em;
    }

    .page-contact__contact-methods {
        grid-template-columns: 1fr;
    }

    .page-contact__form-container {
        padding: 25px;
    }

    .page-contact__form-group input[type="text"],
    .page-contact__form-group input[type="email"],
    .page-contact__form-group textarea {
        width: calc(100% - 20px);
    }

    /* Content area image rules for mobile */
    .page-contact img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum size even on mobile */
        min-height: 200px;
    }

    .page-contact__card-icon img {
        width: 100%;
        height: auto;
        max-width: 300px; /* Example max-width for card images on mobile */
        min-height: 200px; /* Maintain minimum size for content images */
    }
}