:root {
    --primary-color: #0056b3;
    --secondary-color: #00a82d; /* 네이버 스타일 초록색 */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    scroll-behavior: smooth;
}

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

/* Header & Navigation */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -1px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    display: block;
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 15px;
}

.icon-globe, .icon-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.lang-dropbtn {
    background: var(--white);
    color: var(--text-color);
    padding: 6px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    white-space: nowrap;
}

.lang-dropbtn:hover {
    background: var(--light-bg);
}

.lang-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: var(--white);
    min-width: 140px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1002;
    padding: 5px 0;
    border: 1px solid #eee;
    margin-top: 5px;
}

.lang-dropdown-content.show {
    display: block;
}

.lang-dropdown-content a {
    color: var(--text-color);
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative; /* 체크 표시 위치 기준점 */
}

.lang-dropdown-content a:hover {
    background-color: var(--light-bg);
}

.lang-dropdown-content a.active {
    color: var(--primary-color);
    font-weight: 700;
    padding-left: 28px;
}

.lang-dropdown-content a.active::before {
    content: '✓';
    position: absolute;
    left: 8px;
    font-weight: bold;
}

.lang-dropdown:hover .lang-dropdown-content {
    display: block;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 20px;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Content Sections */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

section h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

.about-content {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 10px;
}

.about-content li {
    list-style: none;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.about-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #eee;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: var(--light-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.card:hover .card-icon {
    background: var(--primary-color);
    color: var(--white);
}

/* Brands */
.brands-section {
    text-align: center;
    background: var(--light-bg);
    border-radius: 20px;
    margin: 40px 0;
}

.brand-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.brand-tags span {
    background: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #555;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

/* Floating Buttons */
.floating-btns {
    position: fixed;
    right: 20px;
    bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    z-index: 999;
}

.floating-btn {
    height: 48px;
    min-width: 140px;
    width: auto; /* 내용에 따라 유연하게 조절 */
    padding: 0 15px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    transition: var(--transition);
    text-decoration: none;
    background: white;
    white-space: nowrap;
}

.float-label {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: -0.3px;
}

.floating-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.floating-btn:hover {
    transform: scale(1.03) translateY(-3px);
}

.btn-contact-float { background: var(--primary-color); color: white; }
.btn-store-float { background: var(--secondary-color); color: white; }
.btn-kakao-float { background: #fee500; color: #3A1D1D; animation: bounce 2s infinite; }

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

/* Best Products */
.best-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.responsive-product-img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 12px;
}

/* Footer */
footer {
    background: #222;
    color: #999;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Media Queries */
.contact-info {
    text-align: center;
    background: var(--light-bg);
    padding: 40px;
    border-radius: 10px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info a {
    color: #000000; /* 글씨색 블랙 */
    text-decoration: none; /* 파란 줄(밑줄) 제거 */
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--primary-color);
}

@media (min-width: 769px) {
    .address-link {
        pointer-events: none;
        cursor: default;
    }
}

@media (max-width: 850px) {
    .menu-toggle { display: flex; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active { display: flex; }
    .nav-links li { margin: 15px 0; width: 100%; }
    .lang-nav-item { width: 100%; }
    .lang-dropdown { margin-left: 0; width: 100%; }
    .lang-dropbtn { width: fit-content; }
    
    .lang-dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        margin-top: 10px;
        border: 1px solid #eee;
        background-color: #fcfcfc;
        display: none;
    }
    
    .lang-dropdown-content.show {
        display: block;
    }

    .lang-dropdown:hover .lang-dropdown-content {
        display: none; /* 모바일에서는 호버 효과 제거 (클릭으로만 동작) */
    }
    
    .lang-dropdown-content.show {
        display: block !important;
    }

    .menu-toggle.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .floating-btns { right: 15px; bottom: 15px; }
    .floating-btn { width: 48px; height: 48px; min-width: 0; border-radius: 50%; justify-content: center; }
    .float-label { display: none; }
}
