/*
Theme Name: Taqwa Village
Theme URI: https://taqwavillage.com/
Author: Taqwa Village Ltd.
Author URI: https://taqwavillage.com/
Description: Full-featured bilingual (English & Bengali) WordPress theme for Taqwa Village Ltd. Eco-Resort, 5-Star Corporate Hotel, Sharia-Approved Founder Membership, and 820-Decimal Purbachal Masterplan—complete with a 7-tab Theme Options panel, Live Customizer controls, Custom Post Types (Project Zones, Media Gallery, Sharia FAQs, Inquiries), and AJAX booking/contact handling.
Version: 1.1.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: taqwa-village
Tags: real-estate, resort, hospitality, bilingual, custom-colors, custom-logo, custom-menu, theme-options, accessibility-ready
*/

/* ==========================================================================
   Taqwa Village Ltd. — WordPress Theme Stylesheet
   Design System: Warm Ivory + Deep Architectural Emerald + Burnished Gold
   ========================================================================== */

:root {
  /* Color Palette */
  --color-emerald-950: #09261c;
  --color-emerald-900: #0f3d2e;
  --color-emerald-800: #16523e;
  --color-emerald-700: #1e6b52;
  --color-emerald-100: #e5f0eb;
  --color-emerald-50: #f2f7f5;

  --color-gold-600: #856114;
  --color-gold-500: #c89b3c;
  --color-gold-400: #dfb760;
  --color-gold-100: #faf3e1;

  --color-coral-600: #c84b31;
  --color-coral-500: #de5a3f;

  --color-bg: #f8f6f1;
  --color-surface: #ffffff;
  --color-surface-alt: #f2efe8;
  --color-ink: #1a211e;
  --color-ink-muted: #525f5a;
  --color-ink-subtle: #5c6862;
  --color-border: #e1dcd1;
  --color-border-strong: #cdc5b5;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', 'Hind Siliguri', system-ui, -apple-system, sans-serif;
  --font-bengali: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;

  /* Spacing & Layout */
  --container-max: 1260px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 61, 46, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 61, 46, 0.09);
  --shadow-lg: 0 20px 48px rgba(9, 38, 28, 0.16);

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--color-gold-500);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--color-emerald-950);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  border: 2px solid var(--color-gold-400);
}

.skip-link:focus-visible {
  left: 0.75rem;
}

/* ==========================================================================
   1. Top Header Bar (Wireframe: Left Slogan | Center Service/Book | Right Logo)
   ========================================================================== */
.site-header {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 14px rgba(15, 61, 46, 0.05);
}

.top-brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: 0.62rem;
  border-bottom: 1px solid var(--color-border);
}

/* Left: Slogan ("স্লোগান") */
.brand-slogan {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.slogan-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-gold-600);
}

.slogan-text {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-emerald-900);
  line-height: 1.25;
}

/* Center: Service & Direct Booking Callout */
.header-service-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.9rem;
  background: var(--color-emerald-50);
  border: 1px solid var(--color-emerald-100);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--color-emerald-900);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.header-service-pill:hover {
  background: var(--color-emerald-100);
  border-color: var(--color-gold-500);
}

.service-badge {
  background: var(--color-emerald-900);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-pill);
}

.service-action {
  font-weight: 700;
  color: var(--color-gold-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Right: Logo */
.brand-logo-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Language Toggle (EN / BN) */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  gap: 0.15rem;
  flex-shrink: 0;
}

.lang-btn {
  padding: 0.32rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-ink-muted);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.lang-btn:hover {
  color: var(--color-emerald-900);
}

.lang-btn.is-active {
  background: var(--color-emerald-900);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 61, 46, 0.22);
}

html[lang="bn"] body {
  font-family: var(--font-bengali), var(--font-sans);
}

html[lang="bn"] .lead-headline h1,
html[lang="bn"] .section-title,
html[lang="bn"] .sidebar-card-body h3,
html[lang="bn"] .sidebar-offer-card h3,
html[lang="bn"] .slide-info h3,
html[lang="bn"] .trust-about h2,
html[lang="bn"] .video-header h2,
html[lang="bn"] .slogan-text,
html[lang="bn"] .page-banner h1,
html[lang="bn"] .subpage-card h2,
html[lang="bn"] .subpage-card h3,
html[lang="bn"] .faq-question {
  font-family: var(--font-bengali), var(--font-display);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.official-logo-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-emerald-950), var(--color-emerald-900));
  padding: 0.36rem 0.82rem;
  border-radius: 10px;
  border: 1px solid rgba(200, 155, 60, 0.48);
  box-shadow: var(--shadow-sm);
}

.official-logo-img {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.logo-mark {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.logo-title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--color-emerald-950);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-gold-600);
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  align-items: center;
  justify-content: center;
  color: var(--color-emerald-900);
}

/* ==========================================================================
   2. Navigation Bar Row (Wireframe: OFFER | About us | Project | Book now | Contact | FB Wha You Insta)
   ========================================================================== */
.main-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.52rem;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0.44rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-ink);
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.nav-link:hover {
  background-color: var(--color-emerald-50);
  color: var(--color-emerald-900);
}

.nav-link.is-active {
  background-color: var(--color-emerald-50);
  color: var(--color-emerald-900);
  box-shadow: inset 0 -2px 0 var(--color-gold-500);
}

/* First Nav Slot: OFFER (explicitly circled/rewritten in wireframe) */
.nav-link--offer {
  background: linear-gradient(135deg, var(--color-coral-600), var(--color-coral-500));
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-sm);
}

.nav-link--offer:hover,
.nav-link--offer.is-active {
  background: linear-gradient(135deg, #b23f27, var(--color-coral-600));
  color: #ffffff;
}

.nav-link--offer.is-active {
  box-shadow: 0 0 0 2px var(--color-gold-400);
}

/* Fourth Nav Slot: Book now (explicitly highlighted above slot in wireframe) */
.nav-link--book {
  background-color: var(--color-emerald-900);
  color: #ffffff;
  border-color: var(--color-emerald-900);
}

.nav-link--book:hover,
.nav-link--book.is-active {
  background-color: var(--color-gold-500);
  border-color: var(--color-gold-500);
  color: var(--color-emerald-950);
}

.nav-link--book.is-active {
  box-shadow: 0 0 0 2px var(--color-emerald-900);
}

/* Right actions beside Nav: Social Media Circles + EN/BN Toggle */
.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Social Media Circles: FB, Wha, You, Insta */
.social-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-emerald-900);
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}

.social-circle svg {
  width: 17px;
  height: 17px;
}

.social-circle:hover {
  color: #ffffff;
  border-color: transparent;
}

.social-circle--fb:hover { background-color: #1877f2; }
.social-circle--wa:hover { background-color: #0f7568; }
.social-circle--yt:hover { background-color: #c4302b; }
.social-circle--ig:hover { background-color: #b82e6a; }

/* ==========================================================================
   3. Main Asymmetric 2-Column Content Grid
      Wireframe: Left (~64%) [Lead Content Feature + Vdo Striming]
                 Right (~36%) [Feature 1 + Feature 2 + Offer/News]
   ========================================================================== */
.home-main {
  padding-block: 1.5rem 2.75rem;
}

.wireframe-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.main-column,
.sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Shared Card Styling */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   Left Top: Lead Content Feature ("লিড কন্টেন্ট ফিচার")
   -------------------------------------------------------------------------- */
.lead-feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 500px;
}

.lead-media {
  position: relative;
  height: 290px;
  overflow: hidden;
}

.lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.lead-feature-card:hover .lead-media img {
  transform: scale(1.03);
}

.lead-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 38, 28, 0.24) 0%, transparent 45%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.15rem 1.5rem;
  pointer-events: none;
}

.lead-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.78rem;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.badge--gold {
  background: var(--color-gold-500);
  color: var(--color-emerald-950);
}

.badge--glass {
  background: rgba(9, 38, 28, 0.88);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.lead-headline h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-emerald-950);
  margin-bottom: 0.45rem;
}

.lead-headline p {
  font-size: 0.96rem;
  color: var(--color-ink-muted);
  max-width: 62ch;
  line-height: 1.55;
}

.lead-body {
  padding: 1.35rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  flex: 1;
  justify-content: space-between;
}

.lead-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-emerald-900);
  line-height: 1.2;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--color-ink-muted);
  font-weight: 500;
}

.lead-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.3rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background-color 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease), transform 0.14s var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--color-emerald-900);
  color: #ffffff;
}

.btn--primary:hover {
  background: var(--color-emerald-800);
}

.btn--gold {
  background: var(--color-gold-500);
  color: var(--color-emerald-950);
}

.btn--gold:hover {
  background: var(--color-gold-400);
}

.btn--outline {
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface);
  color: var(--color-emerald-900);
}

.btn--outline:hover {
  border-color: var(--color-emerald-900);
  background: var(--color-emerald-50);
}

.lead-trust-note {
  font-size: 0.8rem;
  color: var(--color-ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* --------------------------------------------------------------------------
   Left Bottom: Video Streaming ("Vdo Striming")
   -------------------------------------------------------------------------- */
.video-stream-card {
  display: flex;
  flex-direction: column;
  background: var(--color-emerald-950);
  color: #ffffff;
  border-color: rgba(200, 155, 60, 0.3);
}

.video-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.video-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.24rem 0.68rem;
  border-radius: var(--radius-pill);
  background: rgba(222, 90, 63, 0.22);
  border: 1px solid rgba(222, 90, 63, 0.65);
  color: #ffb4a3;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.video-header h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.video-chapters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chapter-btn {
  padding: 0.36rem 0.78rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid transparent;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.chapter-btn.is-active,
.chapter-btn:hover {
  background: var(--color-gold-500);
  color: var(--color-emerald-950);
}

.video-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 360px;
  width: 100%;
  overflow: hidden;
  background: #061812;
}

.video-stage img,
.video-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease), opacity 0.3s var(--ease);
}

.video-stage.is-playing .video-overlay-controls {
  display: none;
}

.video-stage:hover img {
  transform: scale(1.02);
  opacity: 0.96;
}

.video-overlay-controls {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(9, 38, 28, 0.2) 0%, rgba(9, 38, 28, 0.72) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}

.play-stream-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(200, 155, 60, 0.95);
  color: var(--color-emerald-950);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 10px rgba(200, 155, 60, 0.25);
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.14s var(--ease);
  margin-bottom: 0.9rem;
}

.play-stream-btn:hover {
  background: var(--color-gold-400);
  box-shadow: 0 0 0 14px rgba(200, 155, 60, 0.3);
}

.play-stream-btn:active {
  transform: scale(0.96);
}

.play-stream-btn svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}

.video-caption-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
}

.video-caption-meta {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.2rem;
}

.video-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.85rem 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
}

/* --------------------------------------------------------------------------
   Right Sidebar: 3 Stacked Cards (Feature 1, Feature 2, Special Offer/News)
   -------------------------------------------------------------------------- */
.sidebar-card {
  display: flex;
  flex-direction: column;
}

.sidebar-card-media {
  position: relative;
  height: 172px;
  overflow: hidden;
}

.sidebar-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.sidebar-card:hover .sidebar-card-media img {
  transform: scale(1.04);
}

.sidebar-tag {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: rgba(9, 38, 28, 0.92);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.26rem 0.68rem;
  border-radius: var(--radius-pill);
}

.sidebar-card-body {
  padding: 1.1rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.sidebar-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--color-emerald-950);
  line-height: 1.25;
}

.sidebar-card-body p {
  font-size: 0.86rem;
  color: var(--color-ink-muted);
}

.feature-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

.spec-chip {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-emerald-900);
  background: var(--color-emerald-50);
  border: 1px solid var(--color-emerald-100);
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-sm);
}

.sidebar-card-foot {
  margin-top: 0.35rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.price-tag {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-emerald-900);
}

.price-tag span {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-ink-subtle);
}

.text-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-gold-600);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.text-link:hover {
  color: var(--color-emerald-900);
}

/* Third Sidebar Card: Special Offer & Latest Updates */
.sidebar-offer-card {
  background: linear-gradient(155deg, #fffdf8 0%, #f8eed5 100%);
  border-color: var(--color-gold-400);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
  justify-content: space-between;
}

.offer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.offer-pill {
  background: var(--color-coral-600);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.26rem 0.7rem;
  border-radius: var(--radius-pill);
}

.offer-bn-note {
  font-family: var(--font-bengali);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-emerald-900);
}

.sidebar-offer-card h3 {
  font-family: var(--font-display);
  font-size: 1.24rem;
  color: var(--color-emerald-950);
  line-height: 1.25;
}

.offer-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.offer-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-ink);
}

.offer-check {
  color: var(--color-emerald-800);
  font-weight: 800;
  flex-shrink: 0;
}

.news-mini-box {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(200, 155, 60, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  font-size: 0.8rem;
  color: var(--color-ink-muted);
}

.news-mini-box strong {
  color: var(--color-emerald-900);
}

/* ==========================================================================
   4. Full-Width Image Slider ("Imag Slider")
   ========================================================================== */
.slider-section {
  margin-top: 1.75rem;
}

.section-bar-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-gold-600);
  display: block;
  margin-bottom: 0.2rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  color: var(--color-emerald-950);
  line-height: 1.2;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-emerald-900);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.slider-arrow:hover {
  background: var(--color-emerald-900);
  border-color: var(--color-emerald-900);
  color: #ffffff;
}

.slider-viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
}

.slider-track {
  display: flex;
  transition: transform 0.55s var(--ease);
}

.slide-item {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  align-items: stretch;
  background: var(--color-surface);
}

.slide-photo {
  height: 310px;
  overflow: hidden;
}

.slide-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
}

.slide-category {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-gold-600);
}

.slide-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-emerald-950);
  line-height: 1.25;
}

.slide-info p {
  font-size: 0.92rem;
  color: var(--color-ink-muted);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 0.75rem;
}

.slider-dot {
  position: relative;
  min-width: 28px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
}

.slider-dot::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--color-border-strong);
  transition: width 0.25s var(--ease), background-color 0.25s var(--ease);
}

.slider-dot.is-active::before {
  width: 26px;
  background: var(--color-emerald-900);
}

/* ==========================================================================
   5. About & Project Quick Strip (supports Nav links seamlessly)
   ========================================================================== */
.trust-strip {
  margin-top: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1.25rem;
  align-items: center;
}

.trust-about h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-emerald-950);
  margin-bottom: 0.35rem;
}

.trust-about p {
  font-size: 0.88rem;
  color: var(--color-ink-muted);
}

.trust-pillar {
  padding-left: 1.15rem;
  border-left: 2px solid var(--color-border);
}

.trust-pillar strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-emerald-900);
  margin-bottom: 0.2rem;
}

.trust-pillar span {
  font-size: 0.82rem;
  color: var(--color-ink-muted);
}

/* ==========================================================================
   6. Full-Width Address Bar ("Adress Barr") & Footer ("Taqwa Ltd")
   ========================================================================== */
.address-bar-section {
  margin-top: 2rem;
}

.address-bar {
  background: var(--color-emerald-900);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.75rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 1.25rem;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.address-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.address-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-gold-400);
}

.address-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
}

.address-value a:hover {
  text-decoration: underline;
  color: var(--color-gold-400);
}

.site-footer {
  background: var(--color-emerald-950);
  color: rgba(255, 255, 255, 0.82);
  padding-block: 2.25rem 1.75rem;
  border-top: 3px solid var(--color-gold-500);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-brand-note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.86rem;
}

.footer-links a:hover {
  color: var(--color-gold-400);
}

