/* style/contact.css */

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark-card: rgba(255, 255, 255, 0.08); /* Slightly visible on dark background */
    --border-color: rgba(255, 255, 255, 0.15);
    --form-bg: rgba(255, 255, 255, 0.05);
    --input-border: rgba(255, 255, 255, 0.2);
}

/* Ensure content is not hidden by fixed header */
.page-contact__hero-section {
    padding-top: 120px; /* Desktop: Adjust based on shared header height */
}

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

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

.page-contact__section-title {
    font-size: 36px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

/* Hero Section */
.page-contact__hero-section {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.8), rgba(255, 215, 0, 0.2)), url('[GALLERY:contact:18win1,contact-hero,background]') no-repeat center center/cover;
    padding-bottom: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--primary-color);
}

.page-contact__main-title {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-contact__cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

/* Contact Methods Section */
.page-contact__methods-section {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.page-contact__method-item {
    background: var(--bg-dark-card);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--input-border);
}

.page-contact__method-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-contact__method-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__method-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-contact__method-text {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.page-contact__method-info {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-contact__method-button {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__method-button:hover {
    background: #a30000;
}

/* Contact Form Section */
.page-contact__form-section {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-contact__form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--form-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--input-border);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--input-border);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 16px;
    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: rgba(255, 255, 255, 0.5);
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: var(--primary-color);
    background-color: rgba(255, 215, 0, 0.1);
    outline: none;
}

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

.page-contact__form-submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--text-dark);
    border: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__form-submit-button:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-contact__faq-section {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.page-contact__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--input-border);
    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: var(--bg-dark-card);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-contact__faq-question:hover {
    background: rgba(255, 255, 255, 0.15);
}

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

.page-contact__faq-toggle {
    font-size: 28px;
    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-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-color: rgba(0, 0, 0, 0.5);
    color: var(--text-light);
    font-size: 16px;
}

.page-contact__faq-item.active .page-contact__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
}

.page-contact__faq-item.active .page-contact__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background: rgba(255, 255, 255, 0.15);
}

.page-contact__faq-item.active .page-contact__faq-toggle {
    color: var(--secondary-color);
    transform: rotate(0deg); /* Icon changes from + to - in JS, no rotation needed */
}

/* Commitment Section */
.page-contact__commitment-section {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 80px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__main-title {
        font-size: 40px;
    }
    .page-contact__hero-description {
        font-size: 18px;
    }
    .page-contact__section-title {
        font-size: 30px;
    }
    .page-contact__section-description {
        font-size: 16px;
    }
    .page-contact__method-icon {
        width: 80px;
        height: 80px;
    }
    .page-contact__method-title {
        font-size: 22px;
    }
    .page-contact__faq-question h3 {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding-top: 100px !important; /* Mobile: Adjust for fixed header */
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-contact__main-title {
        font-size: 32px;
    }
    .page-contact__hero-description {
        font-size: 16px;
    }
    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    .page-contact__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-contact__methods-section,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__commitment-section {
        padding: 60px 0;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-contact__method-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__method-item {
        padding: 25px;
    }
    .page-contact__method-icon {
        width: 70px;
        height: 70px;
    }
    .page-contact__method-title {
        font-size: 20px;
    }

    .page-contact__form {
        padding: 25px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-contact__form-label {
        font-size: 16px;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 12px;
        font-size: 15px;
    }
    .page-contact__form-submit-button {
        font-size: 18px;
        padding: 12px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-contact__faq-question {
        padding: 15px 20px;
    }
    .page-contact__faq-question h3 {
        font-size: 16px;
    }
    .page-contact__faq-toggle {
        font-size: 24px;
        width: 26px;
        height: 26px;
    }
    .page-contact__faq-answer {
        padding: 0 20px;
    }
    .page-contact__faq-item.active .page-contact__faq-answer {
        padding: 15px 20px !important;
    }
    
    /* Image responsive */
    .page-contact img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
}

@media (max-width: 480px) {
    .page-contact__main-title {
        font-size: 28px;
    }
    .page-contact__section-title {
        font-size: 24px;
    }
    .page-contact__method-item {
        padding: 20px;
    }
    .page-contact__method-title {
        font-size: 18px;
    }
    .page-contact__method-button {
        font-size: 15px;
    }
}