/*
Theme Name: JWT Luxury
Theme URI: https://example.com/jwt-luxury
Author: Copilot
Description: Luxury-style one-page WordPress theme for JWT with ACF-driven content.
Version: 1.0
*/

:root {
  --bg: #060606;
  --bg2: #101010;
  --text: #f5f5f5;
  --muted: #a1a1aa;
  --gold: #514a42;
  --glass: rgba(255,255,255,.05);
  --border: rgba(255,255,255,.08);
  --radius: 28px;
  --shadow: 0 20px 60px rgba(0,0,0,.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }
body::before, body::after { content: ''; position: fixed; width: 500px; height: 500px; border-radius: 50%; filter: blur(120px); z-index: -1; }
body::before { top: -200px; right: -100px; background: rgba(81,74,66,.12); }
body::after { bottom: -200px; left: -100px; background: rgba(255,255,255,.05); }
.container { width: 90%; max-width: 1400px; margin: auto; }
section { padding: 140px 0; position: relative; }
.glass { background: rgba(255,255,255,.04); border: 1px solid var(--border); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow); }
.progress { position: fixed; top: 0; left: 0; width: 0%; height: 3px; background: linear-gradient(to right, var(--gold), #b8b0a8); z-index: 99999; }
nav { position: fixed; width: 100%; top: 0; z-index: 999; transition: .4s; }
nav.scrolled { background: rgba(10,10,10,.55); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,.05); }
.nav-wrap { display:flex; justify-content: space-between; align-items:center; padding: 5px 0; position: relative; }
.logo { font-size: 28px; font-weight: 800; letter-spacing: 3px; margin-right: 1rem; }
.logo span { color: var(--gold); }
.navbar { padding: 0; }
.navbar-collapse { justify-content: flex-end; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 0; box-shadow: none; }
.menu-toggle:focus { box-shadow: none; }
.menu-toggle .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
.links { display:flex; gap: 38px; align-items:center; list-style:none; margin:0; padding:0; }
.links li { list-style:none; }
.links a, .links .nav-link { text-decoration: none; color: white; font-size: 15px; position: relative; padding: 0; }
.links a::after, .links .nav-link::after { content: ''; position: absolute; left:0; bottom:-8px; width:0%; height:2px; background: var(--gold); transition: .4s; }
.links a:hover::after, .links a.active::after, .links .nav-link:hover::after, .links .nav-link.active::after { width: 100%; }
.logo a { color: inherit; text-decoration: none; }
.card a {color: white; font-weight:bold}
@media(max-width:767.98px){
  .menu-toggle { display: block; }
  .nav-wrap { padding: 20px 0; }
  .navbar-collapse { width: 100%; margin-top: 12px; }
  .navbar-collapse:not(.show) { display: none; }
  .links {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    background: rgba(8,8,8,.95);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin: 0;
    list-style: none;
  }
  .links a, .links .nav-link { font-size: 16px; }
}
html[dir="rtl"] body{
	 font-family: 'Cairo', sans-serif;
}
html[dir="rtl"] .nav-wrap,
body.rtl .nav-wrap {
  flex-direction: row;
	
}
body.rtl ul.navbar-nav {
    margin-left: 20px !important;
}

html[dir="rtl"] .menu-toggle,
body.rtl .menu-toggle {
  margin-right: auto;
	margin-left:20px;
}

html[dir="rtl"] .links,
body.rtl .links {
  right: auto;
  left: 0;
  align-items: flex-end;
  text-align: right;
}

html[dir="rtl"] .links a::after,
body.rtl .links a::after {
  right: 0;
  left: auto;
}
.page-content, .post-content { padding: 140px 0 80px; }
.page-content .entry-title, .post-content .entry-title { font-size: 48px; margin-bottom: 24px; }
.page-content .entry-content, .post-content .entry-content { color: #d4d4d8; line-height: 1.9; max-width: 860px; }
.page-content .entry-content p, .post-content .entry-content p { margin-bottom: 18px; }
.archive-list { display:grid; gap: 24px; margin-top: 40px; }
.archive-card { padding: 30px; border-radius: 24px; }
.archive-card h3 { font-size: 24px; margin-bottom: 10px; }
.archive-card a { color: var(--gold); text-decoration: none; }
.project-meta { display:flex; flex-wrap:wrap; gap: 12px; margin: 24px 0 32px; color: #d4d4d8; }
.project-meta span { padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.project-gallery { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap: 16px; margin-top: 30px; }
.project-gallery img { width:100%; height:220px; object-fit:cover; border-radius: 18px; }
.hero { min-height: 100vh; display:flex; align-items:center; overflow:hidden; }
.hero-bg { position:absolute; inset:0; background: linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,.82)), center/cover; animation: zoom 18s ease-in-out infinite alternate; }
@keyframes zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-content { position:relative; z-index:2; max-width:900px; }
.subtitle { color: var(--gold); letter-spacing: 4px; margin-bottom: 24px; font-size: 14px; opacity:0; animation: fadeUp 1s ease forwards; }
.hero h1 { font-size: 92px; line-height:1; margin-bottom:30px; font-weight:800; opacity:0; animation: fadeUp 1s ease .2s forwards; }
.hero p { max-width:700px; font-size:20px; color:#d4d4d8; line-height:1.9; margin-bottom:50px; opacity:0; animation: fadeUp 1s ease .4s forwards; }
.buttons { display:flex; gap:18px; flex-wrap: wrap; opacity:0; animation: fadeUp 1s ease .6s forwards; }
.btn { padding:18px 34px; border-radius:18px; text-decoration:none; font-weight:600; transition:.4s cubic-bezier(.19,1,.22,1); }
.btn-gold { background: linear-gradient(135deg,var(--gold),#b8b0a8); color:black; box-shadow:0 15px 40px rgba(81,74,66,.3); }
.btn-gold:hover { transform: translateY(-5px) scale(1.03); }
.btn-glass { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); color:white; backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255,255,255,.09); }
.hero-card { position:absolute; right:5%; bottom:10%; width:290px; padding:36px; border-radius:32px; z-index:2; animation:float 7s ease-in-out infinite; }
.hero-card h2 { font-size:56px; color: var(--gold); }
.hero-card p { margin-top:12px; color:#cfcfcf; }
.title { font-size:60px; line-height:1.1; margin-bottom:20px; }

html[dir="rtl"] .hero-card,
body.rtl .hero-card {
  left: 5%;
  right: auto;
  text-align: right;
}

html[dir="rtl"] .hero-content,
body.rtl .hero-content {
  text-align: right;
}

html[dir="rtl"] .buttons,
body.rtl .buttons {
  justify-content: flex-start;
}
.title span { color: var(--gold); }
.desc { max-width:760px; color: var(--muted); line-height:1.9; }
.about-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(350px,1fr)); gap:70px; align-items:center; }
.about-img { border-radius:40px; overflow:hidden; }
.about-img img { width:100%; height:100%; object-fit:cover; transition:1.2s; }
.about-img:hover img { transform:scale(1.06); }
.stats { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; margin-top:50px; }
.stat { padding:35px; border-radius:30px; }
.stat h3 { font-size:54px; color:var(--gold); }
.cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:28px; margin-top:70px; }
.card { padding:45px; border-radius:32px; transition:.5s cubic-bezier(.19,1,.22,1); position:relative; overflow:hidden; }
.card::before { content:''; position:absolute; inset:0; background:linear-gradient(135deg,rgba(81,74,66,.08),transparent); opacity:0; transition:.5s; }
.card:hover::before { opacity:1; }
.card:hover { transform:translateY(-10px); border-color:rgba(81,74,66,.25); }
.icon { width:82px; height:82px; border-radius:24px; background:rgba(81,74,66,.08); display:flex; align-items:center; justify-content:center; font-size:34px; margin-bottom:24px; }
.card h3 { color:var(--text); font-size:30px; margin-bottom:16px; }
.card p { color:var(--muted); line-height:1.8; }
.filters { display:flex; gap:16px; flex-wrap:wrap; margin:50px 0 60px; }
.filter-btn { padding:14px 26px; border-radius:18px; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.03); color:white; cursor:pointer; transition:.4s; }
.filter-btn.active, .filter-btn:hover { background:linear-gradient(135deg,var(--gold),#b8b0a8); color:black; }
.gallery { display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:24px; }
.project { position:relative; overflow:hidden; border-radius:34px; cursor:pointer; display:block; text-decoration:none; color:white; }
.project img { width:100%; height:500px; object-fit:cover; transition:1s cubic-bezier(.19,1,.22,1); }
.project:hover img { transform:scale(1.08); }
.overlay { position:absolute; inset:0; background:linear-gradient(to top,rgba(0,0,0,.9),transparent 60%); display:flex; align-items:flex-end; padding:36px; }
.overlay h3 { font-size:32px; }
.testimonials { display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:28px; margin-top:70px; }
.testimonial { padding:45px; border-radius:30px; }
.testimonial p { color:#d6d6d6; line-height:1.9; margin-bottom:22px; }
.testimonial h4 { color:var(--gold); }
.cta { padding:90px; border-radius:42px; text-align:center; background:linear-gradient(135deg,rgba(81,74,66,.12),rgba(255,255,255,.02)); }
.cta h2 { font-size:72px; margin-bottom:22px; }
.cta p { max-width:760px; margin:auto auto 40px; color:#d1d5db; line-height:1.8; }
footer { padding:50px 0; text-align:center; border-top:1px solid rgba(255,255,255,.06); color:#8e8e93; }
.whatsapp { position:fixed; right:25px; bottom:25px; width:68px; height:68px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--gold),#b8b0a8); color:black; text-decoration:none; box-shadow:0 20px 40px rgba(81,74,66,.35); z-index:999; }
.whatsapp i { font-size: 28px; line-height: 1; }
.reveal { opacity:0; transform:translateY(80px); transition:1.2s cubic-bezier(.19,1,.22,1); }
.reveal.active { opacity:1; transform:translateY(0); }
@keyframes fadeUp { from { opacity:0; transform:translateY(40px); } to { opacity:1; transform:translateY(0); } }
@keyframes float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-20px); } }
@media(max-width:1000px){ .hero h1{font-size:64px} .title{font-size:40px} .hero-card{display:none} .cta h2{font-size:48px} }
@media(max-width:768px){ .hero h1{font-size:48px; line-height:80px} .title{font-size:34px} .stats{grid-template-columns:1fr} .cta{padding:60px 30px} }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  margin-top: 40px;
}

.contact-info {
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}
.contact-info a{
	color:white;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
	color:white;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-item h3 {
  margin: 0 0 6px;
}

.contact-item p,
.contact-item a {
  margin: 0;
}

.contact-item a {
  text-decoration: none;
}

.contact-map {
  min-height: 420px;
  overflow: hidden;
  padding: 0;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.social-links {
  display: flex;
  gap: 12px;
  padding-top: 10px;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold);
  transition: .3s ease;
  color: white;
	text-decoration:none;
}

.social-links a:hover {
  transform: translateY(-3px);
}

.social-links svg {
  width: 20px;
  height: 20px;
}
.phone{
	direction:ltr;
}
.gallery .overlay h3 {
    font-size: 25px;
}
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map,
  .contact-map iframe {
    min-height: 350px;
  }
	p {
    text-align: justify;
}
	.hero .hero-bg {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 55%;
}
}