:root {
    --bg-color: #F2F0E9;
    --text-color: #3D1010;
    --accent-color: #B91C1C;
    --accent-green: #15803d;
    --white: #FFFFFF;
    --dark-bg: #222222;
    --font-serif: 'Noto Serif KR', serif;
    --font-sans: 'Noto Sans KR', sans-serif;
    --container-width: 1200px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-serif);
    font-weight: 400;
}

/* Typography Utilities */
.eyebrow {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-weight: 700;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease, color 0.3s ease;
    color: var(--white);
}

.navbar.scrolled {
    background-color: rgba(242, 240, 233, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: var(--text-color);
}

.nav-container {
    width: 100%;
    max-width: var(--container-width);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: currentColor;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    bottom: -4px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

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

.btn-outline {
    border: 1px solid currentColor;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: currentColor;
}

.btn-outline:hover {
    background-color: currentColor;
    color: var(--text-color);
}

.navbar.scrolled .btn-outline:hover {
    color: var(--bg-color);
}

.btn-text {
    font-weight: 700;
    border-bottom: 2px solid currentColor;
    padding-bottom: 2px;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: currentColor;
    transition: 0.3s;
}

/* Mobile menu toggle animation */
.hamburger.active span:first-child {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:last-child {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Overlay for legibility */
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.btn-primary {
    display: inline-block;
    background-color: var(--white);
    color: var(--text-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
}

/* Split Sections */
.split-section {
    display: flex;
    min-height: 80vh;
    width: 100%;
}

.split-text,
.split-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-text {
    padding: 5rem;
    max-width: 50%;
}

.split-image {
    position: relative;
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.split-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.split-section p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: #555;
    max-width: 80%;
}

.link-arrow {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Dark Mode Section */
.dark-mode {
    background-color: var(--dark-bg);
    color: var(--white);
}

.dark-mode .eyebrow {
    color: #ff9999;
}

.dark-mode p {
    color: #ccc;
}

.dark-mode .link-arrow {
    color: var(--white);
}

/* Products Showcase */
.showcase {
    padding: 6rem 2rem;
    text-align: center;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.product-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    max-width: var(--container-width);
    margin: 0 auto;
    flex-wrap: wrap;
}

.product-card {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: left;
}

.card-image {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #e5e3db;
    position: relative;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--white);
    color: var(--text-color);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.badge.sold-out {
    background-color: var(--accent-green);
    color: var(--white);
}

.card-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-info .desc {
    color: #666;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.card-info .price {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.card-info .price .original {
    color: #999;
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.card-info .price strong {
    color: var(--accent-color);
    font-size: 1.3rem;
    font-weight: 700;
}

.badge.event {
    background-color: #ea580c;
    color: var(--white);
}


/* Marquee */
.marquee-strip {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 1rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
}

.marquee-content {
    display: flex;
    animation: marquee 20s linear infinite;
    padding-left: 2rem;
}

.marquee-content span {
    margin: 0 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* Footer */
footer {
    background-color: var(--bg-color);
    padding: 5rem 2rem 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.col h5 {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.col a {
    display: block;
    margin-bottom: 0.8rem;
    color: #666;
    font-size: 0.9rem;
}

.col a:hover {
    color: var(--text-color);
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-400 {
    animation-delay: 0.4s;
}

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

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 3rem;
    }

    .split-section {
        flex-direction: column;
    }

    .split-text {
        max-width: 100%;
        padding: 4rem 2rem;
    }

    .split-image {
        height: 50vh;
    }

    .nav-links,
    .btn-text.mobile-hidden {
        display: none;
    }

    .hamburger {
        display: flex;
        z-index: 2000;
    }
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 1500;
    display: flex;
    flex-direction: column;
    padding: 6rem 2rem;
    gap: 2rem;
    transition: 0.4s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-family: var(--font-serif);
}