/* rooms_n.css - Figma Design System */

/* ===== Hero ===== */
.rn-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  overflow: hidden;
}
.rn-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rn-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.50), rgba(0,0,0,0.30));
}
.rn-hero .hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.rn-hero .hero-label {
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  color: #C5A55A;
  margin-bottom: 16px;
}
.rn-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: #fff;
  margin: 0;
}

/* ===== Intro ===== */
.rn-intro {
  text-align: center;
  padding: 80px 16px 0;
  max-width: 640px;
  margin: 0 auto;
}
.rn-intro p {
  font-size: 0.9rem;
  color: #6B7B8D;
  line-height: 1.8;
}

/* ===== Room Cards Section ===== */
.rn-rooms {
  padding: 60px 0 100px;
}
.rn-rooms-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.rn-room {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 100px;
}
.rn-room:last-child { margin-bottom: 0; }
.rn-room.reverse .rn-room-image { order: 2; }
.rn-room.reverse .rn-room-info  { order: 1; }

/* Image */
.rn-room-image {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.rn-room-image .img-wrap {
  overflow: hidden;
  aspect-ratio: 4/3;
}
.rn-room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.rn-room-image:hover img {
  transform: scale(1.05);
}
.rn-room-image .badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #1B4B73;
  color: #fff;
  padding: 8px 16px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  z-index: 2;
}
.rn-room-image .hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.rn-room-image:hover .hover-overlay {
  opacity: 1;
}
.rn-room-image .hover-overlay span {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
}

/* Info */
.rn-room-info .en-name {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: #C5A55A;
  margin-bottom: 8px;
}
.rn-room-info h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  color: #1a1a2e;
  margin: 0 0 16px;
}
.rn-room-info .gold-line {
  width: 48px;
  height: 2px;
  background: #C5A55A;
  margin-bottom: 24px;
}
.rn-room-info .desc {
  font-size: 0.85rem;
  color: #6B7B8D;
  line-height: 1.8;
  margin-bottom: 24px;
}
.rn-room-info .meta {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}
.rn-room-info .meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #6B7B8D;
}
.rn-room-info .meta-item i {
  color: #1B4B73;
  font-size: 0.9rem;
  width: 16px;
  text-align: center;
}
.rn-room-info .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.rn-room-info .tags span {
  background: #F0F5FA;
  color: #1B4B73;
  padding: 6px 14px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
.rn-room-info .buttons {
  display: flex;
  gap: 16px;
}
.rn-room-info .btn-book {
  display: inline-block;
  background: #C5A55A;
  color: #fff;
  padding: 12px 32px;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}
.rn-room-info .btn-book:hover { background: #b8953f; }
.rn-room-info .btn-gallery {
  display: inline-block;
  background: transparent;
  color: #1B4B73;
  padding: 12px 32px;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  border: 1px solid #1B4B73;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}
.rn-room-info .btn-gallery:hover {
  background: #1B4B73;
  color: #fff;
}

/* ===== Common Amenities ===== */
.rn-amenities {
  padding: 80px 0;
  background: #F5F7FA;
}
.rn-amenities-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.rn-amenities h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  color: #1a1a2e;
  text-align: center;
  margin: 0 0 48px;
}
.rn-amenity-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.rn-amenity-item {
  text-align: center;
  padding: 16px;
}
.rn-amenity-item i {
  font-size: 1.4rem;
  color: #1B4B73;
  margin-bottom: 12px;
  display: block;
}
.rn-amenity-item span {
  font-size: 0.8rem;
  color: #6B7B8D;
}

/* Usage Info */
.rn-usage {
  background: #fff;
  padding: 40px;
}
.rn-usage h3 {
  font-size: 1rem;
  color: #1a1a2e;
  margin: 0 0 20px;
  font-weight: 500;
}
.rn-usage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.rn-usage-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: #6B7B8D;
}
.rn-usage-item i {
  color: #C5A55A;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ===== Image Modal ===== */
.rn-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}
.rn-modal.active { display: flex; }
body.rn-modal-open #header,
body.rn-modal-open #fixed_quick { display: none !important; }
.rn-modal .modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: rgba(255,255,255,0.8);
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  background: none;
  border: none;
  transition: color 0.2s;
}
.rn-modal .modal-close:hover { color: #fff; }
.rn-modal .modal-prev,
.rn-modal .modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10;
  background: none;
  border: none;
  transition: color 0.2s;
  padding: 16px;
}
.rn-modal .modal-prev:hover,
.rn-modal .modal-next:hover { color: #fff; }
.rn-modal .modal-prev { left: 16px; }
.rn-modal .modal-next { right: 16px; }
.rn-modal .modal-body {
  max-width: 1000px;
  width: calc(100% - 120px);
  text-align: center;
}
.rn-modal .modal-body img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}
.rn-modal .modal-caption {
  color: #fff;
  font-size: 0.9rem;
  margin-top: 16px;
}

