/* Rbouj Header Slider Final - Styles */
:root{
  --glass-bg: rgba(0,0,0,0.45);
  --accent: #0078ff;
  --white: #ffffff;
}

/* wrap */
.rbouj-wrap { font-family: 'Poppins', Arial, sans-serif; margin:0; padding:0; }

/* topbar */
.rbouj-topbar {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 40px;
  z-index:60;
  pointer-events:auto;
  gap:20px;
}

/* logo left */
.rbouj-left .rbouj-logo { height:64px; display:block; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3)); }
.rbouj-logo { height:64px; }

/* menu center */
.rbouj-menu-wrap { flex:1; display:flex; justify-content:center; }
.rbouj-menu { list-style:none; display:flex; gap:28px; margin:0; padding:0; align-items:center; }
.rbouj-menu a { color:var(--white); text-decoration:none; font-weight:700; padding:8px 6px; }
.rbouj-menu a:hover { color:var(--accent); }

/* social right */
.rbouj-right { display:flex; gap:10px; align-items:center; }
.rbouj-right .social { color:var(--white); background: rgba(255,255,255,0.08); padding:8px; border-radius:8px; text-decoration:none; display:inline-flex; align-items:center; justify-content:center; }
.rbouj-right .social i { font-size:16px; color:#fff; }

/* submenu */
.has-sub { position:relative; }
.rbouj-sub { display:none; position:absolute; top:46px; right:0; background:var(--glass-bg); padding:10px; border-radius:10px; min-width:260px; box-shadow: 0 8px 30px rgba(0,0,0,0.5); }
.has-sub.show-sub .rbouj-sub { display:block; }
.rbouj-sub a { color: #fff; padding:8px 10px; display:block; text-decoration:none; }
.rbouj-sub .rbouj-btn-small { background:var(--accent); color:#fff; padding:8px 10px; border-radius:6px; display:block; text-align:center; margin-top:6px; }

/* slider */
.rbouj-slider { position:relative; width:100%; height:100vh; overflow:hidden; display:block; }
.rbouj-slide { position:absolute; inset:0; background-size:cover; background-position:center; opacity:0; transform:scale(1.02); transition: opacity 0.9s ease, transform 8s ease; visibility:hidden; }
.rbouj-slide.active { opacity:1; transform:scale(1); z-index:10; visibility:visible; }

.rbouj-inner { position:absolute; left:6vw; bottom:12vh; max-width:55vw; background: rgba(0,0,0,0.35); padding:28px; border-radius:14px; color:#fff; }
.rbouj-inner h1 { font-size:64px; line-height:1.02; margin:0 0 18px; font-weight:800; color:#fff; text-shadow: 0 6px 20px rgba(0,0,0,0.5); }
.rbouj-cta { background:var(--accent); color:#fff; padding:14px 28px; border-radius:12px; text-decoration:none; font-weight:800; display:inline-block; }

/* controls */
.rbouj-prev, .rbouj-next { position:absolute; top:50%; transform:translateY(-50%); background: rgba(255,255,255,0.9); border:none; width:56px; height:56px; border-radius:50%; cursor:pointer; z-index:60; font-weight:700; display:flex; align-items:center; justify-content:center; }
.rbouj-prev { left:20px; }
.rbouj-next { right:20px; }
.rbouj-dots { position:absolute; left:50%; transform:translateX(-50%); bottom:24px; display:flex; gap:10px; z-index:60; }
.rbouj-dots button { width:12px; height:12px; border-radius:50%; background:rgba(255,255,255,0.6); border:none; cursor:pointer; }
.rbouj-dots button.active { background:var(--accent); box-shadow:0 6px 18px rgba(0,120,255,0.25); }

/* small button style in submenu */
.rbouj-btn-small { display:inline-block; background:var(--accent); color:#fff; padding:8px 10px; border-radius:6px; text-decoration:none; font-weight:700; }

/* topbar overlay pseudo for glass look */
.rbouj-topbar::before { content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.25)); pointer-events:none; z-index:-1; }

/* responsive */
@media(max-width:1200px){
  .rbouj-inner h1 { font-size:44px; max-width:80vw; }
  .rbouj-inner { max-width:70vw; left:4vw; bottom:10vh; padding:20px; }
}
@media(max-width:768px){
  .rbouj-topbar { top:12px; padding:8px 18px; }
  .rbouj-left .rbouj-logo { height:48px; }
  .rbouj-menu { gap:12px; font-size:14px; }
  .rbouj-inner h1 { font-size:22px; }
  .rbouj-inner { left:6vw; right:6vw; max-width:unset; bottom:8vh; padding:12px; }
  .rbouj-prev, .rbouj-next { width:44px; height:44px; left:8px; right:8px; }
  /* mobile menu behavior: menu becomes vertical hidden until toggle */
  .rbouj-menu { display:none; position:fixed; top:64px; right:8px; background:rgba(0,0,0,0.85); padding:12px; border-radius:8px; flex-direction:column; gap:8px; min-width:200px; }
  .rbouj-menu.show { display:flex; }
  .rbouj-menu a { color:#fff; }
  .rbouj-right { gap:6px; }
}
