:root {
    /* Colors: Dark Charcoal, Muted Gold, Soft Light */
    --color-bg-dark: #121212;
    --color-bg-panel: #1e1e24;
    --color-text-main: #fcfcfc;
    --color-text-muted: #ababab;
    --color-accent-gold: #d4b47f;
    --color-accent-hover: #b8955d;
    --font-serif: 'Noto Serif KR', serif;
    --font-sans: 'Pretendard', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    background-color: var(--color-bg-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo, .permission-text {
    font-family: var(--font-serif);
    font-weight: 300;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.py-xl { padding-top: 5rem; padding-bottom: 5rem; }
.text-center { text-align: center; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: padding 0.3s ease, background 0.3s ease;
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--color-accent-gold);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 300;
    position: relative;
    color: #e0e0e0;
}

.nav-links a.active, .nav-links a:hover {
    color: var(--color-accent-gold);
}

.btn-donate {
    background: var(--color-accent-gold);
    color: var(--color-bg-dark) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 3px;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-donate:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
}

.mobile-menu-toggle { display: none; cursor: pointer; font-size: 1.5rem; }

.nav-actions { display: flex; align-items: center; gap: 1.5rem; }
.lang-switch { font-size: 0.85rem; font-weight: 500; font-family: var(--font-sans); color: var(--color-text-muted); letter-spacing: 1px; }
.lang-switch a { color: var(--color-text-muted); transition: color 0.3s; padding: 0 0.2rem; }
.lang-switch a:hover, .lang-switch a.active { color: var(--color-accent-gold); }

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1510525009512-ad7fc13eefab?auto=format&fit=crop&q=80') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(18,18,18,0.7) 0%, rgba(18,18,18,1) 100%);
}

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

.hero h1 {
    font-size: 3.5rem;
    color: var(--color-text-main);
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-shadow: 0px 4px 15px rgba(0,0,0,0.8);
}

.hero .subtitle {
    font-size: 1.15rem;
    color: var(--color-accent-gold);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 0.8rem 2.2rem;
    font-size: 0.95rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
    font-weight: 400;
}

.btn-primary {
    background: var(--color-accent-gold);
    color: var(--color-bg-dark);
    border: 1px solid var(--color-accent-gold);
}

.btn-primary:hover {
    background: transparent;
    color: var(--color-accent-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-main);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
    border-color: var(--color-text-main);
    background: rgba(255,255,255,0.05);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: 2.2rem;
    color: var(--color-accent-gold);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    font-family: var(--font-sans);
    font-weight: 300;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: #e0e0e0;
    font-weight: 300;
    line-height: 1.8;
}

.glass-panel {
    background: rgba(30,30,36,0.5);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 3px;
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
}

.img-caption {
    text-align: center;
    padding: 1.2rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-family: var(--font-serif);
    border-top: 1px solid rgba(255,255,255,0.03);
}

/* Permission Section */
.permission-section {
    padding: 3rem 2rem 8rem;
}

.permission-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 3.5rem 4rem;
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.permission-icon {
    color: var(--color-accent-gold);
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.permission-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--color-text-main);
    font-style: italic;
    font-weight: 300;
}

/* Footer */
.footer {
    background: #0a0a0a;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.03);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-brand h4 {
    color: var(--color-accent-gold);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 300;
}

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

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 300;
}

.footer-links a:hover {
    color: var(--color-text-main);
}

.footer-bottom {
    color: #444;
    font-size: 0.8rem;
    font-weight: 300;
}

/* Animations */
.fade-in { animation: fadeIn 1.5s ease forwards; }

.animate-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive */
/* Subpage Styles */
.page-header { padding: 8rem 2rem 4rem; text-align: center; background: #141416; border-bottom: 1px solid rgba(255,255,255,0.03); }
.page-title { font-size: 2.5rem; color: var(--color-accent-gold); margin-bottom: 1rem; }
.page-desc { font-size: 1.1rem; color: var(--color-text-muted); max-width: 650px; margin: 0 auto; line-height: 1.6; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2.5rem; margin-top: 1rem; margin-bottom: 3rem;}
.gallery-item { background: var(--color-bg-panel); border-radius: 4px; overflow: hidden; transition: transform 0.3s ease; border: 1px solid rgba(255,255,255,0.03); }
.gallery-item:hover { transform: translateY(-5px); border-color: rgba(212, 180, 127, 0.4); }
.gallery-img { width: 100%; height: 260px; background-size: cover; background-position: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
.gallery-info { padding: 1.5rem; }
.gallery-info h3 { color: var(--color-text-main); font-size: 1.25rem; margin-bottom: 0.5rem; }
.gallery-info p { color: #d0d0d0; font-size: 0.95rem; font-weight: 300; line-height: 1.6; }

.highlight-work { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; background: rgba(212, 180, 127, 0.03); padding: 3rem; border-radius: 4px; border: 1px solid rgba(212, 180, 127, 0.15); align-items: center; margin-bottom: 2.5rem; }
.highlight-img { width: 100%; height: 420px; background-size: cover; background-position: center; border-radius: 4px; }
.highlight-info h2 { font-size: 1.9rem; color: var(--color-accent-gold); margin-bottom: 1rem; }
.highlight-info p { color: #e0e0e0; font-size: 1.05rem; font-weight: 300; margin-bottom: 1rem; }

/* Donate */
.donate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin: 2rem 0 4rem; }
.donate-card { background: var(--color-bg-panel); padding: 3rem; border-radius: 4px; border: 1px solid rgba(255,255,255,0.05); }
.donate-card h3 { font-size: 1.6rem; color: var(--color-accent-gold); margin-bottom: 1rem; }
.donate-card p { color: #d0d0d0; font-weight: 300; margin-bottom: 2rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; color: #bbb; font-size: 0.95rem; }
.form-control { width: 100%; padding: 0.9rem 1rem; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); border-radius: 3px; color: #fff; font-family: var(--font-sans); }
.form-control:focus { outline: none; border-color: var(--color-accent-gold); }
.btn-submit { display: block; width: 100%; text-align: center; background: var(--color-accent-gold); color: var(--color-bg-dark); padding: 1.1rem; border: none; font-size: 1.05rem; font-weight: 600; cursor: pointer; border-radius: 3px; transition: background 0.3s; }
.btn-submit:hover { background: var(--color-accent-hover); }

/* Media */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 3.5rem; margin: 2rem 0 4rem; }
.video-item { transition: transform 0.3s ease; }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 4px; background: #000; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:none; }
.video-info { margin-top: 1.5rem; padding-left: 0.5rem; }
.video-info h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: #fff; }
.video-info p { font-size: 0.95rem; color: var(--color-text-muted); font-weight: 300; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-toggle { display: block; }
    .hero h1 { font-size: 2.2rem; }
    .hero .subtitle { font-size: 1rem; }
    .about-grid { grid-template-columns: 1fr; }
    .permission-text { font-size: 1.15rem; }
    .footer-content { flex-direction: column; gap: 2.5rem; }
    .permission-box { padding: 2.5rem 1.5rem; }

    .highlight-work { grid-template-columns: 1fr; padding: 1.5rem; }
    .donate-grid { grid-template-columns: 1fr; gap: 2rem; }
    .video-grid { grid-template-columns: 1fr; }
    .donate-card { padding: 2rem 1.5rem; }
}
