/* variables.css - 프로젝트의 핵심 디자인 시스템 */
/* 전역 변수 설정: 이 부분만 고치면 홈페이지 전체 분위기가 바뀝니다. */
:root {
  /* 브랜드 컬러 */
  --primary-color: #1a1a1a;    /* 깊이 있는 블랙 */
  --secondary-color: #c5a059;  /* 프리미엄 골드 포인트 */
  --accent-color: #e74c3c;     /* 주의/강조용 레드 */
  
  /* 배경 및 텍스트 */
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --text-main: #333333;
  --text-muted: #777777;
  --text-inv: #ffffff;

  /* 수치 디테일 (대시보드와 정렬 맞춤) */
  --radius-md: 8px;
  --radius-lg: 16px;
  --gap-md: 20px;
  --container-max: 1200px;

  /* 애니메이션 */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 기본 리셋 (모든 브라우저에서 동일하게 보이게 함) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent; /* 모바일 터치 시 파란 박스 제거 */
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  background-color: var(--bg-white);
  color: var(--text-main);
  line-height: 1.6;
}

/* Hero 컴포넌트 전용 스타일 */
.hero-container {
    position: relative;
    height: 80vh; /* 모바일에서 시원하게 보이도록 설정 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&q=80') no-repeat center center/cover;
    color: var(--text-inv);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); /* 이미지 위 어두운 막을 씌워 글자 가독성 확보 */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-sub-title {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 10px;
    color: var(--secondary-color); /* 골드 포인트 */
}

.hero-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 5px;
}

.hero-description {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 35px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* 공통 버튼 스타일 (전역 사용) */
.btn-primary {
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 30px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline {
    border: 1px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary:hover { background-color: #b08d4a; }
.btn-outline:hover { background: white; color: black; }

/* Booking Bar 컴포넌트 전용 스타일 (모바일 우선) */
.booking-wrapper {
    width: 100%;
    margin-top: -40px; /* Hero 섹션에 살짝 걸치게 하여 세련된 느낌 연출 */
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.booking-container {
    background: rgba(255, 255, 255, 0.95); /* 세련된 반투명 흰색 */
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column; /* 모바일에서는 세로로 나열 */
    gap: 15px;
}

/* PC 버전 (화면이 넓어지면 가로로 정렬) */
@media (min-width: 768px) {
    .booking-container {
        flex-direction: row;
        align-items: flex-end;
        max-width: var(--container-max);
        margin: 0 auto;
    }
    .booking-item { flex: 1; }
}

.booking-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.booking-item label {
    font-size: 11px;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

.booking-item input, .booking-item select {
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.booking-submit-btn {
    background-color: var(--primary-color);
    color: var(--text-inv);
    border: none;
    padding: 15px;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.booking-submit-btn:hover {
    background-color: var(--secondary-color);
}

/* Room Cards 컴포넌트 스타일 */
.rooms-container {
    max-width: var(--container-max);
    margin: 80px auto;
    padding: 0 20px;
}

.rooms-header {
    text-align: center;
    margin-bottom: 50px;
}

.rooms-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 모바일 1열, PC 다열 자동 조절 */
    gap: 30px;
}

.room-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    cursor: pointer;
}

.room-card:hover {
    transform: translateY(-10px); /* 살짝 떠오르는 효과 (전문가 디테일) */
}

.room-image {
    position: relative;
    height: 250px;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-price {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.room-info {
    padding: 25px;
}

.room-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.room-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.room-tags span {
    font-size: 12px;
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Social Feed 컴포넌트 스타일 */
.social-container {
    max-width: var(--container-max);
    margin: 100px auto;
    padding: 0 20px;
}

.social-header { text-align: center; margin-bottom: 40px; }

/* 인스타그램 그리드 (모바일 2열, PC 4열) */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .insta-grid { grid-template-columns: repeat(4, 1fr); }
    .mobile-hidden { display: block; }
}

.insta-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius-md);
}

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

.insta-item:hover img { transform: scale(1.1); }

/* 네이버 리뷰 카드 스타일 */
.naver-review-board {
    background: #f1f3f5;
    padding: 30px;
    border-radius: var(--radius-lg);
    border-left: 5px solid #03c75a; /* 네이버 시그니처 컬러 */
}

.naver-badge {
    color: #03c75a;
    font-weight: 800;
    font-size: 12px;
    display: block;
    margin-bottom: 10px;
}

.review-card p {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.review-author {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer 컴포넌트 스타일 */
.main-footer {
    background-color: #1a1a1a;
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 20px 30px;
    font-size: 13px;
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    color: var(--text-inv);
    font-size: 1.5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.footer-info p {
    margin-bottom: 5px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 관리자 링크: 나머지 5점의 디테일 */
.admin-access-link {
    color: rgba(255, 255, 255, 0.05); /* 거의 안 보이게 설정 */
    text-decoration: none;
    transition: var(--transition);
}

.admin-access-link:hover {
    color: var(--secondary-color); /* 마우스 올릴 때만 금색으로 반짝 */
}