/* 公共样式 - gongju/style.css */

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 韩文字体优化 */
.korean-text {
    word-break: keep-all;
    word-wrap: break-word;
}

/* 通用容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 通用按钮样式 */
.btn {
    display: inline-block;
    padding: 0.5em 1em;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #1976d2;
    color: white;
}

.btn-primary:hover {
    background: #1256a3;
}

/* 响应式工具类 */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 5px;
    }
}

/* 美化页尾样式 */
.footer-beautiful {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: #ffffff;
    padding: 2.5rem 0 1.5rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.footer-beautiful::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 90%, rgba(102,126,234,0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 10%, rgba(118,75,162,0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(159,122,234,0.05) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 100"><defs><pattern id="footer-parking" width="40" height="30" patternUnits="userSpaceOnUse"><rect x="3" y="8" width="12" height="6" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="0.3" rx="1"/><text x="9" y="12.5" text-anchor="middle" font-family="Arial" font-size="3" fill="rgba(255,255,255,0.03)">P</text><circle cx="6" cy="18" r="0.8" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="0.2"/><circle cx="12" cy="18" r="0.8" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="0.2"/><path d="M20 10 L35 10" stroke="rgba(255,255,255,0.015)" stroke-width="0.5" stroke-dasharray="2,2"/></pattern></defs><rect width="200" height="100" fill="url(%23footer-parking)"/></svg>');
    pointer-events: none;
    z-index: -1;
}

.footer-beautiful > * {
    position: relative;
    z-index: 10;
}

.footer-beautiful::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #9f7aea, #764ba2, #667eea);
    box-shadow: 0 2px 8px rgba(102,126,234,0.3);
}

.footer-content {
    text-align: center;
}

.footer-info {
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-item {
    color: #e0e0e0;
    transition: color 0.3s ease;
}

.info-item strong {
    color: #ffffff;
    font-weight: 600;
}

.info-item:hover {
    color: #ffffff;
}

.separator {
    color: #667eea;
    font-weight: 600;
    margin: 0 0.3rem;
    opacity: 0.8;
}

.contact-phone {
    color: #9f7aea !important;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(159, 122, 234, 0.3);
    transition: all 0.3s ease;
}

.contact-phone:hover {
    color: #b794f4 !important;
    text-shadow: 0 0 15px rgba(159, 122, 234, 0.5);
    transform: scale(1.05);
}

.footer-divider {
    width: 80%;
    max-width: 600px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    margin: 1.5rem auto;
    opacity: 0.6;
}

.footer-copyright {
    margin-top: 1rem;
}

.footer-copyright p {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 400;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .footer-beautiful {
        padding: 2rem 0 1rem 0;
    }
    
    .info-row {
        flex-direction: column;
        gap: 0.3rem;
        font-size: 0.9rem;
    }
    
    .separator {
        display: none;
    }
    
    .info-item {
        margin-bottom: 0.2rem;
    }
}

@media (max-width: 480px) {
    .footer-beautiful {
        padding: 1.5rem 0 1rem 0;
    }
    
    .info-row {
        font-size: 0.85rem;
    }
    
    .footer-copyright p {
        font-size: 0.8rem;
    }
}

/* 通用按钮样式 */
.btn-main {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.btn-main:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102,126,234,0.4);
    color: #fff;
}

.btn-main:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(102,126,234,0.4);
}

.btn-sub {
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    color: #667eea;
    border: 2px solid #667eea;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.btn-sub:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102,126,234,0.4);
}

.btn-sub:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(102,126,234,0.4);
}

