* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #2C2416;
    --text-primary: #E5DCC8;
    --text-secondary: #E5DCC8;
    --border-color: #5a4a3a;
    --accent-color: #145f49;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    line-height: 1.8;
    background: var(--bg-color);
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* 영어 전용 요소 */
.english-only {
    font-family: 'Futura PT', 'Futura', sans-serif;
}

/* 영어 제목 */
.english-title {
    font-family: 'Futura PT', 'Futura', sans-serif;
    font-weight: 600;
}

/* 영어 본문 */
.english-body {
    font-family: 'Futura PT', 'Futura', sans-serif;
    font-weight: 400;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 30px;
}

.georgia {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 300;
}

/* ========================================
   최상단 히어로 이미지
   ======================================== */
.top-hero-image {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.top-hero-image .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    padding: 0 30px;
}

/* Image Placeholder */
.image-placeholder {
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            45deg,
            #2C2416,
            #2C2416 10px,
            #FFFBF2 10px,
            #FFFBF2 20px
        );
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    position: relative;
}

.image-placeholder::after {
    content: 'IMAGE AREA';
    background: var(--bg-color);
    padding: 12px 24px;
    border: 2px solid var(--text-primary);
}

/* Hero Section */
.hero {
    display: none;
}

.hero-label {
    font-size: 15px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-weight: 300;
    font-family: 'Futura PT', 'Futura', sans-serif;
}

.hero-title {
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -1px;
    line-height: 1.2;
    font-family: 'Futura PT', 'Futura', sans-serif;
    color: var(--text-secondary);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 50px;
    font-weight: 300;
    line-height: 1.7;
}

.btn-primary {
    display: inline-block;
    padding: 18px 48px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--text-primary);
    color: var(--bg-color);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
    font-family: 'Futura PT', 'Futura', sans-serif;
}

.btn-primary:hover {
    background: var(--accent-color);
    color: var(--text-primary);
}

/* Image Slider Section */
.image-slider-section {
    padding: 80px 50px;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 10px;
    animation: infiniteScroll 60s linear infinite;
    width: max-content;
    transition: transform 0.5s ease;
}

.slider-wrapper:hover .slider-track {
    animation-play-state: paused;
}

@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.slider-item {
    flex: 0 0 auto;
    height: 400px;
}

.slider-item img {
    height: 100%;
    width: auto;
    display: block;
	border: solid 1px var(--border-color);
}

.slider-item.square {
    width: 400px;
}

.slider-item.square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(229, 220, 200, 0.3);
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.slider-wrapper:hover .slider-arrow {
    opacity: 1;
    pointer-events: all;
}

.slider-arrow:hover {
    background: rgba(229, 220, 200, 0.5);
}

.slider-arrow.prev {
    left: 10px;
}

.slider-arrow.next {
    right: 10px;
}

/* Section */
section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
}

section:last-of-type {
    border-bottom: none;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 80px;
}

.section-label {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 400;
    font-family: 'Futura PT', 'Futura', sans-serif;
}

.section-title {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-primary);
}

.section-description {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
}

