/* style/contact.css */

/* Variables for consistency */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1A1A1A; /* Dark Grey */
    --text-light: #F0F0F0;
    --text-dark: #333333;
    --background-light: #FFFFFF;
    --background-dark: #222222;
    --accent-color: #E0B000; /* Slightly darker gold for hover/active */
    --border-color: #E0E0E0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.3);
}

.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

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

/* Headings */
.page-contact h1,
.page-contact h2,
.page-contact h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-contact h1 {
    font-size: 2.8em;
    text-align: center;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px var(--secondary-color);
}

.page-contact h2 {
    font-size: 2.2em;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.page-contact h3 {
    font-size: 1.6em;
    color: var(--secondary-color);
}

/* Paragraphs */
.page-contact p {
    margin-bottom: 1em;
    font-size: 1.1em;
    color: var(--text-dark);
}

/* Links */
.page-contact a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-contact a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Buttons */
.page-contact-button,
.page-contact-button-large {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: var(--secondary-color); /* Dark text on gold button for contrast */
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-contact-button:hover,
.page-contact-button-large:hover {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px var(--shadow-dark);
}

.page-contact-button-large {
    padding: 18px 40px;
    font-size: 1.3em;
    margin-top: 20px;
}

/* Sections */
.page-contact-intro,
.page-contact-channels,
.page-contact-why-us,
.page-contact-faq,
.page-contact-form-section,
.page-contact-cta {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-contact-intro {
    background: linear-gradient(135deg, var(--secondary-color), #000000); /* Dark background for intro */
    color: var(--text-light);
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-contact-intro h1 {
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact-intro p {
    color: var(--text-light);
    text-align: center;
    max-width: 900px;
    margin: 20px auto;
}

.page-contact-hero-image {
    margin: 40px auto;
    max-width: 1000px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px var(--shadow-dark);
}

.page-contact-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* No filter allowed */
}

.page-contact-channels {
    background-color: #F8F8F8; /* Light background for channels */
}

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

.page-contact-channel-item {
    background-color: var(--background-light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact-channel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-dark);
}

.page-contact-channel-item img {
    width: 250px; /* Minimum width for content images */
    height: auto; /* Maintain aspect ratio */
    max-width: 100%;
    object-fit: cover;
    margin: 0 auto 20px auto;
    display: block;
    border-radius: 5px;
}

.page-contact-channel-item h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 15px;
}

.page-contact-channel-item p {
    font-size: 1em;
    color: var(--text-dark);
}

.page-contact-why-us {
    background-color: var(--background-dark); /* Dark background for why us */
    color: var(--text-light);
}

.page-contact-why-us h2 {
    color: var(--primary-color);
}

.page-contact-why-us h3 {
    color: var(--primary-color);
}

.page-contact-why-us p {
    color: var(--text-light);
}

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

.page-contact-why-item {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px var(--shadow-dark);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact-why-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-dark);
}

.page-contact-why-item img {
    width: 250px; /* Example size for content images */
    height: auto;
    max-width: 100%;
    object-fit: cover;
    margin: 0 auto 20px auto;
    display: block;
    border-radius: 8px;
    /* No filter allowed */
}

/* FAQ Section */
.page-contact-faq {
    background-color: #F8F8F8;
}

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

.page-contact .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.page-contact .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--background-light);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-contact .faq-question:hover {
    background: #f0f0f0;
}

.page-contact .faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: var(--secondary-color);
}

.page-contact .faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    line-height: 1; /* Align + - better */
}

.page-contact .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--accent-color);
}

.page-contact .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #f9f9f9;
    color: var(--text-dark);
}

.page-contact .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
}

.page-contact .faq-answer p {
    margin-bottom: 0;
    font-size: 1em;
}

/* Contact Form */
.page-contact-form-section {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-contact-form-section h2,
.page-contact-form-section p {
    color: var(--text-light);
}

.page-contact-form {
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px var(--shadow-dark);
    margin-top: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-contact-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1em;
}

.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 #555;
    border-radius: 5px;
    background-color: #333;
    color: var(--text-light);
    font-size: 1em;
}

.page-contact-form-group input::placeholder,
.page-contact-form-group textarea::placeholder {
    color: #999;
}

.page-contact-form-group input:focus,
.page-contact-form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.4);
}

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

.page-contact-form .page-contact-button {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    margin-top: 10px;
}

.page-contact-form-note {
    text-align: center;
    margin-top: 25px;
    font-size: 0.95em;
    color: #AAAAAA;
}

/* CTA Section */
.page-contact-cta {
    text-align: center;
    background-color: var(--primary-color); /* Gold background for strong CTA */
    color: var(--secondary-color); /* Dark text on gold */
    padding: 80px 0;
}

.page-contact-cta h2 {
    color: var(--secondary-color);
}

.page-contact-cta p {
    color: var(--secondary-color);
    max-width: 800px;
    margin: 20px auto 30px auto;
}

.page-contact-cta .page-contact-button-large {
    background-color: var(--secondary-color); /* Dark button on gold background */
    color: var(--primary-color); /* Gold text on dark button */
}

.page-contact-cta .page-contact-button-large:hover {
    background-color: #000000; /* Even darker on hover */
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-contact h1 {
        font-size: 2.4em;
    }
    .page-contact h2 {
        font-size: 1.8em;
    }
    .page-contact h3 {
        font-size: 1.4em;
    }
    .page-contact-channel-grid,
    .page-contact-why-grid {
        grid-template-columns: 1fr;
    }
    .page-contact-container {
        padding: 15px;
    }
    .page-contact-intro,
    .page-contact-channels,
    .page-contact-why-us,
    .page-contact-faq,
    .page-contact-form-section,
    .page-contact-cta {
        padding: 40px 0;
    }
    .page-contact-channel-item,
    .page-contact-why-item {
        padding: 25px;
    }
    .page-contact-form {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-contact h1 {
        font-size: 2em;
    }
    .page-contact h2 {
        font-size: 1.6em;
    }
    .page-contact h3 {
        font-size: 1.2em;
    }
    .page-contact p {
        font-size: 1em;
    }
    .page-contact-button,
    .page-contact-button-large {
        width: 100%;
        margin-top: 15px;
    }
    .page-contact-button-large {
        font-size: 1.1em;
        padding: 15px 30px;
    }
    .page-contact .faq-question {
        padding: 15px 20px;
    }
    .page-contact .faq-question h3 {
        font-size: 1.1em;
    }
    .page-contact .faq-toggle {
        font-size: 1.5em;
    }
    .page-contact .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-contact h1 {
        font-size: 1.8em;
    }
    .page-contact h2 {
        font-size: 1.4em;
    }
    .page-contact h3 {
        font-size: 1.1em;
    }
    .page-contact-intro,
    .page-contact-channels,
    .page-contact-why-us,
    .page-contact-faq,
    .page-contact-form-section,
    .page-contact-cta {
        padding: 30px 0;
    }
    .page-contact-form {
        padding: 20px;
    }
    .page-contact-channel-item img,
    .page-contact-why-item img {
        width: 200px; /* Ensure minimum size is met */
    }
}