/* ===== Scroll Animation ===== */
.rn-fade {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.rn-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================
   Room Detail Pages (rd-*)
   =================================================== */

/* VR Hero */
.rd-hero {
  position: relative;
  height: 60vh;
  min-height: 450px;
  background: #1a1a2e;
  overflow: hidden;
}
.rd-hero #pano {
  width: 100%;
  height: 100%;
}
.rd-hero .vr-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
  pointer-events: none;
}
.rd-hero .vr-hint img {
  width: 80px;
}
.rd-hero .vr-hint p {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  margin-top: 8px;
}

/* Room Title */
.rd-title {
  text-align: center;
  padding: 80px 16px 0;
  max-width: 800px;
  margin: 0 auto;
}
.rd-title .en-name {
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  color: #C5A55A;
  margin-bottom: 8px;
}
.rd-title h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: #1a1a2e;
  margin: 0 0 16px;
}
.rd-title .gold-line {
  width: 48px;
  height: 2px;
  background: #C5A55A;
  margin: 0 auto 24px;
}
.rd-title .desc {
  font-size: 0.9rem;
  color: #6B7B8D;
  line-height: 1.8;
}

/* Room Meta */
.rd-meta {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.rd-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #6B7B8D;
}
.rd-meta .meta-item i {
  color: #1B4B73;
  font-size: 0.9rem;
}

/* Room Tags */
.rd-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.rd-tags span {
  background: #F0F5FA;
  color: #1B4B73;
  padding: 6px 14px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* Info Cards */
.rd-info {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 24px;
}
.rd-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rd-info-card {
  background: #F5F7FA;
  padding: 32px 24px;
  text-align: center;
}
.rd-info-card .label {
  display: inline-block;
  background: #1B4B73;
  color: #fff;
  padding: 6px 16px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.rd-info-card .content {
  font-size: 0.85rem;
  color: #6B7B8D;
  line-height: 1.8;
}
.rd-info-card .content img {
  max-width: 100%;
  margin-top: 8px;
}

/* Booking CTA */
.rd-cta {
  text-align: center;
  padding: 0 16px 60px;
}
.rd-cta .btn-book {
  display: inline-block;
  background: #C5A55A;
  color: #fff;
  padding: 16px 48px;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}
.rd-cta .btn-book:hover {
  background: #b8953f;
}

/* Photo Gallery */
.rd-gallery {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 24px;
}
.rd-gallery h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  color: #1a1a2e;
  text-align: center;
  margin: 0 0 40px;
}
.rd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.rd-gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.rd-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.rd-gallery-item:hover img {
  transform: scale(1.05);
}
.rd-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s ease;
}
.rd-gallery-item:hover::after {
  background: rgba(0,0,0,0.15);
}

/* ===================================================
   About Page
   =================================================== */
.about-quote {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}
.about-quote .quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400;
  color: #1a1a2e;
  line-height: 1.8;
  margin-bottom: 40px;
}
.about-quote .quote-body {
  font-size: 0.9rem;
  color: #6B7B8D;
  line-height: 2;
  margin-bottom: 32px;
}
.about-quote .quote-author {
  font-size: 0.9rem;
  color: #1a1a2e;
  font-weight: 500;
}

