/* Toss-inspired Design System for Changwon Eyebrow */

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Eyebrow Brand Colors - Pink/Rose Theme */
    --primary-pink: #e91e63;
    --primary-pink-light: #f06292;
    --primary-pink-dark: #c2185b;
    --secondary-rose: #ff6b9d;
    --secondary-rose-light: #ff8fab;

    /* Toss Grays */
    --toss-gray-900: #191f28;
    --toss-gray-800: #3c4143;
    --toss-gray-700: #4e5968;
    --toss-gray-600: #6b7684;
    --toss-gray-500: #8b95a1;
    --toss-gray-400: #b0b8c1;
    --toss-gray-300: #d1d6db;
    --toss-gray-200: #e5e8eb;
    --toss-gray-100: #f2f4f6;
    --toss-gray-50: #f9fafb;

    /* Semantic Colors */
    --color-primary: var(--primary-pink);
    --color-background: var(--toss-gray-50);
    --color-surface: #ffffff;
    --color-text-primary: var(--toss-gray-900);
    --color-text-secondary: var(--toss-gray-700);
    --color-text-tertiary: var(--toss-gray-500);
    --color-border: var(--toss-gray-200);
    --color-success: #00c73c;
    --color-warning: #ffab00;
    --color-error: #f23030;

    /* Typography */
    --font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;

    /* Radius */
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-6);
    }
}

/* Typography */
.text-display {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.text-h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.text-h2 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.text-h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
}

.text-h4 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}

.text-h5 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.text-body1 {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.text-body2 {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.text-caption {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text-tertiary);
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-primary);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    list-style: none;
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: var(--color-primary);
    background: var(--toss-gray-100);
}

/* Hero Section */
.hero {
    padding: var(--space-20) 0;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, var(--toss-gray-50) 100%);
}

.hero-title {
    margin-bottom: var(--space-6);
    color: var(--color-text-primary);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-10);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-16);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    border: none;
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-height: 44px;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-pink-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--color-surface);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--toss-gray-100);
    transform: translateY(-1px);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: 18px;
}

/* Stats */
.stats {
    display: flex;
    justify-content: center;
    gap: var(--space-16);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-1);
}

.stat-label {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* Sections */
.section {
    padding: var(--space-20) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-title {
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--toss-gray-300);
}

.card-body {
    padding: var(--space-6);
}

/* Grid */
.grid {
    display: grid;
    gap: var(--space-6);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Shop Cards */
.shop-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.shop-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.shop-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: var(--color-primary);
    color: white;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 600;
}

.shop-header {
    padding: var(--space-6);
    border-bottom: 1px solid var(--color-border);
}

.shop-info {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.shop-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-pink-light), var(--secondary-rose));
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.shop-details h3 {
    margin-bottom: var(--space-2);
}

.shop-rating {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
}

.rating-stars {
    color: #ffd700;
}

.rating-text {
    font-size: 14px;
    color: var(--color-text-tertiary);
}

.shop-location {
    color: var(--color-text-secondary);
    font-size: 14px;
}

.shop-body {
    padding: var(--space-6);
}

.shop-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.specialty-tag {
    background: var(--primary-pink-light);
    color: white;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 500;
}

.shop-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-4);
    line-height: 1.6;
}

.shop-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
}

.price-info {
    text-align: left;
}

.price-label {
    font-size: 12px;
    color: var(--color-text-tertiary);
    display: block;
}

.price-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
}

.contact-btn {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contact-btn:hover {
    background: var(--primary-pink-dark);
    transform: translateY(-1px);
}

/* Service Cards */
.service-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
    font-size: 24px;
    color: white;
}

.service-title {
    margin-bottom: var(--space-3);
}

.service-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-5);
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: var(--space-2) 0;
    color: var(--color-text-secondary);
    position: relative;
    padding-left: var(--space-5);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 600;
}

/* Forms */
.form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 600;
    color: var(--color-text-primary);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-4);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: 16px;
    background: var(--color-surface);
    transition: all 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

/* Contact Methods */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-16);
}

.contact-method {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    font-size: 20px;
    color: white;
}

.contact-title {
    margin-bottom: var(--space-2);
}

.contact-info {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2);
}

.contact-note {
    font-size: 12px;
    color: var(--color-text-tertiary);
}

/* Footer */
.footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: var(--space-16) 0 var(--space-6);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

.footer-section h4 {
    margin-bottom: var(--space-4);
    color: var(--color-text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-2);
}

.footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border);
    text-align: center;
    color: var(--color-text-tertiary);
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 999;
}

.fab:hover {
    background: var(--primary-pink-dark);
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--space-2);
}

.hamburger-bar {
    width: 20px;
    height: 2px;
    background: var(--color-text-primary);
    margin: 2px 0;
    border-radius: 1px;
    transition: 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--color-surface);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: var(--space-8);
        transition: left 0.3s ease;
        border-top: 1px solid var(--color-border);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        padding: var(--space-4) var(--space-6);
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--color-border);
    }

    .text-display {
        font-size: 36px;
    }

    .text-h1 {
        font-size: 28px;
    }

    .hero {
        padding: var(--space-16) 0;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .stats {
        gap: var(--space-8);
    }

    .section {
        padding: var(--space-16) 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 var(--space-4);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-3);
    }

    .hero {
        padding: var(--space-12) 0;
    }

    .section {
        padding: var(--space-12) 0;
    }

    .card-body,
    .service-card,
    .shop-header,
    .shop-body {
        padding: var(--space-5);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-text-secondary); }
.text-tertiary { color: var(--color-text-tertiary); }
.text-success { color: var(--color-success); }
.text-warning { color: var(--color-warning); }
.text-error { color: var(--color-error); }

.bg-primary { background-color: var(--color-primary); }
.bg-surface { background-color: var(--color-surface); }
.bg-gray-50 { background-color: var(--toss-gray-50); }

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }