/* ==============================================
   SENDHUR GARDEN RESORT — Stylesheet
   Primary: Forest Green #2D5A27 | Gold #C49A22
   ============================================== */

:root {
  --green:        #2D5A27;
  --green-dark:   #1a3a16;
  --green-mid:    #3d7a35;
  --green-light:  #e8f0e6;
  --gold:         #C49A22;
  --gold-dark:    #9a7a1a;
  --gold-light:   #f5e8b8;
  --gold-pale:    #fdf6e3;
  --white:        #FFFFFF;
  --cream:        #FAF8F4;
  --cream-dark:   #EFE9DC;
  --text-dark:    #1a1a1a;
  --text-mid:     #4a4a4a;
  --text-light:   #8a8a8a;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Raleway', sans-serif;
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition:   all 0.45s var(--ease);
  --shadow:       0 24px 64px rgba(0,0,0,0.14);
  --shadow-sm:    0 8px 32px rgba(0,0,0,0.08);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; max-width: 100%; }
body { font-family: var(--font-sans); color: var(--text-dark); background: var(--white); overflow-x: hidden; max-width: 100%; line-height: 1.6; }
img  { display: block; width: 100%; height: 100%; object-fit: cover; }
a    { text-decoration: none; color: inherit; transition: var(--transition); }
ul   { list-style: none; }

/* ── Typography utilities ── */
.lbl {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.lbl.light { color: #d4aa32; }

.h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--green-dark);
  margin-bottom: 22px;
}
.h2 em          { font-style: italic; color: var(--gold); }
.h2.light       { color: #fff; }
.h2.light em    { color: #d4aa32; }

.desc {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.85;
  max-width: 580px;
}
.desc.light { color: rgba(255,255,255,0.78); }

.body-p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 1.2em;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  padding: 16px 42px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-green  { background: var(--green);  color: #fff;  border-color: var(--green); }
.btn-green:hover  { background: transparent; color: var(--green); }
.btn-gold   { background: var(--gold);   color: #fff;  border-color: var(--gold); }
.btn-gold:hover   { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-w { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-outline-w:hover { background: #fff; color: var(--green-dark); border-color: #fff; }
.btn-wa { background: #25D366; color: #fff; border-color: #25D366; display:inline-flex; align-items:center; gap:10px; }
.btn-wa:hover { background: #1aa354; border-color:#1aa354; color:#fff; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 5%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, transparent 100%);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 14px 5%;
  box-shadow: 0 2px 40px rgba(0,0,0,0.09);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1440px; margin: 0 auto;
}
.nav-logo { }
.nav-logo img {
  height: 80px; width: auto; object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.navbar.scrolled .nav-logo img {
  filter: none;
}
.nav-links {
  display: flex; align-items: center; gap: 34px;
}
.nav-link {
  font-size: 10px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.88);
  position: relative; padding-bottom: 4px;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--gold); }
.navbar.scrolled .nav-link { color: var(--text-dark); }
.navbar.scrolled .nav-link:hover { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-reserve {
  font-size: 10px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; padding: 11px 26px;
  background: var(--gold); color: #fff;
  border: 2px solid var(--gold); transition: var(--transition);
}
.nav-reserve:hover { background: transparent; color: var(--gold); }
.navbar.scrolled .nav-reserve { color: #fff; }
.navbar.scrolled .nav-reserve:hover { color: var(--gold); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; z-index: 1001;
}
.hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: #fff; transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--text-dark); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  position: relative; height: 100vh; min-height: 680px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-video-wrap { position: absolute; inset: 0; z-index: 0; }
#heroVideo { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(26,58,22,0.45) 0%,
    rgba(0,0,0,0.5) 50%,
    rgba(26,58,22,0.65) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; color: #fff;
  padding: 0 5%; max-width: 920px;
}
.hero-eyebrow {
  display: block; font-size: 10px; font-weight: 700;
  letter-spacing: 7px; text-transform: uppercase;
  color: #d4aa32; margin-bottom: 26px;
  opacity: 0; animation: fadeUp 0.9s 0.4s forwards;
}
.hero-logo {
  margin-bottom: 32px;
  display: flex; justify-content: center; align-items: center;
  opacity: 0; animation: fadeUp 0.9s 0.7s forwards;
}
.hero-logo img {
  width: auto; height: clamp(260px, 48vw, 460px);
  object-fit: contain; margin: 0 auto;
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.3));
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  font-weight: 300; line-height: 1.85;
  color: rgba(255,255,255,0.82); max-width: 620px;
  margin: 0 auto 52px;
  opacity: 0; animation: fadeUp 0.9s 1.0s forwards;
}
.hero-ctas {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.9s 1.3s forwards;
}
.hero-scroll {
  position: absolute; bottom: 38px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.55);
  opacity: 0; animation: fadeIn 1s 2.2s forwards;
}
.hero-scroll span {
  font-size: 9px; letter-spacing: 4px; text-transform: uppercase; font-weight: 600;
}
.scroll-line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.55), transparent);
  animation: scrollPulse 2.2s infinite;
}

/* ── BRAND STRIP ── */
.strip {
  background: var(--green); padding: 18px 5%;
}
.strip-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 36px; flex-wrap: wrap;
}
.strip-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: 3.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.88);
}
.strip-star { color: var(--gold); font-size: 8px; }
.strip-div  { width: 1px; height: 18px; background: rgba(255,255,255,0.2); }