/* Philosophy Section */
.philosophy {
    background: var(--bg-color);
    padding: 120px 0;
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-text {
    font-size: 20px;
    line-height: 2;
    color: var(--text-primary);
    margin-bottom: 40px;
    font-weight: 300;
}

.philosophy-subtext {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
    font-weight: 300;
}

/* Program Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
}


.timeline-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 60px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.timeline-item:first-child {
    padding-top: 0px;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-time {
    font-size: 30px;
    font-weight: 300;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.timeline-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 300;
    color: var(--text-primary);
}

.timeline-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

/* Details */
.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.detail-item {
    border: 1px solid var(--border-color);
    padding: 50px 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.detail-item:hover {
    border-color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(44, 36, 22, 0.1);
    transform: translateY(-4px);
}

.detail-label {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 400;
    font-family: 'Futura PT', 'Futura', sans-serif;
}

.detail-value {
    font-size: 22px;
    margin-bottom: 8px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-primary);
}

.detail-note {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 300;
}

.detail-highlight {
    font-size: 32px;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 12px;
}

/* Dates Section */
.dates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.date-card {
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(229, 220, 200, 0.02);
}

.date-card:hover {
    border-color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(44, 36, 22, 0.1);
    transform: translateY(-4px);
}

.date {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.time {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 300;
}

.seats {
    font-size: 14px;
    font-weight: 400;
}

    .full {
        color: #a03131;
    }


/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item {
    height: 320px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(44, 36, 22, 0.08);
}

/* Location Section */
.location-map-container {
    max-width: 600px;
    margin: 0 auto;
}

.location-map-wrapper {
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.location-map-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.location-map-buttons {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.location-map-buttons .btn-primary {
    text-align: center;
    padding: 18px 24px;
}

/* Form */
.application,
.application-cta {
    background: var(--bg-color);
}

.application-form {
    max-width: 600px;
    margin: 0 auto;
}

/* Form Progress */
.form-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 60px 0 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.progress-step.active {
    opacity: 1;
}

.progress-step.completed {
    opacity: 0.7;
}

.progress-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 400;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.progress-step.active .progress-number {
    background: var(--text-primary);
    color: var(--bg-color);
    border-color: var(--text-primary);
}

.progress-step.completed .progress-number {
    background: var(--accent-color);
    color: var(--text-primary);
    border-color: var(--accent-color);
}

.progress-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    white-space: nowrap;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Buttons */
.form-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.btn-previous {
    width: 100%;
    padding: 18px 30px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
    font-family: 'Futura PT', 'Futura', sans-serif;
}

.btn-previous:hover {
    background: rgba(229, 220, 200, 0.1);
    border-color: var(--text-primary);
}

.btn-next {
    width: 100%;
    padding: 18px 30px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--text-primary);
    color: var(--bg-color);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
    font-family: 'Futura PT', 'Futura', sans-serif;
}

.btn-next:hover {
    background: var(--accent-color);
	color:var(--text-primary)
}

.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 300;
    font-family: 'Noto Sans KR', sans-serif;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--text-primary);
    background: rgba(229, 220, 200, 0.03);
}

.form-input::placeholder {
    color: rgba(229, 220, 200, 0.4);
    font-weight: 300;
    opacity: 1;
}

.form-input::-webkit-input-placeholder {
    color: rgba(229, 220, 200, 0.4);
    font-weight: 300;
    opacity: 1;
}

.form-input::-moz-placeholder {
    color: rgba(229, 220, 200, 0.4);
    font-weight: 300;
    opacity: 1;
}

.form-input:-ms-input-placeholder {
    color: rgba(229, 220, 200, 0.4);
    font-weight: 300;
    opacity: 1;
}

.form-input.textarea-resize {
    resize: vertical;
}

/* 숫자 입력 필드의 up/down 버튼 제거 */
.form-input[type="number"]::-webkit-inner-spin-button,
.form-input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Select 드롭다운 스타일 */
.form-input select,
select.form-input {
    cursor: pointer;
}

.form-input option {
    background: var(--bg-color);
    color: var(--text-primary);
    padding: 12px;
}

/* 선택되지 않은 placeholder option */
.form-input option[value=""] {
    color: rgba(229, 220, 200, 0.4);
}

.char-counter {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 8px;
    text-align: right;
}

.form-input.file-input {
    padding: 12px;
}

.form-note {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 8px;
    line-height: 1.6;
}

.form-privacy-section {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    margin-top: 40px;
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin-bottom: 16px;
}

.form-checkbox-label input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 4px;
    cursor: pointer;
}

.form-checkbox-label span {
    font-size: 14px;
    line-height: 1.6;
    font-weight: 300;
}

