/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Noto Sans KR', 'Nanum Barun Gothic', Arial, sans-serif; background: #f8f8f8; color: #222; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
h2 { margin-bottom: 24px; font-size: 2rem; }

/* About Section Styling */
#about.section {
  background: transparent;
  position: relative;
  margin-top: 30px;
}

#about.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

#about .container {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Section Header Styling */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

#about .section-header h2 {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  position: relative;
}

#about .section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ffffff, #e0e0e0);
  border-radius: 2px;
}

#about .section-subtitle {
  color: #f0f0f0;
  font-size: 1.1rem;
  font-weight: 400;
  margin-top: 15px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* About Content Styling */
.about-content {
  display: block;
  margin-bottom: 40px;
}

.about-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.about-text h3 {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.3;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #f8f8f8;
  font-weight: 400;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.feature-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(5px);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.2);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}

.feature-item h4 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.feature-item p {
  color: #f0f0f0;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.feature-item h3 {
  color: #f0f0f0;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Rooms Section Styling */
#rooms.section {
  background: transparent;
  padding: 80px 0;
  position: relative;
}

#rooms.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

#rooms .container {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#rooms .section-header h2 {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  position: relative;
}

#rooms .section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ffffff, #e0e0e0);
  border-radius: 2px;
}

#rooms .section-subtitle {
  color: #f0f0f0;
  font-size: 1.1rem;
  font-weight: 400;
  margin-top: 15px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Rooms Content Styling */
.rooms-content {
  display: block;
  margin-bottom: 40px;
}

.rooms-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.rooms-intro h3 {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.3;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.rooms-intro p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #f8f8f8;
  font-weight: 400;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.room-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.room-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
}

.room-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.2);
}

.room-header {
  background: linear-gradient(135deg, rgba(43, 122, 90, 0.9), rgba(74, 156, 122, 0.9));
  color: #fff;
  padding: 25px 30px;
  text-align: center;
  backdrop-filter: blur(5px);
}

.room-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.room-type {
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-block;
  backdrop-filter: blur(5px);
}

.room-gallery {
  padding: 20px;
  text-align: center;
}

