/* --- CSS VARIABLES --- */
:root {
    --primary-black: #1a1a1a;
    --leaf-green: #6dae25; 
    --light-grey: #f8f9fa;
    --white: #ffffff;
    --text-color: #333333;
    --transition: all 0.3s ease;
    --coupang-red: #af1c1c;
    --naver-green: #03c75a;
    --kurly-purple: #5f0080;
}

/* --- GLOBAL STYLES --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}
body.lang-en { font-family: 'Montserrat', sans-serif; }
h1, h2, h3, h4 { font-weight: 700; color: var(--primary-black); margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- UTILITIES --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.btn {
    display: inline-block; padding: 14px 35px;
    background-color: var(--leaf-green); color: var(--white);
    border-radius: 50px; font-weight: 700; text-transform: uppercase;
    font-size: 0.9rem; transition: var(--transition);
    border: 2px solid var(--leaf-green); cursor: pointer;
}
.btn:hover { background-color: transparent; color: var(--leaf-green); }
.section-padding { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.2rem; text-transform: uppercase; letter-spacing: 1px; }
.section-title span { display: block; width: 50px; height: 3px; background-color: var(--leaf-green); margin: 15px auto 0; }

/* --- LOGO STYLING --- */
.brand-logo {
    height: 50px; 
    width: auto;
    display: block;
    shape-rendering: auto; 
}

/* The Text Part (Controlled by CSS) */
.logo-text { 
    fill: var(--primary-black); 
    transition: fill 0.3s ease; 
}

/* Footer Logo specific */
footer .brand-logo { height: 65px; margin: 0 auto 20px; }
footer .logo-text { fill: #ffffff; } /* Text becomes white in footer */

/* --- HEADER --- */
header {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    z-index: 1000; padding: 10px 0;
}
.navbar { display: flex; justify-content: space-between; align-items: center; }
.logo-container { display: flex; align-items: center; z-index: 1001; }
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 600; font-size: 0.95rem; color: var(--primary-black); transition: var(--transition); }
.nav-links a:hover { color: var(--leaf-green); }

/* Language Switcher */
.lang-switch {
    display: flex; gap: 10px; border: 1px solid #ddd; padding: 5px 15px;
    border-radius: 20px; font-size: 0.85rem; font-weight: 600;
    cursor: pointer; transition: var(--transition); margin-left: 20px;
}
.lang-switch:hover { border-color: var(--leaf-green); }
.lang-option { opacity: 0.4; transition: 0.3s; }
.lang-option.active { opacity: 1; font-weight: 700; color: var(--primary-black); }

/* Mobile Menu */
.hamburger { display: none; cursor: pointer; z-index: 1001; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--primary-black); transition: var(--transition); }

/* --- HERO SLIDER --- */
#hero {
    position: relative; height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--white); padding-top: 60px; overflow: hidden;
}
.hero-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; opacity: 0; 
    transition: opacity 1.5s ease-in-out; z-index: 1;
}
.hero-slide.active { opacity: 1; transform: scale(1.05); transition: opacity 1.5s ease-in-out, transform 6s linear; }
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5)); z-index: 2;
}
.hero-content { position: relative; z-index: 3; }
.hero-content h1 {
    font-size: 3.5rem; color: var(--white); margin-bottom: 20px;
    letter-spacing: 2px; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-content p {
    font-size: 1.3rem; margin-bottom: 40px; max-width: 700px;
    margin-left: auto; margin-right: auto; font-weight: 300; text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* --- CONTENT SECTIONS --- */
.philosophy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.philosophy-text h3 { font-size: 1.8rem; color: var(--leaf-green); margin-bottom: 25px; }
.philosophy-img img { border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

#ingredients { background-color: var(--light-grey); }
.ingredients-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: var(--white); border-radius: 10px; overflow: hidden; transition: var(--transition); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.card-img { height: 220px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.card:hover .card-img img { transform: scale(1.05); }
.card-content { padding: 25px; }
.card-content h4 { font-size: 1.2rem; margin-bottom: 10px; }
.card-content p { font-size: 0.9rem; color: #666; word-break: keep-all; }

#buy { background-color: var(--white); text-align: center; }
.retailer-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; max-width: 900px; margin: 0 auto; }
.retailer-btn {
    display: flex; align-items: center; justify-content: center; width: 260px; padding: 20px;
    border-radius: 10px; background: #fff; border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); transition: var(--transition); text-decoration: none; gap: 15px;
}
.retailer-btn:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-color: var(--leaf-green); }
.retailer-icon { font-size: 1.5rem; width: 40px; text-align: center; }
.retailer-info { text-align: left; }
.retailer-name { display: block; font-weight: 700; color: var(--primary-black); }
.retailer-desc { font-size: 0.8rem; color: #888; }
.coupang .retailer-icon { color: var(--coupang-red); }
.naver .retailer-icon { color: var(--naver-green); }
.kurly .retailer-icon { color: var(--kurly-purple); }

footer { background-color: #111; color: #999; padding: 60px 0 30px; text-align: center; }

/* --- ANIMATIONS --- */
.reveal { opacity: 0; transform: translateY(30px); transition: all 1s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-menu {
        position: fixed; left: -100%; top: 70px; flex-direction: column; background-color: var(--white);
        width: 100%; text-align: center; padding: 40px 0; transition: 0.3s; box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }
    .nav-menu.active { left: 0; }
    .nav-links { flex-direction: column; gap: 25px; margin-bottom: 30px;}
    .lang-switch { margin: 0 auto; }
    .philosophy-grid { grid-template-columns: 1fr; }
    .philosophy-img { order: -1; }
    .hero-content h1 { font-size: 2.5rem; }
}