/* Kakao Page Styles */

/* Kakao Section */
.kakao_section {
    padding: 2rem 0 4rem;
    background: #fff;
}

.kakao_section .inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Breadcrumb Navigation */
.location {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border: 1px solid #e1e8ff;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
}

.loc_dep01 {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 0.5rem;
}

.loc_dep01 li {
    position: relative;
}

.loc_dep01 li:not(:last-child)::after {
    content: '>';
    margin-left: 0.5rem;
    color: #999;
    font-weight: 600;
}

.loc_tit {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.loc_tit:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.loc_tit.arrow::after {
    content: '▼';
    margin-left: 0.5rem;
    font-size: 0.8em;
}

.loc_dep02 {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #e1e8ff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 100;
    display: none;
    margin-top: 0.5rem;
}

.loc_dep01 li:hover .loc_dep02 {
    display: block;
}

.loc_dep02 li {
    margin: 0;
    padding: 0;
}

.loc_dep02 a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.loc_dep02 a:hover {
    background: #f8f9ff;
    color: #667eea;
}

.loc_dep02 .curr a {
    background: #667eea;
    color: #fff;
    font-weight: 600;
}

/* Page Header */
.header {
    margin-bottom: 2rem;
}

.tit {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

/* Kakao Intro */
.kakao_intro {
    text-align: center;
    margin-bottom: 4rem;
}

.tit_page {
    font-size: 3rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.tit_page_s {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* Phone Mockup */
.intro_visual {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.kakao_phone_mockup {
    position: relative;
    width: 300px;
    height: 600px;
}

.phone_frame {
    width: 100%;
    height: 100%;
    background: #333;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone_frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #666;
    border-radius: 2px;
}

.phone_screen {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

/* Chat Interface */
.chat_interface {
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.chat_header {
    background: #fee500;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.chat_avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
}

.chat_avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.chat_info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.chat_info p {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

.chat_messages {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
}

.message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.message.show {
    opacity: 1;
    transform: translateY(0);
}

.message.received {
    background: #f0f0f0;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.message.sent {
    background: #fee500;
    color: #333;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

/* Section Titles */
.section_title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.section_title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Kakao Features */
.kakao_features {
    margin-bottom: 4rem;
}

.features_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature_card {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border: 2px solid #e1e8ff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.feature_card.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.feature_icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature_card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.feature_card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Kakao Channel Section */
.kakao_channel_section {
    margin-bottom: 4rem;
}

.channel_info {
    display: flex;
    justify-content: center;
}

.channel_card {
    background: linear-gradient(135deg, #fee500 0%, #ffeb3b 100%);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    box-shadow: 0 15px 40px rgba(254, 229, 0, 0.3);
    max-width: 800px;
    width: 100%;
}

.channel_qr {
    flex-shrink: 0;
}

.qr_code {
    width: 150px;
    height: 150px;
    background: #fff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.qr_placeholder {
    text-align: center;
    color: #666;
}

.qr_pattern {
    width: 100px;
    height: 100px;
    background: repeating-linear-gradient(
        0deg,
        #333 0px,
        #333 2px,
        transparent 2px,
        transparent 8px
    ),
    repeating-linear-gradient(
        90deg,
        #333 0px,
        #333 2px,
        transparent 2px,
        transparent 8px
    );
    margin: 0 auto 0.5rem;
    border-radius: 5px;
}

.channel_details {
    flex: 1;
}

.channel_details h4 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.channel_id {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1rem;
    font-family: monospace;
}

.channel_desc {
    color: #555;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.channel_buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn_kakao_add,
.btn_kakao_chat {
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 150px;
    justify-content: center;
}

.btn_kakao_add {
    background: #333;
    color: #fff;
}

.btn_kakao_add:hover {
    background: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn_kakao_chat {
    background: #fff;
    color: #333;
    border: 2px solid #333;
}

.btn_kakao_chat:hover {
    background: #333;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.kakao_icon {
    font-size: 1.2rem;
}

/* Service Hours */
.service_hours {
    margin-bottom: 4rem;
}

.hours_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.hours_card {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border: 2px solid #e1e8ff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.hours_card.animate {
    opacity: 1;
    transform: translateY(0);
}

.hours_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.hours_icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hours_card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

.hours_time {
    font-size: 1.3rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.hours_desc {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Quick Questions */
.quick_questions {
    margin-bottom: 4rem;
}

.questions_list {
    max-width: 800px;
    margin: 0 auto;
}

.question_item {
    background: #fff;
    border: 2px solid #e1e8ff;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.question_item.animate {
    opacity: 1;
    transform: translateY(0);
}

.question_item:hover {
    border-color: #667eea;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.1);
}

.question_item.active {
    border-color: #667eea;
}

.question_btn {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
}

.question_btn:hover {
    background: #f8f9ff;
}

.question_arrow {
    font-size: 1.2rem;
    color: #667eea;
    transition: transform 0.3s ease;
}

.question_answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8f9ff;
}

.question_answer p {
    padding: 1.5rem 2rem;
    margin: 0;
    color: #666;
    line-height: 1.6;
    border-top: 1px solid #e1e8ff;
}

/* Contact Alternatives */
.contact_alternatives {
    margin-bottom: 4rem;
}

.alternatives_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.alternative_card {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border: 2px solid #e1e8ff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.alternative_card.animate {
    opacity: 1;
    transform: translateY(0);
}

.alternative_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.alt_icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.alternative_card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.alternative_card p {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.alt_desc {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.alt_btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #667eea;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.alt_btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* CTA Section */
.kakao_cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    color: #fff;
    margin-top: 3rem;
}

.kakao_cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.kakao_cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta_buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn_primary,
.btn_secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn_primary {
    background: #fff;
    color: #667eea;
    border: 2px solid #fff;
}

.btn_primary:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-2px);
}

.btn_secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn_secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

/* Fixed Kakao Channel Button */
.kakao_channel_btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all 0.3s ease;
}

.kakao_channel_btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.kakao_channel_btn button {
    background: #fee500;
    border: none;
    border-radius: 50px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(254, 229, 0, 0.4);
    transition: all 0.3s ease;
}

.kakao_channel_btn button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(254, 229, 0, 0.5);
}

.kakao_channel_btn img {
    width: 24px;
    height: 24px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .kakao_section .inner {
        padding: 0 1.5rem;
    }
    
    .tit_page {
        font-size: 2.5rem;
    }
    
    .channel_card {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .features_grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hours_grid {
        grid-template-columns: 1fr;
    }
    
    .alternatives_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .kakao_section .inner {
        padding: 0 1rem;
    }
    
    .tit_page {
        font-size: 2rem;
    }
    
    .tit_page_s {
        font-size: 1rem;
    }
    
    .kakao_phone_mockup {
        width: 250px;
        height: 500px;
    }
    
    .phone_frame {
        padding: 15px;
    }
    
    .chat_header {
        padding: 0.75rem;
    }
    
    .chat_messages {
        padding: 0.75rem;
    }
    
    .section_title {
        font-size: 2rem;
    }
    
    .features_grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature_card {
        padding: 2rem 1.5rem;
    }
    
    .channel_card {
        padding: 2rem 1.5rem;
    }
    
    .channel_details h4 {
        font-size: 1.5rem;
    }
    
    .channel_buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn_kakao_add,
    .btn_kakao_chat {
        width: 100%;
        max-width: 200px;
    }
    
    .hours_card {
        padding: 2rem 1.5rem;
    }
    
    .question_btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .question_answer p {
        padding: 1rem 1.5rem;
    }
    
    .alternatives_grid {
        grid-template-columns: 1fr;
    }
    
    .alternative_card {
        padding: 2rem 1.5rem;
    }
    
    .kakao_cta {
        padding: 2rem 1.5rem;
    }
    
    .kakao_cta h3 {
        font-size: 1.5rem;
    }
    
    .cta_buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .kakao_section {
        padding: 1rem 0 2rem;
    }
    
    .tit_page {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .kakao_phone_mockup {
        width: 200px;
        height: 400px;
    }
    
    .phone_frame {
        padding: 10px;
    }
    
    .chat_header {
        padding: 0.5rem;
    }
    
    .chat_avatar {
        width: 30px;
        height: 30px;
    }
    
    .chat_info h3 {
        font-size: 0.9rem;
    }
    
    .chat_info p {
        font-size: 0.7rem;
    }
    
    .chat_messages {
        padding: 0.5rem;
    }
    
    .message {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
    
    .feature_card {
        padding: 1.5rem 1rem;
    }
    
    .channel_card {
        padding: 1.5rem 1rem;
    }
    
    .qr_code {
        width: 120px;
        height: 120px;
    }
    
    .qr_pattern {
        width: 80px;
        height: 80px;
    }
    
    .channel_details h4 {
        font-size: 1.3rem;
    }
    
    .channel_id {
        font-size: 1rem;
    }
    
    .hours_card {
        padding: 1.5rem 1rem;
    }
    
    .question_btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .question_answer p {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .alternative_card {
        padding: 1.5rem 1rem;
    }
    
    .kakao_cta {
        padding: 2rem 1rem;
    }
    
    .kakao_channel_btn {
        bottom: 15px;
        right: 15px;
    }
    
    .kakao_channel_btn button {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .kakao_channel_btn img {
        width: 20px;
        height: 20px;
    }
}

/* Animation delays for staggered effect */
.feature_card:nth-child(1) { animation-delay: 0.1s; }
.feature_card:nth-child(2) { animation-delay: 0.2s; }
.feature_card:nth-child(3) { animation-delay: 0.3s; }
.feature_card:nth-child(4) { animation-delay: 0.4s; }

.hours_card:nth-child(1) { animation-delay: 0.1s; }
.hours_card:nth-child(2) { animation-delay: 0.2s; }
.hours_card:nth-child(3) { animation-delay: 0.3s; }

.question_item:nth-child(1) { animation-delay: 0.1s; }
.question_item:nth-child(2) { animation-delay: 0.2s; }
.question_item:nth-child(3) { animation-delay: 0.3s; }
.question_item:nth-child(4) { animation-delay: 0.4s; }

.alternative_card:nth-child(1) { animation-delay: 0.1s; }
.alternative_card:nth-child(2) { animation-delay: 0.2s; }
.alternative_card:nth-child(3) { animation-delay: 0.3s; }