/* Business Info */
.about-biz {
  background: #F5F7FA;
  padding: 80px 0;
}
.about-biz-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.about-biz h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  color: #1a1a2e;
  text-align: center;
  margin: 0 0 48px;
}
.about-biz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.about-biz-card {
  background: #fff;
  padding: 32px 24px;
  text-align: center;
}
.about-biz-card .label {
  display: inline-block;
  background: #1B4B73;
  color: #fff;
  padding: 6px 16px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.about-biz-card .value {
  font-size: 0.9rem;
  color: #6B7B8D;
}

/* Map & Address */
.about-location {
  padding: 80px 0;
  max-width: 1200px;
  margin: 0 auto;
}
.about-location-inner {
  padding: 0 24px;
}
.about-location h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  color: #1a1a2e;
  text-align: center;
  margin: 0 0 16px;
}
.about-addr {
  text-align: center;
  margin-bottom: 40px;
}
.about-addr p {
  font-size: 0.9rem;
  color: #6B7B8D;
  margin-bottom: 8px;
}
.about-addr a {
  color: #C5A55A;
  font-size: 1.2rem;
  font-weight: 500;
  text-decoration: none;
}
.about-addr a:hover { color: #b8953f; }
.about-map {
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 500px;
}
.about-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.about-tip {
  max-width: 800px;
  margin: 32px auto 0;
  padding: 24px;
  background: #F5F7FA;
  font-size: 0.85rem;
  color: #6B7B8D;
  line-height: 1.8;
}
.about-tip strong {
  color: #1B4B73;
}

/* ===================================================
   Contact Page
   =================================================== */
.contact-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px;
}
.contact-section .section-title {
  text-align: center;
  margin-bottom: 48px;
}
.contact-section .section-title .en-name {
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  color: #C5A55A;
  margin-bottom: 8px;
}
.contact-section .section-title h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  color: #1a1a2e;
  margin: 0 0 16px;
}
.contact-section .section-title .gold-line {
  width: 48px;
  height: 2px;
  background: #C5A55A;
  margin: 0 auto;
}
.contact-form .input-group {
  margin-bottom: 24px;
}
.contact-form label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #1a1a2e;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid #ddd;
  font-size: 0.9rem;
  color: #1a1a2e;
  background: transparent;
  outline: none;
  transition: border-color 0.3s;
  font-family: inherit;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: #C5A55A;
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-form .invalid-feedback {
  color: #e74c3c;
  font-size: 0.75rem;
  margin-top: 4px;
  display: none;
}
.contact-form .btn-submit {
  display: inline-block;
  background: #C5A55A;
  color: #fff;
  padding: 14px 48px;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
.contact-form .btn-submit:hover {
  background: #b8953f;
}
.contact-info {
  background: #F5F7FA;
  padding: 60px 24px;
  text-align: center;
}
.contact-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: #1a1a2e;
  margin: 0 0 24px;
  font-weight: 400;
}
.contact-info a.tel {
  display: block;
  font-size: 1.5rem;
  color: #C5A55A;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}
.contact-info a.tel:hover { color: #b8953f; }
.contact-info address {
  font-style: normal;
  font-size: 0.9rem;
  color: #6B7B8D;
  line-height: 1.6;
}

/* Popup */
.contact-pop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.6);
  align-items: center;
  justify-content: center;
}
.contact-pop.active { display: flex; }
.contact-pop .pop-inner {
  background: #fff;
  padding: 48px;
  max-width: 400px;
  width: 90%;
  text-align: center;
}
.contact-pop h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: #1a1a2e;
  margin: 0 0 12px;
}
.contact-pop p {
  font-size: 0.85rem;
  color: #6B7B8D;
  margin-bottom: 24px;
}
.contact-pop .btn-close {
  background: #1B4B73;
  color: #fff;
  border: none;
  padding: 10px 32px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  cursor: pointer;
}

/* ===================================================
   Event Page
   =================================================== */
.event-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.event-wrap iframe,
.event-wrap .event-content {
  width: 100%;
}

/* ===================================================
   Responsive - Division
   =================================================== */
@media (max-width: 1024px) {
  .rn-room {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .rn-room.reverse .rn-room-image { order: 0; }
  .rn-room.reverse .rn-room-info  { order: 0; }
  .rn-amenity-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .rd-info-grid {
    grid-template-columns: 1fr;
  }
  .rd-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .rn-hero { min-height: 300px; }
  .rn-rooms { padding: 40px 0 60px; }
  .rn-room { margin-bottom: 60px; gap: 24px; }
  .rn-room-info .meta { flex-wrap: wrap; gap: 16px; }
  .rn-room-info .buttons { flex-direction: column; }
  .rn-room-info .btn-book,
  .rn-room-info .btn-gallery { text-align: center; }
  .rn-amenity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rn-usage-grid {
    grid-template-columns: 1fr;
  }
  .rn-usage { padding: 24px; }
  .rn-modal .modal-body { width: calc(100% - 32px); }
  .rn-modal .modal-prev { left: 4px; }
  .rn-modal .modal-next { right: 4px; }
  /* Room Detail */
  .rd-hero { min-height: 300px; }
  .rd-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rd-meta { gap: 16px; }
  .rd-cta .btn-book { padding: 14px 32px; }
  /* Contact */
  .contact-form .row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-section { padding: 60px 16px; }
  /* About */
  .about-quote { padding: 60px 16px; }
  .about-biz-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .about-biz-grid { grid-template-columns: 1fr; }
}
