/* Xingfa Plaza — SADOER gold & cream theme */
:root {
  --rose: #c9a038;            /* accent (gold) */
  --rose-dark: #a8842a;
  --rose-soft: #fdf6e7;       /* soft cream */
  --ink: #2b2118;
  --gray: #6f6355;
  --line: #eadfc8;
  --bg: #fffdf8;
  --wa: #25d366;
  --radius: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Arabic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-title { font-size: 30px; text-align: center; margin-bottom: 10px; }
.section-sub { text-align: center; color: var(--gray); margin-bottom: 40px; }
.hidden { display: none !important; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; font-size: 20px; letter-spacing: 1px; color: var(--ink); text-decoration: none; }
.logo span { color: var(--rose); }
.logo-brand { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 46px; width: auto; border-radius: 50%; }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--rose); }
.nav-cta { background: var(--rose); color: #fff !important; padding: 8px 18px; border-radius: 999px; }
.nav-cta:hover { background: var(--rose-dark); }
.header-right { display: flex; align-items: center; gap: 10px; }
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 4px; padding: 6px; }
.hamburger span { width: 22px; height: 2px; background: var(--ink); display: block; border-radius: 2px; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--rose-soft); color: var(--rose-dark);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; cursor: pointer; font-size: 14px; font-weight: 600;
}
.lang-menu {
  display: none; position: absolute; top: calc(100% + 8px); inset-inline-end: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(120,40,70,.12); min-width: 160px; overflow: hidden;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: block; width: 100%; text-align: start; padding: 10px 16px;
  background: none; border: none; cursor: pointer; font-size: 14px; color: var(--ink);
}
.lang-menu button:hover { background: var(--rose-soft); }
.lang-menu button.active { color: var(--rose); font-weight: 700; }

/* Hero */
.hero { background: linear-gradient(135deg, #fffdf8 0%, #fdf6e7 45%, #f8ecd2 100%); padding: 72px 0; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero-badge {
  display: inline-block; background: #fff; color: var(--rose-dark);
  border: 1px solid var(--line); padding: 6px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600; margin-bottom: 18px;
}
.hero h1 { font-size: 40px; line-height: 1.25; margin-bottom: 16px; }
.hero p { color: var(--gray); font-size: 17px; margin-bottom: 28px; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-size: 15px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none; transition: .2s;
}
.btn-primary { background: var(--rose); color: #fff; }
.btn-primary:hover { background: var(--rose-dark); transform: translateY(-1px); }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: #1eb856; transform: translateY(-1px); }
.btn-block { width: 100%; }

.hero-visual { display: flex; justify-content: center; }
.hero-img {
  width: 100%; max-width: 620px; border-radius: 24px; display: block;
  box-shadow: 0 24px 60px rgba(160,120,40,.22);
}

/* Stats */
.stats { background: var(--rose); padding: 34px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-n { font-size: 32px; font-weight: 800; color: #fff; }
.stat-t { color: #ffd9e6; font-size: 14px; font-weight: 500; }

/* About */
.about { background: var(--rose-soft); }
.about-p { max-width: 820px; margin: 0 auto 16px; color: var(--gray); font-size: 16px; text-align: center; }

/* Categories */
.cats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  background: #fff; transition: .2s; display: flex; flex-direction: column; gap: 10px;
}
.cat-card:hover { box-shadow: 0 14px 40px rgba(160,120,40,.14); transform: translateY(-3px); }
.cat-photo { margin: -26px -26px 4px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 4 / 3; }
.cat-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.cat-card:hover .cat-photo img { transform: scale(1.04); }
.cat-card h3 { font-size: 19px; }
.cat-card p { color: var(--gray); font-size: 14px; flex: 1; }
.cat-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 6px 0; }
.cat-item {
  font-size: 12.5px; background: var(--rose-soft); color: var(--rose-dark);
  padding: 6px 10px; border-radius: 8px; text-align: center; font-weight: 500;
}
.cat-moq { font-size: 12.5px; color: var(--gray); }
.cat-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--wa); color: #fff; font-size: 14px; font-weight: 600;
  padding: 10px 16px; border-radius: 999px; text-decoration: none; transition: .2s;
}
.cat-wa:hover { background: #1eb856; }
.cat-wa svg { width: 16px; height: 16px; }

/* Market gallery */
.gallery-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px;
}
.gallery-item {
  border-radius: var(--radius); overflow: hidden; margin: 0;
  box-shadow: 0 14px 40px rgba(160,120,40,.14);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4/3; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-grid .gallery-item:first-child img { aspect-ratio: auto; }

/* Why */
.why { background: var(--rose-soft); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 36px; }
.why-card { background: #fff; border-radius: var(--radius); padding: 26px; text-align: center; border: 1px solid var(--line); }
.why-card .emoji { font-size: 36px; margin-bottom: 12px; }
.why-card h3 { font-size: 17px; margin-bottom: 8px; }
.why-card p { color: var(--gray); font-size: 13.5px; }

/* Contact */
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: 28px; margin-bottom: 12px; }
.contact-info > p { color: var(--gray); margin-bottom: 24px; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 12px; color: var(--ink); font-size: 15px; }
.inquiry-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 14px 40px rgba(214,51,108,.08);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; font-family: inherit; color: var(--ink); background: #fff;
}
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus {
  outline: none; border-color: var(--rose);
}
.inquiry-form input::placeholder, .inquiry-form textarea::placeholder { color: #b09aa2; }
.form-msg { font-size: 14px; min-height: 20px; }
.form-msg.ok { color: #1a9e4b; font-weight: 600; }
.form-msg.err { color: var(--rose-dark); font-weight: 600; }

/* Footer */
.footer { background: #2b1d23; color: #d8c3cb; padding: 48px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-bottom: 32px; }
.logo-footer { color: #fff; margin-bottom: 12px; }
.footer-about { font-size: 14px; max-width: 420px; }
.footer h4 { color: #fff; margin-bottom: 12px; font-size: 15px; }
.footer p { font-size: 14px; margin-bottom: 8px; }
.copyright { border-top: 1px solid #453039; text-align: center; padding: 18px 0; font-size: 13px; color: #a48994; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.4); transition: .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-tooltip {
  position: absolute; inset-inline-end: calc(100% + 12px); white-space: nowrap;
  background: var(--ink); color: #fff; font-size: 12.5px; padding: 6px 12px;
  border-radius: 8px; opacity: 0; pointer-events: none; transition: .2s;
}
.wa-float:hover .wa-tooltip { opacity: 1; }

/* RTL tweaks */

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .contact-inner, .footer-inner { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .cats-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .nav {
    display: none; position: absolute; top: 64px; inset-inline: 0; flex-direction: column;
    background: #fff; padding: 18px; border-bottom: 1px solid var(--line); gap: 14px;
  }
  .nav.open { display: flex; }
  .hamburger { display: flex; }
}
@media (max-width: 560px) {
  .cats-grid, .why-grid, .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
}
