/* ============================================
   GLAM SEOUL - K-Beauty Global Platform
   Main Stylesheet
   ============================================ */

/* ========== CSS VARIABLES ========== */
:root {
    /* Luxury Skincare Brand Colors */
    --primary-color: #C9ADA7;        /* Sage Pink - 메인 컬러 */
    --primary-light: #E8D5D0;        /* Light Sage Pink */
    --primary-dark: #A89089;         /* Dark Sage Pink */
    --secondary-color: #D4AF84;      /* Soft Gold - 골드 액센트 */
    --accent-color: #B8956A;         /* Deep Gold */
    
    --text-dark: #3E3731;            /* Warm Dark Brown */
    --text-light: #8B7E74;           /* Muted Brown */
    --text-white: #FFFEF7;           /* Ivory White */
    
    --bg-light: #FAF9F6;             /* Ivory White Background */
    --bg-white: #FFFEF7;             /* Pure Ivory */
    --bg-dark: #3E3731;              /* Dark Brown */
    
    /* Gradients - Elegant & Subtle */
    --gradient-primary: linear-gradient(135deg, #FAF9F6 0%, #E8D5D0 50%, #C9ADA7 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(201, 173, 167, 0.85), rgba(212, 175, 132, 0.85));
    
    /* Spacing - More breathing room for clean design */
    --section-padding: 120px;
    --container-max-width: 1140px;
    
    /* Typography - Luxury Minimalist */
    --font-primary: 'Pretendard', 'Noto Sans KR', -apple-system, sans-serif;
    --font-heading: 'Pretendard', 'Noto Sans KR', sans-serif;
    
    /* Transitions */
    --transition-speed: 0.4s;
    
    /* Shadows - Subtle & Elegant */
    --shadow-sm: 0 2px 8px rgba(62, 55, 49, 0.06);
    --shadow-md: 0 4px 16px rgba(62, 55, 49, 0.08);
    --shadow-lg: 0 8px 24px rgba(62, 55, 49, 0.12);
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.8;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
    font-weight: 300;
    letter-spacing: 0.01em;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed);
}

ul {
    list-style: none;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 300;
}

h2 {
    font-size: 2.5rem;
    font-weight: 300;
}

h3 {
    font-size: 1.6rem;
    font-weight: 400;
}

h4 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    font-weight: 300;
}

/* ========== UTILITIES ========== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding) 0;
}

.section-dark {
    background: var(--bg-light);
}

.btn {
    display: inline-block;
    padding: 16px 48px;
    border-radius: 2px;
    font-weight: 400;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition-speed);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--text-white);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--secondary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* ========== HEADER & NAVIGATION ========== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 254, 247, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(62, 55, 49, 0.08);
    z-index: 1000;
    transition: all var(--transition-speed);
}

#header.scrolled {
    padding: 8px 0;
    box-shadow: var(--shadow-sm);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 20px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.logo-icon {
    font-size: 1.5rem;
}

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

.nav-menu a {
    color: var(--text-dark);
    font-weight: 300;
    font-size: 0.95rem;
    position: relative;
    letter-spacing: 0.5px;
}

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

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all var(--transition-speed);
}

/* ========== HERO SECTION ========== */
.hero {
    height: 100vh;
    background: var(--gradient-primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-bg.jpg') center/cover;
    opacity: 0.15;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--text-dark);
    max-width: 900px;
    padding: 0 40px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 200;
    margin-bottom: 30px;
    text-shadow: none;
    letter-spacing: 8px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 12px;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.hero-subtitle-kr {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.85;
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 2;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-tagline {
    margin: 50px 0;
}

.hero-tagline p {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 300;
}

.keywords {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-dark);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 5px;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    width: 2px;
    height: 15px;
    background: var(--text-white);
    opacity: 0.7;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Fade-in animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay-1 {
    animation: fadeIn 1s ease-out 0.2s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.4s backwards;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.6s backwards;
}

.animate-fade-in-delay-4 {
    animation: fadeIn 1s ease-out 0.8s backwards;
}

.animate-fade-in-delay-5 {
    animation: fadeIn 1s ease-out 1s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== SECTION HEADER ========== */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 24px;
    opacity: 0.8;
}

.section-title {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 2px;
}

.title-underline {
    width: 60px;
    height: 1px;
    background: var(--primary-color);
    margin: 0 auto 24px;
    border-radius: 0;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 2;
    font-weight: 300;
}

/* ========== ABOUT SECTION ========== */
.about-content {
    max-width: 900px;
    margin: 0 auto 60px;
}

.about-main h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-main p {
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 20px;
}

.vision-box {
    background: var(--bg-light);
    padding: 50px;
    border-radius: 2px;
    color: var(--text-dark);
    text-align: center;
    margin-top: 50px;
    box-shadow: none;
    border: 1px solid var(--primary-light);
}

.vision-box h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 24px;
    font-weight: 300;
}

.vision-box i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.vision-box p {
    font-size: 1.1rem;
    line-height: 2.2;
    font-weight: 300;
    color: var(--text-dark);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 80px;
}

.stat-item {
    text-align: center;
    padding: 40px;
    background: var(--bg-white);
    border-radius: 2px;
    box-shadow: none;
    transition: all var(--transition-speed);
    border: 1px solid rgba(201, 173, 167, 0.15);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 200;
    color: var(--primary-color);
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 300;
}

/* ========== BUSINESS SECTION ========== */
.business-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.business-card {
    background: var(--bg-white);
    padding: 50px;
    border-radius: 2px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-speed);
    border: 1px solid rgba(201, 173, 167, 0.15);
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform var(--transition-speed);
}

