:root {
    --primary: #f0d59e;
    /* Luxury Gold/Bronze */
    --accent: #d4af37;
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --text-main: #ffffff;
    --text-sub: #b0b0b0;
    --border: rgba(197, 160, 89, 0.2);
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
}

body {
    font-family: 'Noto Sans KR', 'Inter', sans-serif;
    color: var(--text-main);
    background: var(--bg-dark);
    line-height: 1.7;
    overflow-x: hidden;
    /* 가로 스크롤 방지 */
    width: 100%;
    position: relative;
}

@keyframes bodyFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.container-sm {
    max-width: 900px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 8px 0;
    transition: background 0.5s ease, backdrop-filter 0.5s ease;
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 8px 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.container-header {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0 !important;
    padding: 0;
    position: relative;
}

.container-header nav {
    position: absolute;
    right: 60px;
}

.logo {
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
}

#header-logo {
    height: 60px !important;
    transition: none;
    object-fit: contain;
}

header.scrolled #header-logo {
    height: 60px !important;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    /* 글자 조금 키움 */
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.3s;
}

nav a:hover {
    color: var(--primary);
}

.nav-contact {
    background: var(--primary);
    color: #000 !important;
    padding: 10px 30px;
    border-radius: 2px;
    font-weight: 600;
}

#hero {
    height: 100vh;
    min-height: 800px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
    /* 배경 가상요소 범위를 제한 */
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('히어로1.png') center/cover no-repeat;
    filter: brightness(0.9) saturate(0.4);
    /* 채도를 빼서 확실한 회색빛을 내고, 밝기를 살짝 높여 이미지 디테일이 보이게 조절 */
    z-index: 0;
}

@media (max-width: 768px) {
    #hero::before {
        background: url('히어로2.png') center/cover no-repeat;
    }

    .space-card .info h4 {
        font-size: 18px !important;
    }

    .space-card .info span {
        font-size: 12px !important;
    }

    .img-wrap img {
        width: 100% !important;
        height: auto !important;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 30, 30, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    padding: 300px 20px 200px;
    /* 극단적으로 상하 여백을 늘려 화살표 공간 확보 */
}

.sub-title {
    font-family: 'Outfit';
    letter-spacing: 8px;
    font-size: 12px;
    display: block;
    margin-bottom: 50px;
    color: var(--primary);
}

#hero .hero-title {
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.3;
    margin-bottom: 30px;
    font-weight: 700;
}

#hero .highlight {
    display: block;
    margin: 20px 0;
}

@media (min-width: 850px) {
    #hero .hero-title {
        font-size: clamp(32px, 4.5vw, 55px);
        /* 크기 대폭 축소 */
        line-height: 1.1;
        /* 웹(데스크탑)에서 글자 사이 촘촘하게 */
        margin-bottom: 40px;
    }

    #hero .highlight {
        margin: 20px 0;
        /* 웹(데스크탑)에서 위아래 간격 조정 */
    }
}

#hero .brand {
    font-family: 'Playfair Display';
    font-weight: 400;
    font-style: italic;
    color: #fff;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 5px;
}

.hero-desc {
    font-size: 18px;
    color: #fff;
    margin: 50px auto 80px;
    max-width: 600px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-top: 40px;
}

.btn {
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 2px;
    font-weight: 600;
    letter-spacing: 2px;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 11px;
}

.btn-primary {
    background: var(--primary);
    color: #000;
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn:hover {
    background: #fff;
    color: #000;
    transform: scale(1.05);
}

/* Section Labels & Headings */
section {
    padding: 150px 0;
}

.section-label {
    font-family: 'Outfit';
    letter-spacing: 6px;
    font-size: 12px;
    font-weight: 400;
    /* 굵기를 400으로 고정하여 시각적 차이 제거 */
    color: var(--primary);
    /* 원래의 골드 색상으로 완전 복구 */
    margin-bottom: 15px;
    display: block;
    text-transform: uppercase;
}

h3.heading-main {
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1.3;
    margin-bottom: 30px;
    font-family: 'Outfit', 'Noto Sans KR', sans-serif;
    font-weight: 500;
    color: #fff;
}

/* Light Theme Support */
.theme-light {
    background: #ffffff !important;
    color: #000000 !important;
}

.theme-light .heading-main {
    color: #000000 !important;
}

.theme-light .section-label {
    color: #666 !important;
    /* 골드에서 원래의 그레이톤으로 복원 */
}

.theme-light .sub-title,
.theme-light p {
    color: #333 !important;
}

/* Signature (Dark Cards) */
#signature {
    background: #0f0f0f;
    padding-top: 80px;
}

