﻿/* 湲곕낯 由ъ뀑 諛??고듃 ?ㅼ젙 */
@import url('https://fonts.googleapis.com/css2?family=Gowun+Dodum&family=Nanum+Myeongjo:wght@400;700&display=swap');

:root {
    --primary-color: #ffffff;
    /* ?꾩껜 諛곌꼍???붿씠?몃줈 ?듭씪?섏뿬 ?뚯깋???ш컖???쒓굅 */
    --text-main: #333333;
    --text-muted: #666666;
    --accent-color: #a3b899;
    /* 李⑤텇??洹몃┛ ?ъ씤??*/
    --nav-hover: #7b9472;
    --border-color: #e5e5e5;

    --font-sans: 'Gowun Dodum', 'Noto Sans KR', sans-serif;
    --font-serif: 'Nanum Myeongjo', 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--primary-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header ?ㅼ젙 */
.header {
    width: 100%;
    padding: 1.5rem 0;
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    /* ?곷? ?꾩튂 吏??(紐⑤컮??硫붾돱 ?꾩튂 湲곗?) */
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    /* ?대?吏? ?띿뒪???ъ씠 媛꾧꺽 */
}

.logo-text {
    font-size: 1.15rem;
    /* 湲???ш린 異뺤냼 */
    font-weight: 500;
    color: var(--text-main);
    letter-spacing: 1px;
}

.logo-image {
    height: 60px;
    /* 濡쒓퀬 ?믪씠瑜???踰???異뺤냼 */
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

/* 紐⑤컮???꾨쾭嫄?硫붾돱 踰꾪듉 (湲곕낯 ?④?) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
    /* 硫붾돱蹂대떎 ?꾩뿉 ?꾩튂 */
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ?꾨쾭嫄?硫붾돱 ?좊땲硫붿씠??(?대졇????X 紐⑥뼇) */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
}

.main-nav a {
    font-family: var(--font-sans);
    /* 硫붾돱 ?고듃瑜??섎닎?ㅽ섏뼱?쇱슫?쒕줈 ?듭씪 */
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.05rem;
    /* 紐낆“泥댁뿉 留욊쾶 ?댁쭩 ?ш린 諛?援듦린 議곗젅 媛??*/
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--nav-hover);
    transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--nav-hover);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Sub Navigation Menu */
.sub-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.sub-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    background-color: #f7f6f2;
    /* ?고븳 諛곌꼍 */
    transition: all 0.3s ease;
}

.sub-nav a.active,
.sub-nav a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .sub-nav {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* Page Header Soft TextStyle Override */
.page-header p {
    font-family: var(--font-sans) !important;
    font-size: 1.15rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.5px !important;
    line-height: 1.8 !important;
    color: #555 !important;
}

/* Main Content Layout */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
    min-height: calc(100vh - 100px);
    position: relative;
    padding: 2.5rem 5rem;
}

/* Hero Section (洹몃┝2 諛??띿뒪???ㅻ쾭?덉씠) */
.hero-section {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* 源딆씠媛??덈뒗 ??꾩슦 */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.hero-image-container:hover .hero-image {
    transform: scale(1.02);
    /* ?몃쾭 ???쎄컙 ?뺣? ?④낵 */
}

/* ?대?吏 ?꾩뿉 ?щ씪媛???몃줈 ?띿뒪??*/
.hero-overlay-text {
    position: absolute;
    left: 8%;
    /* ?쇱そ?먯꽌 ?쎄컙 ?꾩? */
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    text-orientation: upright;
    white-space: nowrap;
    /* 湲?먭? 以꾨컮轅덈릺吏 ?딅룄濡??ㅼ젙 */
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 25px;
    color: var(--text-main);
    text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.9), 0px 0px 10px rgba(255, 255, 255, 0.8), 2px 2px 4px rgba(255, 255, 255, 0.8);
    /* 媛?낆꽦???꾪븳 洹몃┝??*/
    z-index: 10;
}

/* ?쎄컙??諛섏쓳??泥섎━ */
@media (max-width: 1024px) {
    .main-nav ul {
        gap: 1.5rem;
    }

    .hero-section {
        padding: 2.5rem 5rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 40px;
        flex-direction: row;
        /* 濡쒓퀬? 踰꾪듉??媛濡쒕줈 諛곗튂 */
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    /* ?ㅻ퉬寃뚯씠??硫붾돱 (紐⑤컮?쇱뿉?쒕뒗 ?④? ???щ씪?대뱶 諛⑹떇) */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        /* ?붾㈃ 諛뽰쑝濡??대룞 */
        width: 70%;
        max-width: 350px;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 100;
    }

    .main-nav.active {
        right: 0;
        /* ?붾㈃ ?덉쑝濡?諛?대꽔湲?*/
    }

    .main-nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        width: 100%;
        padding: 0 40px;
    }

    .main-nav a {
        font-size: 1.4rem;
        display: inline-block;
        width: 100%;
        padding: 10px 0;
    }

    .menu-toggle {
        display: flex;
        /* 紐⑤컮?쇱뿉???꾨쾭嫄?踰꾪듉 蹂댁씠湲?*/
    }

    .main-content {
        margin-top: 100px;
        min-height: calc(100vh - 100px);
        padding: 1rem 2rem;
    }

    .hero-image-container {
        aspect-ratio: 4 / 3;
        /* 紐⑤컮?쇱뿉?쒕뒗 鍮꾩쑉 蹂寃?*/
    }

    .hero-overlay-text {
        font-size: 1.5rem;
        letter-spacing: 15px;
        left: 5%;
    }
}