/* style/contact.css */

/* Core page styling */
.page-contact {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

/* Hero Section */
.page-contact__hero-section {
    background: linear-gradient(135deg, #1A202C, #0d121c); /* Dark gradient background */
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid #FFD700;
}

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

.page-contact__hero-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold accent for title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

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

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

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

.page-contact__hero-button--primary {
    background-color: #FFD700; /* Gold primary button */
    color: #1A202C; /* Dark text on gold */
    border: 2px solid #FFD700;
}

.page-contact__hero-button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-contact__hero-button--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text for secondary */
    border: 2px solid #FFD700;
}

.page-contact__hero-button--secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
}


/* Methods Section */
.page-contact__methods-section {
    padding: 60px 20px;
    background-color: #1a202c; /* Main dark color */
    text-align: center;
}

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

.page-contact__methods-title {
    font-size: 2.2em;
    color: #FFD700;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

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

.page-contact__card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter dark background for cards */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-contact__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-contact__method-icon {
    width: 250px; /* Ensure images are not too small */
    height: auto;
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 25px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-contact__method-text {
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 25px;
}

.page-contact__method-button {
    display: inline-block;
    padding: 10px 25px;
    background-color: #FFD700;
    color: #1A202C;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
}

.page-contact__method-button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

/* Form Section */
.page-contact__form-section {
    padding: 60px 20px;
    background-color: #0d121c; /* Darker background */
}

.page-contact__form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-contact__form-title {
    font-size: 2.2em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.page-contact__form-description {
    font-size: 1em;
    color: #e0e0e0;
    text-align: center;
    margin-bottom: 30px;
}

.page-contact__contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-contact__form-group {
    text-align: left;
}

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #FFD700;
    background-color: rgba(255, 255, 255, 0.1);
    outline: none;
}

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

.page-contact__form-submit-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #FFD700;
    color: #1A202C;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    align-self: center;
    width: fit-content;
}

.page-contact__form-submit-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

/* Info Section */
.page-contact__info-section {
    padding: 60px 20px;
    background-color: #1A202C;
    text-align: center;
}

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

.page-contact__info-title {
    font-size: 2.2em;
    color: #FFD700;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

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

.page-contact__info-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-contact__info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-contact__info-heading {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-contact__info-text {
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 25px;
}

.page-contact__info-button {
    display: inline-block;
    padding: 10px 25px;
    background-color: #FFD700;
    color: #1A202C;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
}

.page-contact__info-button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}


/* Responsive Design */
@media (max-width: 768px) {
    .page-contact {
        padding-top: var(--header-offset, 80px); /* Adjust padding for mobile header */
    }

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

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

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

    .page-contact__hero-button {
        width: 100%;
        max-width: 300px;
    }

    .page-contact__methods-title,
    .page-contact__form-title,
    .page-contact__info-title {
        font-size: 1.8em;
    }

    .page-contact__method-cards,
    .page-contact__info-grid {
        grid-template-columns: 1fr;
    }

    .page-contact__card {
        padding: 25px;
    }

    .page-contact__method-icon {
        width: 200px; /* Min size for content images */
        height: auto;
    }

    .page-contact__form-container {
        padding: 30px;
    }

    /* Ensure images do not overflow on mobile */
    .page-contact img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-section {
        padding: 60px 15px;
    }

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

    .page-contact__methods-section,
    .page-contact__form-section,
    .page-contact__info-section {
        padding: 40px 15px;
    }

    .page-contact__form-container {
        padding: 20px;
    }
}