/*
Theme Name: Virtura Theme (VR Home RTL)
Theme URI: https://example.com/virtura-theme
Author: ChatGPT
Description: Virtura — VR-ready real-estate theme with RTL/LTR toggle, interactive 3D/VR hero, and auto menu/pages.
Version: 1.2.1
License: GPL-2.0-or-later
Text Domain: virtura
*/

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji"; color: #111827; background: #0b0b0d; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

:root {
  --bg: #0b0b0d;
  --panel: #111218;
  --muted: #9aa0aa;
  --primary: #2E90FF;
  --accent: #ff007f;
  --ring: rgba(46,144,255,.35);
  --card: #151625;
  --text: #e6e6eb;
}

.container { width: min(1200px, 92vw); margin: 0 auto; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(11,11,13,.7); backdrop-filter: blur(8px); border-bottom: 1px solid #1f2030; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: .4px; }
.logo-mark { width: 28px; height: 28px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 8px; position: relative; box-shadow: 0 10px 30px rgba(46,144,255,.25); }
.logo-mark::after { content: ""; position: absolute; inset: 6px; border: 2px solid rgba(255,255,255,.7); border-radius: 6px; transform: rotate(8deg); }

.nav { display:flex; align-items:center; gap:18px; }
.nav a { color: var(--muted); font-weight: 600; }
.nav a:hover { color: var(--text); }
.nav .toggle-lang { padding: 8px 10px; border-radius: 10px; border: 1px solid #23243b; background:#1a1b2a; color:var(--text); cursor:pointer; }

.hero { padding: 28px 0 16px; background: radial-gradient(1200px 600px at 50% -10%, rgba(46,144,255,.12), transparent), radial-gradient(800px 400px at 85% 10%, rgba(255,0,127,.08), transparent); }
.hero h1 { color: var(--text); font-size: clamp(28px, 6vw, 44px); line-height: 1.1; margin: 0 0 10px; }
.hero p { color: var(--muted); font-size: 18px; max-width: 900px; margin: 0 0 12px; }

.badges { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 18px; }
.badge { padding: 6px 10px; border-radius: 999px; font-size: 12px; background: #1f2030; color: #b9bed0; border: 1px solid #2a2c45; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 12px; font-weight: 700; transition: transform .12s ease, box-shadow .2s ease, background .2s ease; }
.btn-primary { background: linear-gradient(135deg, var(--primary), #7AB6FF); color: white; box-shadow: 0 10px 30px var(--ring); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { background: #1a1b2a; color: var(--text); border: 1px solid #23243b; }
.btn-ghost:hover { background: #1d1e32; }

/* Fixed viewer 800x600 (width x height) */
.viewer-fixed { width: 600px; height: 800px; max-width: 100%; margin: 0 auto; background: #0f101a; border: 1px solid #24263b; border-radius: 16px; overflow: hidden; }
.viewer-fixed iframe { width: 100%; height: 100%; border: 0; display: block; }

.section { margin: 26px 0; }
.section h2 { color: var(--text); margin: 0 0 12px; font-size: 22px; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
@media (max-width: 980px) { .features { grid-template-columns: 1fr; } }

.card { background: var(--card); border: 1px solid #1f2030; border-radius: 16px; overflow: hidden; }
.card .card-body { padding: 14px; color: #c9ccd6; }
.card h3 { color: var(--text); margin: 0 0 6px; font-size: 18px; display:flex; align-items:center; gap:8px; }

.list { margin: 8px 0 0; padding-left: 18px; }
.list li { margin: 6px 0; }

.footer { margin-top: 36px; padding: 24px 0 48px; color: #9aa0aa; border-top: 1px solid #1f2030; background: #0b0b0d; }

/* RTL support */
html.rtl, body.rtl { direction: rtl; }
.rtl .header-inner { flex-direction: row-reverse; }
.rtl .nav { flex-direction: row-reverse; }
.rtl .nav a { margin-left: 0; }
