/* style/contact.css */

/* Base styles for the contact page content */
.page-contact {
    color: #333333; /* Dark text for light body background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #FFFFFF; /* Ensures consistency with body background */
}

/* Header offset to prevent content from being hidden by fixed header */
.page-contact__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply offset to the first visible section */
    padding-bottom: 60px;
    background-color: #000000; /* Main brand color for hero background */
    color: #FFFFFF; /* Light text for dark hero background */
    text-align: center;
    position: relative;
    overflow: hidden; /* For hero image positioning */
}

.page-contact__hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2; /* Ensure text is above image overlay */
    padding: 0 20px;
}

.page-contact__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FCBC45; /* Highlight color for title */
    font-weight: bold;
    line-height: 1.2;
}

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

.page-contact__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-contact__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-contact__button--primary {
    background-color: #FCBC45; /* Login color */
    color: #000000;
}

.page-contact__button--primary:hover {
    background-color: #e0a53b;
}

.page-contact__button--secondary {
    background-color: #FFFFFF; /* Register color */
    color: #000000;
}

.page-contact__button--secondary:hover {
    background-color: #f0f0f0;
}

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

.page-contact__channels-section,
.page-contact__form-section,
.page-contact__quick-links-section {
    padding: 60px 20px;
    background-color: #FFFFFF; /* Light background for content sections */
    text-align: center;
}

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

.page-contact__section-title {
    font-size: 2.5em;
    color: #000000;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__section-description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-contact__channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.page-contact__channel-icon {
    width: 200px; /* Enforced minimum size */
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.1));
}

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

.page-contact__channel-text {
    font-size: 1em;
    color: #666666;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-contact__button--card {
    background-color: #000000;
    color: #FFFFFF;
    padding: 12px 25px;
    font-size: 1em;
    border-radius: 6px;
}

.page-contact__button--card:hover {
    background-color: #333333;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
    background-color: #F8F8F8;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.page-contact__form-label {
    display: block;
    font-size: 1.1em;
    color: #000000;
    margin-bottom: 8px;
    font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #CCCCCC;
    border-radius: 6px;
    font-size: 1em;
    color: #333333;
    background-color: #FFFFFF;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #FCBC45;
    box-shadow: 0 0 0 3px rgba(252, 188, 69, 0.2);
    outline: none;
}

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

.page-contact__button--submit {
    width: 100%;
    background-color: #FCBC45;
    color: #000000;
    padding: 15px 20px;
    font-size: 1.2em;
    border-radius: 8px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-contact__button--submit:hover {
    background-color: #e0a53b;
}

.page-contact__quick-links-section {
    background-color: #000000; /* Dark background */
    color: #FFFFFF; /* Light text */
    padding-bottom: 80px;
}

.page-contact__quick-links-section .page-contact__section-title {
    color: #FFFFFF;
}

.page-contact__quick-links-section .page-contact__section-description {
    color: #CCCCCC;
}

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

.page-contact__quick-link-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 25px;
    text-decoration: none;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__quick-link-card:hover {
    background-color: #333333;
    transform: translateY(-3px);
}

.page-contact__quick-link-icon {
    width: 200px; /* Enforced minimum size */
    height: auto;
    margin-bottom: 15px;
}

.page-contact__quick-link-text {
    font-size: 1.1em;
    font-weight: bold;
}


/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 2.8em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    /* Mobile content area images MUST be responsive */
    .page-contact img {
        max-width: 100%;
        height: auto;
    }

    .page-contact__hero-section {
        padding-top: var(--header-offset, 120px); /* Ensure mobile also has offset */
        padding-bottom: 40px;
    }

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

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

    .page-contact__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-contact__button {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }

    .page-contact__channels-section,
    .page-contact__form-section,
    .page-contact__quick-links-section {
        padding: 40px 15px;
    }

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

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

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

    .page-contact__quick-link-icon {
        width: 200px; /* Maintain minimum size for mobile */
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 1.8em;
    }
    .page-contact__section-title {
        font-size: 1.5em;
    }
    .page-contact__button {
        width: 100%;
        max-width: unset;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        width: calc(100% - 24px); /* Account for padding */
        padding: 12px;
    }
    .page-contact__quick-link-card {
        padding: 20px;
    }
    .page-contact__quick-link-icon {
        width: 200px; /* Maintain minimum size for mobile */
    }
}