/* 버스림 - 모던 앱 스타일 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    height: 100%;
    overflow: auto;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    height: 100%;
    overflow: auto;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 헤더 */
header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    position: relative;
}

.site-info {
    flex: 0 0 auto;
}

.site-subtitle {
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    line-height: 1;
}

/* 햄버거 메뉴 버튼 */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    justify-content: center;
    align-items: center;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* 네비게이션 */
nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.3);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding-top: 100px;
}

nav.active {
    right: 0;
}

nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 8px;
    padding: 0 20px;
}

nav li {
    border-bottom: none;
}

nav a {
    display: flex;
    align-items: center;
    padding: 24px 28px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: #6366f1;
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    padding-left: 36px;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

nav a:hover::before {
    transform: scaleY(1);
}

nav a:active {
    transform: translateX(2px) scale(0.98);
}

/* 오버레이 */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 히어로 섹션 */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

/* 버튼 */
.btn-primary {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}

/* 섹션 */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--text-dark);
}

/* 차량 카드 */
.vehicles {
    background: var(--white);
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.vehicle-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
}

.vehicle-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.vehicle-card h3 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.vehicle-card .capacity {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 12px 0;
}

.vehicle-card .price {
    color: var(--primary);
    font-size: 24px;
    font-weight: 700;
    margin: 16px 0;
}

.vehicle-card .description {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.5;
    margin-top: 12px;
}

/* 견적 폼 */
.quote-form {
    background: var(--bg-light);
}

.quote-form form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    margin-bottom: 24px;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
}

.required {
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.quote-form button {
    width: 100%;
    padding: 18px;
    font-size: 17px;
    margin-top: 8px;
}

/* 연락처 */
.contact {
    background: var(--white);
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
}

.contact-info p {
    font-size: 17px;
    margin: 16px 0;
    color: var(--text-dark);
}

.contact-info strong {
    color: var(--primary);
    font-weight: 600;
}

/* 푸터 */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 32px 0;
    text-align: center;
}

footer p {
    opacity: 0.8;
    font-size: 14px;
}

/* 반응형 */
@media (max-width: 768px) {
    header .container {
        padding: 14px 16px;
    }

    .site-subtitle {
        font-size: 22px;
    }

    .menu-toggle {
        width: 34px;
        height: 34px;
    }

    .menu-toggle span {
        width: 24px;
        height: 3px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    section {
        padding: 48px 0;
    }

    section h2 {
        font-size: 24px;
        margin-bottom: 32px;
    }

    .quote-form form {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .vehicle-grid {
        grid-template-columns: 1fr;
    }
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vehicle-card,
.contact-info {
    animation: fadeInUp 0.6s ease-out;
}
