/* --- 공통 스타일 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* --- 헤더 / 네비게이션 --- */
header {
    background: linear-gradient(135deg, #004c99 0%, #0066cc 100%);
    color: #fff;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

nav ul {
    display: flex;
    gap: 30px;
}

nav li a {
    font-size: 1rem;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

nav li a:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 5px;
}

/* --- 메인 배너 with Video Background --- */
.banner {
    width: 100%;
    height: 100vh;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.banner-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -2;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 76, 153, 0.7) 0%,
        rgba(0, 102, 204, 0.6) 50%,
        rgba(0, 76, 153, 0.8) 100%
    );
    z-index: -1;
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.banner-content h1 {
    font-size: 3.5rem;
    margin-top: 54px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    animation: fadeInUp 1s ease-out;
    font-weight: 700;
    line-height: 1.2;
}

.banner-content p {
    font-size: 1.4rem;
    margin-bottom: 25px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    animation: fadeInUp 1s ease-out 0.3s both;
    font-weight: 400;
    line-height: 1.4;
}

.banner-content .banner-info {
    font-size: 1.1rem;
    margin-bottom: 8px;
    margin-top: 15px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    animation: fadeInUp 1s ease-out 0.9s both;
    font-weight: 400;
    line-height: 1.3;
}

.cta-button {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    padding: 18px 36px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out 0.6s both;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    margin-bottom: 15px;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
    background: linear-gradient(45deg, #f7931e, #ff6b35);
}

/* Fallback for browsers that don't support video */
.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,76,153,0.7), rgba(0,102,204,0.7)), 
                url("../images/business_taxi.jpg") center/cover no-repeat;
    z-index: -3;
}

/* --- 섹션 공통 --- */
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: #004c99;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    border-radius: 2px;
}

/* --- 서비스 소개 섹션 --- */
.services {
    background-color: #fff;
    border-radius: 20px;
    margin: 40px auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 2px solid transparent;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,76,153,0.2);
    border-color: #004c99;
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-item:hover img {
    transform: scale(1.05);
}

.service-item .content {
    padding: 25px;
}

.service-item .content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #004c99;
    font-weight: bold;
}

.service-item .content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* --- 차량 안내 섹션 --- */
.vehicles {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    margin: 40px auto;
}

.vehicle-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.vehicle-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.vehicle-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.vehicle-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.vehicle-item .info {
    padding: 25px;
}

.vehicle-item .info h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #004c99;
    font-weight: bold;
}

.vehicle-item .info ul {
    margin-left: 0;
}

.vehicle-item .info ul li {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.vehicle-item .info ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* --- 기사 소개 섹션 --- */
.drivers {
    background-color: #fff;
    border-radius: 20px;
    margin: 40px auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.driver-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.driver-item {
    background: #fff;
    text-align: center;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 2px solid transparent;
}

.driver-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #004c99;
}

.driver-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.driver-item .info {
    padding: 25px;
}

.driver-item .info h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #004c99;
    font-weight: bold;
}

.driver-item .info p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* --- 고객 후기 섹션 --- */
.reviews {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    margin: 40px auto;
}

.review-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.review-item {
    background: #fff;
    border-left: 5px solid #004c99;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.review-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,76,153,0.2);
}

.review-item p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #333;
    font-style: italic;
    line-height: 1.6;
}

.review-item .author {
    font-size: 1rem;
    color: #004c99;
    font-weight: bold;
}

/* --- 채용 정보 섹션 --- */
.careers {
    background-color: #fff;
    border-radius: 20px;
    margin: 40px auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.position-list {
    margin-top: 30px;
}

.position-item {
    background: #f8f9fa;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 10px;
    border-left: 5px solid #004c99;
}

.position-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #004c99;
    font-weight: bold;
}

.position-item ul {
    margin-left: 20px;
}

.position-item ul li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 8px;
    list-style-type: disc;
}

.apply-steps {
    margin-top: 40px;
    background: #e3f2fd;
    padding: 25px;
    border-radius: 10px;
}

.apply-steps h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #004c99;
}

.apply-steps ol {
    margin-left: 20px;
}

.apply-steps ol li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #555;
}

/* --- 문의 섹션 --- */
.contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    margin: 40px auto;
}

.contact-info {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #333;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-info strong {
    color: #004c99;
}

.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #004c99;
    box-shadow: 0 0 0 3px rgba(0,76,153,0.1);
}

.contact-form button {
    background: linear-gradient(45deg, #004c99, #0066cc);
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,76,153,0.3);
}

/* --- 푸터 --- */
footer {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
}

footer p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

/* --- 애니메이션 --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- 반응형 디자인 --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #004c99 0%, #0066cc 100%);
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav li {
        margin: 5px 0;
    }
    
    .banner {
        height: 70vh;
        min-height: 400px;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .banner-content p {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .banner-content .banner-info {
        font-size: 0.95rem;
        margin-bottom: 5px;
        margin-top: 10px;
        line-height: 1.2;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    section {
        padding: 60px 15px;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .service-list,
    .vehicle-list,
    .driver-list {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* --- Video performance optimizations --- */
@media (prefers-reduced-motion: reduce) {
    .banner-video {
        display: none;
    }
    
    .banner::before {
        z-index: -1;
    }
} 