/* Harmony Community Services Custom Styles */

:root {
    --primary-color: #0066cc;
    --secondary-color: #4a90e2;
    --accent-color: #28a745;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --text-color: #333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    color: white;
    padding: 100px 0;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4); /* 半透明黑色遮罩 */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-text {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* 文字阴影 */
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* Service Cards */
.service-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-card .card-header {
    background: var(--primary-color);
    color: white;
    border-radius: 15px 15px 0 0 !important;
    text-align: center;
    padding: 1.5rem;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-card .card-header i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.service-card .card-header h5 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.3;
    word-wrap: break-word;
    hyphens: auto;
}

/* Feature Section */
.feature-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

/* Forms */
.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-success {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.section-title {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: center;
}

.section-subtitle {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Stats Section */
.stats-section {
    background: var(--primary-color);
    color: white;
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    margin-bottom: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Contact Section */
.contact-info {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.contact-info h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info .contact-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-info .contact-item i {
    color: var(--primary-color);
    width: 20px;
    margin-right: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Success Messages */
.alert-success {
    background-color: #d1edff;
    border-color: var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
}

/* Footer Styling */
footer a:hover {
    color: var(--secondary-color) !important;
    transition: color 0.3s ease;
}

/* Value Cards */
.value-card {
    transform: scale(0.8);
    transform-origin: center;
}

.value-card .card-header {
    padding: 1.2rem;
}

.value-card .card-header i {
    font-size: 2rem;
}

.value-card .card-body {
    padding: 1.2rem;
}

.value-card .card-body p {
    font-size: 0.95rem;
    margin-bottom: 0;
} 