/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background from shared.css */
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #0a0a0a; /* Ensure dark background for contrast */
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px; /* Space between image and content */
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

.page-contact__hero-content {
    text-align: center;
    max-width: 900px;
    width: 100%; /* Ensure width is 100% for flex child */
    padding: 0 20px;
}

.page-contact__main-title {
    font-size: clamp(2em, 3.5vw, 3.5em); /* Responsive font size */
    font-weight: 700;
    color: #26A9E0; /* Primary color for title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* Call to Action Button in Hero */
.page-contact__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Methods Section */
.page-contact__contact-methods-section {
    padding: 80px 20px;
    background: #0a0a0a; /* Dark background */
    color: #ffffff;
    text-align: center;
}

.page-contact__dark-section {
    background: #0a0a0a; /* Explicitly dark background */
    color: #ffffff;
}

.page-contact__container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.page-contact__section-title {
    font-size: clamp(1.8em, 2.8vw, 2.5em);
    color: #26A9E0;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-contact__section-description {
    font-size: 1.1em;
    margin-bottom: 50px;
    color: #cccccc;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-contact__method-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-contact__method-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-contact__method-text {
    font-size: 0.95em;
    color: #dddddd;
    margin-bottom: 20px;
}

.page-contact__method-info {
    font-size: 1em;
    color: #ffffff;
    margin-bottom: 10px;
}

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

.page-contact__social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #26A9E0;
    color: #ffffff;
    font-size: 1.2em;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.page-contact__social-icon:hover {
    background-color: #1a7bb0;
}

/* Contact Form Section */
.page-contact__contact-form-section {
    padding: 80px 20px;
    background: #1a1a1a; /* Slightly lighter dark background */
    color: #ffffff;
}

.page-contact__form {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background: 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: #aaaaaa;
}

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

.page-contact__form-submit-button {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    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.2);
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 80px 20px;
    background: #0a0a0a; /* Dark background */
    color: #ffffff;
    text-align: center;
}

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

.page-contact__faq-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-contact__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1em;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-contact__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-contact__faq-item summary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-contact__faq-qtext {
    flex-grow: 1;
    color: #26A9E0;
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #ffffff;
}

.page-contact__faq-item[open] .page-contact__faq-qtext {
    color: #26A9E0; /* Highlight question when open */
}

.page-contact__faq-answer {
    padding: 15px 25px 25px;
    font-size: 0.95em;
    color: #dddddd;
    line-height: 1.7;
}

.page-contact__faq-answer p {
    margin-bottom: 15px;
}

.page-contact__faq-answer .page-contact__btn-secondary {
    margin-top: 10px;
}

/* Location Section */
.page-contact__location-section {
    padding: 80px 20px;
    background: #1a1a1a;
    color: #ffffff;
    text-align: center;
}

.page-contact__map-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-contact__map-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-contact__address-info {
    font-size: 1.1em;
    margin-top: 30px;
    color: #f0f0f0;
}

/* Button styles */
.page-contact__btn-primary {
    background: #26A9E0; /* Primary brand color */
    color: #ffffff;
    border: none;
}

.page-contact__btn-primary:hover {
    background-color: #1a7bb0;
    transform: translateY(-2px);
}

.page-contact__btn-secondary {
    background: #EA7C07; /* Login/Accent color */
    color: #ffffff;
    border: none;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__btn-secondary:hover {
    background-color: #c96706;
    transform: translateY(-1px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-contact__hero-section {
        padding: 40px 15px;
    }
    .page-contact__main-title {
        font-size: clamp(2em, 4vw, 3em);
    }
    .page-contact__description {
        font-size: 1em;
    }
    .page-contact__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-contact__section-title {
        font-size: clamp(1.6em, 3.5vw, 2.2em);
    }
    .page-contact__section-description {
        font-size: 0.95em;
    }
}

@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-contact__hero-section {
        padding: 20px 15px;
    }
    .page-contact__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-contact__hero-content {
        padding: 0 15px;
    }
    .page-contact__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em) !important; /* Ensure smaller on mobile */
        margin-bottom: 15px;
    }
    .page-contact__description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
    .page-contact__cta-button {
        padding: 12px 20px;
        font-size: 0.95em;
    }

    .page-contact__contact-methods-section,
    .page-contact__contact-form-section,
    .page-contact__faq-section,
    .page-contact__location-section {
        padding: 40px 15px !important; /* Important for mobile padding */
    }

    .page-contact__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-contact__method-card,
    .page-contact__form {
        padding: 25px;
    }

    .page-contact__form-input,
    .page-contact__form-textarea,
    .page-contact__form-submit-button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-contact__faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-contact__faq-answer {
        padding: 10px 20px 20px;
        font-size: 0.9em;
    }

    /* Images responsiveness */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-contact__hero-image-wrapper,
    .page-contact__map-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Buttons responsiveness */
    .page-contact__cta-button,
    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact a[class*="button"],
    .page-contact a[class*="btn"] {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      white-space: normal !important;
      word-wrap: break-word !important;
      padding-left: 15px;
      padding-right: 15px;
    }

    .page-contact__social-links {
        flex-wrap: wrap !important;
        gap: 10px;
    }
}