/* ===================================================================
   HOTEL JOHAR VIEW — Luxury Hotel Website
   Palette: White / Deep Crimson Red / Black
   Display: Playfair Display | Body: Jost
=================================================================== */

:root {
  --white: #ffffff;
  --ivory: #f8f5f1;
  --black: #111010;
  --charcoal: #1c1a1a;
  --red: #9e1b1b;
  --red-bright: #c4211f;
  --red-deep: #6e1212;
  --line: rgba(17, 16, 16, 0.1);

  --font-display: "Playfair Display", serif;
  --font-body: "Jost", sans-serif;

  --gap: clamp(1.5rem, 4vw, 3rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.72rem;
  color: var(--red);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--red);
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 2.1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.35s ease;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover { background: var(--white); color: var(--red); border-color: var(--red); }

.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-dark:hover { background: var(--white); color: var(--black); border-color: var(--black); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--black); }

/* ============ SIGNATURE: WAX SEAL MONOGRAM ============ */
.seal {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--red-bright), var(--red-deep) 78%);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(158, 27, 27, 0.35);
  position: relative;
  flex-shrink: 0;
}
.seal::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(158, 27, 27, 0.35);
  border-radius: 50%;
}

/* ============ FRAMED IMAGE MOTIF ============ */
.framed {
  position: relative;
  isolation: isolate;
}
.framed::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1.5px solid var(--red);
  z-index: -1;
}
.framed img { width: 100%; height: 100%; object-fit: cover; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 1.1rem 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.site-header.scrolled {
  background: rgba(17, 16, 16, 0.92);
  backdrop-filter: blur(8px);
  padding: 0.7rem 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  letter-spacing: 0.02em;
}
.logo span { color: var(--red-bright); }

.nav-links { display: flex; gap: 2.1rem; }
.nav-links a {
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--red-bright);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("images/hero-exterior.png") center/cover no-repeat;
  z-index: -2;
}
@media (max-width: 760px) {
  .hero-bg {
    background: url("images/hero-mobile.jpg") center/cover no-repeat;
  }
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,16,16,0.55) 0%, rgba(17,16,16,0.72) 55%, rgba(17,16,16,0.92) 100%);
  z-index: -1;
}
.hero-content { max-width: 720px; padding-top: 6rem; }
.hero-content .eyebrow { color: var(--white); }
.hero-content .eyebrow::before { background: var(--white); }
.hero-content h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin: 1.3rem 0 1.2rem;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--red-bright);
}
.hero-content p {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  max-width: 760px;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--white);
}
.hero-stats div span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.65);
}

/* ============ SECTION GENERAL ============ */
section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-ivory { background: var(--ivory); }
.section-dark { background: var(--black); color: var(--white); }
.section-head {
  max-width: 640px;
  margin-bottom: 3.2rem;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-top: 1rem;
}
.section-head p { margin-top: 1.1rem; color: rgba(17,16,16,0.65); font-size: 1.02rem; }
.section-dark .section-head p { color: rgba(255,255,255,0.65); }

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .eyebrow { justify-content: center; }

/* ============ ABOUT / WHY CHOOSE US ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}
.about-media { aspect-ratio: 4/5; }
.about-list { margin-top: 2rem; display: grid; gap: 1.1rem; }
.about-list li {
  list-style: none;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  font-size: 0.98rem;
}
.about-list li::before {
  content: "";
  width: 8px; height: 8px;
  margin-top: 8px;
  background: var(--red);
  flex-shrink: 0;
  transform: rotate(45deg);
}

/* ============ ROOMS ============ */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.2rem);
}
.room-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.room-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(17,16,16,0.12); }
.room-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.room-card:hover .room-media img { transform: scale(1.07); }
.room-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.8rem;
  font-weight: 600;
}
.room-body { padding: 1.6rem 1.7rem 1.9rem; display: flex; flex-direction: column; gap: 0.9rem; flex: 1; }
.room-body h3 { font-size: 1.3rem; }
.room-meta { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.8rem; color: rgba(17,16,16,0.55); }
.room-meta span { display: flex; align-items: center; gap: 0.4rem; }
.room-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.room-price { font-family: var(--font-display); font-size: 1.4rem; color: var(--red); }
.room-price span { font-family: var(--font-body); font-size: 0.72rem; color: rgba(17,16,16,0.5); text-transform: uppercase; }