/* 通用卡片样式 */
.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.card-header {
    background: linear-gradient(135deg, #1976d2, #1565c0) !important;
    border: none;
    padding: 1.5rem;
}

.card-header h3 {
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.card-body {
    padding: 2rem;
}

/* 通用表单样式 */
.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid #6c757d !important;
    border-radius: 8px !important;
    padding: 0.75rem !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.form-control:focus, .form-select:focus {
    border-color: #667eea !important;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25) !important;
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

.fade-in-scale {
    animation: fadeInScale 0.6s ease-out;
}

/* 通用工具类 */
.text-primary {
    color: #1976d2 !important;
}

.bg-primary {
    background-color: #1976d2 !important;
}

.shadow {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
}

.rounded {
    border-radius: 8px !important;
}

/* 公共工具样式 - gongju/style.css */

/* 全局样式重置和背景设置 */
* {
    box-sizing: border-box;
}

html {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    min-height: 100vh !important;
    height: 100% !important;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
}

/* 全局样式优化 */
body {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 25%, #455a64 50%, #546e7a 75%, #607d8b 100%) !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    font-family: 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    scroll-behavior: smooth;
    color: #2d3748;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    padding: 0 !important;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(52, 152, 219, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(46, 125, 50, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(149, 165, 166, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="parking-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><rect width="40" height="40" fill="none"/><rect x="5" y="5" width="30" height="15" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="0.5" rx="2"/><text x="20" y="15" text-anchor="middle" font-family="Arial" font-size="8" fill="rgba(255,255,255,0.03)">P</text><circle cx="10" cy="30" r="2" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="0.3"/><circle cx="30" cy="30" r="2" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="0.3"/></pattern></defs><rect width="200" height="200" fill="url(%23parking-pattern)"/></svg>');
    pointer-events: none;
    z-index: -1;
}

/* 背景装饰元素 */
.floating-car {
    position: fixed;
    top: 15%;
    right: 15%;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

/* 添加更多停车图标 */
.parking-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.parking-icons::before {
    content: '🅿️';
    position: absolute;
    top: 25%;
    left: 5%;
    font-size: 1.5rem;
    opacity: 0.08;
    animation: float 12s ease-in-out infinite;
}

.parking-icons::after {
    content: '🚙';
    position: absolute;
    bottom: 30%;
    right: 8%;
    font-size: 1.8rem;
    opacity: 0.08;
    animation: float 10s ease-in-out infinite reverse;
}

/* 添加道路线条背景 */
.road-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, transparent 48%, rgba(255,255,255,0.02) 49%, rgba(255,255,255,0.02) 51%, transparent 52%),
        linear-gradient(0deg, transparent 48%, rgba(255,255,255,0.015) 49%, rgba(255,255,255,0.015) 51%, transparent 52%);
    background-size: 100px 100px;
    pointer-events: none;
    z-index: -2;
    opacity: 0.3;
}

/* 添加更多停车相关装饰 */
.parking-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.parking-decorations::before {
    content: '🚕';
    position: absolute;
    top: 60%;
    left: 12%;
    font-size: 1.2rem;
    opacity: 0.06;
    animation: float 15s ease-in-out infinite;
}

.parking-decorations::after {
    content: '🚐';
    position: absolute;
    top: 40%;
    right: 25%;
    font-size: 1.4rem;
    opacity: 0.07;
    animation: float 9s ease-in-out infinite reverse;
}

/* 添加移动车辆动画 */
.moving-cars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.moving-cars::before {
    content: '🚗';
    position: absolute;
    top: 70%;
    font-size: 1.5rem;
    animation: drive 25s linear infinite;
    animation-delay: 0s;
}

.moving-cars::after {
    content: '🚙';
    position: absolute;
    top: 35%;
    font-size: 1.3rem;
    animation: driveReverse 30s linear infinite;
    animation-delay: 10s;
}

/* 英雄区域样式 */
.hero-text-wrap {
    width: 100%;
    background: 
        linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(247,250,252,0.95) 50%, rgba(237,242,247,0.95) 100%),
        radial-gradient(circle at 20% 20%, rgba(52,152,219,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(46,125,50,0.1) 0%, transparent 50%);
    text-align: center;
    padding: 80px 10px 60px 10px;
    margin: 20px auto;
    max-width: 1050px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-text-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.hero-text-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: heroShimmer 3s ease-in-out infinite;
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.hero-desc {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.hero-contact {
    font-size: 1.1rem;
    color: #34495e;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.hero-contact span {
    color: #e74c3c;
    font-weight: 700;
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.hero-key-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-particles::before {
    content: '✨';
    position: absolute;
    top: 15%;
    left: 10%;
    font-size: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

.hero-particles::after {
    content: '⭐';
    position: absolute;
    bottom: 20%;
    right: 15%;
    font-size: 1.2rem;
    animation: pulse 2.5s ease-in-out infinite reverse;
}

.hero-text-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71, #f39c12, #e74c3c);
    border-radius: 0 0 20px 20px;
    animation: borderGlow 4s ease-in-out infinite;
}

/* 页脚样式 */
.footer-beautiful {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 40px 0 20px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.footer-beautiful::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71, #f39c12, #e74c3c);
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-info {
    margin-bottom: 30px;
}

.info-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.info-item {
    color: #bdc3c7;
}

.info-item strong {
    color: #ecf0f1;
    font-weight: 600;
}

.separator {
    color: #7f8c8d;
    font-weight: 300;
}

.contact-phone {
    color: #3498db !important;
    font-weight: 700 !important;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #7f8c8d, transparent);
    margin: 20px 0;
}

.footer-copyright {
    text-align: center;
    color: #95a5a6;
    font-size: 0.85rem;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes heroShimmer {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

@keyframes drive {
    0% {
        left: -50px;
    }
    100% {
        left: calc(100% + 50px);
    }
}

@keyframes driveReverse {
    0% {
        right: -50px;
    }
    100% {
        right: calc(100% + 50px);
    }
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .hero-contact {
        font-size: 1rem;
    }
    
    .hero-contact span {
        font-size: 1.1rem;
    }
    
    .hero-text-wrap {
        padding: 60px 15px 40px 15px;
        margin: 15px;
    }
    
    .info-row {
        flex-direction: column;
        gap: 5px;
        font-size: 0.8rem;
    }
    
    .separator {
        display: none;
    }
}

/* 公司介绍页面特定样式 */
.about-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    margin: 30px auto;
    max-width: 1200px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-header {
    padding: 40px 20px 20px;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.about-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin: 0;
    line-height: 1.6;
}

.about-content {
    padding: 0 40px 40px;
}

.about-placeholder {
    background: rgba(248, 250, 252, 0.8);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    border: 2px dashed rgba(102, 126, 234, 0.3);
}

.placeholder-text h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.placeholder-text p {
    color: #7f8c8d;
    font-size: 1rem;
    margin: 0;
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .about-section {
        margin: 20px 15px;
        border-radius: 15px;
    }
    
    .about-header {
        padding: 30px 15px 15px;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-subtitle {
        font-size: 1rem;
    }
    
    .about-content {
        padding: 0 20px 30px;
    }
    
    .about-placeholder {
        padding: 30px 20px;
    }
    
    .placeholder-text h3 {
        font-size: 1.3rem;
    }
    
    .placeholder-text p {
        font-size: 0.9rem;
    }
}

.certificate-img {
    max-width: 100%;
    height: auto;
    border: 1.5px solid #e0e0e0;
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.08);
    margin-bottom: 8px;
    background: #fff;
}

.certificate-caption {
    font-size: 1rem;
    color: #34495e;
    font-weight: 500;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .about-certificates .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 24px;
    }
    .certificate-caption {
        font-size: 0.95rem;
    }
} 