/* style/contact.css */
.page-contact {
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-main-color);
}

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

.page-contact__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 10px; /* Specific for header offset, not var(--header-offset) */
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

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

.page-contact__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-contact__main-title {
    font-size: 3.2em;
    font-weight: bold;
    line-height: 1.2;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
    font-size: 1.2em;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-contact__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #F2C14E; /* Main color */
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-contact__section-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__contact-methods {
    padding: 60px 0;
}

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

.page-contact__card {
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__card-title {
    font-size: 1.8em;
    color: #FFD36B; /* Auxiliary color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__card-text {
    font-size: 1em;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05em;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-contact__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #ffffff; /* White text for contrast */
    border: none;
    box-shadow: 0 4px 10px rgba(242, 193, 78, 0.4);
}

.page-contact__btn-primary:hover {
    background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
    box-shadow: 0 6px 15px rgba(242, 193, 78, 0.6);
}

.page-contact__btn-secondary {
    background: transparent;
    color: #FFD36B; /* Auxiliary color */
    border: 2px solid #FFD36B;
}

.page-contact__btn-secondary:hover {
    background: #FFD36B;
    color: #111111; /* Card BG */
}

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

.page-contact__social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #F2C14E; /* Main color */
    color: #111111; /* Card BG */
    font-weight: bold;
    font-size: 1.2em;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.page-contact__social-icon:hover {
    background: #FFD36B; /* Glow */
    transform: scale(1.1);
}

.page-contact__contact-form-section {
    padding: 60px 0;
    background-color: #0A0A0A; /* Background */
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background: #111111; /* Card BG */
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

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

.page-contact__form-label {
    display: block;
    font-size: 1.1em;
    color: #FFD36B; /* Auxiliary color */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #FFF6D6; /* Text Main */
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: rgba(255, 246, 214, 0.6);
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #F2C14E; /* Main color */
    outline: none;
}

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

.page-contact__form-submit-btn {
    width: auto;
    margin-top: 15px;
    padding-left: 40px;
    padding-right: 40px;
}

.page-contact__faq-section {
    padding: 60px 0;
}

.page-contact__faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-contact__faq-item {
    cursor: pointer;
    overflow: hidden;
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD36B; /* Auxiliary color */
    background: #111111; /* Card BG */
    border-bottom: 1px solid #3A2A12; /* Border */
    list-style: none;
    user-select: none;
}

.page-contact__faq-question::-webkit-details-marker {
    display: none;
}

.page-contact__faq-qtext {
    flex-grow: 1;
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    margin-left: 20px;
    color: #F2C14E; /* Main color */
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
    content: "−";
}

.page-contact__faq-answer {
    padding: 20px 30px 30px;
    background: #111111; /* Card BG */
    color: #FFF6D6; /* Text Main */
    font-size: 1em;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.page-contact__commitment-section {
    padding: 60px 0;
    background-color: #0A0A0A; /* Background */
}

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

.page-contact__location-section {
    padding: 60px 0;
}

.page-contact__location-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
}

.page-contact__address-info {
    flex: 1 1 45%;
    min-width: 300px;
    padding: 30px;
}

.page-contact__map-placeholder {
    flex: 1 1 45%;
    min-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #3A2A12; /* Border */
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-contact__main-title {
        font-size: 2.8em;
    }

    .page-contact__section-title {
        font-size: 2.2em;
    }

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

    .page-contact__methods-grid,
    .page-contact__commitment-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .page-contact__contact-form {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-contact__hero-section {
        padding-top: 10px !important;
        padding-bottom: 20px;
    }

    .page-contact__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-contact__hero-content {
        padding: 0 15px;
    }

    .page-contact__main-title {
        font-size: 2em;
        margin-bottom: 10px;
    }

    .page-contact__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-contact__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-contact__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
        padding: 0 15px;
    }

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

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

    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    .page-contact__map-placeholder,
    .page-contact__address-info {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

    .page-contact__card-title {
        font-size: 1.5em;
    }

    .page-contact__card-text {
        font-size: 0.95em;
    }

    /* Buttons and Button Containers */
    .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 {
        justify-content: center;
    }

    .page-contact__contact-form {
        padding: 20px;
    }

    .page-contact__form-label {
        font-size: 1em;
    }

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

    .page-contact__form-submit-btn {
        width: 100%;
    }

    .page-contact__faq-question {
        padding: 15px 20px;
        font-size: 1.05em;
    }

    .page-contact__faq-answer {
        padding: 15px 20px 20px;
        font-size: 0.95em;
    }

    .page-contact__faq-toggle {
        font-size: 1.2em;
    }

    .page-contact__location-content {
        flex-direction: column;
        gap: 20px;
    }

    .page-contact__address-info,
    .page-contact__map-placeholder {
        min-width: unset;
    }
}