.form-privacy-notice {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 20px;
    padding: 20px;
    background: rgba(229, 220, 200, 0.1);
    line-height: 1.7;
}

.submit-button {
    width: 100%;
    padding: 18px 42px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--text-primary);
    color: var(--bg-color);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
    font-family: 'Futura PT', 'Futura', sans-serif;
    margin-top: 10px;
}

.submit-button:hover {
    background: var(--accent-color);
    color: var(--text-primary);
}

/* Floating Apply Button */
.floating-apply-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.floating-apply-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-apply-btn .btn-primary {
    padding: 18px 36px;
    font-size: 13px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.floating-apply-btn .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .floating-apply-btn {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        padding: 0 20px 20px;
		text-align: center;
    }

    .floating-apply-btn .btn-primary {
        width: 100%;
        padding: 18px 28px;
        font-size: 13px;
        border-radius: 0;
    }
}

/* Footer */
.footer {
    background: var(--bg-color);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-content {
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Futura PT', 'Futura', sans-serif;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-link {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 300;
}

.footer-link:hover {
    color: var(--text-primary);
}

.footer-business-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 0;
    margin-top: 8px;
}

.footer-links + .footer-business-info {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-business-info span {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 300;
}

.footer-business-info span:not(:last-child)::after {
    content: "|";
    margin: 0 12px;
    color: var(--border-color);
}

.footer-copyright {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 30px;
    font-weight: 300;
}

/* Fade-in animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.show {
    opacity: 1;
    transform: translateY(0);
}

#photoPreview {
    display:none; 
    width:100%; 
    margin-top:10px; 
    border-radius:8px;
    border: 1px solid var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .top-hero-image img {
        content: url('link-ylounge-image/main.jpg');
    }

    .hero-title {
        font-size: 42px;
    }

    .section-title {
        font-size: 32px;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .dates-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }

    .footer-business-info {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .footer-business-info span:not(:last-child)::after {
        display: none;
    }

    section {
        padding: 60px 0;
    }

    .mobile-break {
        display: inline;
    }

    .gallery-grid div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    .slider-item {
        height: 250px;
    }

    .slider-item.square {
        width: 250px;
        height: 250px;
		border: solid #e5dcc8 1px;
    }

    .slider-track {
        animation: infiniteScroll 45s linear infinite;
    }
}

@media (min-width: 769px) {
    .mobile-break {
        display: none;
    }
}

/* File Upload Styles */
.file-upload-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.file-input-hidden {
    display: none;
}

.file-upload-btn {
    padding: 12px 24px;
    background: var(--text-primary);
    color: var(--bg-color);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Noto Sans KR', sans-serif;
    transition: all 0.3s ease;
}

.file-upload-btn:hover {
    background: var(--accent-color);
    color: var(--text-primary);
}

.file-name {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Error Styles */
.form-input.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 36, 22, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-content {
    text-align: center;
    color: var(--text-primary);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loading-text {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Date Selection Buttons */
.date-selection {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.date-button {
    flex: 1;
    min-width: 120px;
    padding: 15px 10px;
    border: 1px solid var(--border-color);
    background: var(--text-primary);
    color: var(--bg-color);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 300;
    border-radius: 4px;
    line-height: 1.4;
}

.date-button:hover {
    border-color: var(--bg-color);
}

.date-button.selected {
    border-color: var(--border-color);
    background: var(--accent-color);
    color: var(--text-primary);
}

.date-button.closed {
    background: #6b6560;
    color: #a09a94;
    border-color: #6b6560;
    cursor: not-allowed;
    position: relative;
}

.date-button.closed::after {
    content: '마감';
    display: block;
    font-size: 11px;
    font-weight: 400;
    margin-top: 4px;
    color: #d4a5a5;
}

.date-button.closed:hover {
    border-color: #6b6560;
    background: #6b6560;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .date-selection {
        flex-direction: column;
    }

    .date-button {
        min-width: auto;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
