/* ========================================
   尧图网站定制 - 内页通用样式
   ======================================== */

/* Page Header */
.page-header {
    padding: 8rem 5% 4rem;
    background: var(--gradient-primary);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(244, 164, 96, 0.15) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.page-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    color: var(--tibetan-yellow);
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

/* Content Section */
.content-section {
    padding: 5rem 5%;
    background: #fff;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Service Detail Cards */
.service-detail-card {
    background: linear-gradient(135deg, #fff 0%, var(--light-cream) 100%);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    border-left: 5px solid var(--tibetan-red);
}

.service-detail-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.service-detail-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #fff;
}

.service-detail-title {
    font-size: 1.4rem;
    color: var(--tibetan-blue);
    margin-bottom: 1rem;
}

.service-detail-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-detail-list {
    list-style: none;
}

.service-detail-list li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.service-detail-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--tibetan-red);
    font-weight: bold;
}

/* About Section */
.about-section {
    padding: 5rem 5%;
    background: var(--light-cream);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.about-image {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--tibetan-blue);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #666;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--tibetan-red);
    display: block;
}

.stat-label {
    color: #666;
    font-size: 0.95rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 5%;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: linear-gradient(135deg, var(--tibetan-blue) 0%, var(--tibetan-red) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    color: #fff;
    text-align: center;
    transition: all 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--tibetan-yellow);
}

.contact-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--tibetan-yellow);
}

.contact-info {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* Form Styles */
.contact-form {
    max-width: 800px;
    margin: 3rem auto 0;
    background: #fff;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--tibetan-blue);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--tibetan-blue);
    box-shadow: 0 0 0 3px rgba(26, 60, 110, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem;
    }
}