.signature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
}

.sig-item {
    border-left: 1px solid var(--border);
    padding-left: 40px;
}

.sig-item h3 {
    margin-bottom: 25px;
    font-weight: 500;
}

.sig-item p {
    color: var(--text-sub);
    font-size: 15px;
    font-weight: 300;
}

/* About Stats */
.about-stats {
    display: flex;
    gap: 60px;
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid var(--border);
}

.stat strong {
    display: block;
    font-family: 'Outfit';
    font-size: 32px;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
}

.stat span {
    font-size: 11px;
    color: #777;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Gallery Section (Proper Auto-Marquee) */
.gallery-window {
    width: 100%;
    /* 컨테이너 너비 사용 (이미 컨테이너 밖임) */
    overflow: hidden;
    position: relative;
    padding: 40px 0;
}

.gallery-grid {
    display: flex;
    flex-wrap: nowrap !important;
    /* 무조건 한 줄로 정렬 (강제) */
    gap: 30px;
    width: max-content;
    padding-right: 30px;
    /* gap만큼 여유를 주어 50% 이동 시 완벽한 루프 구현 */
    animation: marqueeSlide 40s linear infinite;
    /* 한 방향으로만 무한 회전 */
}

.gallery-item {
    flex: 0 0 450px;
    height: 320px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

@keyframes marqueeSlide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* padding-right 보정으로 50%가 정확한 루프 포인트가 됨 */
    }
}

.gallery-item.wide {
    grid-column: span 2;
}

/* Audio Banner */
#audio-banner {
    background: #111;
    padding: 100px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.audio-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.audio-text {
    flex: 1;
}

.audio-text h3 {
    font-size: 40px;
    margin-bottom: 20px;
    font-family: 'Playfair Display';
    color: #fff;
}

.audio-text p {
    color: var(--text-sub);
    line-height: 1.8;
}

.audio-img {
    flex: 1;
    height: 500px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.audio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: var(--transition);
}

#audio-banner:hover img {
    filter: brightness(1.1);
    transform: scale(1.05);
}

/* Spaces (Lux Cards) */
#spaces {
    background: var(--bg-dark);
}

/* Spaces (10-room Grid) */
.space-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2열로 더 길게 배치하여 무게감 상승 */
    gap: 40px;
    margin-top: 60px;
}

@media (min-width: 1200px) {
    .space-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 럭셔리 포트폴리오는 촘촘한 것보다 시원한 2열 선호 */
}

.space-card {
    background: var(--bg-card);
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.space-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.img-wrap {
    height: auto;
    position: relative;
    overflow: hidden;
}

.img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: 0.8s;
}

.space-card:hover .img-wrap img {
    filter: brightness(1.1);
    transform: scale(1.05);
}

.info {
    padding: 40px;
    text-align: left;
}

.info h4 {
    font-family: 'Playfair Display';
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 400;
}

.info span {
    color: #888;
    letter-spacing: 1px;
    font-size: 13px;
    text-transform: uppercase;
}

/* Floorplan */
.floorplan-viewer {
    background: #fff;
    padding: 100px;
    display: flex;
    justify-content: center;
    border: 1px solid #eee;
}

.floorplan-viewer img {
    max-width: 100%;
}

/* Form (Dark Mode) */
#contact {
    background: #080808;
}

.form-card {
    background: #111;
    padding: 80px;
    border: 1px solid var(--border);
}

.input-group label {
    color: var(--primary);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

input,
textarea {
    background: #050505;
    border: 1px solid #222;
    color: #fff;
    padding: 22px;
    font-weight: 300;
    border-radius: 0;
    width: 100%;
}

input:focus,
textarea:focus {
    border-color: var(--primary);
    outline: none;
    background: #080808;
}

.submit-btn {
    background: var(--primary);
    color: #000;
    letter-spacing: 4px;
    border-radius: 0;
    padding: 25px;
    transition: 0.3s;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 20px;
    width: 100%;
    cursor: pointer;
    border: none;
}

.submit-btn:hover {
    background: #fff;
}

/* Accordion (FAQ) */
#faq {
    background: #080808;
    padding: 150px 0;
}

