/* ============================================================
   Ethnic Village Resort — Shared Stylesheet
   Vanilla CSS3 · CSS Variables · Grid · Flexbox
   ============================================================ */

:root {
  --primary: #1F4D3A;
  --primary-dark: #163828;
  --gold: #B8893D;
  --gold-dark: #9d7330;
  --ivory: #F6F2EB;
  --blue: #4A7C94;
  --dark: #1A1A1A;
  --white: #ffffff;
  --muted: #4b5563;
  --max: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display { font-family: 'Playfair Display', serif; }

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--gold); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: var(--primary); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.bg-white { background: #fff; }
.bg-ivory { background: var(--ivory); }
.bg-primary { background: var(--primary); color: #fff; }

.overline {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.25em;
  font-weight: 600; color: var(--gold); margin-bottom: 16px; display: block;
}
.section-title { font-size: clamp(2rem, 4vw, 3rem); color: var(--primary); line-height: 1.15; font-weight: 600; }
.bg-primary .section-title { color: #fff; }
.section-intro { margin-top: 20px; color: var(--muted); max-width: 640px; }
.bg-primary .section-intro { color: rgba(255,255,255,0.75); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 32px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; transition: background-color .3s, color .3s, transform .3s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline { border: 1px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-white { border: 1px solid rgba(255,255,255,.6); color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--primary); }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1da851; }

/* ---------------- Header (premium two-tier) ---------------- */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  color: #fff; transition: background-color .4s ease, box-shadow .4s ease, backdrop-filter .4s ease;
}
.header.scrolled {
  background: rgba(246,242,235,.97); backdrop-filter: blur(16px);
  color: var(--dark); box-shadow: 0 6px 30px rgba(0,0,0,.08);
}

/* Top utility strip */
.topbar {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.14);
  transition: border-color .4s ease, max-height .4s ease, opacity .3s ease, padding .4s ease;
}
.header.scrolled .topbar { border-color: rgba(0,0,0,.08); }
.topbar .inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.topbar .tb-left { display: flex; align-items: center; gap: 10px; opacity: .85; }
.topbar .tb-right { display: flex; align-items: center; gap: 20px; opacity: .95; }
.topbar .tb-right a { transition: color .2s; }
.topbar .tb-right a:hover { color: var(--gold); }
.topbar .tb-dot { color: var(--gold); }
/* collapse the strip once the user scrolls for a sleeker bar */
.header.scrolled .topbar { max-height: 0; padding: 0; opacity: 0; overflow: hidden; pointer-events: none; border: 0; }

/* Main bar */
.mainbar .inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; transition: padding .4s ease; }
.header.scrolled .mainbar .inner { padding: 12px 0; }

/* Logo with monogram emblem */
.logo { display: flex; align-items: center; gap: 14px; }
.logo .emblem {
  width: 42px; height: 42px; flex: none; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold); color: var(--gold); font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 700; position: relative;
}
.logo .emblem::after { content: ''; position: absolute; inset: 4px; border: 1px solid rgba(184,137,61,.35); }
.logo .txt b { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700; display: block; line-height: 1.05; letter-spacing: .01em; }
.logo .txt span { font-size: .58rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }

/* Nav */
.nav { display: flex; gap: 30px; }
.nav a { font-size: .78rem; font-weight: 500; text-transform: uppercase; letter-spacing: .13em; position: relative; padding: 4px 0; transition: color .25s; }
.nav a::after { content: ''; position: absolute; left: 50%; bottom: -2px; width: 0; height: 1.5px; background: var(--gold); transition: width .3s ease, left .3s ease; }
.nav a:hover::after, .nav a.active::after { width: 100%; left: 0; }
.nav a:hover, .nav a.active { color: var(--gold); }

/* Actions */
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn { padding: 13px 26px; font-size: .72rem; letter-spacing: .16em; border: 1px solid var(--gold); }
.header-actions .btn-gold:hover { background: transparent; color: var(--gold); }
.header.scrolled .header-actions .btn-gold:hover { color: var(--gold-dark); border-color: var(--gold-dark); }