.footer-copy {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   7. Interactive Modals (Book Now Modal & Virtual Video Player Modal)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 38, 28, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow-y: auto;
  z-index: 100;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-dialog {
  background: var(--color-surface);
  color: var(--color-ink);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: calc(100dvh - 2.5rem);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  border: 1px solid var(--color-border);
  animation: modalIn 0.25s var(--ease);
}

.modal-dialog--wide {
  max-width: 780px;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-head {
  background: var(--color-emerald-900);
  color: #ffffff;
  padding: 1.15rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-head h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.modal-body {
  padding: 1.4rem;
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-emerald-900);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.9rem;
  background: var(--color-bg);
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: 3px solid var(--color-gold-500);
  outline-offset: 2px;
  border-color: var(--color-emerald-800);
  background: #ffffff;
}

.booking-success {
  display: none;
  padding: 1.1rem;
  border-radius: var(--radius-md);
  background: var(--color-emerald-50);
  border: 1px solid var(--color-emerald-700);
  color: var(--color-emerald-900);
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.booking-success.is-visible {
  display: block;
}

.booking-summary-box {
  margin-top: 0.75rem;
  padding: 0.75rem 0.9rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--color-ink);
  white-space: pre-line;
}

.booking-handoff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

/* Video Tour Preview Player inside Modal */
.tour-player-screen {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #061812;
  aspect-ratio: 16 / 9;
}

.tour-player-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowKenBurns 14s ease-in-out infinite alternate;
}

@keyframes slowKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.tour-hud {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(6, 24, 18, 0.92));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ==========================================================================
   8. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1180px) {
  .header-service-pill {
    display: none;
  }
}

@media (max-width: 1024px) {
  .wireframe-grid {
    grid-template-columns: 1fr;
  }

  .slide-item {
    grid-template-columns: 1fr;
  }

  .slide-photo {
    height: 240px;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }

  .address-bar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    position: relative;
  }

  .top-brand-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    padding-block: 0.65rem;
  }

  .brand-logo-wrap {
    order: 1;
    width: 100%;
    justify-content: space-between;
  }

  .brand-slogan {
    order: 2;
    padding-top: 0.45rem;
    border-top: 1px dashed var(--color-border);
  }

  .slogan-kicker {
    display: none;
  }

  .slogan-text {
    font-size: 0.88rem;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .main-nav-row {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 1rem;
  }

  .main-nav-row.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-right-actions {
    justify-content: space-between;
    padding-top: 0.55rem;
    border-top: 1px solid var(--color-border);
  }

  .lead-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-pillar {
    padding-left: 0;
    border-left: none;
    padding-top: 0.85rem;
    border-top: 1px solid var(--color-border);
  }

  .address-bar {
    grid-template-columns: 1fr;
  }

  .booking-form {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   9. Subpages Shared Architecture (Offer, About, Project, Book Now, Contact)
   ========================================================================== */
.page-banner {
  background: linear-gradient(135deg, var(--color-emerald-950) 0%, var(--color-emerald-900) 65%, #195843 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  margin-bottom: 1.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 20%, rgba(200, 155, 60, 0.22), transparent 55%);
  pointer-events: none;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--color-gold-400);
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.18;
  margin-bottom: 0.55rem;
  position: relative;
  z-index: 1;
}

.page-banner p {
  max-width: 66ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
  position: relative;
  z-index: 1;
}

.subpage-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.subpage-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  margin-bottom: 1.75rem;
}

.subpage-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.subpage-card h2,
.subpage-card h3 {
  font-family: var(--font-display);
  color: var(--color-emerald-950);
  line-height: 1.25;
}

.subpage-card p {
  color: var(--color-ink-muted);
  font-size: 0.92rem;
}

/* Filter Tabs on Projects Page */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-tab {
  padding: 0.5rem 1.05rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-ink);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.filter-tab:hover,
.filter-tab.is-active {
  background: var(--color-emerald-900);
  border-color: var(--color-emerald-900);
  color: #ffffff;
}

.project-item.is-hidden {
  display: none;
}

/* EMI & Installment Calculator (Offer Page) */
.emi-box {
  background: linear-gradient(155deg, #ffffff 0%, #f8f2e4 100%);
  border: 1px solid var(--color-gold-400);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
}

.emi-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.emi-results {
  background: var(--color-emerald-900);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.emi-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: 0.55rem;
}

.emi-stat:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.emi-stat span {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.8);
}

.emi-stat strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-gold-400);
}

/* Contact & Booking Page Split */
.split-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.checklist-box {
  background: var(--color-emerald-50);
  border: 1px solid var(--color-emerald-100);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
}

