/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #111;
    background-color: #ffffff;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.nav-logo h1 {
    font-size: 24px;
    font-weight: 600;
    color: #111;
    letter-spacing: -0.01em;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: #666;
    font-weight: 400;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #111;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: #111;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Sections */
section {
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Hero Section */
.hero {
    background-color: #ffffff;
    text-align: center;
}

.hero-image {
    margin-bottom: 40px;
}

.hero-main-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 24px;
    color: #111;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 18px;
    color: #666;
    font-weight: 400;
}

/* Story Section */
.story {
    background-color: #fafafa;
}

.story h2 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 60px;
    color: #111;
    text-align: center;
    letter-spacing: -0.01em;
}

.story-section {
    margin-bottom: 80px;
}

.story-section:last-child {
    margin-bottom: 0;
}

.story-section h3 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 30px;
    color: #111;
    text-align: center;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
}

/* About Content */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-text h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #111;
    letter-spacing: -0.01em;
}

.about-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* Brands List */
.brands-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    min-width: 120px;
    min-height: 80px;
}

.brand-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #d0d0d0;
}

.brand-logo {
    max-width: 80px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.brand-item:hover .brand-logo {
    filter: grayscale(0%);
}

/* Partners List */
.partners-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    min-width: 100px;
    min-height: 70px;
}

.partner-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #d0d0d0;
}

.partner-logo {
    max-width: 70px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-item:hover .partner-logo {
    filter: grayscale(0%);
}

.partners-microcopy {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 24px;
    font-style: italic;
    letter-spacing: 0.02em;
}

/* Contact Section */
.contact {
    background-color: #ffffff;
}

.contact h2 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 60px;
    color: #111;
    text-align: center;
    letter-spacing: -0.01em;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    margin-bottom: 40px;
    text-align: center;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 16px;
    color: #111;
    letter-spacing: -0.01em;
}

.contact-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

.contact-item p:last-child {
    margin-bottom: 0;
}

.contact-item a {
    color: #111;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #666;
}

.address-korean {
    font-weight: 400;
    margin-bottom: 12px;
}

.address-english {
    font-style: italic;
    font-size: 15px;
    color: #888;
}

/* Footer */
.footer {
    background-color: #111;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    color: #666;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
    }
    
    .nav-logo h1 {
        font-size: 20px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px 0;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 16px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        font-size: 18px;
        font-weight: 500;
    }
    
    .hero-main-image {
        max-width: 500px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .story h2,
    .contact h2 {
        font-size: 28px;
    }
    
    .story-section h3 {
        font-size: 24px;
    }
    
    .story-section {
        margin-bottom: 60px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .brands-list,
    .partners-list {
        gap: 16px;
        padding: 0 16px;
    }
    
    .brand-item,
    .partner-item {
        min-width: 90px;
        min-height: 65px;
        padding: 12px;
    }
    
    .brand-logo,
    .partner-logo {
        max-width: 65px;
        max-height: 45px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .contact-item {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .nav-logo h1 {
        font-size: 18px;
    }
    
    .hero-main-image {
        max-width: 400px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .story h2,
    .contact h2 {
        font-size: 24px;
    }
    
    .story-section h3 {
        font-size: 20px;
    }
    
    .story-section {
        margin-bottom: 50px;
    }
    
    .about-content {
        gap: 30px;
    }
    
    .about-text h4 {
        font-size: 16px;
    }
    
    .about-text p {
        font-size: 15px;
    }
    
    .brands-list,
    .partners-list {
        gap: 12px;
        padding: 0 12px;
    }
    
    .brand-item,
    .partner-item {
        min-width: 75px;
        min-height: 55px;
        padding: 10px;
    }
    
    .brand-logo,
    .partner-logo {
        max-width: 55px;
        max-height: 35px;
    }
    
    .contact-item h3 {
        font-size: 18px;
    }
    
    .contact-item p {
        font-size: 15px;
    }
    
    .address-english {
        font-size: 14px;
    }
}

/* Animation for smooth transitions */
.story-section,
.contact-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.story-section:nth-child(2) {
    animation-delay: 0.1s;
}

.story-section:nth-child(3) {
    animation-delay: 0.2s;
}

.story-section:nth-child(4) {
    animation-delay: 0.3s;
}

.contact-item:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-item:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-item:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}