/* style/contact.css */

/* Base styling for the contact page */
.page-contact {
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Inherit body background from shared.css */
    padding-top: var(--header-offset, 120px); /* Space for fixed header on desktop */
}

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.8) 0%, rgba(255, 215, 0, 0.8) 100%); /* Royal Blue to Gold gradient overlay */
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Place image behind content */
}

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

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

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

.page-contact__hero-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #1E90FF; /* Royal Blue text */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__hero-button:hover {
    background-color: #e6c200; /* Darker gold on hover */
    transform: translateY(-3px);
}

/* Methods Section */
.page-contact__methods-section {
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
}

.page-contact__methods-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold title */
    text-align: center;
    margin-bottom: 20px;
}

.page-contact__methods-intro {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-contact__method-card {
    background-color: rgba(30, 144, 255, 0.2); /* Semi-transparent royal blue card */
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-contact__method-card:hover {
    transform: translateY(-10px);
    background-color: rgba(30, 144, 255, 0.3);
}

.page-contact__method-icon {
    width: 200px; /* Ensure icons are at least 200x200px */
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Gold glow for icons */
}

.page-contact__method-name {
    font-size: 1.8em;
    color: #FFD700; /* Gold for method names */
    margin-bottom: 15px;
}

.page-contact__method-description {
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 25px;
    line-height: 1.5;
}

.page-contact__method-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #1E90FF; /* Royal Blue text */
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

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

/* Form Section */
.page-contact__form-section {
    padding: 80px 0;
    background-color: rgba(255, 215, 0, 0.05); /* Slightly lighter background for contrast */
}

.page-contact__form-title {
    font-size: 2.8em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 20px;
}

.page-contact__form-intro {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: rgba(30, 144, 255, 0.2);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

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

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

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

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

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

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

.page-contact__form-submit-button {
    display: block;
    width: 100%;
    background-color: #FFD700;
    color: #1E90FF;
    padding: 18px;
    border: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

/* Social Section */
.page-contact__social-section {
    padding: 80px 0;
    background-color: rgba(30, 144, 255, 0.1); /* Semi-transparent royal blue for social */
    text-align: center;
}

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

.page-contact__social-intro {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.page-contact__social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FFD700;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid #FFD700;
    border-radius: 30px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.page-contact__social-link:hover {
    background-color: #FFD700;
    color: #1E90FF;
    transform: translateY(-5px);
}

.page-contact__social-link img {
    width: 200px; /* Ensure social icons are at least 200x200px */
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.3)); /* Subtle shadow for icons */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 3em;
    }
    .page-contact__hero-description {
        font-size: 1.1em;
    }
    .page-contact__methods-title,
    .page-contact__form-title,
    .page-contact__social-title {
        font-size: 2.4em;
    }
}

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

    .page-contact__hero-section {
        padding: 60px 0;
        min-height: 400px;
    }
    .page-contact__hero-title {
        font-size: 2.5em;
    }
    .page-contact__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-contact__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-contact__methods-section,
    .page-contact__form-section,
    .page-contact__social-section {
        padding: 60px 0;
    }

    .page-contact__methods-title,
    .page-contact__form-title,
    .page-contact__social-title {
        font-size: 2em;
    }

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

    .page-contact__contact-form {
        padding: 30px;
    }
    
    /* Ensure content images do not overflow on mobile */
    .page-contact__hero-image,
    .page-contact__method-icon,
    .page-contact__social-link img {
        max-width: 100%;
        height: auto;
    }
    /* Enforce minimum display size for all content images within .page-contact */
    .page-contact img {
        min-width: 200px;
        min-height: 200px;
        object-fit: contain;
    }
}