/* style/contact.css */

/* General page styling */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0F141C; /* Inherited from shared, but for clarity */
}

.page-contact__section {
    padding: 60px 20px;
    text-align: center;
}

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

.page-contact h1,
.page-contact h2,
.page-contact h3 {
    color: #FFD700; /* Gold for headings */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-contact h1 {
    font-size: 2.8em;
    color: #ffffff; /* White for main hero title */
}

.page-contact h2 {
    font-size: 2.2em;
}

.page-contact h3 {
    font-size: 1.6em;
    color: #FFD700;
}

.page-contact p {
    margin-bottom: 1em;
    font-size: 1.1em;
    color: #f0f0f0; /* Slightly off-white for paragraphs */
}

.page-contact strong {
    color: #FFD700; /* Highlight important text in gold */
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background-color: #1A202C; /* Dark background for hero */
    overflow: hidden; /* Prevent image overflow */
}

.page-contact__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-contact__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

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

.page-contact__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

/* Call to Action Button */
.page-contact__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #FFD700; /* Gold button */
    color: #1A202C; /* Dark text on gold */
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-contact__cta-button:hover {
    background: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-contact__intro-section {
    background-color: #0F141C; /* Dark background */
    padding-bottom: 40px;
}
.page-contact__intro-section h2 {
    color: #FFD700;
}
.page-contact__intro-section p {
    color: #f0f0f0;
}

/* Methods Section */
.page-contact__methods-section {
    background-color: #1A202C; /* Darker section background */
    padding-bottom: 40px;
}

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

.page-contact__card {
    background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards on dark background */
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff; /* Light text for cards */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-contact__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Enforce min image size */
}

.page-contact__card h3 {
    color: #FFD700;
    font-size: 1.4em;
    margin-bottom: 15px;
}

.page-contact__card p {
    font-size: 1em;
    color: #e0e0e0;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-contact__card-button {
    margin-top: auto; /* Push button to bottom */
    width: fit-content;
    align-self: flex-start;
    padding: 10px 25px;
    font-size: 1em;
}

.page-contact__social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.page-contact__social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #FFD700;
    color: #1A202C;
    border-radius: 50%;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

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


/* Contact Form Section */
.page-contact__form-section {
    background-color: #0F141C; /* Dark section background */
    padding-bottom: 40px;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 40px auto 0 auto;
    background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for form background */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.4); /* Dark input background */
    color: #ffffff; /* White text in inputs */
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #FFD700; /* Gold border on focus */
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
    outline: none;
}

.page-contact__form-textarea {
    resize: vertical;
}

.page-contact__submit-btn {
    width: 100%;
    margin-top: 20px;
    text-align: center;
}

/* Operating Hours Section */
.page-contact__hours-section {
    background-color: #1A202C; /* Darker section background */
    padding-bottom: 40px;
}

.page-contact__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.page-contact__hours-section h3 {
    color: #FFD700;
}
.page-contact__hours-section p {
    color: #e0e0e0;
}

/* FAQ Section */
.page-contact__faq-section {
    background-color: #0F141C; /* Dark background */
    padding-bottom: 40px;
}

.page-contact__faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-contact__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.08); /* Card background for FAQ items */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #1A202C; /* Darker background for question header */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px; /* Apply to top only */
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: #ffffff; /* White text for questions */
}

.page-contact__faq-item.active .page-contact__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-color: #FFD700; /* Gold border when active */
}

.page-contact__faq-question:hover {
    background: #2a3447; /* Slightly lighter dark on hover */
    border-color: rgba(255, 255, 255, 0.2);
}

.page-contact__faq-question:active {
    background: #3a4457;
}

.page-contact__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Prevent h3 from blocking click event */
    color: #ffffff; /* White text for FAQ question title */
}

.page-contact__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #FFD700; /* Gold for toggle icon */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
    color: #ffffff; /* White when active */
    transform: rotate(45deg); /* Rotate for minus sign effect */
}

.page-contact__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background: #1A202C; /* Darker background for answer content */
    border-radius: 0 0 8px 8px;
    color: #e0e0e0; /* Light text for answer */
}

.page-contact__faq-item.active .page-contact__faq-answer {
    max-height: 2000px !important; /* Ensure enough height for content */
    padding: 20px 25px !important;
    opacity: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-contact__faq-answer p {
    margin-bottom: 0;
    color: #e0e0e0;
}

.page-contact__faq-answer a {
    color: #FFD700; /* Gold link in FAQ answer */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-contact__faq-answer a:hover {
    color: #ffffff;
}

.page-contact__faq-register-link {
    display: inline-block;
    padding: 8px 15px;
    background: #FFD700;
    color: #1A202C;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.page-contact__faq-register-link:hover {
    background: #e6c200;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact h1 {
        font-size: 2.4em;
    }
    .page-contact h2 {
        font-size: 1.8em;
    }
    .page-contact h3 {
        font-size: 1.4em;
    }
    .page-contact p {
        font-size: 1em;
    }
    .page-contact__cta-button {
        padding: 12px 30px;
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-contact__section {
        padding: 40px 15px;
    }

    .page-contact__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile specific top padding */
        padding-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-contact__hero-image {
        margin-bottom: 20px;
    }

    .page-contact__hero-image img {
        border-radius: 4px;
    }

    .page-contact h1 {
        font-size: 2em;
    }

    .page-contact h2 {
        font-size: 1.6em;
    }

    .page-contact h3 {
        font-size: 1.2em;
    }

    .page-contact p {
        font-size: 0.95em;
    }

    .page-contact__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Card images and general images responsive */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-contact__card img {
        min- /* Adjust min height for mobile cards */
    }

    .page-contact__container,
    .page-contact__card,
    .page-contact__form-section .page-contact__contact-form,
    .page-contact__method-card,
    .page-contact__info-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-contact__method-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .page-contact__contact-form {
        padding: 25px;
    }
    
    .page-contact__form-label {
        font-size: 1em;
    }

    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 12px;
        font-size: 0.95em;
    }

    .page-contact__social-links {
        justify-content: center;
    }
    
    /* FAQ mobile */
    .page-contact__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-contact__faq-question h3 {
        font-size: 1.1em;
    }
    .page-contact__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    .page-contact__faq-answer {
        padding: 0 20px;
    }
    .page-contact__faq-item.active .page-contact__faq-answer {
        padding: 15px 20px !important;
    }
    .page-contact__faq-register-link {
        font-size: 0.85em;
        padding: 6px 12px;
    }
}