﻿@charset "utf-8";
/* 말더듬 치료센터 메인 CSS - 모바일 퍼스트 */

/* Reset & Base */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    background: linear-gradient(135deg, #4ECDC4 0%, #667eea 100%); 
    min-height: 100vh; 
    color: #333; 
}

.stutter-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 16px; 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; 
}

.stutter-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 16px 0; 
    margin-bottom: 24px; 
    position: relative;
    background: linear-gradient(135deg, #4ECDC4 0%, #667eea 100%); 
}

.stutter-hamburger { 
    display: flex; 
    flex-direction: column; 
    cursor: pointer; 
    padding: 8px; 
    background: rgba(255, 255, 255, 0.1); 
    border-radius: 8px; 
    transition: all 0.3s ease; 
}

.stutter-hamburger:hover { 
    background: rgba(255, 255, 255, 0.2); 
}

.stutter-hamburger span { 
    width: 22px; 
    height: 3px; 
    background: white; 
    margin: 2px 0; 
    transition: 0.3s; 
    border-radius: 2px; 
}

.stutter-hamburger.active span:nth-child(1) { 
    transform: rotate(-45deg) translate(-4px, 5px); 
}

.stutter-hamburger.active span:nth-child(2) { 
    opacity: 0; 
}

.stutter-hamburger.active span:nth-child(3) { 
    transform: rotate(45deg) translate(-4px, -5px); 
}

.stutter-dropdown-menu { 
    position: absolute; 
    top: 100%; 
    right: 0; 
    background: white; 
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); 
    min-width: 280px; 
    overflow: hidden; 
    opacity: 0; 
    transform: translateY(-10px); 
    transition: all 0.3s ease; 
    pointer-events: none; 
    z-index: 1000;
}

.stutter-dropdown-menu.show { 
    opacity: 1; 
    transform: translateY(0); 
    pointer-events: all; 
}

.stutter-menu-divider { 
    border: none; 
    border-top: 1px solid #e0e0e0; 
    margin: 8px 16px; 
}

.stutter-dropdown-menu a { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    padding: 12px 20px; 
    color: #333; 
    text-decoration: none; 
    transition: all 0.3s ease; 
    border-bottom: 1px solid #f0f0f0; 
    font-size: 14px; 
    font-weight: 500; 
    opacity: 0; 
    animation: stutter-slideInRight 0.3s ease forwards; 
}

.stutter-dropdown-menu a:hover { 
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); 
    color: #495057; 
    transform: translateX(3px); 
}

.stutter-dropdown-menu a:last-child { 
    border-bottom: none; 
}

.stutter-menu-section { 
    padding: 0; 
}

.stutter-auth-menu a { 
    background: linear-gradient(135deg, #4ECDC4 0%, #667eea 100%); 
    color: white; 
    margin: 8px; 
    border-radius: 8px; 
    border-bottom: none; 
}

.stutter-auth-menu a:hover { 
    background: linear-gradient(135deg, #44b09e 0%, #5a6fd8 100%); 
    transform: translateY(-1px); 
}

.stutter-user-menu a { 
    position: relative; 
    padding-left: 45px; 
}

.stutter-user-menu a:before { 
    content: ''; 
    position: absolute; 
    left: 20px; 
    top: 50%; 
    transform: translateY(-50%); 
    width: 4px; 
    height: 4px; 
    background: #4ECDC4; 
    border-radius: 50%; 
}

.stutter-menu-header { 
    padding: 8px 20px; 
    font-size: 12px; 
    font-weight: bold; 
    color: #666; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    background: #f8f9fa; 
    border-bottom: 1px solid #e0e0e0; 
}

.stutter-dropdown-menu a .stutter-menu-icon { 
    font-size: 16px; 
    width: 20px; 
    text-align: center; 
}

.stutter-dropdown-menu.show a { 
    animation-delay: calc(var(--item-index) * 0.05s); 
}

@keyframes stutter-slideInRight { 
    from { 
        opacity: 0; 
        transform: translateX(-10px); 
    } 
    to { 
        opacity: 1; 
        transform: translateX(0); 
    } 
}

.stutter-main-content { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
}

.stutter-search {
    width: 100%;
    max-width: 400px;
    margin-bottom: 32px;
}

.stutter-search-box {
    display: flex;
    background: white;
    border-radius: 25px;
    padding: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stutter-search-box:focus-within {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.stutter-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 25px;
    background: transparent;
}

.stutter-search-input::placeholder {
    color: #999;
}

.stutter-search-btn {
    background: linear-gradient(135deg, #4ECDC4 0%, #667eea 100%);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.stutter-search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.stutter-welcome-text { 
    color: white; 
    margin-bottom: 32px;
    margin-top: 16px; 
}

.stutter-welcome-text h1 { 
    font-size: 24px; 
    margin-bottom: 8px; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); 
    line-height: 1.3;
}

.stutter-welcome-text p { 
    font-size: 16px; 
    opacity: 0.9; 
    line-height: 1.5;
}

.stutter-service-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 16px; 
    width: 100%; 
    max-width: 400px; 
}

.stutter-service-btn { 
    background: white; 
    border: none; 
    padding: 20px 24px; 
    border-radius: 15px; 
    font-size: 16px; 
    font-weight: 600; 
    color: #333; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
    text-decoration: none; 
    display: block; 
    position: relative; 
    text-align: center;
}

.stutter-service-btn:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); 
}