.accordion {
    margin-top: 50px;
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.accordion-item>summary {
    list-style: none;
    /* Hide default arrow */
}

.accordion-item>summary::-webkit-details-marker {
    display: none;
    /* Hide default arrow in webkit */
}

.accordion-header {
    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.accordion-header:hover {
    background: rgba(197, 160, 89, 0.05);
}

.accordion-header span {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #eee;
}

.accordion-header i {
    color: var(--primary);
    font-style: normal;
    font-size: 20px;
    font-weight: 200;
    transition: 0.4s;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #0a0a0a;
}

.accordion-body p {
    padding: 0 20px 30px;
    color: var(--text-sub);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
}

.accordion-body strong {
    color: var(--primary);
}

.accordion-item.active .accordion-body {
    max-height: 300px;
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
    color: #fff;
}

/* Footer */
footer {
    background: #000;
    padding: 50px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-logo {
    color: var(--primary);
    letter-spacing: 10px;
    font-family: 'Outfit';
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.sns a {
    color: var(--primary);
    border: 1px solid var(--border);
    padding: 12px 25px;
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
    margin-left: 15px;
}

.sns a:hover {
    background: var(--primary);
    color: #000;
}

.copy {
    margin-top: 20px;
    font-size: 10px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Notice Cards Hover */
.notice-card:hover {
    background: #181818 !important;
    border-color: var(--primary) !important;
    transform: translateY(-5px);
}

/* Marquee Section */
.marquee-container {
    background: #000;
    padding: 60px 0;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.marquee-item {
    width: 350px;
    height: 220px;
    margin-right: 20px;
    flex-shrink: 0;
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.5);
    transition: 0.5s ease;
}

.marquee-item:hover img {
    filter: grayscale(0) brightness(1);
    transform: scale(1.05);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Fixed Background Parallax */
.fixed-bg-section {
    position: relative;
    height: 60vh;
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fixed-bg-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.fixed-bg-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.fixed-bg-content h2 {
    font-family: 'Playfair Display';
    font-size: clamp(30px, 5vw, 60px);
    color: var(--primary);
    font-style: italic;
    letter-spacing: 2px;
}

@media (max-width: 1024px) {
    section {
        padding: 120px 0;
    }

    .container {
        padding: 0 30px;
    }

    .signature-grid,
    .space-grid {
        grid-template-columns: 1fr;
    }

    .about-flex {
        flex-direction: column;
        gap: 50px;
    }

    .input-row {
        grid-template-columns: 1fr;
    }
}

/* Custom Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-fade {
    opacity: 0;
    transition: all 1.5s ease;
}

.reveal-fade.active {
    opacity: 1;
}

/* ------------------------------------- */
/* ADDED: Light Theme & New Layout Rules */
/* ------------------------------------- */

/* Light Theme Sections (Gallery, FAQ, Corridors) */
.theme-light {
    background-color: #ffffff;
    color: #000000;
}

.theme-light .section-label {
    color: #666;
}

.theme-light .heading-main {
    color: #000;
}

.theme-light .accordion-item {
    border-bottom: 1px solid #eee;
}

.theme-light .accordion-header {
    color: #000;
}

.theme-light .accordion-header:hover {
    background: #f9f9f9;
}

.theme-light .accordion-header span {
    color: #000;
}

.theme-light .accordion-body {
    background: #fafafa;
}

.theme-light .accordion-body p {
    color: #333;
}

.theme-light .accordion-item.active .accordion-header i {
    color: var(--primary);
}

.theme-light .accordion-header:hover {
    color: var(--primary);
}

.theme-light .accordion-body p {
    color: #555;
}

.theme-light .icon-plus {
    color: var(--primary);
}

/* Updated Hero Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    opacity: 0.7;
    z-index: 10;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-20px) translateX(-50%);
    }

    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Clean Style Space Cards */
.style-clean .info {
    border: 1px solid #eee;
    border-top: none;
}

/* Adjusted Form Wrapper */
.form-wrapper input:focus,
.form-wrapper textarea:focus {
    outline: none;
    border-color: var(--primary) !important;
}

.form-wrapper .submit-btn:hover {
    background-color: #fff;
    color: #000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* =========================================
   Base Grid Layouts
   ========================================= */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.signature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.space-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* =========================================
   Tablet/Mobile Overrides (< 1024px)
   (Added contact-grid here)
   ========================================= */
@media (max-width: 1024px) {

    .signature-grid,
    .space-grid,
    .contact-grid,
    .input-row {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Mobile Overrides (< 768px)
   ========================================= */
@media (max-width: 768px) {

    /* Hero Typography */
    #hero h1 {
        font-size: clamp(28px, 8vw, 42px) !important;
        margin-bottom: 20px !important;
    }

    .hero-desc {
        font-size: 15px !important;
        margin: 30px auto 40px !important;
        line-height: 1.6;
    }

    .sub-title {
        font-size: 10px;
        margin-bottom: 30px;
        letter-spacing: 4px;
    }

    /* Feature Grid (Strictly 2 columns on mobile) */
    .feature-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    /* General Typography */
    .heading-main {
        font-size: 24px !important;
    }

    .section-label {
        font-size: 11px !important;
        letter-spacing: 2px !important;
    }

    /* Button scale down */
    .btn {
        padding: 10px 24px !important;
        font-size: 11px !important;
    }

    /* Gallery Auto-Slider (Mobile) */
    .gallery-window {
        padding: 20px 0;
    }

    .gallery-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        /* 모바일에서도 한 줄 고정 */
        gap: 15px;
        animation: marqueeSlide 20s linear infinite;
        /* 모바일에서도 한 방향 무한 회전 */
    }

    .gallery-item {
        flex: 0 0 80vw;
        height: 250px;
    }
}

/* =========================================
   Small Mobile Overrides (< 850px)
   Fix for Header / Menu Overlap
   ========================================= */
@media (max-width: 850px) {
    .container-header {
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        /* 로고와 메뉴 사이 간격 대폭 축소 */
    }

    .container-header nav {
        position: static;
        right: auto;
    }

    .logo {
        position: relative;
        left: 0;
        transform: none;
        margin-bottom: 5px;
    }

    #header-logo {
        height: 50px !important;
    }

    header.scrolled #header-logo {
        height: 30px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px 40px;
        /* 메뉴 항목 사이 간격 늘림 */
    }

    nav a {
        font-size: 14px;
        /* 글자 크기 키움 */
    }

    header {
        padding: 15px 0;
    }

    header.scrolled {
        padding: 10px 0;
    }

    /* Single column for features on very small screens */
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Marquee Banner Style */
.marquee-banner {
    background: var(--primary);
    height: 53px;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.marquee-banner-content {
    display: flex;
    white-space: nowrap;
    animation: marquee-rtl 30s linear infinite;
}

.marquee-banner-content span {
    color: #000;
    font-weight: 600;
    font-size: 14px;
    padding: 0 40px;
}

.marquee-banner-content a {
    color: #000;
    text-decoration: none;
}

.marquee-banner-content a:hover {
    text-decoration: underline;
}

@keyframes marquee-rtl {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 맨 위로 가기 버튼 */
.scroll-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #000;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #fff;
    transform: translateY(-5px);
}

/* 로딩 인트로 */
#intro-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#intro-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: introLogoIn 1s ease forwards;
    opacity: 0;
}

#intro-logo span {
    font-family: 'Outfit';
    font-size: 24px;
    letter-spacing: 12px;
    color: var(--primary) !important;
    text-transform: uppercase;
    display: block !important;
    margin-top: 20px;
    opacity: 1 !important;
}

@keyframes introLogoIn {
    0% { opacity: 0; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes introFadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; pointer-events: none; visibility: hidden; }
}

/* 켄번스 효과 */
#hero::before {
    animation: kenburns 12s ease-out infinite alternate;
}

@keyframes kenburns {
    0% { transform: scale(1); transform-origin: center center; }
    100% { transform: scale(1.1); transform-origin: center top; }
}

/* 햄버거 버튼 */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

/* 햄버거 X 애니메이션 */
.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* 모바일에서만 햄버거 표시 */
@media (max-width: 850px) {
    .container-header {
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 20px !important;
        position: relative !important;
    }

    .hamburger {
        position: absolute !important;
        left: 20px !important;
        display: flex;
    }

    .container-header nav {
        position: static;
        right: auto;
    }

    #nav-menu {
        display: flex !important;
        position: fixed;
        top: 0;
        left: -60%;
        width: 60%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-right: 1px solid rgba(240, 213, 158, 0.15);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        z-index: 1000;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    #nav-menu.active {
        left: 0;
    }

    #nav-menu a {
        font-size: 22px;
        letter-spacing: 4px;
        color: #fff;
    }
}