/* =========================
   RESET
========================= */

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

/* =========================
   FONTS
========================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Noto+Sans+KR:wght@300;400&display=swap');

/* =========================
   CSS VARIABLES
========================= */

:root {
    --bg:        #0e0e0e;
    --surface:   #141414;
    --border:    rgba(255,255,255,0.07);
    --accent:    #c8a97e;        /* warm gold */
    --accent2:   #ff4d6d;
    --text:      #e8e2d9;
    --muted:     rgba(232,226,217,0.5);
    --nav-h:     64px;
}

/* =========================
   BASE
========================= */

body {
    font-family: 'Noto Sans KR', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

/* =========================
   HEADER / NAV
========================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-h);

    background: var(--bg);           
    border-bottom: 1px solid var(--border);

    z-index: 1000;
}

/* NAV CONTAINER */
.navbar {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
}

/* =========================
   MENU TOGGLE
========================= */

#menu-toggle {
    display: none;
}

/* ☰ BUTTON */
.menu-icon {
    font-size: 24px;
    cursor: pointer;
    color: var(--muted);
    letter-spacing: 2px;
    transition: color 0.3s;
    user-select: none;
}

.menu-icon:hover {
    color: var(--text);
}

/* NAV LINKS */
.nav-links {
    list-style: none;
    display: flex;
    gap: 36px;
}

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s;
}

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

/* 현재 페이지 표시 */
.nav-links a.active {
    color: var(--text);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 2px;
}

/* =========================
   SIDEBAR
========================= */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;

    width: 240px;
    height: 100vh;

    background: var(--surface);
    border-right: 1px solid var(--border);

    padding: 32px 28px;
    padding-top: calc(var(--nav-h) + 32px);   /* ✅ nav 높이 아래서 시작 */

    transform: translateX(-260px);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);

    z-index: 1001;
}

/* OPEN SIDEBAR */
#menu-toggle:checked ~ .sidebar {
    transform: translateX(0);
}

/* SIDEBAR TITLE */
.sidebar h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;          /* ✅ 글씨 크게 */
    font-weight: 300;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 32px;
    text-transform: uppercase;
}

/* SIDEBAR LIST */
.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin: 0;
    border-bottom: 1px solid var(--border);
}

.sidebar li:first-child {
    border-top: 1px solid var(--border);
}

/* SIDEBAR LINKS & ITEMS */
.sidebar li a,
.sidebar li span,
.sidebar li {
    display: block;
    padding: 14px 0;

    font-size: 13px;          
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;      
    color: var(--muted);        

    cursor: pointer;
    transition: color 0.25s, padding-left 0.25s;
}

.sidebar li a:hover,
.sidebar li:hover {
    color: var(--accent);
    padding-left: 6px;
}

/* =========================
   OVERLAY
========================= */

.overlay {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(2px);

    opacity: 0;
    visibility: hidden;

    transition: 0.3s ease;

    z-index: 1000;
    pointer-events: none;
}

/* SHOW OVERLAY */
#menu-toggle:checked ~ .overlay {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

/* =========================
   MAIN CONTENT
========================= */

.main-content {
    margin-top: var(--nav-h);
    padding: 0;
}

/* =========================
   HERO
========================= */

.hero {
    min-height: calc(100vh - var(--nav-h));
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    background: var(--bg);    
    position: relative;
    overflow: hidden;
}

/* subtle grain texture */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(52px, 8vw, 96px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: var(--text);
}

.hero p {
    margin-top: 24px;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--muted);
}

/* HERO BUTTONS */
.hero-buttons {
    margin-top: 40px;
    display: flex;
    gap: 16px;
    justify-content: center;
}

.hero-buttons a {
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 2px;
    transition: all 0.3s;
}

.hero-buttons a:first-child {
    background: var(--accent);
    color: #0e0e0e;
}

.hero-buttons a:first-child:hover {
    background: #d4b88e;
}

.hero-buttons a:last-child {
    border: 1px solid var(--border);
    color: var(--muted);
}

