/*
Theme Name: BERLINSKI GROUP
Theme URI: https://berlinskigroup.co.il
Author: BERLINSKI GROUP
Author URI: https://berlinskigroup.co.il
Description: תבנית WordPress יוקרתית בעברית עבור BERLINSKI GROUP, בעיצוב שחור, זהב ולבן, מותאמת למובייל ולתצוגה מימין לשמאל.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: berlinski-group
Domain Path: /languages
Tags: rtl-language-support, custom-logo, custom-menu, featured-images, translation-ready, blog, one-column
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --bg: #070707;
  --bg-soft: #101010;
  --surface: #151515;
  --surface-2: #1d1d1d;
  --text: #ffffff;
  --muted: #c9c9c9;
  --gold: #c9a24b;
  --gold-light: #ead28f;
  --gold-dark: #8e6b20;
  --border: rgba(201, 162, 75, 0.28);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  direction: rtl;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, "Helvetica Neue", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-light); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  width: auto; height: auto; padding: 12px 18px; margin: 0;
  clip: auto; background: #fff; color: #000; z-index: 99999;
  inset-block-start: 8px; inset-inline-start: 8px;
}

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold-light); font-weight: 800; letter-spacing: .02em;
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
.section-title { font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.15; margin: 0 0 18px; }
.section-lead { max-width: 760px; color: var(--muted); font-size: 1.08rem; margin: 0; }
.gold-text { color: var(--gold-light); }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(7,7,7,.88); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.header-inner {
  min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 22px;
}
.site-branding { display: flex; align-items: center; gap: 14px; min-width: 220px; }
.custom-logo { max-height: 58px; width: auto; }
.brand-mark {
  width: 46px; height: 46px; border: 1px solid var(--gold);
  display: grid; place-items: center; transform: rotate(45deg); border-radius: 8px;
  background: linear-gradient(145deg, rgba(201,162,75,.18), rgba(201,162,75,.03));
}
.brand-mark span { transform: rotate(-45deg); color: var(--gold-light); font-weight: 900; }
.brand-copy { line-height: 1.1; }
.site-title { display: block; font-size: 1rem; font-weight: 900; letter-spacing: .12em; }
.site-tagline { color: var(--muted); font-size: .78rem; margin-top: 6px; }

.primary-nav { display: flex; align-items: center; gap: 22px; }
.primary-nav ul { display: flex; align-items: center; gap: 22px; list-style: none; padding: 0; margin: 0; }
.primary-nav a { font-weight: 700; font-size: .95rem; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface); color: #fff; border: 1px solid var(--border);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: 999px;
  border: 1px solid transparent; font-weight: 900; transition: .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #0a0a0a;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 12px 30px rgba(201,162,75,.18);
}
.btn-primary:hover { color: #000; box-shadow: 0 16px 38px rgba(201,162,75,.28); }
.btn-secondary { border-color: var(--border); background: rgba(255,255,255,.035); color: #fff; }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-small { min-height: 42px; padding-inline: 18px; font-size: .9rem; }

.hero {
  position: relative; overflow: hidden; min-height: calc(100vh - 82px);
  display: grid; align-items: center;
  background:
    radial-gradient(circle at 15% 18%, rgba(201,162,75,.19), transparent 28%),
    radial-gradient(circle at 90% 75%, rgba(201,162,75,.10), transparent 30%),
    linear-gradient(145deg, #050505, #101010 52%, #070707);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .24; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 54px 54px;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; padding: 88px 0; }
.hero-badge {
  display: inline-flex; gap: 10px; align-items: center;
  border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px;
  color: var(--gold-light); background: rgba(201,162,75,.06); font-weight: 800;
}
.hero-badge::before { content: "✦"; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.7rem); line-height: .98; margin: 24px 0; letter-spacing: -.03em; }
.hero p { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 720px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 44px; }
.meta-card { padding: 18px; border-top: 1px solid var(--border); }
.meta-card strong { display: block; color: var(--gold-light); font-size: 1.05rem; }
.meta-card span { color: var(--muted); font-size: .9rem; }

.hero-card {
  position: relative; min-height: 520px; border-radius: 34px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  background:
    linear-gradient(180deg, transparent 0 40%, rgba(0,0,0,.84) 100%),
    url('assets/images/hero-building.svg') center/cover no-repeat,
    #111;
}
.hero-card-content { position: absolute; inset-inline: 28px; inset-block-end: 28px; }
.hero-card-content small { color: var(--gold-light); font-weight: 900; }
.hero-card-content h2 { margin: 8px 0 0; font-size: 2rem; line-height: 1.2; }
.floating-seal {
  position: absolute; inset-inline-start: -24px; inset-block-start: 54px;
  width: 120px; height: 120px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; padding: 14px;
  background: linear-gradient(145deg, var(--gold-light), var(--gold-dark)); color: #050505;
  font-weight: 900; box-shadow: 0 18px 45px rgba(0,0,0,.4); transform: rotate(-7deg);
}

.trust-strip { border-block: 1px solid rgba(255,255,255,.07); background: #0c0c0c; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item { padding: 22px; text-align: center; border-inline-start: 1px solid rgba(255,255,255,.06); }
.trust-item:first-child { border-inline-start: 0; }
.trust-item strong { display: block; color: var(--gold-light); }
.trust-item span { color: var(--muted); font-size: .9rem; }

.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 46px; }
.service-card {
  padding: 30px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  transition: .25s ease; min-height: 260px;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--border); box-shadow: var(--shadow); }
.service-icon {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px;
  background: rgba(201,162,75,.10); color: var(--gold-light); border: 1px solid var(--border); font-size: 1.5rem;
}
.service-card h3 { margin: 22px 0 10px; font-size: 1.3rem; }
.service-card p { color: var(--muted); margin: 0; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-visual {
  min-height: 520px; border-radius: 30px; border: 1px solid var(--border); overflow: hidden;
  background: url('assets/images/lobby.svg') center/cover no-repeat #101010; box-shadow: var(--shadow);
}
.check-list { display: grid; gap: 14px; margin: 30px 0; }
.check-item { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.check-item::before {
  content: "✓"; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(201,162,75,.12); color: var(--gold-light); font-weight: 900;
}

.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 44px; }
.process-card { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid rgba(255,255,255,.07); }
.process-number { color: var(--gold-light); font-size: 2.8rem; font-weight: 900; opacity: .7; }
.process-card h3 { margin: 12px 0 8px; }
.process-card p { color: var(--muted); margin: 0; }

.cta-panel {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  padding: clamp(32px,5vw,62px); border-radius: 30px; border: 1px solid var(--border);
  background: radial-gradient(circle at 15% 20%, rgba(201,162,75,.20), transparent 38%), linear-gradient(135deg,#17120a,#0d0d0d 60%);
  box-shadow: var(--shadow);
}
.cta-panel h2 { margin: 0 0 10px; font-size: clamp(2rem,4vw,3.25rem); }
.cta-panel p { margin: 0; color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.content-wrap { width: min(100% - 32px, 900px); margin: 0 auto; padding: 72px 0 100px; }
.page-hero { padding: 86px 0 54px; border-bottom: 1px solid rgba(255,255,255,.07); background: linear-gradient(145deg,#0a0a0a,#14100a); }
.page-hero h1 { font-size: clamp(2.4rem,6vw,4.6rem); margin: 0; }
.entry-content { color: #e8e8e8; }
.entry-content h2, .entry-content h3 { color: #fff; margin-top: 1.7em; }
.entry-content a { color: var(--gold-light); text-decoration: underline; }
.entry-content blockquote { margin: 30px 0; padding: 20px 24px; border-inline-start: 4px solid var(--gold); background: var(--surface); }
.post-card { padding: 28px; margin-bottom: 18px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.08); background: var(--surface); }
.post-card h2 { margin: 0 0 10px; }
.post-meta { color: var(--gold-light); font-size: .9rem; margin-bottom: 12px; }
.navigation.pagination { margin-top: 34px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.page-numbers { padding: 8px 13px; border: 1px solid var(--border); border-radius: 10px; }
.page-numbers.current { background: var(--gold); color: #000; }

.site-footer { border-top: 1px solid rgba(255,255,255,.08); background: #050505; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr; gap: 46px; padding: 70px 0 44px; }
.footer-brand { max-width: 460px; }
.footer-brand p, .footer-col p, .footer-col li { color: var(--muted); }
.footer-col h3 { color: var(--gold-light); margin-top: 0; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.06); color: #9c9c9c; font-size: .9rem; display: flex; justify-content: space-between; gap: 20px; }

.floating-contact {
  position: fixed; inset-inline-start: 18px; inset-block-end: 18px; z-index: 900;
  display: flex; flex-direction: column; gap: 10px;
}
.floating-contact a {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: #050505; box-shadow: 0 14px 34px rgba(0,0,0,.38); font-weight: 900;
}
.floating-contact a:hover { color: #000; transform: translateY(-2px); }

@media (max-width: 980px) {
  body.admin-bar .site-header { top: 46px; }
  .menu-toggle { display: grid; place-items: center; }
  .primary-nav {
    display: none; position: absolute; inset-inline: 16px; inset-block-start: calc(100% + 8px);
    padding: 18px; border-radius: 18px; background: #0c0c0c; border: 1px solid var(--border); box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .primary-nav a { display: block; padding: 10px 8px; }
  .header-actions .btn { display: none; }
  .hero-inner, .about-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-card { min-height: 430px; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(3) { border-inline-start: 0; }
  .cta-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 22px, var(--container)); }
  .section { padding: 72px 0; }
  .site-tagline { display: none; }
  .site-branding { min-width: 0; }
  .site-title { font-size: .84rem; letter-spacing: .08em; }
  .brand-mark { width: 40px; height: 40px; }
  .hero-inner { padding: 64px 0; gap: 40px; }
  .hero h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .hero-meta { grid-template-columns: 1fr; }
  .meta-card { padding-inline: 0; }
  .floating-seal { width: 100px; height: 100px; inset-inline-start: 12px; inset-block-start: 12px; font-size: .82rem; }
  .services-grid, .process-grid, .trust-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-item { border-inline-start: 0; border-top: 1px solid rgba(255,255,255,.06); }
  .trust-item:first-child { border-top: 0; }
  .about-visual { min-height: 360px; }
  .hero-buttons .btn, .cta-actions .btn { width: 100%; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}
