/* ==========================================================================
   DesertDock® Standalone Stylesheet (Original Dark Theme & Side Navigation)
   - Exact dark color scheme from original Google Site:
     Page bg: #080f13, Card/section bg: #10171d / #162028, Text: #f9f9f9
   - Side Navigation Drawer (Sidebar navigation like original Google Sites)
   - Natural embedded content images with interactive Fullscreen Lightbox
   - 100% Google-free & DSGVO compliant
   - Full RTL Support for Hebrew pages
   ========================================================================== */

:root {
  --bg-page: #080f13;
  --bg-header: #12181d;
  --bg-sidebar: #161c22;
  --bg-card: #10171d;
  --bg-card-alt: #162028;
  --text-main: #f9f9f9;
  --text-muted: #a4b3bf;
  --text-link: #fff2cc;
  --accent: #c49a45;
  --accent-hover: #e0b45b;
  --border-color: rgba(255, 255, 255, 0.12);
  --border-focus: #c49a45;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --sidebar-w: 280px;
  --container-max: 960px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-page);
  color: var(--text-main);
  overflow-x: hidden;
}

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

a {
  color: var(--text-link);
  text-decoration: underline;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

/* ==========================================================================
   TOP BAR (with Hamburger & Brand)
   ========================================================================== */
.top-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(18, 24, 29, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.top-header-inner {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger Button */
.sidebar-toggle-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  transition: background 0.2s ease;
}

.sidebar-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.sidebar-toggle-btn svg {
  width: 26px;
  height: 26px;
  stroke: var(--text-main);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.brand:hover {
  color: var(--text-main);
  text-decoration: none;
}

.brand-logo {
  width: 32px;
  height: 32px;
}

.brand-text {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-main);
}

.brand-text span {
  color: var(--accent);
}

/* ==========================================================================
   SIDEBAR NAVIGATION (DRAWER)
   ========================================================================== */
.sidebar-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sidebar-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.site-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}

.site-sidebar.open {
  transform: translateX(0);
}

[dir="rtl"] .site-sidebar {
  left: auto;
  right: 0;
  border-right: none;
  border-left: 1px solid var(--border-color);
  transform: translateX(100%);
}

[dir="rtl"] .site-sidebar.open {
  transform: translateX(0);
}

.sidebar-header {
  height: 64px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.sidebar-close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.sidebar-menu {
  list-style: none;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-item {
  width: 100%;
}

.sidebar-link {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  text-decoration: none;
}

.sidebar-link.active {
  background: rgba(196, 154, 69, 0.15);
  color: var(--text-link);
  font-weight: 700;
  border-color: rgba(196, 154, 69, 0.4);
}

/* ==========================================================================
   PAGE LAYOUT & EMBEDDED IMAGES
   ========================================================================== */
.main-layout {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 30px 20px 80px;
}

/* Embedded Content Image Banner (Original Google Sites Style) */
.embedded-hero-banner {
  position: relative;
  margin-bottom: 36px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

.embedded-hero-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  object-position: center;
  cursor: zoom-in;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.embedded-hero-banner img:hover {
  filter: brightness(1.04);
}

.hero-zoom-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(18, 18, 20, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hero-zoom-btn:hover {
  transform: scale(1.1);
  background: var(--accent);
  border-color: #ffffff;
}

.hero-zoom-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  fill: none;
}

/* Text Sections */
.content-section {
  margin-bottom: 48px;
}

.content-section:last-child {
  margin-bottom: 0;
}

h1.page-title {
  font-size: clamp(2rem, 3.8vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

h2.page-subtitle {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-muted);
  margin-bottom: 28px;
}

h2.section-heading {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: #ffffff;
  margin-top: 36px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

h3.sub-heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 24px;
  margin-bottom: 10px;
}

p.content-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-main);
  margin-bottom: 18px;
}

/* Lead Quote Box */
.lead-quote-box {
  background: var(--bg-card);
  border-left: 4px solid var(--accent);
  padding: 22px 28px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 500;
  color: #ffffff;
  margin: 30px 0;
  border-top: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

[dir="rtl"] .lead-quote-box {
  border-left: 1px solid var(--border-color);
  border-right: 4px solid var(--accent);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin: 24px 0 32px;
}

.benefit-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 1.02rem;
  color: #ffffff;
}

.benefit-check {
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Feature Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 154, 69, 0.4);
}

.feature-card h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-card .card-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* Callout Container */
.callout-panel {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 32px 0;
}

.callout-panel h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.callout-panel p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Bullet list */
.bullet-list {
  list-style: none;
  margin: 18px 0;
}

.bullet-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-main);
  font-size: 1.02rem;
}

[dir="rtl"] .bullet-list li {
  padding-left: 0;
  padding-right: 24px;
}

.bullet-list li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
}

[dir="rtl"] .bullet-list li::before {
  left: auto;
  right: 6px;
}

/* ==========================================================================
   INFO-FOLDER EMBEDDED FLYERS (Stacked, Centered, Natural Embedding)
   ========================================================================== */
.flyers-stack {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin: 36px 0;
}

.flyer-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.flyer-item img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.flyer-item img:hover {
  filter: brightness(1.03);
}

.flyer-caption {
  padding: 14px 20px;
  background: #141c22;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.flyer-caption span {
  color: var(--accent);
  font-weight: 500;
}

/* ==========================================================================
   INTERACTIVE FULLSCREEN LIGHTBOX MODAL
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(5, 9, 12, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-image {
  max-width: 94vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1);
  cursor: default;
}

.lightbox-modal.active .lightbox-image {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #ffffff;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 1000000;
}

.lightbox-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
}

/* ==========================================================================
   FOOTER (Dark, Clean)
   ========================================================================== */
.site-footer {
  background-color: #0c1216;
  border-top: 1px solid var(--border-color);
  padding: 48px 20px 32px;
  color: var(--text-muted);
  margin-top: auto;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr;
  gap: 36px;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-heading {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-list {
  list-style: none;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-list li {
  margin-bottom: 4px;
}

.footer-list a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-list a:hover {
  color: var(--text-link);
  text-decoration: underline;
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.85rem;
  color: #6c7a87;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}