/**
 * Contact Us Page Styles
 */

/* Main Container */
.contact-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 0;
    color: #333;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.section-header .section-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* ===== Hero Section ===== */
.contact-hero {
    background-color: #1a1a1a;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 5rem 0;
    margin-bottom: 3rem;
}

.contact-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #fff;
}

.contact-hero .hero-subtitle {
    font-size: 1.3rem;
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.hero-cta {
    margin-top: 2.5rem;
}

.btn-contact-now {
    display: inline-block;
    background-color: #e67e22;
    color: #fff;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.btn-contact-now:hover {
    background-color: #d35400;
}

/* ===== Contact Info Section ===== */
.contact-info {
    padding: 4rem 0;
    background-color: #fff;
}

.info-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.info-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 2rem;
    text-align: center;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    font-size: 2rem;
    color: #e67e22;
}

.info-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.info-content p {
    color: #666;
    margin-bottom: 1rem;
}

.info-content a {
    color: #e67e22;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: #d35400;
}

.qrcode-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 1rem auto 0;
}

.qrcode {
    width: 100%;
    height: 100%;
    border: 1px solid #eee;
    padding: 5px;
    background-color: #fff;
    border-radius: 4px;
}

.qrcode-fallback {
    display: none;
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    border: 1px solid #eee;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.qrcode-fallback i {
    font-size: 3rem;
    color: #999;
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    color: #e67e22;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #e67e22;
    color: #fff;
}

.social-links i {
    font-size: 1.2rem;
}

/* ===== Form Section ===== */
.contact-form {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #e67e22;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
    outline: none;
}

.btn-submit {
    display: inline-block;
    background-color: #e67e22;
    color: #fff;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    background-color: #d35400;
}

.form-success,
.form-error {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 4px;
}

.form-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== Location Section ===== */
.contact-location {
    padding: 4rem 0;
    background-color: #fff;
}

.location-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-top: 2rem;
}

.location-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.location-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-icon i {
    font-size: 2rem;
    color: #e67e22;
}

.location-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
    text-align: center;
}

.location-card p {
    margin-bottom: 1rem;
    color: #666;
    text-align: center;
    line-height: 1.6;
}

.btn-directions {
    display: inline-block;
    background-color: transparent;
    border: 2px solid #e67e22;
    color: #e67e22;
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-align: center;
    width: 100%;
}

.btn-directions:hover {
    background-color: #e67e22;
    color: #fff;
}

.map-container {
    height: 100%;
    min-height: 300px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background-color: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-image {
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/map-placeholder.jpg');
    background-size: cover;
    background-position: center;
}

.map-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background-color: #f5f5f5;
    color: #999;
}

.map-fallback i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.map-fallback p {
    font-size: 1.1rem;
}

iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: none;
}

/* ===== Follow-up CTA Section ===== */
.contact-followup {
    padding: 4rem 0;
    background-color: #f9f6f0;
    text-align: center;
}

.followup-content {
    max-width: 700px;
    margin: 0 auto;
}

.followup-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.followup-icon i {
    font-size: 2rem;
    color: #e67e22;
}

.followup-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.followup-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #666;
}

.followup-cta {
    margin-top: 2rem;
}

.btn-learn-more {
    display: inline-block;
    background-color: transparent;
    border: 2px solid #e67e22;
    color: #e67e22;
    text-decoration: none;
    padding: 0.9rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-learn-more:hover {
    background-color: #e67e22;
    color: #fff;
}

/* ===== Responsive Rules ===== */
@media screen and (max-width: 1024px) {
    .info-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .location-container {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 350px;
    }
}

@media screen and (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.2rem;
    }
    
    .contact-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .btn-contact-now, .btn-learn-more {
        padding: 0.8rem 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .contact-hero {
        padding: 3rem 0;
    }
    
    .contact-hero h1 {
        font-size: 1.8rem;
    }
    
    .contact-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-contact-now {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .info-container {
        grid-template-columns: 1fr;
    }
    
    .followup-cta {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
}