/* ===============================================
   낭만드라이브 - 공통 스타일 (style.css)
   =============================================== */

/* CSS Variables - 색상 정의 */
:root {
    --primary-color: #fc74a6;
    --secondary-color: #fe6981;
    --accent-color: #263172;
    --success-color: #b5ca31;
    --warning-color: #efb74c;
    --info-color: #00b3ce;
    --danger-color: #ff6350;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-color: #f0e0e8;
    --pink-light: #ffe0ee;
    --pink-pastel: #ffc0db;
    --yellow-kakao: #ffe600;
    --purple-light: #e8d5ff;
    --blue-light: #e0f2ff;
    --green-light: #e8f5e9;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fef6f9;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Jua', sans-serif;
    color: var(--accent-color);
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Header Styles */
.header {
    background: linear-gradient(to right, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(252, 116, 166, 0.3);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: white;
    box-shadow: 0 2px 20px rgba(252, 116, 166, 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: 'Jua', 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(--pink-light);
    color: var(--accent-color) !important;
}

.navbar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.3);
}

/* Breadcrumb */
.breadcrumb {
    background: white;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(252, 116, 166, 0.1);
    margin: 20px 0;
    display: inline-flex;
    border: 2px solid var(--pink-light);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "❤️";
    color: var(--primary-color);
    font-size: 0.8rem;
    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(252, 116, 166, 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(252, 116, 166, 0.4);
}

/* Section Styles */
.section {
    padding: 80px 0;
    position: relative;
}

.section:nth-child(even) {
    background: linear-gradient(135deg, #fff 0%, var(--pink-light) 100%);
}

.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: 'Jua', 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: 15px;
}

.cta-btn,
.fixed-cta-btn {
    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::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: var(--yellow-kakao);
    color: #191919;
}

.cta-btn.tel,
.fixed-cta-btn.tel {
    background: linear-gradient(135deg, #ff6350, #ff8a65);
    color: white;
}

.cta-btn:hover,
.fixed-cta-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.cta-btn i,
.fixed-cta-btn i {
    font-size: 1.2rem;
}

.cta-btn.tel i,
.fixed-cta-btn.tel i {
    animation: ring 1s 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: 'Jua', 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(252, 116, 166, 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: 20px;
        right: 20px;
    }

    .cta-btn,
    .fixed-cta-btn {
        width: 130px;
        padding: 15px;
        font-size: 0.85rem;
    }

    .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; }