/* style/contact.css */

.page-contact {
    color: #ffffff; /* Light text on dark body background */
    background-color: transparent; /* Inherit from body */
    padding-top: var(--header-offset, 120px); /* Space for fixed header */
}

.page-contact__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background-color: #1A1A1A; /* Dark background for hero */
    position: relative;
    overflow: hidden;
    min-height: 400px; /* Ensure hero section has a minimum height */
}

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

.page-contact__hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-contact__hero-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.page-contact__hero-description {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-contact__cta-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A1A1A;
    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;
    border: none;
    cursor: pointer;
}

.page-contact__cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

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

.page-contact__section-title {
    font-size: 2.2em;
    color: #FFD700;
    margin-bottom: 40px;
    font-weight: 600;
}

.page-contact__section-description {
    font-size: 1.1em;
    color: #cccccc;
    margin-bottom: 40px;
    line-height: 1.6;
}

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

.page-contact__channel-card {
    background-color: #1A1A1A;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-contact__channel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-contact__channel-icon {
    width: 250px; /* Min size 200px, 250px is good */
    height: 187px; /* Maintain aspect ratio for 4:3 (250/1.33 = 187.9) */
    object-fit: cover;
    margin-bottom: 25px;
    border-radius: 8px;
    border: 2px solid #FFD700;
}

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

.page-contact__card-description {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 25px;
    line-height: 1.5;
}

.page-contact__email-address, .page-contact__phone-number {
    color: #FFD700;
    font-weight: bold;
}

.page-contact__card-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A1A1A;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.page-contact__faq-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.page-contact__faq-content {
    flex: 1;
    text-align: left;
}

.page-contact__faq-image {
    flex: 1;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Ensure min size */
}

.page-contact__faq-button {
    display: inline-block;
    background-color: #1A1A1A;
    color: #FFD700;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    border: 2px solid #FFD700;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    margin-top: 30px;
}

.page-contact__faq-button:hover {
    background-color: #FFD700;
    color: #1A1A1A;
}

.page-contact__form-section {
    max-width: 800px;
    margin: 80px auto;
    padding: 40px 20px;
    background-color: #1A1A1A;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.page-contact__contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    text-align: left;
}

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

.page-contact__form-label {
    display: block;
    font-size: 1em;
    color: #FFD700;
    margin-bottom: 8px;
    font-weight: 500;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #FFD700;
    border-radius: 8px;
    background-color: #0d0d0d;
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #e6c200;
    outline: none;
}

.page-contact__submit-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A1A1A;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: auto;
    align-self: center;
}

.page-contact__submit-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-contact {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }

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

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

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

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

    .page-contact__faq-section {
        flex-direction: column;
        gap: 30px;
    }

    .page-contact__faq-content,
    .page-contact__faq-image {
        flex: none;
        width: 100%;
    }

    /* Ensure all images within .page-contact are responsive and not smaller than 200px */
    .page-contact img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure images are not too small */
        min-height: 200px; /* Ensure images are not too small */
        object-fit: cover;
    }
    .page-contact__channel-icon {
        width: 250px;
        height: auto; /* Allow height to adjust based on max-width: 100% */
        max-width: 100%;
    }
    .page-contact__faq-image {
        width: 100%;
        height: auto;
    }
    .page-contact__hero-image {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-section {
        padding: 40px 15px;
    }

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

    .page-contact__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

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

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

    .page-contact__card-title {
        font-size: 1.5em;
    }

    .page-contact__card-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .page-contact__form-section {
        padding: 30px 15px;
    }

    .page-contact__submit-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    /* Ensure all images within .page-contact are responsive and not smaller than 200px */
    .page-contact img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure images are not too small */
        min-height: 200px; /* Ensure images are not too small */
        object-fit: cover;
    }
}