/* ===============================================
   청춘드라이브 - 운전연수비용 페이지 스타일
   =============================================== */

/* Page Header - road.php 스타일과 통일 */
.page-header {
    background: var(--gradient-main);
    padding: 120px 0 60px;
    margin-top: 76px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '🚗';
    position: absolute;
    top: 20px;
    right: 10%;
    font-size: 8rem;
    opacity: 0.1;
    transform: rotate(-15deg);
    animation: float 10s ease-in-out infinite;
}

.page-header::after {
    content: '💰';
    position: absolute;
    bottom: 20px;
    left: 10%;
    font-size: 6rem;
    opacity: 0.1;
    transform: rotate(15deg);
    animation: float 10s ease-in-out infinite reverse;
}

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

.page-header h1 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

/* Section Headers */
.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 15px;
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
}

/* Price Category */
.price-category {
    position: relative;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.badge-label {
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.3);
}

/* Price Cards */
.price-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
    height: 100%;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.price-card-img {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--gray-50);
}

.price-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.price-card:hover .price-card-img img {
    transform: scale(1.05);
}

.price-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary-color);
    color: var(--gray-900);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(254, 202, 87, 0.5);
}

.price-badge.highlight {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(255, 107, 157, 0.5);
}

.price-card-body {
    padding: 30px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.feature-list li {
    padding: 10px 0;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.price-tag {
    background: var(--gray-50);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid var(--gray-100);
}

.price-label {
    font-size: 0.95rem;
    color: var(--gray-600);
    font-weight: 500;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
}

.price-amount small {
    font-size: 1rem;
    font-weight: 500;
    margin-left: 3px;
}

.age-notice {
    margin-top: 15px;
    padding: 12px;
    background: rgba(255, 107, 157, 0.1);
    border-radius: 10px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.age-notice i {
    font-size: 1rem;
}

/* Price Table */
.price-table-wrapper {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-100);
}

.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 15px;
}

.price-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.price-table th {
    padding: 20px;
    color: white;
    font-weight: 600;
    text-align: center;
    font-size: 1.1rem;
    border: none;
}

.price-table tbody tr {
    border-bottom: 1px solid var(--gray-100);
}

.price-table tbody tr:last-child {
    border-bottom: none;
}

.price-table td {
    padding: 25px 20px;
    text-align: center;
    vertical-align: middle;
    background: white;
}

.price-table tbody tr:hover {
    background: var(--gray-50);
}

.table-label {
    font-weight: 600;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.label-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.label-badge.own {
    background: var(--secondary-color);
    color: var(--gray-900);
}

.label-badge.training {
    background: var(--primary-color);
    color: white;
}

.price-cell {
    font-size: 1.2rem;
    color: var(--gray-700);
}

.price-cell .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
}

.table-notice {
    text-align: center;
}

.table-notice p {
    font-size: 1rem;
    color: var(--gray-700);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.table-notice i {
    color: var(--secondary-color);
}

/* Important Notice */
.notice-important {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.05) 0%, rgba(254, 202, 87, 0.05) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.notice-important::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.notice-important .notice-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notice-important .notice-title i {
    font-size: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

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

.notice-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 20px;
    background: white;
    border-radius: 15px;
    height: 100%;
}

.notice-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.notice-item h4 {
    font-size: 1.2rem;
    color: var(--gray-900);
    margin-bottom: 10px;
    font-weight: 600;
}

.notice-item p {
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

/* Package Cards */
.package-cards {
    margin-top: 40px;
}

.package-card {
    background: white;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.package-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gray-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.package-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.package-card:hover .package-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

.package-card:hover .package-icon i {
    color: white;
}

.package-card h4 {
    font-size: 1.3rem;
    color: var(--gray-900);
    margin-bottom: 15px;
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
}

.package-card p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid var(--gray-200);
    border-radius: 12px !important;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-button {
    background: white;
    color: var(--gray-900);
    font-weight: 600;
    padding: 20px 25px;
    font-size: 1.1rem;
    border: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1) 0%, rgba(254, 202, 87, 0.1) 100%);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.accordion-button::after {
    background-image: none;
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    content: '−';
    transform: rotate(0);
}

.accordion-body {
    padding: 25px;
    color: var(--gray-600);
    line-height: 1.7;
    background: var(--gray-50);
}

/* CTA Section */
.cta-section {
    background: var(--gray-50);
    padding: 80px 0;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 15px;
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 30px;
}

.cta-buttons-inline {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Responsive Design */
/* ===============================================
   반응형 디자인 - road.css와 동일한 구조
   =============================================== */
@media (max-width: 992px) {
    .price-table-wrapper {
        padding: 25px;
        overflow-x: auto;
    }
    
    .price-table {
        min-width: 500px;
    }
    
    .price-card {
        padding: 25px 20px;
    }
}

@media (max-width: 768px) {
    /* Page Header 모바일 최적화 - road.css와 동일 (패딩 유지) */
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .page-header::before,
    .page-header::after {
        font-size: 4rem;
    }
    
    /* 페이지 컨텐츠 여백 조정 */
    .page-content {
        padding: 20px 0;
    }
    
    /* 컨테이너 여백 조정 */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Breadcrumb 모바일 최적화 */
    .breadcrumb {
        padding: 15px 20px;
        border-radius: 25px;
        margin-bottom: 20px;
        font-size: 0.9rem;
    }
    
    /* 섹션 제목 모바일 최적화 */
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    /* 가격 카드 모바일 최적화 */
    .price-card {
        padding: 30px 20px;
        margin-bottom: 30px;
        border-radius: 20px;
    }
    
    .price-card h3 {
        font-size: 1.6rem;
    }
    
    .price-value {
        font-size: 2rem;
    }
    
    /* 가격 테이블 모바일 최적화 */
    .price-table-wrapper {
        padding: 20px;
        margin: 0 -15px;
        border-radius: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .price-table {
        min-width: 600px;
        font-size: 0.85rem;
    }
    
    .price-table th,
    .price-table td {
        padding: 12px 8px;
        min-width: 80px;
    }
    
    /* 정보 카드 모바일 최적화 */
    .info-card {
        padding: 25px 20px;
        margin-bottom: 20px;
        border-radius: 20px;
    }
    
    .info-card h3 {
        font-size: 1.4rem;
    }
    
    /* 이모지 장식 모바일에서 숨김 */
    .emoji-float {
        display: none;
    }
    
    /* 모바일에서 숨길 요소들 */
    .hide-mobile {
        display: none !important;
    }
    
    /* 버튼 모바일 최적화 */
    .btn-primary {
        width: 100%;
        justify-content: center;
        margin: 20px 0;
        padding: 18px 30px;
        font-size: 1rem;
    }
}
    
    .category-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .price-card-img {
        height: 200px;
    }
    
    .price-card-body {
        padding: 20px;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
    
    .price-amount {
        font-size: 1.5rem;
    }
    
    .price-table th,
    .price-table td {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    .table-label {
        flex-direction: column;
        gap: 5px;
    }
    
    .notice-important {
        padding: 25px;
    }
    
    .notice-item {
        flex-direction: column;
        text-align: center;
    }
    
    .package-card {
        padding: 25px 20px;
    }
    
    .accordion-button {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-buttons-inline {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons-inline .btn {
        width: 100%;
        max-width: 300px;
    }
}