@charset "utf-8";

/* =========================================
   [기존 변수 및 공통 설정]
   ========================================= */
:root {
    --bg-color: #FDFCF8; /* 크림 화이트 */
    --primary-gold: #C5A059; /* 샴페인 골드 메인 */
    --light-gold: #E8DCC0; /* 연한 골드 */
    --dark-gold: #8C7030; /* 어두운 골드 (텍스트/버튼) */
    --text-color: #333333;
    --border-color: #DECBA4;
    --input-bg: #FAFAFA;
}

* { box-sizing: border-box; }

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

/* 폰트 설정 */
h1, h2, h3, .serif-font {
    font-family: 'Playfair Display', serif;
    color: var(--dark-gold);
    word-break: keep-all;
}

/* =========================================
   [기존 예약 페이지 스타일 (booking.php, admin.php)]
   ========================================= */
.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    min-height: 100vh;
}

@media (min-width: 768px) {
    .container {
        margin: 50px auto;
        padding: 40px;
        border: 1px solid var(--border-color);
        box-shadow: 0 10px 30px rgba(197, 160, 89, 0.15);
        border-radius: 12px;
        min-height: auto;
    }
}

/* ... (기존 폼, 탭, 버튼, 테이블 스타일 생략 - 위 파일 내용 유지) ... */
/* 예약 페이지용 기존 스타일들은 그대로 둡니다. */
/* 아래부터는 index.html을 위한 추가 스타일입니다. */

/* 탭 메뉴 */
.tabs { display: flex; margin-bottom: 25px; border-bottom: 2px solid var(--light-gold); }
.tab-link { flex: 1; padding: 15px 10px; text-align: center; cursor: pointer; background: transparent; border: none; font-size: 1rem; color: #999; font-weight: 500; transition: all 0.3s ease; }
.tab-link.active { color: var(--dark-gold); border-bottom: 3px solid var(--primary-gold); font-weight: 700; }
.tab-content { display: none; animation: fadeIn 0.4s ease-out; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; color: var(--dark-gold); font-weight: 600; font-size: 0.95rem; }
input[type="text"], input[type="password"], input[type="date"], input[type="tel"], input[type="datetime-local"], select, textarea { width: 100%; padding: 14px; border: 1px solid var(--border-color); border-radius: 8px; background-color: var(--input-bg); font-size: 16px; color: #333; transition: border-color 0.3s, box-shadow 0.3s; appearance: none; -webkit-appearance: none; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary-gold); box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15); background-color: #fff; }
textarea { resize: none; min-height: 150px; }

.btn { display: block; width: 100%; padding: 16px; background: linear-gradient(135deg, var(--primary-gold), #A08040); color: white; border: none; border-radius: 8px; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: transform 0.1s, opacity 0.3s; text-align: center; text-decoration: none; margin-top: 10px; box-shadow: 0 4px 10px rgba(197, 160, 89, 0.3); }
.btn:active { transform: scale(0.98); }
.btn-small { width: auto; display: inline-block; padding: 10px 20px; font-size: 0.9rem; margin-top: 5px; }

/* 시간 선택 그리드 */
.time-slot-wrapper { background: #FDFCF8; padding: 15px; border: 1px solid #EEE; border-radius: 8px; }
.time-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(75px, 1fr)); gap: 8px; margin-top: 10px; }
.time-btn { padding: 12px 5px; border: 1px solid #DDD; background-color: #fff; color: #555; cursor: pointer; border-radius: 6px; font-size: 14px; transition: all 0.2s; text-align: center; }
.time-btn:hover:not(:disabled) { border-color: var(--primary-gold); color: var(--dark-gold); background-color: #FFFDF5; }
.time-btn.selected { background-color: var(--primary-gold); color: white; border-color: var(--primary-gold); font-weight: bold; box-shadow: 0 2px 5px rgba(197, 160, 89, 0.4); }
.time-btn:disabled { background-color: #F5F5F5; color: #CCC; cursor: not-allowed; border-color: #EEE; text-decoration: line-through; }

.captcha-box { display: flex; align-items: center; gap: 10px; background: #f9f9f9; padding: 12px; border-radius: 8px; flex-wrap: wrap; }
.history-list { list-style: none; padding: 0; }
.history-item { background: #fff; border: 1px solid #eee; padding: 18px; margin-bottom: 12px; border-radius: 8px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.admin-table th, .admin-table td { padding: 12px; border-bottom: 1px solid #eee; text-align: left; }
.admin-table th { background-color: #f8f8f8; color: var(--dark-gold); white-space: nowrap; }


/* =========================================
   [인포메이션 페이지 (index.html) 전용 스타일]
   ========================================= */

/* 랜딩 페이지 전체 래퍼 */
.landing-wrap {
    width: 100%;
    overflow-x: hidden;
    padding-bottom: 80px; /* 하단 플로팅 버튼 공간 확보 */
}

/* 네비게이션 */
.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(253, 252, 248, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-gold);
    text-decoration: none;
}

/* 섹션 공통 */
.section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--dark-gold);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-gold);
    margin: 20px auto 0;
}

.section-desc {
    text-align: center;
    color: #666;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

/* 히어로 섹션 */
.hero {
    height: 80vh; /* 화면 높이의 80% */
    min-height: 500px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* 패럴랙스 효과 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* 소개 섹션 */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* 서비스 카드 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.15);
    border-color: var(--light-gold);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

/* 프로세스 (단계) */
.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.step-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    padding: 20px;
}

.step-num {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: var(--primary-gold);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* 고정(Sticky) 예약 버튼 */
.floating-btn-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    width: auto;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-gold);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 5px 20px rgba(140, 112, 48, 0.4);
    transition: all 0.3s;
    animation: floatBounce 2s infinite;
}

.floating-btn:hover {
    background: var(--primary-gold);
    transform: scale(1.05);
}

@keyframes floatBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .about-grid { grid-template-columns: 1fr; }
    
    .floating-btn-container {
        bottom: 20px;
        left: 20px;
        right: 20px; /* 모바일에서는 하단 전체 꽉 차게 */
        width: auto;
    }
    .floating-btn {
        width: 100%;
        border-radius: 12px;
        justify-content: center;
    }
    
    .process-steps { flex-direction: column; }
    .step-item::after { display: none; }
}

/* Footer */
footer {
    background: #333;
    color: #aaa;
    padding: 50px 5%;
    text-align: center;
    font-size: 0.9rem;
}