.gallery-thumb {
  width: 100%;
  max-width: 280px;
  border-radius: 15px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.gallery-thumb:hover {
  transform: scale(1.05);
}

.room-placeholder {
  padding: 40px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  margin: 20px;
  border-radius: 15px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.placeholder-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
  opacity: 0.8;
  color: #ffffff;
}

.room-placeholder p {
  color: #f0f0f0;
  font-size: 1rem;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.room-info {
  padding: 25px 30px;
}

.room-capacity {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  border-left: 4px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
}

.capacity-icon {
  font-size: 1.2rem;
  margin-right: 12px;
}

.room-capacity span:last-child {
  color: #f8f8f8;
  font-weight: 500;
  font-size: 0.95rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.room-description p {
  color: #f0f0f0;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Header & Navigation */
header { background: #fff; border-bottom: 1px solid #eee; position: relative; z-index: 1; }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-size: 1.7rem; font-weight: bold; color: #2b7a5a; }
nav ul.main-nav { list-style: none; display: flex; gap: 30px; }
nav ul.main-nav li { position: relative; }
nav ul.main-nav a { text-decoration: none; color: #222; font-weight: 500; padding: 10px 0; transition: color 0.2s; }
nav ul.main-nav a:hover { color: #2b7a5a; }
nav ul.main-nav .dropdown:hover .dropdown-content { display: block; }
nav ul.dropdown-content { display: none; position: absolute; top: 35px; left: 0; background: #fff; border: 1px solid #eee; min-width: 120px; z-index: 10; }
nav ul.dropdown-content li { padding: 0; }
nav ul.dropdown-content a { padding: 10px 16px; display: block; }

/* KakaoTalk Fixed Button */
.kakao-fixed {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: #FEE500;
  border: 2px solid #000;
  border-radius: 25px;
  padding: 8px 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  color: #000;
}

.kakao-fixed:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  background: #FFD700;
}

.kakao-link-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.kakao-link-btn img {
  height: 24px;
  width: auto;
}

/* Main Sections */
.special-list { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; }
.special-list li { background: #e6f4ec; color: #2b7a5a; padding: 12px 22px; border-radius: 20px; font-weight: 500; }
#reservation button, #reserveBtn { background: #2b7a5a; color: #fff; border: none; padding: 16px 40px; border-radius: 30px; font-size: 1.1rem; cursor: pointer; margin-top: 20px; transition: background 0.2s; }
#reservation button:hover, #reserveBtn:hover { background: #256b4d; }

/* Footer */
footer { background: #222; color: #fff; padding: 40px 0 20px 0; text-align: center; font-size: 0.98rem; position: relative; z-index: 1; }
footer p { margin-bottom: 8px; }

/* Home Background Video */
.home-video-section {
  position: relative;
  height: 60vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bg-video {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh; object-fit: cover;
  z-index: -2;
  pointer-events: none;
}
.home-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(34, 34, 34, 0.35);
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  padding-bottom: 60px;
}
.home-overlay .container {
  text-align: center;
}
.home-overlay h1 {
  color: #fff;
  font-size: 2.8rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
  margin-bottom: 16px;
}
.home-overlay p {
  color: #f1f1f1;
  font-size: 1.3rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.18);
}

/* General Responsive Styles */
@media (max-width: 800px) {
  .container { padding: 0 8px; }
  .nav-container { flex-direction: row; height: auto; }
  nav ul.main-nav { flex-direction: column; gap: 10px; }
  .special-list { flex-direction: column; gap: 10px; }
  
  /* KakaoTalk button mobile positioning */
  .kakao-fixed {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 9999;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  }
  
  .kakao-link-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  
  .kakao-link-btn img {
    height: 20px;
  }
  
  .home-video-section { height: 32vh; min-height: 180px; }
  .home-overlay {
    padding-bottom: 40px;
  }
  .home-overlay h1 {
    font-size: 1.2rem;
  }
  .home-overlay p {
    font-size: 0.95rem;
  }
  #home.section {
    min-height: 220px;
  }
}

/* Responsive Design for About and Rooms */
@media (max-width: 800px) {
  /* Ensure proper section spacing on mobile */
  .section {
    padding: 40px 0;
  }
  
  #about.section {
    margin-bottom: 30px;
  }
  
  #rooms.section {
    margin-top: 30px;
    padding: 40px 0;
  }
  
  /* Adjust container positioning */
  #about .container,
  #rooms .container {
    position: relative;
    z-index: 10;
  }
  
  /* Ensure background video doesn't interfere */
  .bg-video {
    z-index: -10;
  }
  
  .home-overlay {
    z-index: -5;
  }
  
  /* Add more space between sections */
  #about.section + #rooms.section {
    margin-top: 50px;
  }
  
  /* About Section Content */
  .about-content {
    margin-bottom: 30px;
  }
  
  .about-text {
    margin-bottom: 30px;
  }
  
  .about-text h3 {
    font-size: 1.5rem;
  }
  
  .about-text p {
    font-size: 1rem;
  }
  
  .about-features {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }
  
  .feature-item {
    padding: 20px;
  }
  
  .feature-icon {
    font-size: 2rem;
  }
  
  .feature-item h4 {
    font-size: 1.1rem;
  }
  
  /* About Section Mobile Styling */
  #about .container {
    padding: 25px 20px;
    margin: 0 10px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
  }
  
  #about .section-header h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  }
  
  #about .section-header h2::after {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #ffffff, #e0e0e0);
  }
  
  #about .section-subtitle {
    color: #f0f0f0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
  
  .about-text h3 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  }
  
  .about-text p {
    color: #f8f8f8;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
  
  .feature-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
  }
  
  .feature-item h4 {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
  
  .feature-item p {
    color: #f0f0f0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }
  
  /* Rooms Section Content */
  .rooms-content {
    margin-bottom: 30px;
  }
  
  .rooms-intro {
    margin-bottom: 30px;
  }
  
  .rooms-intro h3 {
    font-size: 1.5rem;
  }
  
  .rooms-intro p {
    font-size: 1rem;
  }
  
  .room-list {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }
  
  .room-header {
    padding: 20px 25px;
  }
  
  .room-header h3 {
    font-size: 1.3rem;
  }
  
  .room-info {
    padding: 20px 25px;
  }
  
  /* Rooms Section Mobile Styling */
  #rooms .container {
    padding: 25px 20px;
    margin: 0 10px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
  }
  
  #rooms .section-header h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  }
  
  #rooms .section-header h2::after {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #ffffff, #e0e0e0);
  }
  
  #rooms .section-subtitle {
    color: #f0f0f0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
  
  .rooms-intro h3 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  }
  
  .rooms-intro p {
    color: #f8f8f8;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
  
  .rooms-intro h3 {
    color: #f8f8f8;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
  .room-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
  }
  
  .room-capacity {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
  }
  
  .room-capacity span:last-child {
    color: #f8f8f8;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
  
  .room-description p {
    color: #f0f0f0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
  .room-description h3 {
    color: #f0f0f0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
  
  .room-placeholder {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
  }
  
  .room-placeholder p {
    color: #f0f0f0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }

  .room-placeholder h3 {
    color: #f0f0f0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
}

.kakao-link-wrap {
  margin: 30px 0;
  text-align: center;
}
.kakao-link-btn {
  display: inline-block;
  background: #fee500;
  color: #381e1f;
  font-weight: bold;
  border-radius: 24px;
  padding: 10px 24px;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  transition: background 0.2s;
}
.kakao-link-btn:hover {
  background: #ffe14a;
}
.kakao-link-btn img {
  margin-right: 8px;
  vertical-align: middle;
}

.gallery-modal {
  position: fixed;
  z-index: 1002;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(30, 34, 44, 0.72);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
}
.gallery-modal-img {
  max-width: 90vw;
  max-height: 70vh;
  border-radius: 10px;
  background: #fff;
}
.gallery-close {
  position: absolute;
  top: 30px; right: 40px;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 1003;
}
.gallery-controls {
  margin-top: 18px;
  text-align: center;
}
.gallery-controls button {
  background: #fff;
  border: none;
  font-size: 2rem;
  margin: 0 18px;
  border-radius: 50%;
  width: 48px; height: 48px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: background 0.2s;
}
.gallery-controls button:hover {
  background: #eee;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #2b7a5a;
  cursor: pointer;
  margin-left: 10px;
}

@media (max-width: 800px) {
  .menu-toggle {
    display: block;
  }
  nav ul.main-nav {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 70vw;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    gap: 0;
    box-shadow: 2px 0 16px rgba(0,0,0,0.08);
    padding: 60px 0 0 0;
    z-index: 2000;
    transition: transform 0.3s;
    transform: translateX(-100%);
  }
  nav ul.main-nav.open {
    display: flex;
    transform: translateX(0);
  }
  .nav-container {
    flex-direction: row;
    height: auto;
  }
  .main-nav li {
    width: 100%;
    text-align: left;
    padding: 0 24px;
    border-bottom: 1px solid #eee;
  }
  .main-nav li:last-child {
    border-bottom: none;
  }
}

#home.section {
  min-height: 320px;
}

#about.section {
  margin-top: 30px;
}

/* Mobile-specific fixes for section spacing */
@media (max-width: 800px) {
  /* Ensure proper section spacing on mobile */
  .section {
    padding: 40px 0;
  }
  
  #about.section {
    margin-bottom: 30px;
  }
  
  #rooms.section {
    margin-top: 30px;
    padding: 40px 0;
  }
  
  /* Adjust container positioning */
  #about .container,
  #rooms .container {
    position: relative;
    z-index: 10;
  }
  
  /* Ensure background video doesn't interfere */
  .bg-video {
    z-index: -10;
  }
  
  .home-overlay {
    z-index: -5;
  }
  
  /* Add more space between sections */
  #about.section + #rooms.section {
    margin-top: 50px;
  }
}

