@charset "utf-8";

/* ===============================================
   청춘드라이브 - 도로연수 페이지 스타일 (style-road.css)
   =============================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;900&family=Jua&display=swap');

/* CSS Variables */
:root {
    --primary-color: #ff6b9d;
    --secondary-color: #ff477e;
    --accent-color: #c9184a;
    --success-color: #b5ca31;
    --warning-color: #efb74c;
    --info-color: #7ec8ba;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-color: #ffe0ec;
    --pink-light: #fff0f5;
    --pink-pastel: #a8e8dc;
    --yellow-kakao: #ffe600;
    --pink-medium: #ff9bb3;
}

/* Road Page Background */
.road-page {
    background-image:
            radial-gradient(circle at 20% 80%, var(--pink-light) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, var(--pink-medium) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(232, 249, 245, 0.3) 0%, transparent 50%);
}

/* ===============================================
   Page Header
   =============================================== */
.page-header {
    background: linear-gradient(135deg, var(--pink-medium) 0%, var(--pink-pastel) 100%);
    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;
}

.page-header h1 {
    color: var(--accent-color);
    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(255, 255, 255, 0.8);
}

.page-header h1::after {
    content: ' 🚙';
    color: var(--primary-color);
}

.page-header p {
    color: var(--text-dark);
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

/* ===============================================
   Course Section
   =============================================== */
.course-section {
    padding: 80px 0;
}

/* Course Cards */
.course-card {
    background: white;
    border-radius: 40px;
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 3px solid var(--pink-light);
}

.course-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--pink-light) 0%, transparent 70%);
    border-radius: 50%;
}

.course-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 107, 157, 0.25);
    border-color: var(--primary-color);
}

.course-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.course-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
}

.course-title h2::before {
    content: '✨ ';
    color: var(--primary-color);
}

.course-title span {
    font-size: 1.2rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 20px;
}

/* ===============================================
   Price Badges
   =============================================== */
.price-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.price-badge {
    background: linear-gradient(135deg, var(--warning-color), #f7c360);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(239, 183, 76, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.price-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.5s;
    transform: rotate(45deg);
}

.price-badge:hover::before {
    animation: shine 0.5s ease-in-out;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.price-badge:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.price-badge.green {
    background: linear-gradient(135deg, var(--success-color), #c5da41);
}

.price-badge.pink {
    background: linear-gradient(135deg, #7ec8ba, #ea8eac);
}

.vat-notice {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0;
    margin-bottom: 20px;
}

/* ===============================================
   Schedule Table
   =============================================== */
.schedule-table {
    margin-top: 30px;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.1);
    border: 2px solid var(--pink-light);
}

.schedule-table th {
    background: linear-gradient(135deg, var(--pink-light), var(--pink-medium));
    color: var(--accent-color);
    font-weight: 700;
    padding: 25px;
    font-size: 1.3rem;
    border: none;
    vertical-align: middle;
    text-align: center;
    width: 200px;
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
}

.schedule-table td {
    padding: 25px;
    background: white;
    border: none;
    vertical-align: top;
}

.schedule-table tr {
    border-bottom: 2px solid var(--pink-light);
    transition: all 0.3s ease;
}

.schedule-table tr:hover {
    background: linear-gradient(135deg, #fff, #fffbfc);
}

.schedule-table tr:last-child {
    border-bottom: none;
}

.day-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
}

.day-title i {
    background: var(--pink-light);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.day-content {
    color: var(--text-dark);
    line-height: 1.8;
    padding-left: 45px;
}

.course-note {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    padding: 20px 30px;
    border-radius: 25px;
    color: #856404;
    font-size: 0.95rem;
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 2px solid #ffe082;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.2);
}

.course-note i {
    font-size: 1.5rem;
    color: #f39c12;
}

/* ===============================================
   Area Section
   =============================================== */
.area-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff 0%, var(--pink-light) 100%);
    position: relative;
}

.area-section::before {
    content: '🗺️';
    position: absolute;
    top: 50px;
    left: 5%;
    font-size: 6rem;
    opacity: 0.05;
    transform: rotate(-15deg);
}

.area-card {
    background: white;
    border-radius: 40px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.2);
    border: 3px solid var(--pink-light);
    position: relative;
    overflow: hidden;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--pink-medium) 0%, var(--pink-pastel) 100%);
    opacity: 0.1;
    z-index: 0;
}

