/* ===============================================
   청춘드라이브 - 공통 스타일 (style.css)
   =============================================== */

/* CSS Variables - 미니멀 투톤 컬러 시스템 */
:root {
    /* 메인 컬러 - 시그니처 핑크 1개만 */
    --primary-color: #ff6b9d;      /* 코랄 핑크 */
    --secondary-color: #feca57;     /* 포인트 옐로우 */
    --accent-color: #48dbfb;        /* 스카이 블루 액센트 */
    
    /* 무채색 계열 */
    --gray-900: #1a1a1a;
    --gray-800: #2d2d2d;
    --gray-700: #404040;
    --gray-600: #595959;
    --gray-500: #737373;
    --gray-400: #8c8c8c;
    --gray-300: #a6a6a6;
    --gray-200: #d9d9d9;
    --gray-100: #f0f0f0;
    --gray-50: #fafafa;
    
    /* 텍스트 컬러 */
    --text-dark: #1a1a1a;          /* 다크 그레이 */
    --text-light: #595959;         /* 미디엄 그레이 */
    
    /* 배경 컬러 */
    --white: #ffffff;
    --black: #000000;
    --bg-light: #fafafa;           /* 거의 흰색 배경 */
    
    /* 심플 그라데이션 2개만 */
    --gradient-main: linear-gradient(135deg, #ff6b9d 0%, #feca57 100%);
    --gradient-subtle: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    
    /* 보더 컬러 */
    --border-color: #f0f0f0;
    
    /* 보조 파스텔 */
    --yellow-kakao: #ffe600;
    --peach-pastel: #ffe5d9;
    --blue-light: #e1f5fe;
    --purple-light: #e8d5ff;
    --green-light: #e8f5e9;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
    color: var(--accent-color);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(255, 107, 157, 0.3);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: white;
    box-shadow: 0 2px 20px rgba(255, 107, 157, 0.2);
    border-bottom: 2px solid var(--pink-light);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: white !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
}

.navbar-brand i {
    background: white;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.header.scrolled .navbar-brand {
    color: var(--accent-color) !important;
}

.header.scrolled .navbar-brand i {
    background: var(--primary-color);
    color: white;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 15px;
    border-radius: 25px;
}

.header.scrolled .navbar-nav .nav-link {
    color: var(--accent-color) !important;
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
}

.header.scrolled .navbar-nav .nav-link:hover {
    background: var(--gray-50);
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.3);
}

/* Breadcrumb */
.breadcrumb {
    background: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: none;
    margin: 20px 0;
    display: inline-flex;
    border: 1px solid var(--gray-200);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: var(--gray-400);
    font-size: 0.9rem;
    margin: 0 10px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 30px;
    padding: 18px 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
    position: relative;
    overflow: hidden;
    color: white;
}

.btn-primary::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;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 157, 0.4);
}

/* Section Styles */
.section {
    padding: 80px 0;
    position: relative;
}

.section:nth-child(even) {
    background: var(--gray-50);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Fixed CTA Buttons - 미니멀 플로팅 버튼 */
.cta-buttons,
.fixed-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.cta-btn,
.fixed-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-width: 140px;
    height: 48px;
    padding: 0 20px;
    border-radius: 24px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
    white-space: nowrap;
}

.cta-btn span,
.fixed-cta-btn span {
    font-size: 0.9rem;
    font-weight: 600;
}

.cta-btn::before,
.fixed-cta-btn::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:hover::before,
.fixed-cta-btn:hover::before {
    width: 200px;
    height: 200px;
}

.cta-btn.kakao,
.fixed-cta-btn.kakao {
    background:#FECA57FF;
    color: var(--gray-900);
}

.cta-btn.tel,
.fixed-cta-btn.tel {
    background: var(--gray-900);
    color: white;
}

.cta-btn.apply,
.fixed-cta-btn.apply {
    background: #ff6b9d;
    color: white;
}

.cta-btn:hover,
.fixed-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.cta-btn i,
.fixed-cta-btn i {
    font-size: 1.2rem;
}

.cta-btn i,
.fixed-cta-btn i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-btn:hover i,
.fixed-cta-btn:hover i {
    transform: scale(1.1);
}

.cta-btn.tel i,
.fixed-cta-btn.tel i {
    animation: ring 2s ease-in-out infinite;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    color: #b5b5b5;
    padding: 50px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradient 3s ease infinite;
}

.footer-content {
    text-align: center;
}

.footer-content h3 {
    color: white;
    margin-bottom: 20px;
   font-family:'Malgun Gothic',"맑은 고딕",AppleGothic,Dotum,"돋움", sans-serif;
    font-size: 2rem;
}

.footer-content .tel {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-content .tel i {
    color: var(--yellow-kakao);
    margin-right: 10px;
}

/* Common Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@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 gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.5) rotate(180deg); opacity: 0.5; }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Emoji Decorations */
.emoji-float {
    position: fixed;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* Form Elements */
.form-control,
.form-select {
    border: 2px solid var(--pink-light);
    border-radius: 25px;
    padding: 15px 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 157, 0.25);
    background: #fffcfd;
}

.form-label {
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-label i {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .cta-buttons,
    .fixed-cta {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }

    .cta-btn,
    .fixed-cta-btn {
        min-width: 120px;
        height: 42px;
        padding: 0 16px;
        font-size: 0.85rem;
    }
    
    .cta-btn i,
    .fixed-cta-btn i {
        font-size: 1rem;
    }

    .hide-mobile {
        display: none;
    }
}

/* Utility Classes */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-accent { background-color: var(--accent-color) !important; }