:root {
    --primary: #8FB399; /* Sage Green */
    --accent: #D4A373; /* Warm Wood */
    --accent-light: #F2E9E1;
    --text: #2C3E50;
    --text-light: #5d6d7e;
    --bg: #FDFDFB; /* Warm Off-white */
    --bg-alt: #F0F4F2;
    --glass: rgba(255, 255, 255, 0.75);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    font-family: 'Noto Sans KR', 'Outfit', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    word-break: keep-all; /* Keeps Korean words together for better readability */
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }

.section-padding { padding: 100px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 30px; }
.gray-bg { background-color: var(--bg-alt); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.9rem;
}

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

.btn-primary:hover {
    background-color: #7A9B82;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(143, 179, 153, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

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

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

.btn-primary-light:hover {
    background-color: var(--bg-alt);
    transform: scale(1.05);
}

/* Nav Bar */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 25px 0;
}

#navbar.scrolled {
    background-color: var(--glass);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    box-shadow: var(--shadow);
}

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

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

.logo i {
    font-size: 1.8rem;
    color: var(--primary);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text);
}

.logo-text span {
    font-weight: 300;
    color: var(--text-light);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links li a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links li a:hover { color: var(--primary); }
.nav-links li a:hover::after { width: 100%; }

.cta-store {
    padding: 10px 20px;
    background-color: #2DB400; /* Naver Color Hint */
    color: white;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--text);
    background-image: url('images/hero.png');
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.3) 100%);
}

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

.hero-subtitle {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 700;
}

.hero-title span {
    color: var(--primary);
    font-weight: 300;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Scroll Down Icon */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-light);
}

.scroll-down .line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Sections Global */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--accent-light);
    color: var(--accent);
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.section-header .line {
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin: 0 auto;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-card {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-card .icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.about-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.about-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

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

.product-card:hover {
    transform: translateY(-10px);
}

.product-img {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-img .overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .overlay {
    opacity: 1;
}

.btn-view {
    padding: 10px 20px;
    background-color: white;
    color: var(--text);
    border-radius: 5px;
    font-weight: 600;
}

.product-info {
    padding: 30px;
}

.category {
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 10px;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.product-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Certification Grid */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cert-item {
    text-align: center;
    padding: 40px;
    background: var(--bg-alt);
    border-radius: 20px;
    transition: var(--transition);
}

.cert-item:hover {
    background: white;
    box-shadow: var(--shadow);
}

.cert-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.cert-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.btn-cert {
    margin-top: 15px;
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    border-bottom: 1.5px solid var(--primary);
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(143, 179, 153, 0.9), rgba(143, 179, 153, 0.9)), url('images/sky_space.png');
    background-size: cover;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

/* Store Banner (Middle Exposure) */
.store-banner {
    background-color: var(--bg);
}

.store-wrapper {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.store-img {
    flex: 1;
    height: 450px;
}

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

.store-text {
    flex: 1;
    padding: 60px;
}

.store-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    line-height: 1.3;
}

.store-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.btn-store-big {
    display: inline-block;
    padding: 20px 45px;
    background-color: #2DB400; /* Naver Smart Store Brand Color */
    color: white;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(45, 180, 0, 0.2);
}

.btn-store-big:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(45, 180, 0, 0.3);
    color: white;
}

.btn-store-big i {
    margin-left: 10px;
}

/* Footer */
footer {
    background-color: #263238;
    color: rgba(255,255,255,0.7);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-logo .logo-text { color: white; margin-bottom: 20px; display: inline-block; }
.footer-logo p { margin-bottom: 25px; line-height: 1.8; }

.social-links { display: flex; gap: 15px; }
.social-links a {
    width: 40px; height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.social-links a:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.footer-links h4, .footer-contact h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a:hover { color: var(--primary); padding-left: 5px; }

.footer-contact ul li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-contact ul li i { color: var(--primary); margin-top: 5px; }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
}

/* Mobile-First & Responsive Improvements */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
    margin-left: 20px;
    transition: var(--transition);
}

.mobile-toggle:hover {
    color: var(--primary);
}

@media (max-width: 1200px) {
    .container { max-width: 95%; }
    .hero-title { font-size: 3.5rem; }
}

@media (max-width: 992px) {
    #navbar { padding: 12px 0; background: var(--glass); backdrop-filter: blur(20px); }
    .nav-container { padding: 0 20px; }
    
    .logo i { font-size: 1.5rem; }
    .logo-text { font-size: 1.1rem; }
    
    .mobile-toggle { 
        display: block; 
        margin-left: 15px;
        font-size: 1.3rem;
    }
    
    .nav-extra {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: 0.5s ease-in-out;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li a {
        font-size: 1.5rem;
    }

    .hero-title { font-size: 3rem; }
    .hero-content { padding: 0 30px; }
    
    .about-grid, .cert-grid { grid-template-columns: 1fr; gap: 20px; }
    
    .store-wrapper {
        flex-direction: column;
    }
    
    .store-img {
        width: 100%;
        height: 300px;
    }
    
    .store-text {
        padding: 40px 30px;
        text-align: center;
    }
    
    .store-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 0.9rem; letter-spacing: 3px; }
    .hero-btns { flex-direction: column; width: 100%; }
    .btn { text-align: center; width: 100%; }
    
    .section-header h2 { font-size: 2rem; }
    
    .cta-content h2 { font-size: 2rem; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .nav-extra .cta-store {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .nav-container { padding: 0 15px; }
    .hero-title { font-size: 2.2rem; }
    .logo-text { font-size: 1rem; letter-spacing: 1px; }
    .logo i { font-size: 1.3rem; gap: 8px; }
    .nav-extra .cta-store {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    .mobile-toggle { margin-left: 8px; font-size: 1.2rem; }
}
