:root {
  --gold: #b9934b;
  --gold-2: #d7b46a;
  --gold-3: #f4e2b4;
  --dark: #17130d;
  --muted: #6d665c;
  --soft: #f8f4ec;
  --white: #ffffff;
  --danger: #b00020;
  --success: #1b7f41;
  --shadow: 0 18px 45px rgba(27, 19, 10, .12);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  background: var(--white);
  color: var(--dark);
  line-height: 1.7;
}
body[dir="rtl"] { font-family: Tahoma, 'Segoe UI', Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 32px)); margin: auto; }
.gold { color: var(--gold); }
.hide { display: none !important; }

.announcement {
  background: linear-gradient(90deg, #241b10, #4c371b, #241b10);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.announcement-track {
  display: inline-block;
  padding: 9px 0;
  animation: ticker 28s linear infinite;
  font-weight: 700;
  letter-spacing: .2px;
}
body[dir="rtl"] .announcement-track { animation-name: ticker-rtl; }
.announcement span { margin: 0 24px; color: var(--gold-3); }
@keyframes ticker { from { transform: translateX(100%); } to { transform: translateX(-100%); } }
@keyframes ticker-rtl { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
}
.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo-wrap { display: flex; align-items: center; gap: 12px; min-width: 250px; }
.logo-wrap img { width: 72px; height: 56px; object-fit: contain; }
.brand-title { font-weight: 900; line-height: 1.15; font-size: 14px; }
.brand-subtitle { font-size: 11px; color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: .7px; }
.nav-links { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 700; color: #2a251e; }
.nav-links a { opacity: .85; }
.nav-links a:hover { color: var(--gold); opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle, .menu-toggle {
  border: 1px solid rgba(185,147,75,.45);
  background: var(--white);
  color: var(--dark);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 800;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 900;
  transition: .25s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #fff; box-shadow: 0 12px 24px rgba(185,147,75,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(185,147,75,.34); }
.btn-secondary { background: #fff; color: var(--gold); border: 1px solid rgba(185,147,75,.45); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-danger { background: #fff2f3; color: var(--danger); border: 1px solid rgba(176,0,32,.25); }
.menu-toggle { display: none; }

.hero {
  min-height: 740px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-bg img.active { opacity: 1; }
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(17,12,7,.78), rgba(17,12,7,.42), rgba(17,12,7,.18));
}
body[dir="rtl"] .hero::after { background: linear-gradient(270deg, rgba(17,12,7,.78), rgba(17,12,7,.42), rgba(17,12,7,.18)); }
.hero-content {
  width: min(var(--max), calc(100% - 32px));
  margin: auto;
  min-height: 740px;
  display: grid;
  align-items: center;
  padding: 70px 0;
}
.hero-box { max-width: 780px; color: #fff; }
.eyebrow { color: var(--gold-3); font-weight: 900; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 12px; }
h1 { font-size: clamp(40px, 7vw, 78px); line-height: 1.05; margin: 0 0 22px; letter-spacing: -1.8px; }
.hero-box p { font-size: clamp(17px, 2vw, 22px); max-width: 720px; color: rgba(255,255,255,.9); margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.stat { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); border-radius: 20px; padding: 14px 18px; min-width: 138px; }
.stat strong { display: block; font-size: 26px; color: var(--gold-3); }
.stat span { font-size: 12px; font-weight: 800; color: rgba(255,255,255,.82); }

.section { padding: 86px 0; }
.section.soft { background: var(--soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 32px; }
.section-head.center { display: block; text-align: center; max-width: 780px; margin: 0 auto 36px; }
.kicker { color: var(--gold); text-transform: uppercase; font-weight: 900; letter-spacing: 1.1px; margin-bottom: 8px; }
h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.15; letter-spacing: -.8px; }
.lead { color: var(--muted); font-size: 17px; margin: 12px 0 0; max-width: 760px; }

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center; }
.about-card { background: #fff; padding: 34px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(185,147,75,.14); }
.about-card p { color: var(--muted); margin: 0 0 18px; }
.about-card p:last-child { margin-bottom: 0; }
.about-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-media img { height: 260px; width: 100%; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.about-media img:first-child { grid-row: span 2; height: 534px; }

.hotel-grid, .facility-grid, .room-grid { display: grid; gap: 22px; }
.hotel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facility-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.room-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid rgba(185,147,75,.14); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card-media { height: 260px; position: relative; overflow: hidden; background: var(--soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.055); }
.badge { position: absolute; top: 14px; inset-inline-start: 14px; background: rgba(255,255,255,.92); color: var(--gold); border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 900; box-shadow: 0 10px 20px rgba(0,0,0,.08); }
.card-body { padding: 24px; }
.card h3 { margin: 0 0 10px; font-size: 23px; line-height: 1.25; }
.card p { color: var(--muted); margin: 0 0 18px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; background: #fff; border-radius: 22px; padding: 16px; box-shadow: var(--shadow); border: 1px solid rgba(185,147,75,.14); margin-bottom: 28px; }
.filters select, .filters input { border: 1px solid rgba(185,147,75,.35); padding: 12px 14px; border-radius: 14px; min-width: 190px; background: #fff; color: var(--dark); }
.room-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; background: var(--soft); color: #40392f; padding: 7px 11px; font-size: 12px; font-weight: 900; }
.price { display: flex; align-items: baseline; gap: 7px; margin: 12px 0 16px; color: var(--gold); font-weight: 900; }
.price strong { font-size: 24px; }
.rate-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 13px; overflow: hidden; border-radius: 12px; }
.rate-table th, .rate-table td { padding: 10px; border-bottom: 1px solid #eee4d4; text-align: center; }
.rate-table th { background: #fbf4e6; color: var(--gold); }
.not-available { color: var(--danger); font-weight: 900; }
.available { color: var(--success); font-weight: 900; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid img { width: 100%; height: 210px; object-fit: cover; border-radius: 20px; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.gallery-grid img:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.contact-list { display: grid; gap: 12px; }
.contact-item { padding: 18px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); border: 1px solid rgba(185,147,75,.14); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.contact-item strong { display: block; }
.contact-item span { color: var(--muted); }
.booking-panel { background: #fff; padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(185,147,75,.14); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.form-grid .full { grid-column: 1/-1; }
label { font-weight: 900; font-size: 13px; display: block; margin-bottom: 6px; color: #40392f; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(185,147,75,.35);
  background: #fff;
  color: var(--dark);
  padding: 12px 14px;
  border-radius: 14px;
  outline: none;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(185,147,75,.12); }
.notice { border-radius: 16px; background: #fff9eb; color: #6a4b11; padding: 14px 16px; border: 1px solid rgba(185,147,75,.28); margin: 14px 0; font-weight: 700; }
.notice.danger { background: #fff2f3; color: var(--danger); border-color: rgba(176,0,32,.22); }
.notice.success { background: #effaf3; color: var(--success); border-color: rgba(27,127,65,.22); }

.footer { background: #15100a; color: rgba(255,255,255,.86); padding: 54px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 26px; margin-bottom: 28px; }
.footer img { width: 86px; margin-bottom: 12px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.22)); }
.footer h4 { color: var(--gold-3); margin: 0 0 12px; }
.footer a { display: block; color: rgba(255,255,255,.78); margin: 8px 0; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; color: rgba(255,255,255,.58); font-size: 13px; }

.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 18px; }
.modal.open { display: flex; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.66); backdrop-filter: blur(6px); }
.modal-content { position: relative; background: #fff; width: min(940px, 100%); max-height: 92vh; overflow: auto; border-radius: 26px; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid #f1e7d6; }
.modal-head h3 { margin: 0; font-size: 26px; }
.close { border: 0; background: var(--soft); border-radius: 999px; width: 40px; height: 40px; cursor: pointer; font-size: 22px; }
.modal-body { padding: 24px; }
.video-wrap { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox .modal-content { width: min(1100px, 100%); background: transparent; box-shadow: none; }
.lightbox img { width: 100%; max-height: 86vh; object-fit: contain; border-radius: 20px; }

.admin-body { background: var(--soft); min-height: 100vh; }
.admin-shell { width: min(1240px, calc(100% - 30px)); margin: 28px auto; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 20px; }
.admin-logo { display: flex; align-items: center; gap: 12px; }
.admin-logo img { width: 70px; }
.admin-grid { display: grid; grid-template-columns: 300px 1fr; gap: 20px; }
.admin-sidebar, .admin-panel { background: #fff; border-radius: 24px; box-shadow: var(--shadow); border: 1px solid rgba(185,147,75,.14); }
.admin-sidebar { padding: 18px; height: fit-content; position: sticky; top: 20px; }
.admin-tab { width: 100%; text-align: start; border: 0; background: transparent; border-radius: 16px; padding: 14px 16px; cursor: pointer; font-weight: 900; color: #3d362d; }
.admin-tab.active, .admin-tab:hover { background: var(--soft); color: var(--gold); }
.admin-panel { padding: 24px; display: none; }
.admin-panel.active { display: block; }
.admin-panel h2 { font-size: 30px; margin-bottom: 12px; }
.admin-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14px; }
.admin-table th, .admin-table td { padding: 12px; border-bottom: 1px solid #eee4d4; vertical-align: middle; }
.admin-table th { text-align: start; background: #fbf4e6; color: var(--gold); }
.admin-table input { min-width: 90px; padding: 9px 10px; }
.login-screen { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, #fff, #f7ecd7); padding: 18px; }
.login-card { width: min(430px, 100%); background: #fff; border-radius: 26px; box-shadow: var(--shadow); padding: 30px; text-align: center; border: 1px solid rgba(185,147,75,.16); }
.login-card img { width: 120px; margin: 0 auto 14px; }

@media (max-width: 1000px) {
  .nav-links { position: fixed; inset-inline: 16px; top: 116px; display: none; flex-direction: column; align-items: stretch; background: #fff; border-radius: 22px; padding: 18px; box-shadow: var(--shadow); border: 1px solid rgba(185,147,75,.18); }
  .nav-links.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .nav { height: 76px; }
  .logo-wrap { min-width: auto; }
  .brand-title { display: none; }
  .about-grid, .contact-grid, .admin-grid { grid-template-columns: 1fr; }
  .hotel-grid, .facility-grid, .room-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .admin-sidebar { position: static; }
}
@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .hero, .hero-content { min-height: 680px; }
  .hero-actions, .section-head, .nav-actions { align-items: stretch; }
  .section-head { display: block; }
  .hotel-grid, .facility-grid, .room-grid, .gallery-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .about-media { grid-template-columns: 1fr; }
  .about-media img, .about-media img:first-child { height: 260px; grid-row: auto; }
  .contact-item { flex-direction: column; align-items: flex-start; }
  .brand-subtitle { display: none; }
  .nav { gap: 10px; }
  .btn { padding: 11px 15px; }
  .filters select, .filters input { min-width: 100%; }
  .gallery-grid img { height: 245px; }
}