/* ── ABOUT ── */
.about {
  background: var(--cream); padding: 130px 5%;
}
.about-inner {
  max-width: 1360px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 100px; align-items: center;
}
.about-imgs { position: relative; height: 600px; }
.about-imgs > img { width: 100%; height: 100%; object-fit: cover; }
.about-img-accent {
  position: absolute; bottom: -44px; right: -44px;
  width: 54%; height: 290px;
  border: 10px solid var(--cream);
  box-shadow: var(--shadow); overflow: hidden;
}
.about-txt { padding-left: 16px; }
.about-stats {
  display: flex; gap: 36px; margin: 40px 0;
  padding: 32px 0;
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
}
.stat-n {
  font-family: var(--font-serif); font-size: 2.6rem;
  font-weight: 600; color: var(--green); display: block;
}
.stat-l {
  font-size: 9px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--text-light);
  margin-top: 4px; display: block;
}

/* ── ROOMS ── */
.rooms { background: var(--white); padding: 120px 5%; }
.sec-hd { text-align: center; margin-bottom: 70px; }
.sec-hd .desc { margin: 0 auto; }
.rooms-grid {
  max-width: 1360px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px;
}
.room-card {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}
.room-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.room-img {
  position: relative; height: 330px; overflow: hidden;
}
.room-img img { transition: transform 0.7s var(--ease); }
.room-card:hover .room-img img { transform: scale(1.07); }
.room-hover {
  position: absolute; inset: 0;
  background: rgba(26,58,22,0.72);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.room-card:hover .room-hover { opacity: 1; }
.room-hover a {
  padding: 14px 36px; border: 2px solid #fff; color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  transition: var(--transition);
}
.room-hover a:hover { background: #fff; color: var(--green-dark); }
.room-body { padding: 32px 34px 36px; }
.room-tag {
  display: inline-block; font-size: 9px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); background: var(--gold-pale);
  padding: 5px 14px; margin-bottom: 14px;
}
.room-name {
  font-family: var(--font-serif); font-size: 1.95rem;
  font-weight: 400; color: var(--green-dark); margin-bottom: 12px;
}
.room-name em { font-style: italic; color: var(--gold); }
.room-desc {
  font-size: 0.9rem; font-weight: 300;
  color: var(--text-mid); line-height: 1.82; margin-bottom: 18px;
}
.room-meta {
  display: flex; gap: 18px; font-size: 0.8rem;
  color: var(--text-light); margin-bottom: 22px; flex-wrap: wrap;
}
.room-cta {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--green);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.room-cta:hover { color: var(--gold); }

/* ── EXPERIENCE ── */
.experience {
  position: relative; padding: 130px 5%;
  background: var(--green-dark); overflow: hidden;
}
.exp-bg {
  position: absolute; inset: 0;
  background-image: url('../activites/WhatsApp-Image-2023-04-26-at-6.51.27-PM.jpeg');
  background-size: cover; background-position: center;
  opacity: 0.12;
}
.exp-wrap { position: relative; z-index: 1; max-width: 1360px; margin: 0 auto; }
.exp-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.exp-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden; transition: var(--transition);
  backdrop-filter: blur(6px);
}
.exp-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-5px); }
.exp-img { height: 230px; overflow: hidden; }
.exp-img img { transition: transform 0.7s var(--ease); }
.exp-card:hover .exp-img img { transform: scale(1.08); }
.exp-body { padding: 26px 28px; }
.exp-body h4 {
  font-family: var(--font-serif); font-size: 1.38rem;
  font-weight: 400; color: #fff; margin-bottom: 10px;
}
.exp-body p {
  font-size: 0.87rem; font-weight: 300;
  color: rgba(255,255,255,0.68); line-height: 1.75;
}

