/* style/contact.css */

/* Base styles for the page-contact scope */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #121212; /* Inherited from body, but good to reinforce */
}

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    padding: 120px 0 60px; /* Adjust for header offset on desktop */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #26A9E0; /* Brand primary color for hero background */
    color: #ffffff;
    min-height: 600px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3; /* Make background image subtle */
    filter: none; /* No CSS filters */
}

.page-contact__hero-section .page-contact__container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-contact__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-contact__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* General Section Styling */
.page-contact__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for titles on light background */
}

.page-contact__section-title--white {
    color: #ffffff; /* White for titles on dark background */
}

.page-contact__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #666666; /* Dark grey for descriptions on light background */
}

.page-contact__section-description--white {
    color: #f0f0f0; /* Light grey for descriptions on dark background */
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
    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, border-color 0.3s ease;
    box-sizing: border-box; /* Ensure padding is included in width */
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow word breaking */
}

.page-contact__btn-primary {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-contact__btn-primary:hover {
    background-color: #1a7bb7;
    border-color: #1a7bb7;
}

.page-contact__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-contact__btn-secondary:hover {
    background-color: #ffffff;
    color: #26A9E0;
}

/* Card styles */
.page-contact__card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark backgrounds */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #ffffff; /* White text for card on dark background */
}

.page-contact__card--brand-bg {
    background-color: #26A9E0; /* Brand color for card background */
    color: #ffffff;
}

/* Why Contact Section */
.page-contact__why-contact-section {
    padding: 80px 0;
    background-color: #ffffff; /* Light background for this section */
    color: #333333; /* Dark text for light background */
}

.page-contact__why-contact-section .page-contact__section-description {
    color: #666666;
}

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

.page-contact__reason-item {
    background-color: #f8f8f8; /* Lighter background for reasons */
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-contact__reason-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-contact__reason-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-contact__reason-text {
    font-size: 1em;
    color: #555555;
}

/* Contact Methods Section */
.page-contact__methods-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Dark background */
    color: #ffffff;
}

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

.page-contact__method-item {
    padding: 40px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%; /* Ensure cards are same height */
}

.page-contact__method-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    /* Ensure no filters are applied */
    filter: none;
}

.page-contact__method-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-contact__method-text {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 25px;
    flex-grow: 1; /* Push button to bottom */
}

.page-contact__method-button {
    margin-top: auto; /* Push button to bottom */
}

.page-contact__email-link,
.page-contact__phone-link {
    color: #ffffff;
    text-decoration: underline;
}
.page-contact__email-link:hover,
.page-contact__phone-link:hover {
    color: #f0f0f0;
}

/* Contact Form Section */
.page-contact__form-section {
    padding: 80px 0;
    background-color: #ffffff;
    color: #333333;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 50px auto 0;
    background-color: #f8f8f8;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-contact__form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333333;
}

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

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

.page-contact__form-textarea {
    resize: vertical;
}

.page-contact__form-submit {
    width: auto;
    cursor: pointer;
    font-size: 1.1em;
    padding: 15px 40px;
}