/* style/contact.css */

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #000000; /* Black */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f4f4f4;
    --background-dark: #222222;
    --border-color: #e0e0e0;
}

.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--background-light);
}

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

.page-contact__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-contact__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

/* 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); /* Ensure space for fixed header */
    overflow: hidden;
}

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

.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: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-contact__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    margin-top: -80px; /* Overlap with image slightly for visual appeal */
    color: var(--text-color-light);
}

.page-contact__hero-content h1 {
    font-size: 3.2em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.2;
}

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

.page-contact__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    border: none;
}

.page-contact__cta-button:hover {
    background: #e6c200; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

/* Contact Info Section */
.page-contact__contact-info-section {
    padding: 80px 0;
    background-color: var(--background-light);
    color: var(--text-color-dark);
}

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

.page-contact__info-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__info-card img {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__card-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-contact__info-card p {
    font-size: 1em;
    color: #666666;
    margin-bottom: 25px;
}

.page-contact__info-link {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-contact__info-link:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

/* Contact Form Section */
.page-contact__form-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--text-color-light);
}

.page-contact__form-section .page-contact__section-title {
    color: var(--primary-color);
}

.page-contact__form-section .page-contact__section-description {
    color: #cccccc;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 40px auto 0 auto;
    background: #333333;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-contact__form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--primary-color);
}

.page-contact__form-group input[type="text"],
.page-contact__form-group input[type="email"],
.page-contact__form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #555555;
    border-radius: 8px;
    background-color: #444444;
    color: var(--text-color-light);
    font-size: 1em;
    box-sizing: border-box;
}

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

.page-contact__form-group input:focus,
.page-contact__form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.page-contact__submit-button {
    display: block;
    width: 100%;
    padding: 18px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-contact__submit-button:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

/* Why Choose Us Section */
.page-contact__why-us-section {
    padding: 80px 0;
    background-color: var(--background-light);
    color: var(--text-color-dark);
}

.page-contact__why-us-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-contact__why-us-list li {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    font-size: 1.05em;
    line-height: 1.8;
    border-left: 5px solid var(--primary-color);
}

.page-contact__why-us-list li strong {
    color: var(--secondary-color);
    font-size: 1.1em;
    display: block;
    margin-bottom: 10px;
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 80px 0;
    background-color: var(--background-light);
    color: var(--text-color-dark);
}

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

.page-contact__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-contact__faq-question:hover {
    background: #f9f9f9;
    border-color: #d0d0d0;
}

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

.page-contact__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.15em;
    font-weight: 600;
    line-height: 1.5;
    color: var(--secondary-color);
    pointer-events: none;
}

.page-contact__faq-toggle {
    font-size: 2em;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
    transform: rotate(45deg); /* Change to X or just - */
    color: var(--secondary-color);
}

.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;
    padding: 0 25px;
    opacity: 0;
    background: #fdfdfd;
    border-radius: 0 0 10px 10px;
    color: #555555;
}

.page-contact__faq-item.active .page-contact__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
    border-top: 1px dashed var(--border-color);
}

.page-contact__faq-answer p {
    margin: 0;
}

/* Social Media Section */
.page-contact__social-media-section {
    padding: 60px 0;
    background-color: var(--secondary-color);
    color: var(--text-color-light);
    text-align: center;
}

.page-contact__social-media-section .page-contact__section-title {
    color: var(--primary-color);
}

.page-contact__social-media-section .page-contact__section-description {
    color: #cccccc;
}

.page-contact__social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.page-contact__social-link {
    display: inline-block;
    width: 48px;
    height: 48px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.page-contact__social-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    filter: grayscale(100%) brightness(150%); /* Make social icons gold-ish on dark bg */
}

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

/* General element styles */
.page-contact a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-contact a:hover {
    text-decoration: underline;
}

/* Color Contrast Fixes (if needed) */
.page-contact__dark-bg {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
}

.page-contact__light-bg {
    background-color: var(--background-light);
    color: var(--text-color-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-content h1 {
        font-size: 2.8em;
    }
    .page-contact__hero-content p {
        font-size: 1.1em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__info-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
    }
    .page-contact__hero-image img {
        border-radius: 8px;
    }
    .page-contact__hero-content {
        margin-top: -60px;
        padding: 15px;
    }
    .page-contact__hero-content h1 {
        font-size: 2em;
    }
    .page-contact__hero-content p {
        font-size: 1em;
    }
    .page-contact__cta-button {
        padding: 15px 30px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-contact__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}