/* style/contact.css */

/* Biến CSS */
:root {
    --page-contact-primary-color: #1A1A2E;
    --page-contact-secondary-color: #E0B95B;
    --page-contact-text-light: #FFFFFF;
    --page-contact-text-dark: #1A1A2E;
    --page-contact-bg-dark: #1A1A2E;
    --page-contact-bg-light: #F8F8F8;
    --page-contact-accent-gold: #E0B95B;
    --page-contact-border-color: #33334d;
}

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

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

.page-contact__hero-section {
    background: linear-gradient(135deg, var(--page-contact-bg-dark) 0%, #3a3a5e 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--page-contact-text-light);
    position: relative;
    overflow: hidden;
}

.page-contact__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--page-contact-accent-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-contact__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-contact__section-title {
    font-size: 2.5em;
    color: var(--page-contact-accent-gold);
    text-align: center;
    margin-bottom: 50px;
    padding-top: 60px;
    position: relative;
}

.page-contact__section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-contact-accent-gold);
    border-radius: 2px;
}

.page-contact__contact-methods {
    padding: 80px 0;
    background-color: var(--page-contact-bg-dark);
    color: var(--page-contact-text-light);
}

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

.page-contact__method-card {
    background-color: #2a2a4a;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.page-contact__method-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--page-contact-accent-gold));
}

.page-contact__method-title {
    font-size: 1.8em;
    color: var(--page-contact-accent-gold);
    margin-bottom: 15px;
}

.page-contact__method-text {
    font-size: 1em;
    margin-bottom: 25px;
    color: #cccccc;
}

.page-contact__method-link {
    display: inline-block;
    background-color: var(--page-contact-accent-gold);
    color: var(--page-contact-text-dark);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__method-link:hover {
    background-color: #f0c96f;
    transform: translateY(-2px);
}

.page-contact__contact-form-section {
    background-color: #20203a;
    padding: 80px 0;
    color: var(--page-contact-text-light);
}

.page-contact__form-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1em;
    color: #cccccc;
}

.page-contact__contact-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: #2a2a4a;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: calc(100% - 20px);
    padding: 15px;
    border: 1px solid var(--page-contact-border-color);
    border-radius: 5px;
    background-color: #3d3d63;
    color: var(--page-contact-text-light);
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: var(--page-contact-accent-gold);
    box-shadow: 0 0 8px rgba(224, 185, 91, 0.6);
    outline: none;
}

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

.page-contact__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    text-align: center;
}

.page-contact__btn--submit {
    background-color: var(--page-contact-accent-gold);
    color: var(--page-contact-text-dark);
    width: 100%;
    margin-top: 20px;
}

.page-contact__btn--submit:hover {
    background-color: #f0c96f;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(224, 185, 91, 0.4);
}

.page-contact__cta-section {
    background-color: var(--page-contact-bg-dark);
    padding: 100px 0;
    text-align: center;
    color: var(--page-contact-text-light);
    position: relative;
    overflow: hidden;
}

.page-contact__cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,geometric,pattern,dark]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-contact__cta-section > .page-contact__container {
    position: relative;
    z-index: 1;
}

.page-contact__cta-description {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 40px;
    color: #e0e0e0;
}

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

.page-contact__btn--primary {
    background-color: var(--page-contact-accent-gold);
    color: var(--page-contact-text-dark);
}

.page-contact__btn--primary:hover {
    background-color: #f0c96f;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(224, 185, 91, 0.5);
}

.page-contact__btn--secondary {
    background-color: transparent;
    color: var(--page-contact-accent-gold);
    border: 2px solid var(--page-contact-accent-gold);
}

.page-contact__btn--secondary:hover {
    background-color: var(--page-contact-accent-gold);
    color: var(--page-contact-text-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(224, 185, 91, 0.3);
}

.page-contact__cta-image {
    max-width: 80%;
    height: auto;
    margin-top: 60px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-contact__hero-title {
        font-size: 2.5em;
    }

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

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

    .page-contact__method-grid {
        grid-template-columns: 1fr;
    }

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

    .page-contact__form-input,
    .page-contact__form-textarea {
        width: calc(100% - 30px); /* Adjust for padding */
    }

    .page-contact__btn--submit {
        padding: 12px 20px;
        font-size: 1em;
    }

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

    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-contact__btn--primary, .page-contact__btn--secondary {
        width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 2em;
    }

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

    .page-contact__method-card {
        padding: 20px;
    }

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

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

    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 10px;
    }

    .page-contact__btn--primary, .page-contact__btn--secondary {
        width: 90%;
    }
}