/* ============ GALLERY ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 0.9rem;
}
.gallery-grid a { overflow: hidden; position: relative; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, filter 0.4s ease; }
.gallery-grid a:hover img { transform: scale(1.1); }
.gallery-grid a::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(17,16,16,0.55));
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gallery-grid a:hover::after { opacity: 1; }
.g-tall { grid-row: span 2; }

/* ============ AMENITIES ============ */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
}
.amenity {
  background: var(--black);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.amenity .icon {
  width: 46px; height: 46px;
  border: 1.5px solid var(--red-bright);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--red-bright);
}
.amenity h4 { color: var(--white); font-size: 1.05rem; }
.amenity p { color: rgba(255,255,255,0.55); font-size: 0.88rem; }

/* ============ NEARBY PLACES ============ */
.nearby-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.nearby-col h3 {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 2px solid var(--red);
}
.nearby-col ul { list-style: none; display: grid; gap: 0.9rem; }
.nearby-col li {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.92rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px dashed var(--line);
  color: rgba(17,16,16,0.75);
}
.nearby-col li b { color: var(--black); font-weight: 500; }
.nearby-col li span { color: var(--red); font-size: 0.82rem; white-space: nowrap; }

/* ============ FAQ ============ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--black);
}
.faq-q .plus {
  width: 26px; height: 26px;
  border: 1px solid var(--red);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--red);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-q .plus::before { width: 11px; height: 1.4px; }
.faq-q .plus::after { width: 1.4px; height: 11px; }
.faq-item.active .plus { transform: rotate(135deg); background: var(--red); }
.faq-item.active .plus::before, .faq-item.active .plus::after { background: var(--white); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: rgba(17,16,16,0.65);
  font-size: 0.95rem;
}
.faq-a p { padding-bottom: 1.5rem; max-width: 640px; }
.faq-item.active .faq-a { max-height: 200px; }

/* ============ LOCATION / CONTACT ============ */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: stretch;
}
.location-info { display: flex; flex-direction: column; gap: 1.6rem; }
.info-row { display: flex; gap: 1rem; align-items: flex-start; }
.info-row .icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-row h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(17,16,16,0.5); margin-bottom: 0.3rem; font-family: var(--font-body); font-weight: 600; }
.info-row p, .info-row a { font-size: 1rem; color: var(--black); }
.map-frame { border: none; width: 100%; height: 100%; min-height: 340px; filter: grayscale(0.3) contrast(1.05); }

/* ============ CTA STRIP ============ */
.cta-strip {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: clamp(3.5rem, 7vw, 5rem) 0;
}
.cta-strip h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1.4rem; }
.cta-strip .btn-dark:hover { background: var(--white); color: var(--red); border-color: var(--white); }

/* ============ FOOTER ============ */
.site-footer { background: var(--black); color: rgba(255,255,255,0.7); padding-top: 4.5rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { color: var(--white); font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.7rem; }
.footer-col h4 { color: var(--white); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.3rem; font-family: var(--font-body); font-weight: 600; }
.footer-col ul { list-style: none; display: grid; gap: 0.8rem; }
.footer-col a:hover { color: var(--red-bright); }
.social-row { display: flex; gap: 0.8rem; margin-top: 1.4rem; }
.social-row a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.social-row a:hover { background: var(--red); border-color: var(--red); }
.footer-bottom {
  padding: 1.6rem 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ============ WHATSAPP FLOAT ============ */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  z-index: 400;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .about-grid, .location-grid { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .nearby-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links, .header-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .rooms-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .framed::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