.area-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.area-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent-color);
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
}

.area-title h2::after {
    content: ' 📍';
    color: var(--primary-color);
}

.area-title p {
    font-size: 1.2rem;
    color: var(--text-dark);
}

/* Area Table - 반응형 이미지 추가 */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.area-table {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 2px solid var(--pink-light);
    width: 100%;
}

.area-table th {
    vertical-align: middle !important;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 700;
    padding: 25px;
    font-size: 1.2rem;
    border: none;
    text-align: center;
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
    width: 25%;
}

.area-table td {
    padding: 25px;
    color: var(--text-dark);
    border: none;
    line-height: 1.8;
    background: white;
    text-align: center;
    width: 75%;
}

/* 이미지 래퍼 */
.img-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.area-table img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    object-fit: cover;
}

.area-table tr {
    border-bottom: 2px solid var(--pink-light);
    transition: all 0.3s ease;
}

.area-table tr:hover {
    background: linear-gradient(135deg, #fff, var(--pink-light));
}

.area-table tr:last-child {
    border-bottom: none;
}

/* ===============================================
   CTA Section
   =============================================== */
/*.cta-section {*/
/*    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);*/
/*    padding: 60px 0;*/
/*    text-align: center;*/
/*    color: white;*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*}*/

/*.cta-section::before {*/
/*    content: '🎯';*/
/*    position: absolute;*/
/*    top: 20px;*/
/*    right: 5%;*/
/*    font-size: 4rem;*/
/*    opacity: 0.1;*/
/*    animation: bounce 2s ease-in-out infinite;*/
/*}*/

/*.cta-section h3 {*/
/*    font-size: 2rem;*/
/*    margin-bottom: 20px;*/
/*   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;*/
/*}*/

/*.cta-section h3::after {*/
/*    content: ' 💪';*/
/*}*/

/*.cta-section p {*/
/*    font-size: 1.2rem;*/
/*    margin-bottom: 30px;*/
/*}*/

/*.cta-btn {*/
/*    background: white;*/
/*    color: var(--primary-color);*/
/*    padding: 18px 50px;*/
/*    border-radius: 30px;*/
/*    font-weight: 600;*/
/*    font-size: 1.1rem;*/
/*    text-decoration: none;*/
/*    display: inline-block;*/
/*    transition: all 0.3s ease;*/
/*    box-shadow: 0 5px 20px rgba(0,0,0,0.2);*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*}*/

/*.cta-btn::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    width: 0;*/
/*    height: 0;*/
/*    border-radius: 50%;*/
/*    background: var(--pink-light);*/
/*    transform: translate(-50%, -50%);*/
/*    transition: width 0.5s, height 0.5s;*/
/*}*/

/*.cta-btn:hover::before {*/
/*    width: 300px;*/
/*    height: 300px;*/
/*}*/

/*.cta-btn:hover {*/
/*    transform: scale(1.05) translateY(-3px);*/
/*    box-shadow: 0 8px 30px rgba(0,0,0,0.3);*/
/*    color: var(--primary-color);*/
/*}*/

/*.cta-btn span {*/
/*    position: relative;*/
/*    z-index: 1;*/
/*}*/

/*!* ===============================================*/
/*   Fixed CTA Buttons (퀵메뉴)*/
/*   =============================================== *!*/
/*.cta-buttons {*/
/*    position: fixed;*/
/*    bottom: 30px;*/
/*    right: 30px;*/
/*    z-index: 999;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 15px;*/
/*}*/

/*.cta-btn.kakao,*/
/*.cta-btn.tel {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    gap: 8px;*/
/*    width: 150px;*/
/*    padding: 18px;*/
/*    border-radius: 30px;*/
/*    text-align: center;*/
/*    font-weight: 700;*/
/*    text-decoration: none;*/
/*    transition: all 0.3s ease;*/
/*    box-shadow: 0 5px 20px rgba(0,0,0,0.2);*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*    font-size: 0.9rem;*/
/*}*/

/*.cta-btn.kakao::before,*/
/*.cta-btn.tel::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    width: 0;*/
/*    height: 0;*/
/*    border-radius: 50%;*/
/*    background: rgba(255, 255, 255, 0.3);*/
/*    transform: translate(-50%, -50%);*/
/*    transition: width 0.5s, height 0.5s;*/
/*}*/

/*.cta-btn.kakao:hover::before,*/
/*.cta-btn.tel:hover::before {*/
/*    width: 200px;*/
/*    height: 200px;*/
/*}*/

/*.cta-btn.kakao {*/
/*    background: var(--yellow-kakao);*/
/*    color: #191919;*/
/*}*/

/*.cta-btn.tel {*/
/*    background: linear-gradient(135deg, #ff8fab, #ff8a65);*/
/*    color: white;*/
/*}*/

/*.cta-btn.kakao:hover,*/
/*.cta-btn.tel:hover {*/
/*    transform: scale(1.1) translateY(-3px);*/
/*    box-shadow: 0 8px 25px rgba(0,0,0,0.3);*/
/*}*/

/*.cta-btn.kakao i,*/
/*.cta-btn.tel i {*/
/*    font-size: 1.2rem;*/
/*}*/

/*.cta-btn.tel i {*/
/*    animation: ring 1s ease-in-out infinite;*/
/*}*/

/*@keyframes ring {*/
/*    0%, 100% { transform: rotate(0deg); }*/
/*    10%, 30% { transform: rotate(-10deg); }*/
/*    20%, 40% { transform: rotate(10deg); }*/
/*}*/

/*.cta-btn.kakao span,*/
/*.cta-btn.tel span {*/
/*    position: relative;*/
/*    z-index: 1;*/
/*}*/

/* ===============================================
   Animations
   =============================================== */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* ===============================================
   Responsive
   =============================================== */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .course-title h2 {
        font-size: 1.8rem;
    }

    .course-card {
        padding: 30px 20px;
    }

    .schedule-table th {
        font-size: 1rem;
        padding: 15px;
        width: 100px;
    }

    .schedule-table td {
        padding: 15px;
        font-size: 0.9rem;
    }

    .day-content {
        padding-left: 0;
    }

    .price-badges {
        margin-bottom: 25px;
        gap: 10px;
    }

    .price-badge {
        font-size: 0.85rem;
        padding: 10px 20px;
        margin-bottom: 5px;
    }

    .area-card {
        padding: 30px 20px;
    }

    /* Area Table 모바일 반응형 */
    .area-table th {
        font-size: 1rem;
        padding: 15px;
        width: 30%;
    }

    .area-table td {
        padding: 15px;
        width: 70%;
    }

    .area-table img {
        max-width: 100%;
        height: auto;
    }

    /* 테이블 가로 스크롤 */
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* 모바일 퀵메뉴 */
    /*.cta-buttons {*/
    /*    bottom: 20px;*/
    /*    right: 20px;*/
    /*}*/

    /*.cta-btn.kakao,*/
    /*.cta-btn.tel {*/
    /*    width: 130px;*/
    /*    padding: 15px;*/
    /*    font-size: 0.85rem;*/
    /*}*/
}

/* 매우 작은 화면 (480px 이하) */
@media (max-width: 480px) {
    .area-table {
        font-size: 0.9rem;
    }

    .area-table th {
        font-size: 0.9rem;
        padding: 10px;
        width: 35%;
    }

    .area-table td {
        padding: 10px;
        width: 65%;
    }

    .img-wrapper {
        max-width: 100%;
    }

    .area-title h2 {
        font-size: 1.8rem;
    }

    .cta-section h3 {
        font-size: 1.5rem;
    }
}