/* style/contact.css */

/* Variables for colors */
:root {
    --page-contact-primary-color: #0D1B2A; /* Midnight Blue */
    --page-contact-secondary-color: #FFD700; /* Gold */
    --page-contact-text-light: #F5F5F5; /* Light grey for text on dark backgrounds */
    --page-contact-text-dark: #222222; /* Dark grey for text on light backgrounds */
    --page-contact-background-light: #FFFFFF; /* White background */
    --page-contact-background-dark: #1A2A3A; /* Slightly lighter dark background for contrast */
}

.page-contact {
    font-family: 'Arial', sans-serif;
    color: var(--page-contact-text-light); /* Default text color for the main content */
    background-color: var(--page-contact-primary-color);
    line-height: 1.6;
}

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

/* Hero Section */
.page-contact__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 0 40px;
    background: linear-gradient(135deg, var(--page-contact-primary-color) 0%, #2a3d54 100%); /* Gradient background */
    color: var(--page-contact-text-light);
    position: relative;
    overflow: hidden;
}

.page-contact__hero-content {
    max-width: 800px;
    z-index: 1;
}

.page-contact__title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--page-contact-secondary-color); /* Gold for main title */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__description {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.page-contact__hero-image-wrapper {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40%; /* Adjust as needed */
    height: 100%;
    overflow: hidden;
    opacity: 0.3; /* Subtle background image */
    z-index: 0;
    display: none; /* Hidden by default, show on larger screens */
}

.page-contact__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Contact Methods Section */
.page-contact__contact-methods {
    padding: 60px 0;
    background-color: var(--page-contact-background-dark); /* Darker background for this section */
    color: var(--page-contact-text-light);
}

.page-contact__subtitle {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 50px;
    color: var(--page-contact-secondary-color); /* Gold for subtitles */
    font-weight: bold;
}

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

.page-contact__method-card {
    background-color: var(--page-contact-primary-color); /* Primary color for cards */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-contact__method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.page-contact__method-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: invert(80%) sepia(100%) saturate(700%) hue-rotate(10deg) brightness(120%) contrast(100%); /* Gold tint for icons */
}

.page-contact__method-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--page-contact-secondary-color); /* Gold for card titles */
    font-weight: bold;
}

.page-contact__method-text {
    font-size: 1.1em;
    margin-bottom: 25px;
    flex-grow: 1; /* Make text take available space */
    color: var(--page-contact-text-light);
}

.page-contact__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    margin-top: auto; /* Push button to bottom of card */
}

.page-contact__btn--primary {
    background-color: var(--page-contact-secondary-color); /* Gold button */
    color: var(--page-contact-primary-color); /* Dark text on gold */
    border: 2px solid var(--page-contact-secondary-color);
}

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

.page-contact__btn--secondary {
    background-color: transparent;
    color: var(--page-contact-secondary-color); /* Gold text */
    border: 2px solid var(--page-contact-secondary-color);
}

.page-contact__btn--secondary:hover {
    background-color: var(--page-contact-secondary-color);
    color: var(--page-contact-primary-color);
    transform: translateY(-2px);
}

/* Call to Action Section */
.page-contact__cta {
    padding: 80px 0;
    background-color: var(--page-contact-primary-color); /* Primary color background */
    text-align: center;
    color: var(--page-contact-text-light);
}

.page-contact__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--page-contact-secondary-color); /* Gold for CTA title */
    font-weight: bold;
}

.page-contact__cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

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

.page-contact__btn--large {
    padding: 15px 35px;
    font-size: 1.15em;
    min-width: 220px;
}

/* Office Info Section */
.page-contact__office-info {
    padding: 60px 0;
    background-color: var(--page-contact-background-dark); /* Darker background */
    color: var(--page-contact-text-light);
    text-align: center;
}

.page-contact__info-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 30px;
}

.page-contact__info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    max-width: 350px;
}

.page-contact__info-icon {
    width: 40px;
    height: 40px;
    filter: invert(80%) sepia(100%) saturate(700%) hue-rotate(10deg) brightness(120%) contrast(100%); /* Gold tint */
}

.page-contact__info-item p {
    margin: 0;
    font-size: 1.1em;
    color: var(--page-contact-text-light);
}

.page-contact__note {
    font-size: 0.95em;
    opacity: 0.8;
    margin-top: 20px;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .page-contact__hero {
        flex-direction: row;
        text-align: left;
        padding-right: 0;
    }

    .page-contact__hero-content {
        padding-left: 20px;
        flex: 1;
    }

    .page-contact__hero-image-wrapper {
        position: relative;
        width: 50%; /* Image takes half width */
        height: auto;
        opacity: 1; /* Show image clearly */
        display: block;
        align-self: stretch; /* Make it fill height */
    }

    .page-contact__title {
        font-size: 4em;
    }
}

@media (max-width: 767px) {
    .page-contact__title {
        font-size: 2.5em;
    }
    .page-contact__subtitle, .page-contact__cta-title {
        font-size: 2em;
    }
    .page-contact__description, .page-contact__cta-description {
        font-size: 1em;
    }
    .page-contact__btn--large {
        width: 100%;
    }
    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-contact__hero {
        padding-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .page-contact__title {
        font-size: 2em;
    }
    .page-contact__subtitle, .page-contact__cta-title {
        font-size: 1.8em;
    }
    .page-contact__method-card {
        padding: 20px;
    }
    .page-contact__method-title {
        font-size: 1.5em;
    }
    .page-contact__btn {
        width: 100%;
    }
    .page-contact__info-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}