.stutter-service-btn:active { 
    transform: translateY(0); 
}

.stutter-service-btn .stutter-subtitle { 
    font-size: 12px; 
    color: #666; 
    margin-top: 4px; 
    font-weight: normal; 
    line-height: 1.3;
}

.stutter-service-btn.featured { 
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%); 
    color: white; 
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3); 
}

.stutter-service-btn.featured:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4); 
}

.stutter-service-btn.featured .stutter-subtitle { 
    color: rgba(255, 255, 255, 0.9); 
}

.stutter-service-btn.featured::after { 
    content: "추천"; 
    position: absolute; 
    top: -8px; 
    right: -8px; 
    background: #4ECDC4; 
    color: white; 
    padding: 4px 8px; 
    border-radius: 12px; 
    font-size: 10px; 
    font-weight: bold; 
    box-shadow: 0 2px 8px rgba(78, 205, 196, 0.3); 
}

.stutter-service-btn.therapy {
    background: linear-gradient(135deg, #4ECDC4 0%, #44b09e 100%);
    color: white;
}

.stutter-service-btn.therapy:hover {
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

.stutter-service-btn.therapy .stutter-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.stutter-service-btn.community {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stutter-service-btn.community:hover {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.stutter-service-btn.community .stutter-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.stutter-fade-in { 
    animation: stutter-fadeIn 1s ease-in; 
}

@keyframes stutter-fadeIn { 
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    } 
    to { 
        opacity: 1; 
        transform: translateY(0); 
    } 
}

/* 태블릿 스타일 */
@media (min-width: 768px) { 
    .stutter-container { 
        padding: 32px; 
    } 
    
    .stutter-header {
        padding: 24px 0;
        margin-bottom: 40px;
    }
    
    .stutter-welcome-text h1 { 
        font-size: 36px; 
    } 
    
    .stutter-welcome-text p { 
        font-size: 18px; 
    } 
    
    .stutter-service-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 24px; 
        max-width: 600px; 
    } 
    
    .stutter-service-btn { 
        padding: 28px 20px; 
        font-size: 18px; 
    }
    
    .stutter-search {
        max-width: 500px;
    }
    
    .stutter-search-input {
        padding: 14px 24px;
        font-size: 17px;
    }
    
    .stutter-search-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

/* 데스크톱 스타일 */
@media (min-width: 1024px) { 
    .stutter-container {
        padding: 40px;
    }
    
    .stutter-welcome-text h1 { 
        font-size: 42px; 
    } 
    
    .stutter-welcome-text p { 
        font-size: 20px; 
    } 
    
    .stutter-service-grid { 
        grid-template-columns: repeat(3, 1fr); 
        gap: 30px; 
        max-width: 900px; 
    } 
    
    .stutter-service-btn { 
        padding: 32px 24px; 
        font-size: 20px; 
    }
    
    .stutter-search {
        max-width: 600px;
        margin-bottom: 48px;
    }
}

/* 모바일 메뉴 조정 */
@media (max-width: 767px) { 
    .stutter-dropdown-menu { 
        min-width: 250px; 
        right: -10px; 
    } 
    
    .stutter-dropdown-menu a { 
        padding: 15px 20px; 
        font-size: 15px; 
    }
    
    .stutter-service-btn {
        padding: 18px 20px;
        font-size: 15px;
    }
    
    .stutter-service-btn .stutter-subtitle {
        font-size: 11px;
    }
}

/* 대형 데스크톱 */
@media (min-width: 1200px) { 
    .stutter-service-btn { 
        padding: 36px 28px; 
        font-size: 22px; 
    }
    
    .stutter-welcome-text h1 { 
        font-size: 48px; 
    } 
}

/* 다크모드 지원 */
@media (prefers-color-scheme: dark) {
    .stutter-service-btn {
        background: rgba(255, 255, 255, 0.95);
    }
    
    .stutter-search-box {
        background: rgba(255, 255, 255, 0.95);
    }
}

/* 접근성 개선 */
@media (prefers-reduced-motion: reduce) {
    .stutter-service-btn {
        transition: none;
    }
    
    .stutter-fade-in {
        animation: none;
    }
    
    .stutter-hamburger span {
        transition: none;
    }
}

/* 포커스 스타일 */
.stutter-service-btn:focus,
.stutter-search-btn:focus,
.stutter-search-input:focus {
    outline: 2px solid #4ECDC4;
    outline-offset: 2px;
}