.hero-buttons a:last-child:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* SCROLL DOWN */
.scroll-down {
    margin-top: 60px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* =========================
   FOOTER
========================= */

.bottom-banner {
    text-align: center;
    padding: 28px;
    border-top: 1px solid var(--border);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--bg);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    
    header {
        position: fixed;
        width: 100vw;         
        left: 0;
    }

    .navbar {
        padding: 0 16px;
        gap: 8px;
    }

   
    .nav-links {
        gap: 14px;
    }

    .nav-links a {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .menu-icon {
        font-size: 20px;
    }

    /* SIDEBAR */
    .sidebar {
        width: 200px;
    }

    /* HERO */
    .hero h1 {
        font-size: clamp(38px, 10vw, 56px);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons a {
        width: 200px;
        text-align: center;
    }

    /* ABOUT */
    .about-page {
        grid-template-columns: 1fr;
        padding: 32px 20px;
        gap: 32px;
    }

    .about-image-col {
        position: static;
    }

    .about-image-col img {
        aspect-ratio: 4/3;
    }

    /* PORTFOLIO */
    .portfolio {
        padding: 40px 16px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .lb-thumb img {
        height: 180px;
    }

    /* BOOKING */
    .booking {
        padding: 48px 20px;
    }
}


/* =========================
   ABOUT PAGE 
========================= */

.about-page {
    min-height: calc(100vh - var(--nav-h));
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 60px;
    gap: 80px;
    align-items: start;
}

/* LEFT: IMAGE COLUMN */
.about-image-col {
    position: sticky;
    top: calc(var(--nav-h) + 40px);
}

.about-image-col img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 2px;
    display: block;
    filter: grayscale(20%) contrast(1.05);
}

.about-image-caption {
    margin-top: 16px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
}

/* RIGHT: TEXT COLUMN */
.about-text-col {
    padding-top: 20px;
}

.about-eyebrow {
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
}

.about-text-col h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.1;
    margin-bottom: 40px;
    color: var(--text);
}

.about-text-col p {
    font-size: 14px;
    line-height: 1.85;
    color: var(--muted);
    margin-bottom: 20px;
}

.about-divider {
    width: 40px;
    height: 1px;
    background: var(--accent);
    margin: 36px 0;
    opacity: 0.5;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: border-color 0.3s;
}

.about-link:hover {
    border-color: var(--accent);
}

.about-link::after {
    content: '→';
}

@media (max-width: 768px) {
    .about-page {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        gap: 40px;
    }
    .about-image-col {
        position: static;
    }
}

/* =========================
   PORTFOLIO PAGE
========================= */

.portfolio {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 40px;
    text-align: center;
}

.portfolio h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 12px;
}

.portfolio-subtitle {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 48px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.portfolio-grid img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 2px;
    transition: 0.4s ease;
    filter: grayscale(10%);
}

.portfolio-grid img:hover {
    transform: scale(1.02);
    filter: grayscale(0%);
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

/* =========================
   BOOKING PAGE
========================= */

.booking {
    max-width: 560px;
    margin: 0 auto;
    padding: 80px 40px;
    text-align: center;
}

.booking h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 12px;
}

.booking > p {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 40px;
}

.qr-area img {
    width: 200px;
    max-width: 80%;
    border-radius: 4px;
    box-shadow: 0 0 40px rgba(200,169,126,0.12);
    margin-bottom: 16px;
}

.booking-form {
    width: 100%;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.booking-form input,
.booking-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    border-radius: 2px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.booking-form input:focus,
.booking-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(200,169,126,0.08);
}

.booking-form input::placeholder,
.booking-form textarea::placeholder {
    color: var(--muted);
    font-style: italic;
    font-size: 13px;
}

.booking-form button {
    padding: 14px;
    border: none;
    border-radius: 2px;
    background: var(--accent);
    color: #0e0e0e;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.booking-form button:hover {
    background: #d4b88e;
    transform: translateY(-1px);
}

/* =========================
   FADE IN ANIMATION
========================= */

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.9s cubic-bezier(0.4,0,0.2,1) forwards;
    animation-delay: 0.1s;
}

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


/* =========================
   LIGHTBOX  (CSS-only, :target)
========================= */


.lb-thumb {
    display: block;
    cursor: zoom-in;
    border-radius: 2px;
    overflow: hidden;
}

.lb-thumb img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: grayscale(10%);
}

.lb-thumb:hover img {
    transform: scale(1.03);
    filter: grayscale(0%);
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}


.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(6px);

    
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.3s ease, visibility 0.3s ease;
}


.lightbox:target {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* expand img */
.lightbox img {
    max-width: min(90vw, 820px);
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 2px;

    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}

.lightbox:target img {
    transform: scale(1);
}


.lb-close {
    position: absolute;
    inset: 0;
    cursor: zoom-out;
}


.lb-close::after {
    content: '✕';
    position: absolute;
    top: 24px;
    right: 32px;

    font-size: 20px;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0;
    transition: color 0.2s;
    pointer-events: none;
}

.lightbox:target .lb-close:hover::after {
    color: var(--accent);
}


/* =========================
   SEE MORE  (CSS-only, checkbox trick)
========================= */


#show-more {
    display: none;
}


.lb-thumb.extra {
    display: none;
}


#show-more:checked ~ .portfolio-grid .lb-thumb.extra {
    display: block;
}


.see-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    padding: 13px 40px;
    border: 1px solid var(--border);
    border-radius: 2px;
    cursor: pointer;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    transition: border-color 0.3s, color 0.3s;
    user-select: none;
}

.see-more-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}


.label-more { display: inline; }
.label-less  { display: none;   }

#show-more:checked ~ .see-more-btn .label-more { display: none;   }
#show-more:checked ~ .see-more-btn .label-less  { display: inline; }
