/* =========================================
   기본 설정 및 변수 (Base & Variables)
   ========================================= */
:root {
    /* 컬러 팔레트 설정 */
    --color-cream-bg: #F9F7F2;      /* 부드러운 크림색 배경 */
    --color-cream-dark: #EFEBE0;    /* 약간 어두운 크림색 (섹션 구분용) */
    --color-green-deep: #2C4F3C;    /* 딥 그린 (로고, 포인트 텍스트) */
    --color-wood-brown: #8D6E63;    /* 우드톤 (강조) */
    --color-text-dark: #4A4A4A;     /* 기본 텍스트 (부드러운 진회색) */
    --color-text-light: #7A7A7A;    /* 보조 텍스트 (따뜻한 회색) */
    --color-white: #FFFFFF;         /* 흰색 */

    /* [수정됨] 폰트 변수 설정: Lora -> Noto Serif KR (한글 명조체) */
    --font-serif: 'Noto Serif KR', serif; /* 국문 명조체 및 영문 세리프 겸용 */
    --font-sans: 'Noto Sans KR', sans-serif; /* 국문/영문 고딕체 */
}

/* 초기화 및 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-cream-bg);
    color: var(--color-text-dark);
    line-height: 1.7;
    word-break: keep-all; /* 한글 단어 잘림 방지 */
}

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

ul {
    list-style: none;
}

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

/* 공통 레이아웃 클래스 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 100px 0; /* 섹션 상하 여백 */
    background-color: var(--color-white); /* 기본 배경은 흰색으로 설정 */
}

.section-cream {
    background-color: var(--color-cream-dark);
}

.section-dark {
    background-color: var(--color-green-deep);
    color: var(--color-white);
}

.text-center { text-align: center; }
.text-white { color: var(--color-white) !important; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* 섹션 타이틀 스타일 */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-green-deep);
    margin-bottom: 1.5rem;
}

.section-dark .section-title {
    color: var(--color-white);
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 3rem;
}

.section-divider {
    width: 50px;
    height: 2px;
    background-color: var(--color-wood-brown);
    margin-bottom: 2rem;
}


/* =========================================
   헤더 (Header)
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(249, 247, 242, 0.95); /* 반투명 크림색 */
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 0;
}

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

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px; /* 로고 높이 설정 */
    width: auto;
}


.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-dark);
    padding: 0.5rem;
}

.nav-link:hover {
    color: var(--color-green-deep);
}


/* =========================================
   메인 히어로 (Hero Section)
   ========================================= */
.hero {
    position: relative;
    height: 100vh; /* 화면 전체 높이 */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    margin-top: -70px; /* 헤더 높이만큼 올려서 꽉 채우기 */
    padding: 0; /* 섹션 패딩 초기화 */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 이미지 비율 유지하며 꽉 채우기 */
}

/* 어두운 오버레이 (글자 가독성을 위해) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 79, 60, 0.4); /* 딥그린 틴트 */
    z-index: -1;
}

.hero-content {
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    color: var(--color-white); /* 히어로 타이틀은 흰색 고정 */
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
    color: var(--color-white); /* 히어로 서브타이틀은 흰색 고정 */
}


/* =========================================
   브랜드 스토리 (Story Section)
   ========================================= */
.story-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.story-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.story-text {
    flex: 1;
}

.story-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.story-text strong {
    color: var(--color-green-deep);
    font-weight: 700;
}

.story-footer {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--color-green-deep);
    margin-top: 2rem;
    font-style: italic;
}


/* =========================================
   로고 디자인 스토리 섹션 (Logo Story Section)
   ========================================= */
#logo-story {
    /* 추가적인 상단 마진이 필요하면 여기에 적용 */
}

.logo-story-content {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    margin-top: 2rem;
}

.logo-display {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.logo-display figure {
    text-align: center;
    margin: 0;
}

.logo-display img {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 1rem;
    background-color: var(--color-white);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.logo-display img:hover {
    transform: translateY(-5px);
}

.logo-display figcaption {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-family: var(--font-serif);
    font-style: italic;
}

.logo-text {
    flex: 2;
}

.logo-text h4 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--color-green-deep);
    margin-bottom: 1rem;
}

.logo-text p {
    margin-bottom: 1.5rem;
    /* 기본 텍스트 색상 변수 따름 */
}

.logo-features {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.logo-features li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-dark);
}

.logo-features li::before {
    content: '•';
    color: var(--color-wood-brown);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.logo-features strong {
    color: var(--color-green-deep);
    font-weight: 600;
}

.citation {
    font-size: 0.8em;
    color: var(--color-text-light);
    vertical-align: super;
    margin-left: 2px;
}

.logo-conclusion {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--color-green-deep);
    font-style: italic;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 1.5rem;
}


/* =========================================
   공간 소개 (Space Section)
   ========================================= */
.space-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}


/* =========================================
   이용 안내 (How-to Section)
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
    text-align: center;
}

.feature-item {
    padding: 2rem;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--color-green-deep);
    margin-bottom: 0.8rem;
}

.feature-item p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.menu-preview {
    border-radius: 12px;

    /*width: 500px;               !* 보여줄 영역 가로 *!*/
    height: 400px;              /* 보여줄 영역 세로 */
    border: 1px solid #ccc;
    overflow: hidden;           /* 혹시 모를 스크롤 방지 */

    background-image: url("/images/afc8e949-dc67-4915-8005-0eb303088e3b.png");  /* 큰 이미지 경로 */
    background-repeat: no-repeat;
    background-size: cover;      /* 필요하면 cover, contain 으로 변경 */
    background-position: 50% 30%; /* 시작 위치 */

    cursor: grab;
    user-select: none;
}

.menu-preview.dragging {
    cursor: grabbing;
}

.menu-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* =========================================
   위치 정보 (Location Section)
   ========================================= */
.location-content {
    display: flex;
    gap: 3rem;
    background-color: rgba(255,255,255,0.1);
    padding: 3rem;
    border-radius: 12px;
}

.map-container {
    flex: 3;
    border-radius: 8px;
    overflow: hidden;
    min-height: 300px;
}

.location-info {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.info-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    opacity: 0.7;
    color: rgba(255,255,255,0.8); /* 흰색 텍스트의 투명도 조절 */
}

.info-item p {
    font-size: 1.05rem;
}


/* =========================================
   푸터 (Footer)
   ========================================= */
.footer {
    background-color: #222;
    color: #aaa; /* 푸터 텍스트 색상은 유지 */
    padding: 3rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 45px;
    width: auto;
    margin: 0 auto;
    opacity: 0.8;
}

.footer-address p {
    margin-bottom: 0.5rem;
}

.footer-address span {
    margin: 0 0.5rem;
}

.copyright {
    margin-top: 2rem;
    opacity: 0.6;
}


/* =========================================
   반응형 스타일 (Mobile Responsive)
   ========================================= */
@media (max-width: 768px) {
    .header {
        padding: 0.8rem 0;
    }

    .logo img {
        height: 50px;
    }

    .nav {
        display: none;
    }

    .header-content {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 60px 0;
    }

    .story-container,
    .location-content,
    .logo-story-content {
        flex-direction: column;
        gap: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .space-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 250px;
    }

    .map-container {
        height: 250px;
    }

    .logo-display {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-address span {
        display: block;
        margin: 0.3rem 0;
    }
}