/* ── NEARBY ATTRACTIONS ── */
.attractions { background: var(--cream); padding: 120px 0 80px; }
.attractions .sec-hd { padding: 0 5%; }
.attractions-track-wrap {
  overflow-x: auto; padding: 10px 5% 30px;
  scrollbar-width: thin; scrollbar-color: var(--gold) var(--cream-dark);
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.attractions-track-wrap:active { cursor: grabbing; }
.attractions-track-wrap::-webkit-scrollbar { height: 3px; }
.attractions-track-wrap::-webkit-scrollbar-track { background: var(--cream-dark); }
.attractions-track-wrap::-webkit-scrollbar-thumb { background: var(--gold); }
.attractions-track {
  display: flex; gap: 18px; width: max-content;
}
.att-card {
  width: 275px; flex-shrink: 0;
  position: relative; overflow: hidden;
  cursor: pointer;
}
.att-card img {
  height: 390px; width: 100%;
  transition: transform 0.7s var(--ease);
}
.att-card:hover img { transform: scale(1.06); }
.att-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(26,58,22,0.95) 0%, transparent 100%);
  color: #fff; padding: 48px 20px 20px;
  font-family: var(--font-serif); font-size: 1.18rem;
  font-weight: 400; font-style: italic;
}

/* ── GALLERY ── */
.gallery { background: var(--white); padding: 120px 5%; }
.gallery-grid {
  max-width: 1360px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 285px;
  gap: 10px;
}
.g-item { overflow: hidden; position: relative; cursor: pointer; }
.g-item.tall { grid-row: span 2; }
.g-item.wide { grid-column: span 2; }
.g-item img { transition: transform 0.7s var(--ease); }
.g-item:hover img { transform: scale(1.07); }
.g-item::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(26,58,22,0); transition: var(--transition);
}
.g-item:hover::after { background: rgba(26,58,22,0.18); }

/* ── CTA BAND ── */
.cta-band {
  background: var(--green);
  padding: 90px 5%;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(196,154,34,0.15) 0%, transparent 70%);
}
.cta-band-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-band .h2 { color: #fff; margin-bottom: 16px; }
.cta-band .h2 em { color: #d4aa32; }
.cta-band p {
  color: rgba(255,255,255,0.78); font-size: 1.05rem;
  font-weight: 300; line-height: 1.8; margin-bottom: 40px;
}
.cta-btns { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT ── */
.contact { background: var(--green-dark); }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 720px;
}
.contact-txt { padding: 100px 8% 80px; color: #fff; }
.contact-txt .lbl  { color: var(--gold); }
.contact-txt .h2   { color: #fff; }
.contact-txt .body-p { color: rgba(255,255,255,0.72); }
.contact-details { margin: 40px 0; display: flex; flex-direction: column; gap: 26px; }
.c-item { display: flex; gap: 18px; align-items: flex-start; }
.c-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.c-item strong {
  display: block; font-size: 9px; font-weight: 700;
  letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.c-item p, .c-item a {
  font-size: 0.9rem; font-weight: 300;
  color: rgba(255,255,255,0.75); line-height: 1.75;
}
.c-item a:hover { color: var(--gold); }
.contact-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 42px; }
.contact-img { overflow: hidden; }
.contact-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── FOOTER ── */
.footer { background: #0d1f0a; color: rgba(255,255,255,0.6); }
.footer-main {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 2fr;
  gap: 80px; padding: 90px 5%;
}
.footer-brand img { height: 78px; width: auto; object-fit: contain; margin-bottom: 22px; }
.footer-brand p {
  font-size: 0.83rem; font-weight: 300;
  line-height: 1.85; color: rgba(255,255,255,0.45); margin-bottom: 28px;
}
.f-socials { display: flex; gap: 12px; }
.f-social {
  width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); transition: var(--transition);
}
.f-social:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col h5 {
  font-size: 9px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 26px;
}
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  font-size: 0.83rem; font-weight: 300;
  color: rgba(255,255,255,0.45); transition: var(--transition);
}
.footer-col a:hover { color: #fff; padding-left: 5px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 24px 5%; text-align: center;
}
.footer-bottom p {
  font-size: 0.78rem; font-weight: 300;
  color: rgba(255,255,255,0.3); letter-spacing: 0.3px;
}

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed; bottom: 30px; right: 30px;
  width: 56px; height: 56px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.42); z-index: 998;
  transition: var(--transition);
}
.wa-float:hover {
  transform: scale(1.14);
  box-shadow: 0 10px 36px rgba(37,211,102,0.52);
  background: #1aa354;
}

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.95);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  padding: 20px; cursor: pointer;
  animation: fadeIn 0.2s ease;
}
.lightbox img {
  max-width: 90vw; max-height: 90vh; object-fit: contain;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6); width: auto; height: auto;
  cursor: default;
}
.lightbox-close {
  position: absolute; top: 20px; right: 32px;
  font-size: 52px; color: rgba(255,255,255,0.7); line-height: 1;
  font-weight: 200; cursor: pointer; transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; color: #fff; }

/* ── SCROLL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(42px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.from-left  { transform: translateX(-42px); }
.reveal.from-right { transform: translateX(42px); }
.reveal.visible    { opacity: 1; transform: translate(0); }

/* ── KEYFRAMES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50%       { opacity: 0.35; transform: scaleY(0.5); transform-origin: top; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .nav-links { gap: 22px; }
  .about-inner { grid-template-columns: 1fr; gap: 60px; }
  .about-img-accent { right: 0; }
  .rooms-grid { grid-template-columns: 1fr; max-width: 700px; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-img { min-height: 420px; }
  .footer-main { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: fixed; inset: 0;
    background: rgba(26,58,22,0.98);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 36px; z-index: 1000;
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 13px; letter-spacing: 4px; color: #fff !important; }
  .nav-link::after { background: var(--gold); }
  .hamburger { display: flex; }
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .exp-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-grid .g-item.wide { grid-column: span 1; }
  .gallery-grid .g-item.tall { grid-row: span 1; }
  .about-imgs { height: 380px; }
  .about-img-accent { display: none; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .contact-ctas { flex-direction: column; }
  .about-stats { gap: 24px; }
  .strip-div { display: none; }
  .footer-cols { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
}

/* ════════════════════════════════════════
   ROOM GALLERY MODAL
════════════════════════════════════════ */
.rm-modal {
  display: none;
  position: fixed; inset: 0; z-index: 9998;
  flex-direction: row;
  background: #0d1f0a;
  animation: fadeIn 0.3s ease;
}
.rm-modal.open { display: flex; }

/* Photo side */
.rm-photo-side {
  flex: 0 0 65%; position: relative;
  background: #000; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.rm-main-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
}
.rm-main-img.fading { opacity: 0; }

.rm-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(196,154,34,0.85); color: #fff; border: none;
  font-size: 2.8rem; font-weight: 200; line-height: 1;
  width: 54px; height: 54px; cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.rm-nav:hover { background: var(--gold); }
.rm-prev { left: 16px; }
.rm-next { right: 16px; }

.rm-counter {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,0.55); color: rgba(255,255,255,0.8);
  font-size: 11px; letter-spacing: 2px; padding: 6px 16px;
  font-family: var(--font-sans); font-weight: 600;
}

