/* ============================================
   Hotel Rai Palace - Luxury Theme (Gold/Black)
   ============================================ */

:root {
  --gold: #c8a45e;
  --gold-light: #e6c989;
  --gold-dark: #9a7a3f;
  --black-1: #0b0b0d;
  --black-2: #15151a;
  --black-3: #1f1f25;
  --ivory: #f7f3ec;
  --text-muted-gold: #b9a37a;
  --shadow-soft: 0 8px 30px rgba(0,0,0,0.12);
}

html, body { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: #2b2b2b;
  background: var(--ivory);
  line-height: 1.6;
}
h1,h2,h3,h4,h5 { font-family: 'Cormorant Garamond', serif; font-weight: 600; letter-spacing: .3px; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.text-gold { color: var(--gold); }
.text-muted-gold { color: var(--text-muted-gold) !important; }
.bg-black-1 { background: var(--black-1); }
.bg-black-2 { background: var(--black-2); }

/* Eyebrow / section heading */
.eyebrow {
  display:inline-block; font-family:'Poppins',sans-serif; font-size:.78rem; letter-spacing:3px;
  text-transform:uppercase; color:var(--gold); font-weight:600; margin-bottom:12px;
}
.eyebrow::before { content:'\2726'; margin-right:8px; }

/* Top bar */
.top-bar { background: var(--black-1); color: var(--ivory); padding: 8px 0; font-size: .85rem; }
.top-bar a { color: var(--ivory); text-decoration: none; transition: color .25s ease; }
.top-bar a:hover { color: var(--gold); }

/* Navbar */
.main-navbar { background: rgba(11,11,13,.96); backdrop-filter: blur(8px); padding: 14px 0; box-shadow: 0 2px 14px rgba(0,0,0,.18); }
.brand-mark {
  display:inline-flex; align-items:center; justify-content:center;
  width:46px; height:46px; border-radius:50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--black-1); font-family:'Cormorant Garamond',serif; font-weight:700; font-size:1.15rem;
  box-shadow: 0 4px 14px rgba(200,164,94,.35);
}
.navbar-brand { display:flex; align-items:center; gap:12px; }
.brand-text { display:flex; flex-direction:column; line-height:1.05; }
.brand-name { font-family:'Cormorant Garamond',serif; font-size:1.4rem; color: var(--gold); font-weight:700; }
.brand-sub { font-size:.72rem; color:#bbb; letter-spacing:1.5px; text-transform:uppercase; }
.navbar .nav-link { color:#e9e6e1 !important; font-size:.92rem; font-weight:500; padding: 8px 14px !important; position:relative; transition: color .25s ease; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--gold) !important; }
.navbar .nav-link.active::after { content:''; position:absolute; bottom:2px; left:14px; right:14px; height:2px; background: var(--gold); }
.navbar-toggler { border-color: var(--gold); }
.navbar-toggler-icon { filter: invert(1) brightness(1.4); }

.btn-book {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a1a1a !important; font-weight:600; padding: 10px 22px; border-radius:30px;
  border:none; transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 6px 18px rgba(200,164,94,.35);
}
.btn-book:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(200,164,94,.5); color:#000 !important; }

/* Hero */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  background: linear-gradient(rgba(11,11,13,.6), rgba(11,11,13,.8)), url('https://images.unsplash.com/photo-1611892440504-42a792e24d32?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: var(--ivory); overflow:hidden;
}
.hero h1 { color: #fff; }
.hero h1 .gold-accent { color: var(--gold); font-style: italic; }
.hero p.lead { color:#e6e2d8; max-width:620px; margin-top:18px; font-size:1.05rem; }
.hero .hero-actions { margin-top:36px; display:flex; gap:14px; flex-wrap:wrap; }
.btn-outline-gold {
  border: 1.5px solid var(--gold); color: var(--gold); background: transparent;
  padding: 11px 26px; border-radius: 30px; font-weight:500; transition: all .25s ease;
}
.btn-outline-gold:hover { background: var(--gold); color: #1a1a1a; }
.hero .hero-stars i { color: var(--gold); margin-right:4px; }
.hero-scroll { position:absolute; bottom:30px; left:50%; transform:translateX(-50%); color:#fff; font-size:.8rem; letter-spacing:2px; text-transform:uppercase; opacity:.7; }
.hero-scroll i { display:block; font-size:1.4rem; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0);} 50% { transform: translateY(8px);} }

/* About */
.about-img-wrap { position: relative; padding: 12px; }
.about-img-wrap img { width:100%; border-radius: 4px; box-shadow: var(--shadow-soft); }
.about-img-wrap::before { content:''; position:absolute; inset: 0; border:1px solid var(--gold); transform: translate(18px,18px); border-radius: 4px; z-index:-1; }
.about-badge { display:inline-block; padding:8px 18px; background:#fff; border:1px solid var(--gold); color:#444; font-size:.85rem; border-radius:30px; }
.feature-tick { color: var(--gold); font-size:1.2rem; margin-right:10px; }

/* Section heading */
.section-heading { text-align:center; margin-bottom: 60px; }
.section-heading p.subtitle { color:#666; max-width:620px; margin: 10px auto 0; }

/* Room cards */
.room-card {
  background:#fff; border-radius:6px; overflow:hidden; box-shadow: 0 6px 22px rgba(0,0,0,0.06);
  transition: transform .35s ease, box-shadow .35s ease; height:100%;
}
.room-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(0,0,0,0.14); }
.room-img { position:relative; height:240px; overflow:hidden; }
.room-img img { width:100%; height:100%; object-fit:cover; transition: transform .6s ease; }
.room-card:hover .room-img img { transform: scale(1.06); }
.room-price { position:absolute; top:16px; right:16px; background: rgba(11,11,13,.85); color: var(--gold); padding:8px 14px; border-radius:30px; font-size:.85rem; font-weight:500; }
.room-body { padding: 22px; }
.room-body h4 { margin-bottom: 4px; color:#1a1a1a; }
.room-body .room-meta { font-size:.82rem; color: var(--gold); margin-bottom: 12px; letter-spacing:1px; text-transform:uppercase; }
.room-amenities { display:flex; flex-wrap:wrap; gap:10px; margin: 14px 0 18px; }
.room-amenities span { background:#f3eedf; color:#776641; padding:4px 12px; font-size:.78rem; border-radius:20px; }
.btn-room { display:inline-block; color:#1a1a1a; border-bottom:1px solid var(--gold); padding-bottom:2px; text-decoration:none; font-size:.9rem; font-weight:500; transition: color .25s ease; }
.btn-room:hover { color: var(--gold-dark); }

/* Features */
.feature-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media(max-width:991px){ .feature-grid{grid-template-columns:repeat(2,1fr);} }
@media(max-width:540px){ .feature-grid{grid-template-columns:1fr;} }
.feature-item {
  background:#fff; padding:30px 22px; border-radius:6px; text-align:center;
  border-top:3px solid transparent; transition: all .3s ease; box-shadow: 0 4px 16px rgba(0,0,0,.04);
}
.feature-item:hover { border-top-color: var(--gold); transform: translateY(-4px); }
.feature-icon { width:60px; height:60px; margin:0 auto 16px; border-radius:50%; background:#f7eed9; color:var(--gold-dark); display:flex; align-items:center; justify-content:center; font-size:1.6rem; }
.feature-item h5 { margin-bottom:8px; font-size:1.25rem; }
.feature-item p { font-size:.88rem; color:#666; margin:0; }

/* Gallery */
.gallery-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media(max-width:991px){ .gallery-grid{grid-template-columns:repeat(2,1fr);} }
.gallery-item { position:relative; overflow:hidden; border-radius: 4px; aspect-ratio: 4/3; cursor: pointer; }
.gallery-item img { width:100%; height:100%; object-fit:cover; transition: transform .6s ease; }
.gallery-item::after { content: '\F52A'; font-family: 'bootstrap-icons'; position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:#fff; background:rgba(11,11,13,.0); opacity:0; transition: all .35s ease; font-size:1.6rem; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { background: rgba(11,11,13,.5); opacity:1; }

/* Stats */
.stats-section { background: var(--black-1); color:#fff; padding: 70px 0; }
.stat-item { text-align:center; }
.stat-item .num { font-family:'Cormorant Garamond',serif; font-size: 2.8rem; color: var(--gold); font-weight:600; }
.stat-item .label { color:#bbb; text-transform:uppercase; letter-spacing:2px; font-size:.78rem; }

/* Testimonials */
.testimonial-card { background:#fff; padding:30px; border-radius:6px; height:100%; box-shadow: 0 6px 20px rgba(0,0,0,.05); border-left: 3px solid var(--gold); }
.testimonial-stars { color: var(--gold); margin-bottom: 12px; }
.testimonial-text { font-style:italic; color:#444; }
.testimonial-avatar { width:44px; height:44px; border-radius:50%; background: var(--gold); color:#1a1a1a; display:flex; align-items:center; justify-content:center; font-weight:600; }

/* CTA */
.cta-section {
  background: linear-gradient(rgba(11,11,13,.85), rgba(11,11,13,.85)), url('https://images.unsplash.com/photo-1571896349842-33c89424ffe2?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color:#fff; padding: 100px 0; text-align:center;
}
.cta-section h2 { color:#fff; }
.cta-section p { color:#e0dccf; max-width:600px; margin:14px auto 30px; }

/* Page banner (for inner pages) */
.page-banner {
  background: linear-gradient(rgba(11,11,13,.7), rgba(11,11,13,.8)), url('https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color:#fff; padding: 130px 0 80px; text-align:center;
}
.page-banner h1 { color:#fff; }
.page-banner .breadcrumb { justify-content:center; }
.page-banner .breadcrumb a { color: var(--gold); text-decoration:none; }
.page-banner .breadcrumb-item.active { color: #ddd; }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: #888; }

/* Rate table */
.rate-table { background:#fff; border-radius:6px; overflow:hidden; box-shadow: var(--shadow-soft); margin-bottom: 30px; }
.rate-table .table-title { background: linear-gradient(135deg, var(--black-1), var(--black-2)); color: var(--gold); padding: 16px 22px; font-family:'Cormorant Garamond',serif; font-size:1.4rem; }
.rate-table table { margin: 0; }
.rate-table thead th { background:#1f1f25; color:var(--gold); font-size:.8rem; letter-spacing:1px; text-transform:uppercase; border:none; padding:14px; }
.rate-table tbody td { padding:12px 14px; vertical-align: middle; }
.rate-table tbody tr:nth-child(odd) { background:#fbf8f1; }
.rate-family { background: #fff7e3 !important; font-weight:500; }

/* Booking form */
.booking-card { background:#fff; padding:36px; border-radius:8px; box-shadow: var(--shadow-soft); }
.booking-card .form-label { font-weight:500; color:#444; font-size:.9rem; }
.booking-card .form-control, .booking-card .form-select { padding:10px 14px; border-radius:4px; border:1px solid #ddd; }
.booking-card .form-control:focus, .booking-card .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(200,164,94,.18); }
.booking-summary { background:#fbf8f1; padding:22px; border-radius:6px; border:1px dashed var(--gold); }
.booking-summary h6 { color:var(--gold-dark); margin-bottom:14px; font-family:'Poppins',sans-serif; font-size:.85rem; letter-spacing:2px; text-transform:uppercase; }
.booking-summary .total { font-size:1.6rem; color:#1a1a1a; font-family:'Cormorant Garamond',serif; font-weight:600; }

/* Contact */
.contact-card { background:#fff; padding:30px; border-radius:6px; box-shadow: var(--shadow-soft); text-align:center; height:100%; transition: transform .3s ease; }
.contact-card:hover { transform: translateY(-4px); }
.contact-card .icon { width:64px; height:64px; margin:0 auto 16px; border-radius:50%; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color:#1a1a1a; display:flex; align-items:center; justify-content:center; font-size:1.6rem; }

/* Footer */
.site-footer { background: var(--black-1); color:#cfcab8; padding: 70px 0 24px; }
.footer-title { color: var(--gold); font-family:'Poppins',sans-serif; font-size:.85rem; letter-spacing:2px; text-transform:uppercase; margin-bottom:18px; }
.footer-links, .footer-contact { list-style:none; padding:0; }
.footer-links li, .footer-contact li { margin-bottom:10px; font-size:.92rem; }
.footer-links a, .footer-contact a { color:#cfcab8; text-decoration:none; transition: color .25s ease; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact i { color: var(--gold); margin-right:8px; }
.footer-divider { border-color: rgba(255,255,255,.08); margin: 40px 0 20px; }
.social-icons a { width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,.15); display:inline-flex; align-items:center; justify-content:center; color:#cfcab8; margin-right:8px; transition: all .25s ease; text-decoration:none; }
.social-icons a:hover { background: var(--gold); color:#1a1a1a; border-color: var(--gold); }

/* Admin */
.admin-wrap { min-height:100vh; background: var(--black-1); display:flex; align-items:center; justify-content:center; padding: 40px 16px; }
.admin-card { background:#fff; padding: 40px; border-radius: 8px; box-shadow: 0 18px 50px rgba(0,0,0,.4); width:100%; max-width: 420px; }
.admin-card h3 { text-align:center; color:#1a1a1a; }
.admin-dashboard { background:#f5f3ee; min-height: 100vh; padding: 24px; }
.admin-topbar { background: var(--black-1); color:#fff; padding: 12px 24px; border-radius:6px; display:flex; justify-content:space-between; align-items:center; margin-bottom: 20px; }
.admin-topbar a { color: var(--gold); text-decoration:none; }

/* Alerts */
.alert-success-custom { background:#e8f6ec; border:1px solid #b6dfc0; color:#1c6c2f; padding: 16px; border-radius:6px; }
.alert-error-custom { background:#fdecea; border:1px solid #f4b8b1; color:#822623; padding: 16px; border-radius:6px; }

@media (max-width: 767px){
  .section { padding: 60px 0; }
  .hero { min-height: 80vh; }
}
