@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;500;600;700&display=swap');

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Noto Serif KR", "Palatino Linotype", "Times New Roman", Georgia, serif;
    color: #181310;
    background: #f4eee4;
    position: relative;
}

.korean-serif {
    font-family: "Noto Serif KR", "Batang", Georgia, serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(244, 238, 228, 0.82), rgba(244, 238, 228, 0.93)),
        url("pix/hayang.jpg") center top / cover no-repeat;
    opacity: 1;
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.42), transparent 42%),
        linear-gradient(90deg, transparent 0%, rgba(93, 33, 19, 0.03) 50%, transparent 100%);
    z-index: -1;
    pointer-events: none;
}

nav {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 18px 20px;
    backdrop-filter: blur(14px);
    background: rgba(250, 246, 239, 0.78);
    border-bottom: 1px solid rgba(66, 45, 31, 0.14);
    box-shadow: 0 8px 30px rgba(56, 42, 32, 0.08);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

nav li {
    margin: 0;
}

nav a {
    display: inline-block;
    color: #2a211d;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.82rem;
    padding: 10px 16px;
    border-radius: 999px;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

nav a:hover,
nav a:focus-visible {
    background: rgba(109, 50, 25, 0.1);
    color: #6d3219;
    transform: translateY(-1px);
}

.nav-mark {
    width: 26px;
    height: 26px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid rgba(109, 50, 25, 0.2);
    box-shadow: 0 3px 10px rgba(44, 34, 29, 0.12);
}

.container {
    width: min(1100px, calc(100% - 32px));
    margin: 40px auto 80px;
    padding: 0;
}

.section {
    background: linear-gradient(180deg, rgba(255, 252, 247, 0.82), rgba(248, 242, 233, 0.76));
    border: 1px solid rgba(88, 70, 54, 0.12);
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(44, 34, 29, 0.1);
    padding: 28px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 140px;
    height: 3px;
    background: linear-gradient(90deg, #7b2d1c, rgba(123, 45, 28, 0));
}

.section:first-child {
    padding: 48px 32px;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.hero-copy {
    flex: 1 1 560px;
}

.dojang-accent {
    width: clamp(120px, 16vw, 200px);
    max-width: 32%;
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(90, 29, 18, 0.18);
}

h1,
h2 {
    margin-top: 0;
    color: #231b17;
    line-height: 1.15;
    font-weight: 600;
}

h1 {
    font-size: clamp(2rem, 4.2vw, 4rem);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

h1.korean-serif {
    letter-spacing: 0.01em;
    font-weight: 500;
}

h2 {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    margin-bottom: 14px;
    letter-spacing: 0.04em;
}

.about-heading {
    letter-spacing: 0.02em;
    font-weight: 500;
}

p,
a,
li,
iframe {
    font-size: 1.05rem;
}

p {
    color: #453a33;
    line-height: 1.8;
    margin: 0 0 12px;
}

a {
    color: #7b2d1c;
}

a:hover {
    color: #9b4026;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(38, 27, 20, 0.16);
}

.hero-image,
.gallery-image,
.small-img {
    border: 1px solid rgba(62, 42, 30, 0.08);
}

.small-img {
    width: min(420px, 100%);
}

.hero-image {
    width: min(720px, 100%);
    margin: 0 auto;
}

.gallery-image {
    width: 100%;
}

iframe {
    width: 100%;
    min-height: 600px;
    border: 0;
    border-radius: 18px;
    background: #000;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 12px 28px rgba(0, 0, 0, 0.15);
}

@media (max-width: 700px) {
    nav {
        padding: 14px 12px;
    }

    nav ul {
        gap: 10px;
    }

    nav a {
        padding: 8px 12px;
        font-size: 0.78rem;
    }

    .container {
        width: min(100% - 16px, 1100px);
        margin-top: 20px;
    }

    .section,
    .section:first-child {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .hero-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .dojang-accent {
        width: min(180px, 100%);
        max-width: none;
    }
}