/* 갤러리 스타일의 이미지 모달 */
.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 34, 44, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-content {
  position: relative;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.gallery-modal-main {
  width: 80vw;
  max-width: 700px;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(30,34,44,0.18), 0 1.5px 8px rgba(30,34,44,0.10);
  padding: 18px;
  transition: box-shadow 0.2s;
}
.gallery-arrow {
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  user-select: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1100;
  background: rgba(30,34,44,0.22);
  border-radius: 50%;
  padding: 4px 14px;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(30,34,44,0.13);
}
.left-arrow { left: 8px; }
.right-arrow { right: 8px; }
.gallery-arrow:hover { background: rgba(25,118,210,0.32); }
.gallery-idx-info {
  text-align: center;
  font-size: 1.08rem;
  color: #444;
  margin: 10px 0 0 0;
  text-shadow: 0 1px 4px #fff;
}
.close {
  position: absolute;
  right: 18px;
  top: 18px;
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  z-index: 1200;
  background: rgba(30,34,44,0.92);
  border-radius: 50%;
  padding: 2px 16px;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 4px 16px rgba(30,34,44,0.25);
  border: 2px solid #fff;
  font-weight: bold;
  line-height: 1.1;
  text-align: center;
}
.close:hover {
  background: #1976d2;
  color: #fff;
  border-color: #1976d2;
}

@media (max-width: 900px) {
  .gallery-modal-main {
    width: 90vw;
    max-width: 98vw;
    max-height: 60vh;
    padding: 8px;
  }
  .close { right: 8px; top: 8px; font-size: 1.7rem; padding: 2px 12px; }
  .gallery-arrow { font-size: 1.5rem; padding: 2px 8px; }
}
@media (max-width: 600px) {
  .gallery-modal-main {
    width: 98vw;
    max-width: 99vw;
    max-height: 45vh;
    padding: 2px;
    border-radius: 10px;
    margin-bottom: 12px;
  }
  .gallery-arrow {
    font-size: 1.3rem;
    left: unset;
    right: unset;
    bottom: 18px;
    top: unset;
    transform: none;
    position: absolute;
    z-index: 1100;
    background: rgba(30,34,44,0.22);
    box-shadow: 0 2px 8px rgba(30,34,44,0.13);
    padding: 2px 8px;
  }
  .left-arrow {
    left: 18vw;
    right: unset;
  }
  .right-arrow {
    right: 18vw;
    left: unset;
  }
  .close {
    font-size: 1.4rem;
    right: 2px;
    top: 2px;
    padding: 2px 8px;
  }
}

/* 호실 선택 카드 스타일 */
.ho-select-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 24px 0 12px 0;
}
.ho-title {
  display: inline-block;
  background: #f5f7fa;
  border: 1.5px solid #1976d2;
  border-radius: 12px;
  padding: 12px 28px;
  font-size: 1.15rem;
  color: #1976d2;
  margin: 0;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(25,118,210,0.07);
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
  text-align: center;
}
.ho-title:hover, .ho-title.selected {
  background: #1976d2;
  color: #fff;
  border: 1.5px solid #0d47a1;
  box-shadow: 0 4px 16px rgba(25,118,210,0.13);
}

/* 모달 여백 및 정렬 개선 */
.modal-content {
  padding: 10px 10px 18px 10px !important;
  max-width: 95vw;
  max-height: 95vh;
  box-sizing: border-box;
}
.gallery-modal-main {
  margin: 8px auto 8px auto !important;
  display: block;
}
.gallery-idx-info {
  margin-top: 2px;
  margin-bottom: 2px;
}
.gallery-arrow {
  margin: 0 6px;
}

@media (max-width: 600px) {
  .ho-title {
    font-size: 0.98rem;
    padding: 8px 12px;
    border-radius: 8px;
  }
  .ho-select-grid {
    gap: 7px;
    margin: 12px 0 6px 0;
  }
  .modal-content {
    padding: 4px 2px 8px 2px !important;
  }
  .gallery-modal-main {
    margin: 4px auto 4px auto !important;
  }
} 