/* style/contact.css */

/* Base styling for the contact page */
.page-contact {
    color: #333333; /* Dark text for light background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Space for fixed header */
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    overflow: hidden;
    background-color: #000000; /* Dark background for hero to make text pop */
    color: #ffffff; /* Light text for dark background */
    padding: 80px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Ensure hero has a decent height */
}

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

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

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

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

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

/* General button style */
.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;
    min-width: 200px; /* Ensure buttons are large enough */
    text-align: center;
    border: none;
    cursor: pointer;
}

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

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

.page-contact__button--promotions {
    background-color: #FFFFFF; /* Register color for secondary action */
    color: #000000;
    border: 2px solid #FCBC45;
}

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

/* Contact Methods Section */
.page-contact__methods-section {
    background-color: #f8f8f8;
    padding: 60px 20px;
}

.page-contact__methods-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-contact__methods-title {
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #000000;
}

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

.page-contact__method-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    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 8px 30px rgba(0, 0, 0, 0.1);
}

.page-contact__method-icon {
    width: 200px; /* Minimum size for content images */
    height: 150px; /* Adjust height to maintain aspect ratio for common sizes */
    object-fit: contain; /* Ensure image fits without cropping */
    margin-bottom: 25px;
    border-radius: 8px; /* Slightly rounded corners for icons */
}

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

.page-contact__method-description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 25px;
    flex-grow: 1; /* Allows description to take available space */
}

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

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

.page-contact__button--secondary {
    background-color: #000000;
    color: #ffffff;
}

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

.page-contact__button--tertiary {
    background-color: #f0f0f0;
    color: #000000;
    border: 1px solid #ddd;
}

.page-contact__button--tertiary:hover {
    background-color: #e0e0e0;
}

/* Call to Action Section */
.page-contact__cta-section {
    position: relative;
    background-color: #000000;
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
}

.page-contact__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Dark overlay for text readability */
    z-index: 1;
}

.page-contact__cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-contact__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FCBC45;
}

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

.page-contact__button--action {
    background-color: #FCBC45;
    color: #000000;
    font-size: 1.2em;
    padding: 18px 40px;
    border-radius: 10px;
}

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

/* Important Info Section */
.page-contact__info-section {
    background-color: #ffffff;
    padding: 50px 20px;
    text-align: center;
}

.page-contact__info-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-contact__info-title {
    font-size: 2.2em;
    margin-bottom: 30px;
    color: #000000;
}

.page-contact__info-list {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.page-contact__info-item a {
    text-decoration: none;
    color: #000000;
    font-size: 1.1em;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.page-contact__info-item a:hover {
    background-color: #FCBC45;
    color: #000000;
    border-color: #FCBC45;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 2.8em;
    }
    .page-contact__hero-description {
        font-size: 1.2em;
    }
    .page-contact__methods-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding: 60px 15px;
        min-height: 400px;
    }
    .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: 100%;
        max-width: 300px;
    }

    .page-contact__methods-section,
    .page-contact__cta-section,
    .page-contact__info-section {
        padding: 40px 15px;
    }
    .page-contact__methods-title,
    .page-contact__cta-title,
    .page-contact__info-title {
        font-size: 2em;
    }
    .page-contact__methods-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__method-icon {
        max-width: 100%; /* Ensure images don't overflow */
        height: auto;
        min-height: 200px; /* Enforce minimum size for content images */
    }
    .page-contact__cta-description {
        font-size: 1em;
    }
    .page-contact__info-list {
        flex-direction: column;
        gap: 15px;
    }
    /* Ensure all content images in .page-contact are responsive and not too small */
    .page-contact img {
        max-width: 100%;
        height: auto;
        /* Enforce minimum size for content images, excluding potential small icons in shared header/footer */
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 1.8em;
    }
    .page-contact__methods-title,
    .page-contact__cta-title,
    .page-contact__info-title {
        font-size: 1.8em;
    }
}