/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Noto+Sans+KR:wght@300;400;700&display=swap');

:root {
    --primary-color: #000000;
    --accent-color: #E60012;
    /* Red from digitalfashion.kr */
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --bg-color: #ffffff;
    --footer-bg: #000000;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 30px;
    /* Adjust height as needed */
    width: auto;
    display: block;
    filter: brightness(0);
    /* Force black color */
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

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

.nav-utils {
    display: flex;
    gap: 20px;
}

.nav-utils i {
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.nav-utils i:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    margin-top: 100px;
    padding: 60px 20px;
    text-align: center;
    background: #f9f9f9;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

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

/* Product Grid */
.product-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.product-card {
    background: #fff;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.product-image {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f0f0f0;
    margin-bottom: 20px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 10px 0;
}

.category {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.price {
    font-weight: 400;
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Footer */
footer {
    background: var(--footer-bg);
    color: #fff;
    padding: 80px 20px 40px;
    margin-top: 100px;
    text-align: center;
}

footer {
    background: var(--footer-bg);
    color: #fff;
    padding: 80px 20px;
    margin-top: 100px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr 1fr;
    gap: 40px;
    text-align: left;
}

.footer-logo {
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-section h3,
.footer-qr h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    color: #fff;
    text-transform: uppercase;
}

.footer-section p {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-section .address {
    font-size: 0.8rem;
    color: #555;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    font-size: 1.2rem;
    color: #888;
    transition: var(--transition);
}

.social-links a:hover {
    color: #fff;
}

.copyright {
    font-size: 0.75rem;
    color: #555;
    line-height: 1.5;
    margin-top: 20px;
}

.footer-qr {
    text-align: center;
}

.qr-wrapper {
    background: #fff;
    padding: 10px;
    display: inline-block;
    margin-bottom: 10px;
}

.qr-code {
    width: 120px;
    height: 120px;
    display: block;
    object-fit: cover;
}

.footer-qr span {
    display: block;
    font-size: 0.75rem;
    color: #888;
}

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-qr {
        margin-top: 40px;
        order: 10;
        /* Ensure it stays at the bottom in mobile flex/grid flow */
    }

    .qr-wrapper {
        width: 50%;
        max-width: 250px;
        aspect-ratio: 1 / 1;
        padding: 15px;
        margin: 0 auto 15px;
    }

    .qr-code {
        width: 100%;
        height: 100%;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

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

    .hero h1 {
        font-size: 2rem;
    }
}