/* 기본 설정 및 변수 */
:root {
    --primary-color: #C5A572;  /* 골드 프라이머리 */
    --secondary-color: #8C6239; /* 브론즈/브라운 */
    --accent-color: #F2E9DA;    /* 샴페인 베이지 */
    --success-color: #4CAF50;   /* 그린 */
    --danger-color: #D9534F;    /* 레드 */
    --dark-color: #111111;      /* 리치 블랙 */
    --light-color: #FAFAFA;     /* 소프트 화이트 */
    --text-primary: #1A1A1A;
    --text-secondary: #6B7280;
    --border-color: #E5E7EB;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 6px 16px rgba(0,0,0,0.10);
    --shadow-lg: 0 12px 30px rgba(0,0,0,0.14);
    --radius: 14px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-primary);
    background: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 네비게이션 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-icon {
    font-size: 2rem;
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

.brand-text {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    color: var(--dark-color);
    font-weight: 900;
}

.brand-sub {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.wholesale-btn {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.wholesale-btn:hover {
    background: #FF5722;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* 히어로 섹션 */
.hero {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0F0F0F 0%, #1A1A1A 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.pattern-overlay {
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(197,165,114,0.18), transparent 35%),
        radial-gradient(circle at 80% 30%, rgba(242,233,218,0.14), transparent 40%),
        radial-gradient(circle at 30% 80%, rgba(140,98,57,0.12), transparent 45%);
}

@keyframes slide {
    to { transform: translateX(70px); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

.badge-new {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 25px;
    font-weight: 700;
    margin-bottom: 2rem;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    margin-bottom: 1.5rem;
}

.title-main {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: #F7F7F7;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 16px rgba(197,165,114,0.25);
}

.title-sub {
    display: block;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--accent-color);
}

.hero-description {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-description strong {
    color: var(--primary-color);
    font-weight: 700;
}

.hero-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(14px);
    border-radius: 25px;
    color: #F1F1F1;
    font-weight: 600;
}

.feature-badge .emoji {
    font-size: 1.5rem;
}

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

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, #D6B680, #B8965C);
    color: #111;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(197,165,114,0.45);
}

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

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255,255,255,0.3);
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* 상품 섹션 */
.products {
    padding: 80px 0;
    background: #FBFAF7;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

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

.product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.hot-badge, .new-badge, .sale-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    z-index: 2;
}

.hot-badge {
    background: #B43B3B;
    color: white;
}

.new-badge {
    background: #3AA76D;
    color: white;
}

.sale-badge {
    background: #EAD7B0;
    color: #7A5E33;
}

.product-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.price-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255,255,255,0.95);
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.wholesale-price {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.retail-price {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.product-info {
    padding: 20px;
}

.category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--light-color);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.product-info p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

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

.in-stock {
    color: var(--success-color);
    font-weight: 600;
}

.limited {
    color: var(--danger-color);
    font-weight: 600;
}

.min-order {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.more-products {
    text-align: center;
}

.btn-more {
    padding: 15px 40px;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

/* 도매 혜택 섹션 */
.wholesale {
    padding: 80px 0;
    background: white;
}

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

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-color);
    border-radius: var(--radius);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: white;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.wholesale-cta {
    background: linear-gradient(135deg, #1A1A1A, #0F0F0F);
    border-radius: var(--radius);
    padding: 3rem;
    text-align: center;
    color: white;
    border: 1px solid rgba(197,165,114,0.25);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.btn-kakao, .btn-call {
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-kakao {
    background: #FEE500;
    color: #3C1E1E;
}

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

.btn-kakao:hover, .btn-call:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* 회사 소개 섹션 */
.about {
    padding: 80px 0;
    background: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.lead {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 600;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-secondary);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.image-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

/* 연락처 섹션 */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item .icon {
    font-size: 1.5rem;
}

.info-item strong {
    color: var(--dark-color);
}

.map-placeholder {
    background: var(--light-color);
    height: 400px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* 푸터 */
.footer {
    background: #0E0E0E;
    color: white;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(197,165,114,0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-info h3 {
    margin-bottom: 1rem;
}

.footer-info p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    opacity: 0.6;
}

/* 플로팅 버튼 */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    font-size: 1.5rem;
}

.kakao-btn {
    background: #FEE500;
}

.top-btn {
    background: var(--primary-color);
    color: white;
    opacity: 0;
    visibility: hidden;
}

.top-btn.show {
    opacity: 1;
    visibility: visible;
}

.float-btn:hover {
    transform: scale(1.1);
}

.tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark-color);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.float-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .nav-menu, .nav-actions {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        justify-content: space-around;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
}