.checklist-box ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.checklist-box li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--color-ink);
}

.map-placeholder {
  background: linear-gradient(135deg, #e7efe9 0%, #dce7df 100%);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.map-image-frame {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  background: #ffffff;
}

.map-image-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.map-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.map-embed-frame {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  background: #ffffff;
  aspect-ratio: 16 / 10;
}

.map-embed-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-plus-code {
  color: var(--color-ink-muted);
  font-size: 0.82rem;
}

.address-map-link {
  text-decoration: underline;
  text-decoration-color: rgba(223, 183, 96, 0.55);
  text-underline-offset: 3px;
}

.address-map-link:hover {
  color: var(--color-gold-400);
}

.amenities-section {
  margin-top: 1.75rem;
  margin-bottom: 1.75rem;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.amenity-chip-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-emerald-950);
  box-shadow: var(--shadow-sm);
}

.amenity-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-emerald-100);
  color: var(--color-emerald-900);
  font-size: 0.76rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tour-player-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 960px) {
  .amenities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .amenities-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .subpage-grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .emi-grid,
  .split-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .subpage-grid-2,
  .subpage-grid-3 {
    grid-template-columns: 1fr;
  }

  .page-banner {
    padding: 1.6rem 1.25rem;
  }
}

/* ==========================================================================
   10. Gallery Hub, 5-Star Hotel Tiers & Sharia FAQ Accordion
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.gallery-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.gallery-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
}

.gallery-card.is-hidden {
  display: none;
}

.gallery-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #09261c;
  overflow: hidden;
}

.gallery-thumb img,
.gallery-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-type-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: rgba(9, 38, 28, 0.9);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.24rem 0.65rem;
  border-radius: var(--radius-pill);
}

.gallery-meta {
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.gallery-meta h3 {
  font-size: 0.98rem;
  color: var(--color-emerald-950);
  line-height: 1.3;
}

.gallery-meta p {
  font-size: 0.82rem;
  color: var(--color-ink-muted);
}

.room-tier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  margin-bottom: 1.75rem;
}

.pdf-callout {
  background: linear-gradient(135deg, #f9f4e7 0%, #f1e5c8 100%);
  border: 1px solid var(--color-gold-400);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.05rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--color-emerald-950);
  background: var(--color-surface);
  transition: background-color 0.2s var(--ease);
}

.faq-question:hover {
  background: var(--color-emerald-50);
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-emerald-100);
  color: var(--color-emerald-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--color-emerald-900);
  color: #ffffff;
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.15rem;
  font-size: 0.92rem;
  color: var(--color-ink-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 0.85rem;
}

.faq-item.is-open .faq-answer {
  display: block;
}

@media (max-width: 1024px) {
  .room-tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .room-tier-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   11. WordPress Theme Additions (Form Feedback, Video Embeds, Prose & Archive)
   ========================================================================== */
.booking-error {
  display: none;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-md);
  background: #fdf2f0;
  border: 1px solid var(--color-coral-600);
  color: #7c2414;
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.booking-error.is-visible {
  display: block;
}

.btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.video-stage iframe,
.tour-player-screen iframe,
.gallery-thumb iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-missing-note {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

.wp-content-prose {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  color: var(--color-ink);
  font-size: 0.98rem;
  line-height: 1.7;
}

.wp-content-prose h2,
.wp-content-prose h3,
.wp-content-prose h4 {
  font-family: var(--font-display);
  color: var(--color-emerald-950);
  margin-top: 0.6rem;
}

.wp-content-prose ul,
.wp-content-prose ol {
  padding-left: 1.25rem;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.wp-content-prose ol {
  list-style: decimal;
}

.wp-content-prose a {
  color: var(--color-gold-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--color-ink-muted);
}

.wp-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.wp-pagination .page-numbers {
  min-width: 38px;
  height: 38px;
  padding-inline: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface);
  color: var(--color-emerald-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.86rem;
}

.wp-pagination .page-numbers.current {
  background: var(--color-emerald-900);
  border-color: var(--color-emerald-900);
  color: #ffffff;
}

.alignwide,
.alignfull {
  max-width: 100%;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.taqwa-hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