/* Info side */
.rm-info-side {
  flex: 1; background: #0d1f0a; color: #fff;
  padding: 56px 44px 40px;
  display: flex; flex-direction: column; gap: 24px;
  overflow-y: auto; position: relative;
}
.rm-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; color: rgba(255,255,255,0.6);
  font-size: 42px; font-weight: 200; line-height: 1; cursor: pointer;
  transition: color 0.2s;
}
.rm-close:hover { color: var(--gold); }

.rm-info-top { flex: 0 0 auto; }
.rm-name {
  font-family: var(--font-serif); font-size: 2rem;
  font-weight: 400; color: #fff; margin: 10px 0 12px;
}
.rm-name em { font-style: italic; color: var(--gold); }
.rm-desc {
  font-size: 0.88rem; font-weight: 300;
  color: rgba(255,255,255,0.68); line-height: 1.8; margin-bottom: 14px;
}

/* Thumbnails */
.rm-thumbs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 7px; flex: 0 0 auto;
}
.rm-thumb {
  height: 72px; overflow: hidden; cursor: pointer;
  opacity: 0.5; transition: opacity 0.25s, outline 0.15s;
  outline: 2px solid transparent;
}
.rm-thumb:hover { opacity: 0.8; }
.rm-thumb.active { opacity: 1; outline-color: var(--gold); }
.rm-thumb img { width: 100%; height: 100%; object-fit: cover; }

.rm-book-btn {
  display: block; text-align: center;
  margin-top: auto; flex-shrink: 0;
  padding: 16px;
}

/* Responsive */
@media (max-width: 900px) {
  .rm-modal { flex-direction: column; }
  .rm-photo-side { flex: 0 0 55vh; }
  .rm-info-side { padding: 32px 24px 28px; }
  .rm-thumbs { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  .rm-photo-side { flex: 0 0 50vw; }
  .rm-thumbs { grid-template-columns: repeat(3, 1fr); }
  .rm-name { font-size: 1.5rem; }
}