.business-card:hover::before {
    transform: scaleY(1);
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 173, 167, 0.3);
}

.business-icon {
    width: 70px;
    height: 70px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.business-number {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3.5rem;
    font-weight: 200;
    color: var(--primary-light);
    opacity: 0.3;
}

.business-card h3 {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 400;
}

.business-card p {
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 25px;
    font-weight: 300;
}

.business-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.business-features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--primary-light);
    border-radius: 2px;
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.business-features i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* ========== BRANDS SECTION ========== */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.brand-card {
    height: 420px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed);
    border: 1px solid rgba(201, 173, 167, 0.2);
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/brands-bg.jpg') center/cover;
    opacity: 0.08;
    transition: opacity var(--transition-speed);
}

.brand-card:hover::before {
    opacity: 0.12;
}

.brand-overlay {
    display: none;
}

.brand-content {
    position: relative;
    z-index: 10;
    color: var(--text-dark);
}

.brand-card h3 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 1px;
}

.brand-card p {
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.9;
    font-weight: 300;
    color: var(--text-light);
}

.brand-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.brand-features span {
    padding: 12px 24px;
    background: transparent;
    backdrop-filter: none;
    border-radius: 2px;
    font-size: 0.9rem;
    border: 1px solid var(--primary-color);
    color: var(--text-dark);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

/* ========== PRODUCTS SECTION ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.product-category {
    background: var(--bg-white);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed);
    cursor: pointer;
    border: 1px solid rgba(201, 173, 167, 0.15);
}

.product-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.product-image {
    height: 220px;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/products/skincare.jpg') center/cover;
    opacity: 0.1;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--primary-color);
    font-size: 2.5rem;
}

.product-category h3 {
    padding: 24px;
    font-size: 1.2rem;
    color: var(--text-dark);
    text-align: center;
    font-weight: 400;
}

.product-category p {
    padding: 0 24px 24px;
    text-align: center;
    color: var(--text-light);
    font-weight: 300;
    font-size: 0.95rem;
}

.product-certification {
    background: var(--bg-light);
    padding: 50px;
    border-radius: 2px;
    text-align: center;
    box-shadow: none;
    border: 1px solid rgba(201, 173, 167, 0.2);
}

.cert-content {
    max-width: 800px;
    margin: 0 auto;
}

.cert-content i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 24px;
}

.cert-content p {
    font-size: 1rem;
    line-height: 2.2;
    color: var(--text-dark);
    font-weight: 300;
}

/* ========== NETWORK SECTION ========== */
.network-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.network-card {
    background: var(--bg-white);
    padding: 50px;
    border-radius: 2px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed);
    border: 1px solid rgba(201, 173, 167, 0.15);
}

.network-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 173, 167, 0.3);
}

.network-icon {
    width: 60px;
    height: 60px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 1.6rem;
}

.network-card h3 {
    color: var(--text-dark);
    margin-bottom: 24px;
    font-weight: 400;
}

.network-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.network-list span {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--primary-light);
    border-radius: 2px;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 300;
    letter-spacing: 0.3px;
}

.network-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.network-info p {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 300;
}

.highlight {
    font-size: 2.8rem;
    font-weight: 200;
    color: var(--primary-color);
}

/* ========== CONTACT SECTION ========== */
.section-contact {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 400;
}

.contact-item a {
    color: var(--primary-color);
    font-weight: 300;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-stores {
    background: var(--bg-white);
    padding: 50px;
    border-radius: 2px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid rgba(201, 173, 167, 0.15);
}

.contact-stores h3 {
    color: var(--text-dark);
    margin-bottom: 40px;
    font-weight: 400;
}

.store-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.store-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
    border-radius: 2px;
    font-weight: 400;
    font-size: 1rem;
    box-shadow: none;
    transition: all var(--transition-speed);
    letter-spacing: 0.5px;
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    background: var(--primary-color);
    color: var(--text-white);
}

.store-btn i {
    font-size: 1.3rem;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 80px 0 40px;
}

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

.footer-about h3 {
    color: var(--primary-light);
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 1px;
}

.footer-about p {
    color: rgba(255, 254, 247, 0.7);
    line-height: 2;
    font-weight: 300;
}

.footer-links h4,
.footer-social h4 {
    color: var(--text-white);
    margin-bottom: 24px;
    font-weight: 400;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: rgba(255, 254, 247, 0.7);
    transition: color var(--transition-speed);
    font-weight: 300;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid rgba(201, 173, 167, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: all var(--transition-speed);
}

.social-icons a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(201, 173, 167, 0.2);
}

.footer-bottom p {
    color: rgba(255, 254, 247, 0.5);
    font-weight: 300;
    font-size: 0.9rem;
}

/* ========== SCROLL TO TOP ========== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: 2px;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed);
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px);
    background: var(--primary-dark);
}