/* style/contact.css */
.page-contact {
    color: #333333; /* Dark text for default light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-contact__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(139, 0, 0, 0.1));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-bottom: 40px;
}

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

.page-contact__hero-title {
    font-size: 2.8em;
    color: #8B0000; /* Dark red for emphasis */
    margin-bottom: 20px;
    font-weight: bold;
}

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

.page-contact__hero-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    display: block;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

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

.page-contact__btn {
    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, transform 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.page-contact__btn--primary {
    background-color: #FFD700; /* Gold */
    color: #8B0000; /* Dark red */
    border: 2px solid #FFD700;
}

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

.page-contact__btn--secondary {
    background-color: #8B0000; /* Dark red */
    color: #FFFFFF;
    border: 2px solid #8B0000;
}

.page-contact__btn--secondary:hover {
    background-color: #6a0000;
    transform: translateY(-3px);
}

.page-contact__methods-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.page-contact__methods-title {
    font-size: 2.2em;
    color: #8B0000;
    margin-bottom: 40px;
    font-weight: bold;
}

.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: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-contact__method-card:hover {
    transform: translateY(-5px);
}

.page-contact__method-icon {
    width: 200px; /* Enforced minimum size */
    height: 200px; /* Enforced minimum size */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 5px;
}

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

.page-contact__method-description {
    color: #666666;
    font-size: 1em;
    margin-bottom: 20px;
}

.page-contact__method-link {
    color: #8B0000;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.page-contact__method-link:hover {
    color: #FFD700;
}

.page-contact__faq-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    background-color: rgba(255, 215, 0, 0.05);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-content {
    text-align: center;
    max-width: 700px;
}

.page-contact__faq-title {
    font-size: 2.2em;
    color: #8B0000;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__faq-description {
    color: #555555;
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-contact__faq-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__form-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 40px 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-contact__form-title {
    font-size: 2.2em;
    color: #8B0000;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__form-description {
    color: #555555;
    font-size: 1.1em;
    margin-bottom: 30px;
}

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

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px;
    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: #FFD700;
    outline: none;
}

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

.page-contact__social-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 20px;
    text-align: center;
    background-color: rgba(139, 0, 0, 0.05);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-contact__social-title {
    font-size: 2.2em;
    color: #8B0000;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__social-description {
    color: #555555;
    font-size: 1.1em;
    margin-bottom: 30px;
}

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

.page-contact__social-icon-link img {
     /* Enforced minimum size */
     /* Enforced minimum size */
    transition: transform 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-contact__social-icon-link img:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-contact__hero-title {
        font-size: 2em;
    }

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

    .page-contact__btn {
        padding: 12px 20px;
        font-size: 1em;
        min-width: unset;
    }

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

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

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

    .page-contact__faq-section {
        flex-direction: column;
    }

    .page-contact__faq-image {
        max-width: 100%;
    }

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

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

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

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

    .page-contact__method-card,
    .page-contact__form-section,
    .page-contact__social-section {
        padding: 20px;
    }
}