.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid currentColor; transition: background-color .3s, color .3s; }
.icon-btn:hover { background: #fff; color: var(--primary); }
.menu-toggle { display: none; font-size: 1.6rem; color: inherit; }
.mobile-nav { display: none; }


/* ---------------- Hero ---------------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.4) 50%, rgba(0,0,0,.5)); }
.hero-content { position: relative; z-index: 2; color: #fff; padding: 120px 0 60px; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 4.8rem); font-weight: 700; line-height: 1.05; max-width: 800px; }
.hero p.lead { margin-top: 24px; font-size: 1.05rem; max-width: 620px; color: rgba(255,255,255,.9); }
.hero-btns { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { margin-top: 60px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 720px; }
.hero-stats .stat { border-left: 1px solid rgba(255,255,255,.25); padding-left: 16px; }
.hero-stats .num { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 700; }
.hero-stats .lbl { font-size: .8rem; color: rgba(255,255,255,.7); }
.scroll-cue { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); animation: bounce 2s infinite; z-index: 3; }
@keyframes bounce { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,10px)} }

/* Page hero (inner pages) */
.page-hero { position: relative; height: 60vh; min-height: 420px; display: flex; align-items: center; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,.35)); }
.page-hero .container { position: relative; z-index: 2; color: #fff; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.breadcrumb { color: var(--gold); font-size: .8rem; text-transform: uppercase; letter-spacing: .2em; margin-bottom: 12px; }

/* ---------------- Grids / Cards ---------------- */
.grid { display: grid; gap: 32px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-5 { grid-template-columns: repeat(5, 1fr); }

.card { background: #fff; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.05); display: flex; flex-direction: column; transition: box-shadow .3s; }
.card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.card .thumb { overflow: hidden; height: 240px; position: relative; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.card:hover .thumb img { transform: scale(1.06); }
.card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.4rem; color: var(--primary); }
.card p { color: var(--muted); font-size: .9rem; margin-top: 8px; flex: 1; }
.tag { position: absolute; top: 16px; left: 16px; background: var(--gold); color: #fff; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; padding: 6px 12px; font-weight: 600; }
.price-badge { position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,.95); color: var(--primary); font-weight: 600; padding: 6px 12px; font-size: .9rem; }
.meta { display: flex; gap: 20px; margin-top: 10px; color: var(--muted); font-size: .85rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { font-size: .72rem; padding: 4px 10px; background: var(--ivory); border: 1px solid rgba(0,0,0,.05); color: var(--muted); }
.card-actions { display: flex; gap: 12px; margin-top: 20px; }
.card-actions .btn { flex: 1; padding: 12px; }

/* Experience tiles */
.exp-tile { position: relative; aspect-ratio: 4/5; overflow: hidden; cursor: pointer; }
.exp-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.exp-tile:hover img { transform: scale(1.1); }
.exp-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8), transparent 60%); }
.exp-tile h3 { position: absolute; bottom: 16px; left: 16px; right: 16px; color: #fff; font-size: 1.1rem; z-index: 2; }

/* Split section (about / dining) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img.feature { width: 100%; height: 520px; object-fit: cover; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.feature-list li { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }

/* Stats band */
.stats-band { background: var(--primary); padding: 64px 0; }
.stats-band .grid { text-align: center; }
.stats-band .num { font-family: 'Playfair Display', serif; font-size: clamp(2rem,4vw,3rem); font-weight: 700; color: var(--gold); }
.stats-band .lbl { color: rgba(255,255,255,.7); font-size: .9rem; margin-top: 6px; }

/* Why cards */
.why-card { background: #fff; padding: 28px; height: 100%; display: flex; flex-direction: column; gap: 16px; transition: background-color .3s; }
.why-card:hover { background: var(--primary); }
.why-card .ic { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(31,77,58,.1); color: var(--primary); transition: all .3s; }
.why-card:hover .ic { background: rgba(255,255,255,.15); color: var(--gold); }
.why-card h3 { font-size: 1.1rem; color: var(--primary); transition: color .3s; }
.why-card:hover h3 { color: #fff; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.filter-btn { padding: 8px 20px; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; background: var(--ivory); color: var(--muted); transition: all .3s; }
.filter-btn.active, .filter-btn:hover { background: var(--primary); color: #fff; }
.masonry { column-gap: 16px; column-count: 1; }
.masonry .item { break-inside: avoid; margin-bottom: 16px; overflow: hidden; cursor: pointer; position: relative; }
.masonry .item img { width: 100%; transition: transform .7s ease; }
.masonry .item:hover img { transform: scale(1.06); }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 85vh; max-width: 100%; object-fit: contain; }
.lightbox .close { position: absolute; top: 24px; right: 28px; color: #fff; font-size: 2rem; }

/* Slider */
.slider { position: relative; height: 520px; overflow: hidden; }
.slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.slider .slide.active { opacity: 1; }
.slider .slide img { width: 100%; height: 100%; object-fit: cover; }
.slider .nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: rgba(255,255,255,.9); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; z-index: 3; }
.slider .prev { left: 16px; } .slider .next { right: 16px; }

/* Attractions */
.attraction { position: relative; height: 300px; overflow: hidden; }
.attraction img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.attraction:hover img { transform: scale(1.06); }
.attraction::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), transparent 60%); }
.attraction .info { position: absolute; bottom: 0; padding: 24px; color: #fff; z-index: 2; }
.attraction .dist { color: var(--gold); font-size: .8rem; font-weight: 600; }
.attraction h3 { font-size: 1.5rem; margin-top: 4px; }
.attraction p { font-size: .85rem; color: rgba(255,255,255,.8); margin-top: 6px; }

/* Testimonials */
.testimonials { text-align: center; max-width: 760px; }
.stars { color: var(--gold); letter-spacing: 4px; margin-bottom: 16px; }
.quote { font-family: 'Playfair Display', serif; font-size: clamp(1.2rem,2.4vw,1.6rem); font-style: italic; color: rgba(26,26,26,.8); }
.author { margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.author b { color: var(--primary); display: block; }
.author span { color: var(--muted); font-size: .85rem; }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(31,77,58,.2); }
.dots button.active { background: var(--gold); }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { width: 100%; background: #fff; border: 1px solid rgba(0,0,0,.12); padding: 14px 16px; font-family: inherit; font-size: .9rem; transition: border-color .2s; }
.field:focus { outline: none; border-color: var(--primary); }
textarea.field { resize: vertical; min-height: 120px; }
.field-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); display: block; }
.full { grid-column: 1 / -1; }
.form-card { background: #fff; padding: 32px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.contact-info-item .ic { width: 44px; height: 44px; flex: none; background: rgba(31,77,58,.1); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.map-frame { width: 100%; height: 260px; border: 1px solid rgba(0,0,0,.1); }

/* Booking form on primary bg */
.bg-primary .field { color: var(--dark); }
.booking-side .contact-line { display: flex; align-items: center; gap: 12px; padding: 16px 24px; margin-bottom: 12px; color: #fff; }

/* Footer */
.footer { background: var(--dark); color: rgba(255,255,255,.8); }
.footer .inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0; }
.footer b.brand { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: #fff; display: block; }
.footer .kaz { font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 18px; }
.footer li { margin-bottom: 12px; font-size: .9rem; }
.footer a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; transition: all .3s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); }
.footer .news { display: flex; flex-direction: column; gap: 12px; }
.footer .news input { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); color: #fff; padding: 12px 16px; }
.footer .news input::placeholder { color: rgba(255,255,255,.4); }
.copyright { border-top: 1px solid rgba(255,255,255,.1); text-align: center; padding: 22px 0; font-size: .85rem; color: rgba(255,255,255,.5); }

/* Floating buttons */
.floating { position: fixed; right: 16px; bottom: 16px; z-index: 150; display: flex; flex-direction: column; gap: 12px; }
.floating a, .floating button { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.25); transition: transform .3s; }
.floating a:hover, .floating button:hover { transform: scale(1.1); }
.f-wa { background: #25D366; } .f-call { background: var(--primary); } .f-book { background: var(--gold); } .f-top { background: var(--dark); }
#backToTop { display: none; }

/* Toast */
.toast { position: fixed; top: 24px; left: 50%; transform: translateX(-50%) translateY(-120%); background: var(--primary); color: #fff; padding: 14px 24px; z-index: 300; transition: transform .4s; font-size: .9rem; box-shadow: 0 8px 30px rgba(0,0,0,.2); }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.err { background: #b3261e; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.left { transform: translateX(-50px); }
.reveal.right { transform: translateX(50px); }
.reveal.zoom { transform: scale(.92); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (min-width: 640px) { .masonry { column-count: 2; } }
@media (min-width: 1024px) { .masonry { column-count: 3; } }

@media (max-width: 1024px) {
  .g-4, .g-5 { grid-template-columns: repeat(3, 1fr); }
  .nav { display: none; }
  .menu-toggle { display: block; }
  .topbar .tb-left { display: none; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split img.feature { height: 360px; }
  .g-2, .g-3, .g-4, .g-5 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer .inner { grid-template-columns: 1fr; gap: 32px; }
  .topbar .inner { justify-content: center; }
  .header-actions .btn { padding: 11px 18px; letter-spacing: .1em; }
  .mobile-nav.open { display: block; background: var(--ivory); color: var(--dark); border-top: 1px solid rgba(0,0,0,.05); }
  .mobile-nav a { display: block; padding: 14px 24px; border-bottom: 1px solid rgba(0,0,0,.05); color: var(--dark); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
}
@media (min-width: 641px) and (max-width: 1024px) {
  .g-2 { grid-template-columns: 1fr; }
}


/* ============================================================
   Enhanced Animations
   ============================================================ */

/* Ken Burns slow zoom on hero & page-hero backgrounds */
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
.hero-bg img, .page-hero img { animation: kenburns 22s ease-in-out infinite alternate; }

/* Hero content staggered entrance */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-content > * { opacity: 0; animation: fadeUp .9s cubic-bezier(.22,1,.36,1) forwards; }
.hero-content > .overline { animation-delay: .1s; }
.hero-content > h1 { animation-delay: .25s; }
.hero-content > .lead { animation-delay: .4s; }
.hero-content > .hero-btns { animation-delay: .55s; }
.hero-content > .hero-stats { animation-delay: .7s; }

/* Card & tile hover lift */
.card, .why-card, .exp-tile, .attraction { transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease, background-color .3s; }
.card:hover, .exp-tile:hover, .attraction:hover { transform: translateY(-8px); }
.why-card:hover { transform: translateY(-6px); }

/* Button shine / press */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .6s ease; }
.btn:hover::after { left: 125%; }
.btn:active { transform: scale(.97); }

/* Nav link underline grow */
.nav a { position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--gold); transition: width .3s ease; }
.nav a:hover::after, .nav a.active::after { width: 100%; }

/* Overline reveal line */
.overline { position: relative; padding-left: 0; }

/* Staggered scroll reveal — delays applied via JS data-delay */
.reveal { transition: opacity .8s ease, transform .8s cubic-bezier(.22,1,.36,1); }

/* Floating buttons subtle pulse */
@keyframes softPulse { 0%,100% { box-shadow: 0 6px 18px rgba(0,0,0,.25); } 50% { box-shadow: 0 6px 26px rgba(37,211,102,.55); } }
.floating .f-wa { animation: softPulse 2.4s ease-in-out infinite; }

/* Section title underline draw on reveal */
.section-title { position: relative; }

/* Parallax layer (hero image translate handled in JS) */
.hero-bg { will-change: transform; }

/* Image reveal clip for feature images */
.split img.feature { transition: transform .8s cubic-bezier(.22,1,.36,1); }
.split img.feature:hover { transform: scale(1.03); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-bg img, .page-hero img, .floating .f-wa { animation: none; }
  .hero-content > * { opacity: 1; animation: none; }
  .reveal { transition: none; }
}

/* ---------------- slider panel ---------------- */

/* ===============================
   ROOM IMAGE SLIDER
================================== */

.room-slider{
    position:relative;
    width:100%;
    height:320px;
    overflow:hidden;
    border-radius:18px;
    background:#f5f5f5;
}

.room-slider .slides{
    display:flex;
    width:100%;
    height:100%;
    transition:transform .75s cubic-bezier(.22,.61,.36,1);
    will-change:transform;
}

.room-slider .slides img{
    width:100%;
    min-width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    user-select:none;
    -webkit-user-drag:none;
}

/* Arrows */

.room-slider .prev,
.room-slider .next{

    position:absolute;
    top:50%;
    transform:translateY(-50%);

    width:44px;
    height:44px;

    border:none;
    border-radius:50%;

    background:rgba(0,0,0,.35);

    color:#fff;

    font-size:22px;

    cursor:pointer;

    transition:.3s;

    backdrop-filter:blur(8px);

    z-index:50;

}

.room-slider .prev{

    left:15px;

}

.room-slider .next{

    right:15px;

}

.room-slider .prev:hover,
.room-slider .next:hover{

    background:#b58d35;

    transform:translateY(-50%) scale(1.08);

}

/* Dots */

.room-slider .dots{

    position:absolute;

    bottom:15px;

    left:50%;

    transform:translateX(-50%);

    display:flex;

    gap:8px;

    z-index:50;

}

.room-slider .dot{

    width:10px;

    height:10px;

    border-radius:20px;

    background:rgba(255,255,255,.5);

    cursor:pointer;

    transition:.35s;

}

.room-slider .dot.active{

    width:28px;

    background:#D4AF37;

}

/* Price Badge */

.room-slider .price-badge{

    position:absolute;

    top:15px;

    right:15px;

    z-index:60;

}

/* Mobile */

@media(max-width:768px){

.room-slider{

    height:240px;

}

.room-slider .prev,
.room-slider .next{

    width:38px;
    height:38px;
    font-size:18px;

}

}






/* ---------------- Admin panel ---------------- */
.admin-wrap { min-height: 100vh; background: var(--ivory); }
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--primary); padding: 20px; }
.admin-login .box { background: #fff; padding: 40px; width: 100%; max-width: 420px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.admin-login h1 { color: var(--primary); text-align: center; font-size: 1.8rem; }
.admin-login .sub { text-align: center; color: var(--muted); font-size: .85rem; margin-bottom: 24px; }
.admin-topbar { background: var(--primary); color: #fff; }
.admin-topbar .inner { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.admin-topbar h2 { font-size: 1.4rem; }
.admin-topbar .role { font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.admin-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin: 32px 0; }
.admin-card { background: #fff; padding: 24px; display: flex; align-items: center; gap: 16px; box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.admin-card .n { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--primary); }
.admin-card .l { color: var(--muted); font-size: .85rem; }
.admin-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.admin-tab { padding: 10px 20px; background: #fff; color: var(--muted); font-weight: 600; font-size: .85rem; }
.admin-tab.active { background: var(--primary); color: #fff; }
.admin-table-wrap { background: #fff; overflow-x: auto; box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.admin-table th { background: rgba(31,77,58,.06); color: var(--primary); text-align: left; padding: 14px 16px; }
.admin-table td { padding: 14px 16px; border-top: 1px solid rgba(0,0,0,.05); }
.admin-table tr:hover td { background: var(--ivory); }
.admin-empty { padding: 40px; text-align: center; color: var(--muted); }
@media (max-width: 768px) { .admin-cards { grid-template-columns: 1fr; } }
